Microsoft 365 Identity and Services (legacy) — Question 12

Your network contains an Active Directory domain named adatum.com that is synced to Microsoft Azure Active Directory (Azure AD).
The domain contains 100 user accounts.
The city attribute for all the users is set to the city where the user resides.
You need to modify the value of the city attribute to the three-letter airport code of each city.
What should you do?

Answer options

Correct answer: C

Explanation

The correct answer is C because modifying Active Directory attributes like the city must be performed on a domain controller using the Get-ADUser and Set-ADUser cmdlets. Options A and D are incorrect as they reference Azure AD cmdlets which do not directly modify on-premises Active Directory attributes. Option B is also wrong because it incorrectly suggests using Azure Cloud Shell with on-premises cmdlets.