microsoft AZ-104: Microsoft Azure Administrator · Practice questions

1. Manage Azure identities and governance Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

Question 1

Which built-in initiative helps assess compliance against a standard benchmark in Defender for Cloud?

  1. Network Watcher defaults
  2. Microsoft cloud security benchmark — Correct
  3. Activity log export
  4. Azure Well-Architected cost initiative

Correct answer

Microsoft cloud security benchmark

Explanation

The Microsoft cloud security benchmark is the default security initiative.

Question 2

Users in the Sales department must automatically be added to a group when their department attribute is 'Sales'. What should you configure?

  1. A dynamic membership group with a rule on department — Correct
  2. An administrative unit with restricted management
  3. An assigned security group updated by a weekly script that a help desk runs
  4. A Microsoft 365 group with manual owners

Correct answer

A dynamic membership group with a rule on department

Explanation

Dynamic groups evaluate user attributes to manage membership (requires Entra ID P1).

Question 3

Which statement about Microsoft Entra Connect and password hash synchronization is correct?

  1. Users can sign in to cloud apps with their on-premises password — Correct
  2. It requires federation servers
  3. On-premises passwords are stored in clear text in Entra ID
  4. It disables MFA

Correct answer

Users can sign in to cloud apps with their on-premises password

Explanation

PHS syncs a hash of the password hash, enabling cloud authentication.

Question 4

Which statement about Azure Key Vault access for VMs with managed identities is correct?

  1. Grant the identity a Key Vault RBAC role such as Key Vault Secrets User — Correct
  2. Access requires the vault's account key
  3. Managed identities cannot access Key Vault
  4. The identity automatically has access to every vault

Correct answer

Grant the identity a Key Vault RBAC role such as Key Vault Secrets User

Explanation

Managed identities need RBAC roles (or access policies) on the vault.

Question 5

You need to enforce that all storage accounts use a minimum TLS version of 1.2, blocking non-compliant creation. Which approach fits?

  1. An RBAC custom role
  2. A Deny policy on minimum TLS version — Correct
  3. A ReadOnly lock on new storage accounts
  4. A budget

Correct answer

A Deny policy on minimum TLS version

Explanation

Policy can deny resources with insecure settings.

Question 6

A subscription has reached its vCPU quota in a region. What should you do to deploy more VMs?

  1. Request a quota increase — Correct
  2. Move the VMs to another resource group in the same region
  3. Apply a ReadOnly lock
  4. Create an availability set

Correct answer

Request a quota increase

Explanation

Quotas are per subscription and region; increases are requested through the portal.

Question 7

You need to create 500 Microsoft Entra users from a CSV file with the least administrative effort. What should you use?

  1. A resource lock on the tenant root group
  2. Bulk create users in the Microsoft Entra admin center — Correct
  3. Create each user manually in the Azure portal user blade, one at a time
  4. Azure Policy with a deployIfNotExists effect for users

Correct answer

Bulk create users in the Microsoft Entra admin center

Explanation

Bulk operations accept a CSV template to create many users.

Question 8

Which Azure Policy effect evaluates resources and only reports non-compliance?

  1. Modify
  2. DeployIfNotExists
  3. Deny
  4. Audit — Correct

Correct answer

Audit

Explanation

Audit logs non-compliance without blocking.

Question 9

You need to find all VMs without a CostCenter tag across subscriptions. What is the fastest approach?

  1. Network Watcher
  2. Open each subscription's VM list and export to Excel manually
  3. Azure Resource Graph query (or Policy compliance) — Correct
  4. Azure Service Health

Correct answer

Azure Resource Graph query (or Policy compliance)

Explanation

Resource Graph queries resources across subscriptions quickly.

Question 10

Which Microsoft Entra feature should you use to require approval and justification before an admin activates the Owner role on a subscription?

  1. Self-service password reset with notifications enabled
  2. Security defaults
  3. Privileged Identity Management — Correct
  4. Dynamic groups

Correct answer

Privileged Identity Management

Explanation

PIM supports eligible assignments with approval and time limits for Azure and Entra roles.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz