az-800 Practice Question 926

Exam: az-800
Domain: Deploy and manage Active Directory Domain Services (AD DS) in on-premises and cloud environments
Topic: Deploy and manage AD DS domain controllers
Difficulty: easy
You are using PowerShell to install Active Directory Domain Services. Which cmdlet installs the AD DS role itself?

Answer Options

A
Install-ADDSForest
B
Install-WindowsFeature AD-Domain-Services
C
Set-ADDomainMode
D
New-ADComputer

Correct Answer

B: Install-WindowsFeature AD-Domain-Services

Explanation

The Install-WindowsFeature AD-Domain-Services cmdlet is used to install the AD DS binaries (role). The Install-ADDSForest cmdlet actually promotes the server to a DC.