Installation, Storage, and Compute with Windows Server 2016 — Question 163

You have a server named Server1 that runs Windows Server 2016.
You need to install the DNS Server role on Server1.
What should you run?

Answer options

Correct answer: B

Explanation

The correct answer is B, as the Enable-WindowsOptionalFeature cmdlet is specifically designed to enable Windows features, including the DNS Server role. The other options either do not serve the purpose of installing server roles or are not applicable to Windows Server 2016's feature management.