exam questions

Exam 70-740 All Questions

View all questions & answers for the 70-740 exam

Exam 70-740 topic 1 question 237 discussion

Actual exam question from Microsoft's 70-740
Question #: 237
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 dnscmd.exe command
  • B. the Enable-WindowsOptionalFeature cmdlet
  • C. the dns.exe command
  • D. the setup.exe command
  • E. the Install-Package cmdlet
  • F. the optionalfeatures.exe command
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Samuelpn96
5 years, 2 months ago
The Enable-WindowsOptionalFeature cmdlet is the command used for deploying DNS on nano server: http://techgenix.com/deploy-dns-windows-server-nano/
upvoted 1 times
...
Arlomini
5 years, 5 months ago
the question not be clearly detailed but I thin in such case the best possible answer amongst the lgiven list is ***Enable-WindowsOptionalFeature** even though it does not that it is a Nano Server
upvoted 3 times
Thermal
5 years, 4 months ago
Agreed, falcon4fun got carried away with proving it could be used to install windows features on powershell, which is correct but not the whole truth. The truth is it is just a powershell cmdlet that can be used to install windows features from images regardless of whether or not it is a nano or server core. They had to right the cmdlet anyway for windows server core. https://docs.microsoft.com/en-us/powershell/module/dism/enable-windowsoptionalfeature?view=win10-ps
upvoted 1 times
Thermal
5 years, 4 months ago
Oh for an edit button, meant to say he got carried away proving it could be used to install windows features on NANO (not powershell). Again to clarify, the revealed answer is correct, B - Enable-windowsoptionalfeature
upvoted 1 times
...
...
...
Ben22
5 years, 7 months ago
This is not a Nano server, should be . Install-WindowsFeature -Name <feature_name> https://docs.microsoft.com/en-us/windows-server/administration/server-manager/install-or-uninstall-roles-role-services-or-features
upvoted 1 times
...
falcon4fun
5 years, 8 months ago
Proofs that it's for NANO: https://i.imgur.com/D0ynklV.png https://blogs.technet.microsoft.com/teamdhcp/2015/12/04/how-to-deploy-windows-dns-server-on-nano-server/
upvoted 1 times
...
falcon4fun
5 years, 8 months ago
It's not a NANO server..
upvoted 2 times
...
falcon4fun
5 years, 8 months ago
Why it's Enable-WindowsOptionalFeature? It should be Install-WindowsFeature -Name [feature_name] -[Options]
upvoted 1 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 ...