exam questions

Exam MD-100 All Questions

View all questions & answers for the MD-100 exam

Exam MD-100 topic 4 question 45 discussion

Actual exam question from Microsoft's MD-100
Question #: 45
Topic #: 4
[All MD-100 Questions]

You have 20 computers that run Windows 10. The computers are in a workgroup.
You need to create a local user named User1 on all the computers. User1 must be a member of the Administrators group.
What should you do?

  • A. Create a Group Policy object (GPO) that contains the Local Users Group Policy preference.
  • B. Create a script that runs the New-ADUser cmdlet and the Set-AdGroup cmdlet.
  • C. From Windows Configuration Designer, create a provisioning package, and then run the provisioning package on each computer.
  • D. Create a script that runs the New-MsolUser cmdlet and the Add-ADComputerServiceAccount cmdlet.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
williamlamata
2 years, 2 months ago
The correct answer is B. Create a script that runs the New-ADUser cmdlet and the Set-AdGroup cmdlet. Explanation: To create a local user named User1 on all the computers and add it to the Administrators group, you need to follow these steps: Create a PowerShell script that runs the following commands: New-ADUser -Name "User1" -AccountPassword (ConvertTo-SecureString "Password1234" -AsPlainText -Force) -Enabled $true -PasswordNeverExpires $true Set-AdGroup -Identity "Administrators" -Add @{SamAccountName="User1"} Save the script with a .ps1 file extension. Copy the script to each computer or a shared folder that all the computers can access. Open PowerShell as an administrator on each computer and run the script using the following command: .\scriptname.ps1 This will create a local use
upvoted 1 times
williamlamata
2 years, 2 months ago
never mind, Correct answers is C.
upvoted 2 times
...
mythic_leopard
1 year, 10 months ago
But it clearly says, we are working in the workgroup and NOT in the Active Directory.
upvoted 1 times
...
...
Hatsapatsa
2 years, 4 months ago
C is correct, no AD group policies in a workgroup so provisioning packages are the way.
upvoted 1 times
...
Barrybobslee_111
2 years, 8 months ago
Selected Answer: C
C is correct!
upvoted 3 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