In an isolated test environment, you deploy a server named Server1 that runs a Server Core Installation of
Windows Server 2012. The test environment does not have Active Directory Domain Services (AD DS)
installed.
You install the Active Directory Domain Services server role on Server1.
You need to configure Server1 as a domain controller.
Which cmdlet should you run?
A.
Install-ADDSDomainController
B.
Install-ADDSDomatn
C.
Install-ADDSForest
D.
Install-WindowsFeature
Explanation:
Install-ADDSDomainController – Installs a domain controller in Active Directory. Install-ADDSDomain – Installs a
new Active Directory domain configuration. Install-ADDSForest – Installs a new Active Directory forest
configuration. Install-WindowsFeature – Installs one or more Windows Server roles, role services, or features
on either thelocal or a specified remote server that is running Windows Server 2012. This cmdlet is equivalent
to andreplaces Add-WindowsFeature, the cmdlet that was used to install roles, role services, and features.
C:\PS>Install-ADDSForest -DomainName corp.contoso.com -CreateDNSDelegation – DomainMode Win2008 -ForestMode Win2008R2 -DatabasePath “d:\NTDS” -SysvolPath “d:\SYSVOL” -LogPath
“e:\Logs”Installs a new forest named corp.contoso.com, creates a DNS delegation in the contoso.com domain,
setsdomain functional level to Windows Server 2008 R2 and sets forest functional level to Windows Server
2008,installs the Active Directory database and SYSVOL on the D:\ drive, installs the log files on theE:\ drive
andhas the server automatically restart after AD DSinstallation is complete and prompts the user to provide
andconfirm the Directory Services Restore Mode (DSRM) password.
http://technet.microsoft.com/en-us/library/hh974720%28v=wps.620%29.aspx
Right answer is D. You cannot use cmdlet AddSForest without AD DS Feature installed previously.
in the question it says “You install the Active Directory Domain Services server role on Server1.”. So next is install-addsforest.
Answer is A
Cannot use Install Feature in Core
what? Yes you can. How do you install roles and features on PS? This guy must be trolling or something.
C is the correct answer, If no domain exist then you should run Install-ADDSForest cmdlet.
http://carlosvargas.com/2012/07/26/how-to-create-a-new-ad-forest-with-windows-2012-server-core/
Agree with Rafik. C is correct, since this is an isolated environment with no AD DS I would expect to create a forest first?
A is correct:
http://www.brandonlawson.com/active-directory/installing-a-2012-domain-controller-with-powershell/
The question states that “You install the Active Directory Domain Services server role on Server1”, hence the only thing left is to promote server to domain controller, which is done using cmdlet Install-ADDSDomainController.
You cant promote a DC if there is no Forest or Domain to join. First step is to create a forest.
GRobson, do you not see what RobD is saying? Look at the question, it said that you have already installed ADDS. If you have already done that, then there has to be a forest already. The next thing to do is promote it to a DC, hence why A. is the answer.
That is not true: ADDS role installation does not set up a forest. Try it yourself.
So, first you install AD DS and then you create a forest.
In Lab on Core 2012 R2
c:\users\trainer>powershell
PS C:\users\trainer>Install-WindowsFeature -name AD-Domain-Services
PS C:\users\trainer>Install-ADDSForest -domainname “test.com”
SafeModeAdministratorPassword:
Confirm SafeModeAdministratorPassword:
The taerget server will be configured as a domain controller and restarted when this operation is complete.
Do yo want to continue with this operation?
[Y] Yes [A] Yes to ALL [N] No [L] No to ALL [S] Suspend [?] Help
(Default is “Y”):y
So then D is correct since they say “You install the Active Directory Domain Services server role on Server1.
The next step is to Install-ADDSForest
Is this how everyone else reads it?
I mean C is correct…..
Yes, Forest has to be set up first if it’s pure empty.
People get confused forest as just a root of domains in the tree, but in technical terms, forest means, the first root domain.
So, you have to set up a root domain by running install-addsforest. While it’s installing the first forest(root domain), it will configure the machine as the first domain controllers so the other adds cmdlets mentioned in the choices are not necessary.
So I created a new core server, and tested, the correct answer is Install-ADDSForest,
Install-ADDSDomaincontroller will fail installation without the Forest installed first.
Can confirm. Correct answer is C.
When you try to “promote” to a DC, it creates the forest, then the domain.
Without a domain, there is no DC.
Without a forest, there is no domain.
To install the AD DS files on the server, you can do one of the following:
•
Use Server Manager to connect remotely to the Server Core server and install the AD DS
role as described in the previous topic.
•
Use the Windows PowerShell command Install-WindowsFeature AD-Domain-Services to install the files.
Once you install the AD DS files, you can complete everything except the hardware installation and configuration in one of the following ways:
•
Use Server Manager to start the Active Directory Domain Services Configuration Wizard as described in the previous topic.
•
Run the Windows PowerShell cmdlet Install-ADDSDomainController and supply the required information on the command line.
C is correct. Active Directory Domain Services must be installed to promote the server into a domain controller of a forest, domain, or failover. Since the question states AD Domain Services is installed, the next step is to install a forest (assuming there is no forest present to begin with.)
Hope this clears up the confusion
http://www.thegeekstuff.com/2014/12/install-windows-ad/
Stupid microsoft and their stupid questions! Just say what it is you want us to do and be freaking clear about it..
The question should be;…you install server1 to be the first DC in the forrest and so on, then everbody would understand what it is you want us to do!!!
No because that would imply that you have already created the forest.
The question literally states that there is no domain in this test environment and that you have only installed the bare role on Server1. What step is next
Answer is Install-ADDSforest.
I agree with Frank. This is a very vague question. The way the question should be worded is “Which command should you run first?” or “in which order should you run these commands?” That would make more sense.
The way this question is worded is like asking what you need to do to back a car out of the driveway. A. Open the door. B. Get in the car. C. Start the car and D. put car in reverse and push on the gas. Technically it is (D) that ultimately backs you out of the driveway but you can’t do that until you do (A).
Just as in this Microsoft question it is ultimately running the (a)”Install-ADDSDomainController” command that promotes the server to a domain controller. However, you cannot do that until you create a forrest so the answer is C.
Install-ADDSForest, since that is what you have to do first.
“C” is the correct answer.
The Correct Answer is C, the first thing an admin does after installing a new Active directory services is to join a domain, but if there is no domain to join, the the admin has to create a forest. Therefore since this is a new instance of AD on the machine and there is no Forest, the admin will have to install the forest first