exam questions

Exam 70-740 All Questions

View all questions & answers for the 70-740 exam

Exam 70-740 topic 1 question 48 discussion

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

You have a Nano Server named Nano1. Which cmdlet should you use to identify whether the DNS Server role is installed on Nano1?

  • A. Find-NanoServerPackage
  • B. Get-Package
  • C. Find-Package
  • D. Get-WindowsOptionalFeature
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Aldrid
Highly Voted 5 years ago
Get-WindowsOptionalFeature -Online Returns list of installed features Get-Package - Returns list of installed programs/MSI - not features So, D is correct.
upvoted 12 times
...
LeonSKanady
Highly Voted 4 years, 7 months ago
Answer is D ( Get - Windows Optional Features ) Explanations: First of all "DNS" is a feature not application / program . Get - Windows Optional Features > Lists all of the installed features. Get-Package > Lists all of installed programs / Software packages References: https://docs.microsoft.com/en-us/powershell/module/dism/get-windowsoptionalfeature?view=win10-ps https://docs.microsoft.com/en-us/powershell/module/packagemanagement/get-package?view=powershell-7
upvoted 8 times
...
guyl
Most Recent 4 years ago
Answer correct is B or D ?
upvoted 1 times
Rogercampos
3 years, 11 months ago
Is D Friend, DNS not a program, choose conrads that more votes than anothers, his have better coments, only read them.
upvoted 1 times
...
...
Sebastian
4 years, 3 months ago
Correct - "D. Get-WindowsOptionalFeature" https://docs.microsoft.com/en-us/windows-server/get-started/deploy-nano-server#using-dns-server-on-nano-server Enable-WindowsOptionalFeature -Online -FeatureName DNS-Server-Full-Role
upvoted 2 times
Sebastian
4 years, 3 months ago
Pardon. I got confused, the correct answer is "B. Get-Package". https://docs.microsoft.com/en-us/windows-server/get-started/deploy-nano-server#inventory-installed-packages
upvoted 2 times
...
...
Danuda
4 years, 8 months ago
get-Package
upvoted 2 times
...
xbGigi
5 years, 1 month ago
JUST Get-Package ! !
upvoted 2 times
...
riose01
5 years, 1 month ago
Hope this helps. watching this video, I believe the correct answer is Get-Package https://www.youtube.com/watch?v=p7y0eS_rFsk
upvoted 2 times
...
RicardoRyuma
5 years, 2 months ago
Get-Package is correct! Change the wrong information pls.
upvoted 3 times
...
ITGEEK
5 years, 3 months ago
Get-package is correct https://docs.microsoft.com/en-us/powershell/module/packagemanagement/get-package?view=powershell-6
upvoted 3 times
...
Gordy
5 years, 3 months ago
The answer is correct. Get-Package
upvoted 2 times
...
Zaz11
5 years, 3 months ago
It's D guys! "The Get-WindowsOptionalFeature cmdlet gets information about all features (operating system features that include optional Windows foundation features) in the Windows Foundation Package or a specified package in the Windows image."
upvoted 3 times
...
ITGEEK
5 years, 4 months ago
I think B is the answer: https://www.ntweekly.com/2016/10/26/check-installed-roles-on-nano-server-2016/
upvoted 3 times
...
raghvendra
5 years, 6 months ago
correct answer is D.
upvoted 3 times
...
[Removed]
5 years, 6 months ago
The correct answer is Get-Package, which will return installed package. Here is a Microsoft reference https://docs.microsoft.com/en-us/powershell/module/packagemanagement/get-package?view=powershell-6
upvoted 7 times
RockClimber
5 years, 6 months ago
It is indeed Get-package Quoted from the given website "The Get-Package cmdlet returns a list of all software packages on the local computer that were installed with PackageManagement. You can run Get-Package on remote computers by running it as part of an Invoke-Command or Enter-PSSession command or script."
upvoted 2 times
...
raghvendra
5 years, 6 months ago
Dear Bonna, Get-package is use to list out installed packages(software) only & to list out installed roles & features we need to use Get-WondowsOptionalFeature command.
upvoted 13 times
RockClimber
5 years, 6 months ago
I have to say, I was wrong in my first comment. Raghvendra is correct. https://docs.microsoft.com/en-us/powershell/module/dism/get-windowsoptionalfeature?view=win10-ps#examples
upvoted 8 times
...
lbs
4 years, 8 months ago
I agree.
upvoted 1 times
...
...
...
Zel
5 years, 6 months ago
Wrong. Get-Package won't help you. On NanoServer you'll need Find-NanoServerPackage to look for DNS server role or Get-NanoServerPackage to just list all the roles and find DNS server role among them by looking at the list.
upvoted 2 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