exam questions

Exam AZ-800 All Questions

View all questions & answers for the AZ-800 exam

Exam AZ-800 topic 1 question 47 discussion

Actual exam question from Microsoft's AZ-800
Question #: 47
Topic #: 1
[All AZ-800 Questions]

HOTSPOT
-

You have an Active Directory Domain Services (AD DS) domain that contains a group named Group1.

You need to create a group managed service account (gMSA) named Account1. The solution must ensure that Group1 can use Account1.

How should you complete the script? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
De09z
Highly Voted 1 year, 4 months ago
It should be New-ADServiceAccount and -PrincipalsAllowedToRetrieveManagedPassword
upvoted 18 times
...
nook6
Highly Voted 1 year, 3 months ago
Example to Create gMSA account : New-ADServiceAccount -Name "Account1" -DNSHostName "Account1.YourDomain.com" -PrincipalsAllowedToRetrieveManagedPassword "Group1" -Path "OU=CustomOU,DC=YourDomain,DC=com"
upvoted 6 times
...
thomasemr
Most Recent 1 day, 14 hours ago
A opção PrincipalsAllowedToDelegateToAccount é usada para especificar quais principais (usuários ou grupos) têm permissão para delegar a conta de serviço gerenciada (gMSA) a outros serviços ou contas. Isso é diferente de PrincipalsAllowedToRetrieveManagedPassword, que define quais principais podem recuperar a senha gerenciada da gMSA. No seu caso, se o objetivo é permitir que Group1 use a gMSA Account1, a opção correta é PrincipalsAllowedToRetrieveManagedPassword, pois isso garante que os membros do grupo possam acessar a senha gerenciada necessária para autenticar e usar a conta de serviço. Se você precisar que Group1 delegue a gMSA a outros serviços, então você usaria PrincipalsAllowedToDelegateToAccount.
upvoted 1 times
...
KXNG
2 months, 3 weeks ago
New-ADServiceAccount & -PrincipalsAllowedToRetrieveManagedPassword It's not -PrincipalsAllowedToDelegateToAccount because this is used when setting up delegation, which is not required here. We are needing to focus on which principals can use the gMSA. Since group 1 needs to use the the gMSA, we use -PrincipalsAllowedToRetrieveManagedPassword
upvoted 1 times
...
formacaotismic
2 months, 3 weeks ago
New-ADServiceAccount -Name "Account1" -PrincipalsAllowedToRetrieveManagedPassword "Group1" -Path "OU=CustomOU,DC=YourDomain,DC=com"
upvoted 1 times
...
AK_1234
9 months, 1 week ago
New-ADServiceAccount and -PrincipalsAllowedToRetrieveManagedPassword
upvoted 2 times
...
SIAMIANJI
9 months, 2 weeks ago
It should be: New-ADServiceAccount -Name "Account1" -DNSHostName "web.contoso.com" -PrincipalsAllowedToDelegateToAccount "Group1"
upvoted 1 times
...
RickySmith
1 year, 1 month ago
New-ADServiceAccount -PrincipalsAllowedToDelegateToAccount https://learn.microsoft.com/en-us/powershell/module/activedirectory/new-adserviceaccount?view=windowsserver2022-ps#-principalsallowedtodelegatetoaccount https://book.hacktricks.xyz/windows-hardening/active-directory-methodology/resource-based-constrained-delegation
upvoted 1 times
...
Leoanetor
1 year, 2 months ago
The answer should be New-ADServiceAccount -Name "Account1" -DNSHostName "website.contoso.com" -PrincipalsAllowedToRetrieveManagedPassword "Group1" Ref: https://learn.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/manage-serviceaccounts#use-case-for-creating-gmsa-account-for-non-domain-joined-container-hosts
upvoted 2 times
...
NazerRazer
1 year, 3 months ago
New-ADServiceAccount -Name "Account1" -DNSHostName "website.contoso.com" -PrincipalsAllowedToRetrieveManagedPassword "Group1" This option specifies that "Group1" is allowed to retrieve the managed password for "Account1." While it doesn't explicitly mention allowing "Group1" to use "Account1" for service operations, it does grant permission for retrieving the password, which may indirectly allow for its use in certain scenarios.
upvoted 4 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