exam questions

Exam 70-412 All Questions

View all questions & answers for the 70-412 exam

Exam 70-412 topic 3 question 133 discussion

Actual exam question from Microsoft's 70-412
Question #: 133
Topic #: 3
[All 70-412 Questions]

You have a group Managed Service Account named Service01. Three servers named Server01, Server02, and Server03 currently use the Service01 service account.
You plan to decommission Server01.
You need to remove the cached password of the Service01 service account from Server01. The solution must ensure that Server02 and Server03 continue to use
Service01.
Which cmdlet should you run?

  • A. Set-ADServiceAccount
  • B. Reset-ADServiceAccountPassword
  • C. Remove-ADServiceAccount
  • D. Uninstall-ADServiceAccount
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
We reset the password for the service.
The Reset-ADServiceAccountPassword cmdlet resets the service account password for the local computer. This cmdlet needs to be run on the computer where the service account is installed.
Incorrect:
Not A: The Set-ADServiceAccount cmdlet cannot modify the password of the service.
Reference: Reset-ADServiceAccountPassword
https://technet.microsoft.com/en-us/library/ee617201.aspx

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
wazmac
Highly Voted 5 years, 1 month ago
Answer is D - Uninstall-ADServiceAccount The Reset-ADServiceAccountPassword - Is not supported for group managed service accounts as asked in the question. https://docs.microsoft.com/en-us/powershell/module/addsadministration/Reset-ADServiceAccountPassword?view=win10-ps
upvoted 6 times
...
NerdAlert
Most Recent 4 years, 3 months ago
This question and 2 or 3 of the last few questions before this one were on 70-411. The answer to this one was: D - Uninstall-ADServiceAccount. This way if you uninstall locally from the server, rather than removing from AD, the account will still exist for the other servers to continue using.
upvoted 2 times
...
darioriso
4 years, 7 months ago
I believe the correct answer is "D", The question is: "You need to remove the cached password of the Service01 service account from Server01" and Service01 is a group Managed Service Account. - The Reset-ADServiceAccountPassword cmdlet resets the password for the standalone managed service account (MSA) on the local computer. You must run this cmdlet on the computer where the standalone MSA is installed. Reset is not supported for group managed service accounts. https://docs.microsoft.com/en-us/powershell/module/addsadministration/Reset-ADServiceAccountPassword?view=win10-ps - The Uninstall-ADServiceAccount cmdlet removes an Active Directory standalone managed service account (MSA) on the computer on which the cmdlet is run. For group MSAs, the cmdlet removes the group MSA from the cache. However, if a service is still using the group MSA and the host has permission to retrieve the password, then a new cache entry is created. The specified MSA must be installed on the computer. https://docs.microsoft.com/en-us/powershell/module/addsadministration/uninstall-adserviceaccount?view=win10-ps
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