Microsoft · AZ-104

microsoft AZ-104 Practice Questions

Practice for the AZ-104: Microsoft Azure Administrator Microsoft certification exam. Review available chapters with published question counts.

200 questions across 5 chapters with published questions.

Start free practice

Exam chapters

Practice questions

Sample questions with answers and explanations

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.

Other Microsoft exams