Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Interpret access assignments

A worked example

Single answer

An external auditor asks Contoso for a complete list of all Azure role assignments in the subscription Sub-Prod. The list must meet these requirements:

  • Include both active and eligible assignments.
  • Include assignments made at the subscription and at every resource group and resource within it.
  • Be produced as a single export, not one export per resource.

You hold the Privileged Role Administrator role in Microsoft Entra ID.

What should you use?

Choose one answer
Why

PIM can query role assignments at a resource, including those on all child resource groups and resources, and export all active and eligible assignments to one CSV file. Activity log exports and PIM resource audit record events, not the current state of access. Check access does not include assignments that exist only at child scopes.

  • Not correct: On Sub-Prod, use Access control (IAM) > Check access for each user, and then combine the results. Check access shows assignments at the selected scope and those inherited to it, not assignments that exist only at child scopes. It also works one principal at a time.
  • Correct: In Privileged Identity Management, open Azure resources, select Sub-Prod, select Assignments, and then use Export > Export all members. This PIM export queries active and eligible assignments at the subscription and all its child resources, and produces a single CSV file.
  • Not correct: Filter the Sub-Prod activity log for role assignment write and delete operations, and then select Download as CSV. The activity log records logged operations within a retention window. It is not an inventory of the assignments that currently exist, and it does not cover eligibility.
  • Not correct: In Microsoft Entra ID, open each user's Azure role assignments pane and record the listed roles. This pane works per user or group and shows only the assignments you can read. It is not a single export and can miss assignments to other principals.
  • Not correct: In Privileged Identity Management, open Resource audit for Sub-Prod and filter by a custom date range. Resource audit shows the history of role activity for a resource. It is not a current list of all assignments.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free