Microsoft 365 Administrator — Question 67

Your network contains an Active Directory domain named adatum.com that is synced to 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: A

Explanation

The correct answer is A because the Get-ADUser and Set-ADUser cmdlets are specifically designed for managing Active Directory users directly on a domain controller. Options B, C, and D are incorrect because they either use the wrong cmdlets for Active Directory or operate in the wrong environment (Azure Cloud Shell vs. on-premises domain controller).