Azure Administrator Associate (AZ-104) · 24% practice allocation

Azure AZ-104: Manage Azure identities and governance Practice Questions

5 free sample questions from the Manage Azure identities and governance domain, with answers and explanations. The full AZ-104 bank has 251 questions across 5 domains. Questions are scenario-based and written from the official Azure exam guide.

1.

A global organization has the following management group hierarchy: Tenant Root Group → Global-Root MG → [EMEA-MG, AMER-MG, APAC-MG]. Each regional MG contains multiple subscriptions. A new regulatory requirement mandates that ALL Azure Storage accounts across the ENTIRE organization must use HTTPS-only traffic (supportsHttpsTrafficOnly = true). The security team also wants to automatically remediate existing non-compliant storage accounts. Which policy effect and assignment scope combination achieves both goals with the LEAST administrative effort?

  • A. Assign a policy with the 'DeployIfNotExists' effect at each individual subscription scope to cover all existing storage accounts.
  • B. Assign a policy with the 'Modify' effect at the Tenant Root Group scope, with a managed identity granted the Storage Account Contributor role at the Tenant Root Group scope.✓ Correct
  • C. Assign a policy with the 'Audit' effect at the Tenant Root Group scope, then manually update each non-compliant storage account.
  • D. Assign a policy with the 'Deny' effect at the Tenant Root Group scope to block creation of non-compliant storage accounts, and separately run a script to remediate existing ones.
Explanation

The 'Modify' effect is specifically designed to add, update, or change properties on existing resources (such as enabling HTTPS-only), making it ideal for remediating non-compliant storage accounts automatically. Assigning it at the Tenant Root Group scope ensures it applies to all subscriptions in the entire hierarchy with a single assignment. The managed identity must have appropriate permissions (Storage Account Contributor) to perform modifications. Audit only reports non-compliance without remediation. Deny prevents new non-compliant resources but does not remediate existing ones — and using a separate script adds administrative effort. DeployIfNotExists is used to deploy related/child resources, not to modify a property on the resource itself; assigning it at each subscription scope also violates the least-effort requirement.

2.

Northwind Traders is consolidating its Azure billing. The finance team needs to group costs for three separate subscriptions — 'Sub-Dev', 'Sub-Test', and 'Sub-Prod' — into a single invoice and enable unified cost tracking. Which Azure feature should the administrator configure to meet this requirement?

  • A. Create a management group and move the three subscriptions into it✓ Correct
  • B. Associate all three subscriptions with a single Enterprise Agreement (EA) billing account and enrollment account, or move them under a single Management Group with a shared cost export
  • C. Create an Azure Lighthouse delegation for all three subscriptions
  • D. Enable Azure Reservations across all three subscriptions
Explanation

While the question may seem billing-focused, within the AZ-104 scope the correct governance approach is to place all three subscriptions under a single management group. Management groups allow unified cost analysis and policy governance across subscriptions. A single EA billing account consolidates invoicing at the billing level, but within Cost Management, management groups provide the scoping mechanism for aggregated cost views available to AZ-104 administrators. Azure Reservations provide discounted pricing but do not consolidate invoices or cost views. Azure Lighthouse is for cross-tenant management delegation, not subscription cost consolidation within the same tenant.

3.

A company applies a 'ReadOnly' resource lock at the resource group level to 'RG-Prod'. A developer with the Owner role on the resource group then tries to perform the following operations. Which operation will SUCCEED?

  • A. Delete a virtual machine inside RG-Prod
  • B. Create a new storage account inside RG-Prod
  • C. Read the list of all resources inside RG-Prod✓ Correct
  • D. Move a virtual machine from RG-Prod to another resource group
Explanation

A ReadOnly lock prevents any write or delete operations, regardless of RBAC permissions — even the Owner role cannot override a resource lock. Reading resources (listing them) is a read operation and is explicitly allowed by a ReadOnly lock. Deleting a VM is a delete operation and is blocked. Creating a new storage account is a write operation and is blocked. Moving a resource is treated as both a write on the source and destination resource groups, so it is also blocked by the ReadOnly lock.

4.

Tailspin Toys uses Azure Cost Management. The operations manager wants to create a budget for the 'Production' subscription with a monthly limit of $10,000 and receive an email alert when actual spending reaches 80% and when forecasted spending is predicted to reach 100%. Which TWO alert condition types must be configured in the budget to satisfy both notification requirements? (Select TWO)

  • A. A 'Forecasted' alert threshold set to 80%
  • B. A 'Forecasted' alert threshold set to 100%✓ Correct
  • C. A Cost Anomaly alert with a threshold of $8,000
  • D. An 'Actual' alert threshold set to 80%✓ Correct
  • E. An 'Actual' alert threshold set to 100%
Explanation

Azure Cost Management budgets support two alert condition types: 'Actual' (triggers when real spend crosses the threshold) and 'Forecasted' (triggers when projected spend is predicted to cross the threshold). Setting an Actual alert at 80% covers the first requirement, and a Forecasted alert at 100% covers the second. An Actual alert at 100% would only fire after the budget is already exceeded, which is not what was asked. A Forecasted alert at 80% is not required and doesn't match the stated requirements. Cost Anomaly alerts are a separate feature in Cost Management and are not budget alert thresholds.

5.

A company has a Microsoft Entra ID tenant. A new HR manager named Sandra needs to be able to create and delete user accounts, reset passwords for non-administrator users, and manage group memberships — but she must NOT be able to manage licenses or access any Azure subscription resources. Which built-in Microsoft Entra ID role should you assign to Sandra?

  • A. License Administrator
  • B. Helpdesk Administrator
  • C. User Administrator✓ Correct
  • D. Global Administrator
Explanation

User Administrator grants the ability to create/delete users, reset passwords for non-admins, and manage groups, which matches all stated requirements. Global Administrator has far broader permissions (including managing all aspects of Entra ID and Azure AD-integrated services) and violates the principle of least privilege. License Administrator can manage licenses but cannot create or delete users or manage groups. Helpdesk Administrator can reset passwords and manage service requests but cannot create or delete user accounts or manage group memberships.

Test yourself across every AZ-104 domain

The free AZ-104 practice test mixes about 20 questions weighted like the exam. The full 251-question bank adds instant grading, flashcards and a timed mock exam.

Study this domain

Manage Azure identities and governance study guide (AZ-104) →

Other AZ-104 domains

← All Azure Administrator Associate study resources