AZ-800 · Question #93
You have been tasked to decommission the member hosts from an existing server farm. As a part of the procedure, you have removed the member host from group Managed Service Account (gMSA) and now you…
The correct answer is A. Uninstall-ADServiceAccount. The cached gMSA credentials can be removed from the member host using Uninstall- ADServiceAccount cmdlet or the NetRemoveServiceAccount API on the host system. Uninstall-ADServiceAccount <ADServiceAccount>…
Question
You have been tasked to decommission the member hosts from an existing server farm. As a part of the procedure, you have removed the member host from group Managed Service Account (gMSA) and now you need to remove gMSA. Which of the following cmdlet would you use in PowerShell?
Options
- AUninstall-ADServiceAccount
- BRemove-ADServiceAccount
- CUninstall-gMSAAccount
- DRemove -gMSAAccount
How the community answered
(61 responses)- A92% (56)
- B2% (1)
- C5% (3)
- D2% (1)
Explanation
The cached gMSA credentials can be removed from the member host using Uninstall- ADServiceAccount cmdlet or the NetRemoveServiceAccount API on the host system. Uninstall-ADServiceAccount <ADServiceAccount> https://docs.microsoft.com/en-us/windows-server/security/group-managed-service- accounts/getting-started-with-group-managed-service-accounts
Topics
Community Discussion
No community discussion yet for this question.