Sample question 2 — Manage identity and access
A security administrator must let a support engineer reset passwords for users in a single department without granting access to the rest of the directory. The engineer should also be able to read the sign-in logs for that department's users. The built-in Helpdesk Administrator role is too broad. Which approach should the administrator use?
- A. Create a custom role scoped to an administrative unit that contains the department's users.
- B. Assign the Global Administrator role to the support engineer for the duration of each reset request.
- C. Grant the engineer owner access to the resource group that holds the department's resources.
- D. Add the engineer to the Helpdesk Administrator role and rely on them to act only within the department.
Answer: A. Option A is correct. A custom role scoped to an administrative unit grants password reset and sign-in log read permissions only for the users inside that unit. Option B is incorrect because Global Administrator grants unrestricted tenant-wide access, which is far too broad. Option C is incorrect because resource-group Owner access does not grant directory password reset rights. Option D is incorrect because Helpdesk Administrator is tenant-wide and does not limit the engineer to one department.
