Microsoft 365 Administrator — Question 163

Your network contains an Active Directory domain named adatum.com that is synced to a Microsoft Entra tenant.

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 using the Get-ADUser and Set-ADUser cmdlets allows you to directly modify Active Directory user attributes from a domain controller. Options B, C, and D do not provide the necessary direct access to modify the city attribute in Active Directory, as they pertain to different environments or interfaces that do not support this specific modification.