Think it should be Get-WindowsOptionalFeature
That would show the dns server role, where Get-package does not
PS C:\Users\Administrator> Get-WindowsOptionalFeature -online -FeatureName DNS-Server-Full-Role
FeatureName : DNS-Server-Full-Role
DisplayName : DNS Server
Description : This installs the DNS Server.
RestartRequired : Possible
State : Disabled
I would say B as using Nano we work with packages rather than features see below
https://nedimmehic.org/2017/02/02/how-to-implement-packages-roles-and-features-on-nano-server/
if DNS was installed with Package - than Get-Package will work
Install-NanoServerPackage -Name Microsoft-NanoServer-DNS-Package -Culture en-US
#https://docs.microsoft.com/de-de/windows-server/get-started/deploy-nano-server
You can discover which Nano Server packages are installed with Get-Package.
For example, see which packages are on Nano Server with Get-Package -ProviderName NanoserverPackage.
Right Answer schould be:
Get-Command -Module DNSServer | Format-List Name
AND : get-WindowsFeature | Format-List Name,Installstate | more will also work
B.
You can discover which Nano Server packages are installed with Get-Package. For example, see which packages are on Nano Server with Get-Package -ProviderName NanoserverPackage.
B is correct: "You can discover which Nano Server packages are installed with Get-Package"
https://docs.microsoft.com/en-us/windows-server/get-started/deploy-nano-server#inventory-installed-packages
Get-WindowsFeature is from the Server Manager module which is not enabled on Nano.https://serverfault.com/questions/713144/how-can-i-add-the-smtp-server-role-in-nano-server
This section is not available anymore. Please use the main Exam Page.70-743 Exam Questions
Log in to ExamTopics
Sign in:
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.
Guest
Highly Voted 5 years, 8 months agostevew
5 years, 7 months agoIG2021
Most Recent 4 years, 10 months agoplmmsg
4 years, 10 months agoIG2021
4 years, 10 months agoKode
4 years, 10 months agoMelvinJohn
4 years, 10 months agopaulosrsf
5 years, 3 months agotwiggs_county
5 years agoNane
5 years, 5 months agomontonearm
5 years, 6 months ago