Upgrading Your Skills to MCSA: Windows Server 2016 — Question 85

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: D

Explanation

The correct answer is D, as the Enable-WindowsOptionalFeature cmdlet is specifically designed to enable Windows features like the DNS Server role. The other options do not serve the purpose of adding Windows roles or features directly, making them unsuitable for this task.