nerdexam
Microsoft

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>…

Deploy and manage Active Directory Domain Services (AD DS) in on-premises and cloud environments

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)
  • A
    92% (56)
  • B
    2% (1)
  • C
    5% (3)
  • D
    2% (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

#gMSA#Active Directory#PowerShell#Service Accounts

Community Discussion

No community discussion yet for this question.

Full AZ-800 Practice