exam questions

Exam 70-740 All Questions

View all questions & answers for the 70-740 exam

Exam 70-740 topic 1 question 244 discussion

Actual exam question from Microsoft's 70-740
Question #: 244
Topic #: 1
[All 70-740 Questions]

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?

  • A. the Add-WindowsPackage cmdlet
  • B. the dnscmd.exe command
  • C. the optionalfeatures.exe command
  • D. the Add-WindowsFeature cmdlet
  • E. the dnscmd.exe command
  • F. the dns.exe command
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
The Add-WindowsFeature cmdlet installs one or more roles, role services, or features on either the local or a specified remote server that is running Windows
Server 2008 R2. This cmdlet has been replaced by the Install-WindowsFeature cmdlet in Windows Server 2012 R2.
References:
https://docs.microsoft.com/en-us/powershell/module/servermanager/install-windowsfeature?view=winserver2012r2-ps

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Wilfred
4 years, 8 months ago
So D is correct. What is the difference between B and E.........
upvoted 1 times
...
JTSJ
5 years, 1 month ago
Installing the DNS Server Role To install the DNS Server role, we can open an elevated Windows PowerShell console (right-click the PowerShell icon and select Run as Administrator from the shortcut menu) and run a single command: Install-WindowsFeature -Name DNS -IncludeAllSubFeature -IncludeManagementTools
upvoted 4 times
...
Anton2020
5 years, 6 months ago
Question (Server 2016) does not match explanation (Server 2008).
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago