Practice questions · IT & Cloud

Microsoft Azure Administrator (AZ-104): Practice Questions

intermediate 147 questions

Original practice questions for Microsoft Azure Administrator (AZ-104). Each answer is explained, including why the others are wrong. Filter by domain or difficulty. These are concept checks - not real exam questions.

By The Exam Atlas Editorial Team · Verified 2026-05-31 · ~184 min

  1. Manage identities & governance easy

    Microsoft Entra ID (formerly Azure AD) provides:

  2. Manage identities & governance medium

    Azure role-based access control (RBAC) grants permissions by:

  3. Manage identities & governance medium

    Azure Policy is used to:

  4. Implement & manage storage easy

    Azure Blob Storage is designed for:

  5. Implement & manage storage medium

    Which redundancy option replicates storage to a secondary region?

  6. Implement & manage storage hard

    To grant time-limited, scoped access to a blob without sharing account keys, you use:

  7. Deploy & manage compute resources medium

    Virtual Machine Scale Sets let you:

  8. Deploy & manage compute resources medium

    Which is a declarative infrastructure-as-code option for Azure?

  9. Deploy & manage compute resources medium

    To run a container without managing servers in Azure, a quick option is:

  10. Implement & manage virtual networking medium

    A Network Security Group (NSG) is used to:

  11. Implement & manage virtual networking medium

    VNet peering is used to:

  12. Implement & manage virtual networking hard

    Which distributes HTTP traffic with Layer-7 features such as URL-based routing?

  13. Monitor & maintain resources easy

    Azure Monitor primarily provides:

  14. Monitor & maintain resources medium

    Log Analytics lets you:

  15. Monitor & maintain resources easy

    Azure Backup is used to:

  16. Manage identities & governance medium

    An Azure 'resource group' is:

  17. Manage identities & governance medium

    Azure Management Groups are used to:

  18. Manage identities & governance medium

    Multi-factor authentication in Microsoft Entra ID improves security by:

  19. Manage identities & governance hard

    An Azure RBAC role assignment is made up of a security principal, a role definition and a:

  20. Implement & manage storage medium

    Locally redundant storage (LRS) keeps:

  21. Implement & manage storage medium

    Which storage access tier is most cost-effective for rarely accessed data?

  22. Implement & manage storage medium

    Azure Files provides:

  23. Deploy & manage compute resources medium

    An Availability Set protects virtual machines against:

  24. Deploy & manage compute resources medium

    Azure App Service is:

  25. Deploy & manage compute resources medium

    Azure Kubernetes Service (AKS) is used to:

  26. Implement & manage virtual networking medium

    A subnet is:

  27. Implement & manage virtual networking medium

    An Azure Load Balancer operates primarily at:

  28. Implement & manage virtual networking hard

    To connect an on-premises network to Azure over a private, dedicated link (not the public internet), you use:

  29. Monitor & maintain resources medium

    An Azure Monitor alert rule:

  30. Monitor & maintain resources medium

    Azure Site Recovery is primarily used for:

  31. Manage identities & governance medium

    Your company acquires a startup with its own Microsoft Entra tenant. To let the startup's users sign in to apps in your tenant without recreating their accounts, you should use:

  32. Manage identities & governance medium

    A junior admin needs to manage virtual machines in one resource group but must not be able to change role assignments there. Which built-in role fits best?

  33. Manage identities & governance medium

    You want to prevent anyone from accidentally deleting a critical production storage account, while still allowing configuration changes. Apply:

  34. Manage identities & governance medium

    Which statement about Azure RBAC inheritance is correct?

  35. Manage identities & governance medium

    To require multi-factor authentication only when users sign in from outside the corporate network, you configure:

  36. Manage identities & governance hard

    A user reports they cannot create resources even though they have Contributor on the subscription. The resource group has a ReadOnly lock. What is happening?

  37. Manage identities & governance hard

    Azure Policy reports a non-compliant VM that was created before the policy existed. Which effect can bring it into compliance by changing the resource?

  38. Manage identities & governance medium

    You need many subscriptions to automatically inherit the same 'allowed regions' policy. Assign the policy at the level of:

  39. Manage identities & governance easy

    What is the main advantage of using a Microsoft Entra security group for RBAC assignments instead of assigning roles to individual users?

  40. Manage identities & governance easy

    A service running on an Azure VM needs to read secrets from Key Vault without storing any credentials. The recommended approach is:

  41. Manage identities & governance hard

    Which Microsoft Entra feature lets an eligible admin activate a privileged role only for a limited time, with approval and justification?

  42. Manage identities & governance medium

    You want resources in a subscription to always carry a 'CostCenter' tag, and to block creation if it is missing. Use an Azure Policy with the effect:

  43. Manage identities & governance hard

    A custom RBAC role is needed because no built-in role matches your exact permissions. Custom roles in Azure are defined using:

  44. Manage identities & governance medium

    Which of these is true about Microsoft Entra ID compared with an on-premises Active Directory domain?

  45. Manage identities & governance easy

    Self-service password reset (SSPR) in Microsoft Entra ID primarily reduces:

  46. Manage identities & governance hard

    Two RBAC assignments apply to a user at the same scope: a role that allows VM start and a deny assignment that blocks VM start. The result is:

  47. Manage identities & governance medium

    You need to delegate the ability to assign roles to others on a resource group, but nothing else. Assign:

  48. Manage identities & governance medium

    Where do you move a subscription to change which directory (tenant) it is associated with, or to reorganize governance?

  49. Manage identities & governance medium

    Which best describes the relationship between a Microsoft Entra tenant and an Azure subscription?

  50. Manage identities & governance medium

    To apply governance rules that should affect every current and future subscription in your organization, place them at:

  51. Manage identities & governance hard

    A guest (B2B) user keeps appearing in your tenant after a project ends. Which feature can automatically review and remove stale guest access?

  52. Manage identities & governance easy

    Which scope is the broadest at which an Azure RBAC role can be assigned?

  53. Manage identities & governance hard

    You want new VMs to automatically receive a backup configuration when created. Which Azure Policy effect deploys the related resource if it is missing?

  54. Manage identities & governance easy

    An application registered in Microsoft Entra ID needs an identity to call another API as itself (no signed-in user). This non-human identity is a:

  55. Manage identities & governance easy

    Dynamic membership groups in Microsoft Entra ID add or remove members based on:

  56. Manage identities & governance medium

    Which is the correct order of Azure governance scopes from broadest to narrowest?

  57. Manage identities & governance hard

    You assigned the Reader role to a team, but they also need to restart a specific web app. The least-privilege approach is to additionally assign:

  58. Manage identities & governance hard

    What does a deny assignment do that a normal role assignment cannot?

  59. Implement & manage storage hard

    You need read access from a paired secondary region even when the primary is available. Choose the redundancy option:

  60. Implement & manage storage medium

    Which redundancy option keeps three synchronous copies across separate availability zones within a single region?

  61. Implement & manage storage easy

    A blob must move to a cheaper tier automatically after 30 days without access and be deleted after a year. Configure:

  62. Implement & manage storage easy

    To let an application authenticate to Blob storage using Microsoft Entra identities and RBAC instead of keys, you assign roles such as:

  63. Implement & manage storage easy

    A lift-and-shift application expects a traditional file share it can mount over SMB from multiple VMs. Use:

  64. Implement & manage storage easy

    Which storage service is best suited for decoupling components by passing small messages between them?

  65. Implement & manage storage easy

    AzCopy is most appropriate for:

  66. Implement & manage storage hard

    You want only resources inside a specific virtual network to reach a storage account, with no public access. Configure:

  67. Implement & manage storage easy

    The Archive access tier for blobs is characterized by:

  68. Implement & manage storage easy

    Which feature lets you recover a blob that was overwritten or deleted by keeping previous versions automatically?

  69. Implement & manage storage easy

    A premium-performance, low-latency disk is required for a database VM. Which disk type fits best?

  70. Implement & manage storage medium

    To upload data from on-premises to Azure when the volume is too large to send over the network in a reasonable time, you can use:

  71. Implement & manage storage hard

    Which permission boundary does a service-level (account) SAS differ from a user delegation SAS by?

  72. Implement & manage storage easy

    By default, data in an Azure Storage account is:

  73. Implement & manage storage hard

    You need to mount an Azure Files share on a Linux VM using the NFS protocol. This requires:

  74. Implement & manage storage hard

    Object replication for Blob storage is used to:

  75. Implement & manage storage easy

    Which storage service provides a schemaless NoSQL key-value store for large amounts of structured, non-relational data?

  76. Implement & manage storage hard

    After a regional outage, you want to fail your GRS storage account over to the secondary region. This is done via:

  77. Implement & manage storage medium

    To prevent a storage account from being reached over the public internet at all, you should:

  78. Implement & manage storage hard

    Which is true about the immutable (WORM) storage policy for blobs?

  79. Implement & manage storage easy

    A general-purpose v2 storage account is generally preferred over v1 because it:

  80. Deploy & manage compute resources medium

    You want a VM that, when the host hardware is updated or fails, has a partner VM that stays online. To get an SLA for two VMs in one datacenter, place them in:

  81. Deploy & manage compute resources medium

    To protect a workload against an entire datacenter failure within a region, deploy VM instances across:

  82. Deploy & manage compute resources easy

    A Virtual Machine Scale Set should add instances when average CPU exceeds 70 percent. You configure this with:

  83. Deploy & manage compute resources hard

    Which deployment mode of an ARM/Bicep template deletes resources in the resource group that are not defined in the template?

  84. Deploy & manage compute resources medium

    To make a captured, reusable image of a configured VM available to many subscriptions and regions, use:

  85. Deploy & manage compute resources medium

    A web app on Azure App Service needs to run staging and production with the ability to swap them with no downtime. Use:

  86. Deploy & manage compute resources easy

    An App Service plan determines:

  87. Deploy & manage compute resources easy

    You need to run a short-lived batch job in a container without provisioning or managing any VMs or clusters. Use:

  88. Deploy & manage compute resources medium

    To customize a Linux VM at first boot (install packages, run scripts) without logging in, you can use:

  89. Deploy & manage compute resources easy

    A Windows VM lost its administrator password. Which Azure feature can reset it without rebuilding the VM?

  90. Deploy & manage compute resources hard

    Spot VMs are appropriate when your workload:

  91. Deploy & manage compute resources hard

    Generalizing a Windows VM image before capturing it for reuse typically requires running:

  92. Deploy & manage compute resources medium

    Which statement about resizing an Azure VM is correct?

  93. Deploy & manage compute resources easy

    To deploy the same set of resources repeatedly and predictably, the Azure-native infrastructure-as-code language that is a cleaner abstraction over ARM JSON is:

  94. Deploy & manage compute resources medium

    A containerized microservice app needs automatic scaling, rolling updates and self-healing across many nodes. The best fit is:

  95. Deploy & manage compute resources easy

    You want to ensure a VM's OS disk can be restored to a known good point. The simplest built-in option is to:

  96. Deploy & manage compute resources hard

    In a Virtual Machine Scale Set, the 'Flexible' orchestration mode (versus 'Uniform') is preferred when you want:

  97. Deploy & manage compute resources medium

    To reduce VM cost for a workload that will run continuously for one or three years, you should consider:

  98. Deploy & manage compute resources hard

    When you stop a VM from inside the guest OS (rather than 'Stop' in Azure), the VM:

  99. Deploy & manage compute resources easy

    Which extension or service helps keep many Azure (and on-prem) VMs patched on a schedule?

  100. Deploy & manage compute resources hard

    To deploy a container image directly to a managed, serverless container platform with built-in scaling to zero, you can use:

  101. Deploy & manage compute resources medium

    Which is required before you can attach an existing data disk to a VM?

  102. Deploy & manage compute resources easy

    App Service scaling 'up' versus 'out' differs in that scaling out:

  103. Deploy & manage compute resources easy

    You need to run code on a schedule or in response to events without managing servers. The serverless compute option is:

  104. Deploy & manage compute resources medium

    To safely test what a Bicep or ARM deployment will change before applying it, run:

  105. Deploy & manage compute resources medium

    Which of these is the correct way to ensure VMs in a scale set are distributed across availability zones?

  106. Deploy & manage compute resources hard

    An organization wants to run Windows VMs without paying separately for Windows licenses by reusing existing on-prem licenses. They should use:

  107. Implement & manage virtual networking hard

    A VM in Subnet A cannot reach a VM in Subnet B in the same VNet, even though no NSG denies it. What is the most likely cause to check first?

  108. Implement & manage virtual networking medium

    Two VNets in different regions must communicate privately over Microsoft's backbone. The simplest option is:

  109. Implement & manage virtual networking medium

    An NSG rule is evaluated based on priority. Which statement is correct?

  110. Implement & manage virtual networking medium

    To connect an on-premises site to an Azure VNet over an encrypted tunnel across the public internet, deploy:

  111. Implement & manage virtual networking medium

    Individual remote workers need encrypted access to an Azure VNet from their laptops. Configure:

  112. Implement & manage virtual networking easy

    Which Azure service provides name resolution for custom domains within a virtual network, mapping hostnames to private IPs?

  113. Implement & manage virtual networking medium

    A standard public Load Balancer distributes traffic to backend VMs at Layer 4. To also get URL path-based routing and TLS termination, you instead need:

  114. Implement & manage virtual networking hard

    To globally distribute and accelerate a web application with failover across regions at the HTTP layer, use:

  115. Implement & manage virtual networking hard

    By default, can a VM in Azure with no public IP and no NAT configuration initiate outbound connections to the internet?

  116. Implement & manage virtual networking easy

    A NAT gateway is used to:

  117. Implement & manage virtual networking hard

    Which is true about Azure service tags in NSG rules?

  118. Implement & manage virtual networking hard

    A subnet that will host a VPN gateway must be named:

  119. Implement & manage virtual networking medium

    You need to centrally inspect and filter all outbound and inbound traffic for many subnets with a stateful, managed firewall and threat intelligence. Deploy:

  120. Implement & manage virtual networking medium

    A user-defined route (UDR) is used to:

  121. Implement & manage virtual networking medium

    To allow resources in a VNet to reach an Azure PaaS service (like a storage account) over the Azure backbone rather than the public internet, you can use a:

  122. Implement & manage virtual networking medium

    Which statement about NSGs and application security groups (ASGs) is correct?

  123. Implement & manage virtual networking medium

    When you peer two VNets, by default traffic between them:

  124. Implement & manage virtual networking hard

    A standard SKU public IP address differs from a basic SKU public IP in that the standard SKU:

  125. Implement & manage virtual networking medium

    To diagnose why traffic between two VMs is blocked, which Azure tool shows whether an NSG rule is allowing or denying a flow?

  126. Implement & manage virtual networking medium

    Which is the correct relationship between a VNet's address space and its subnets?

  127. Implement & manage virtual networking hard

    To connect many branch offices and VNets together with simplified, centralized management of routing and connectivity, you can use:

  128. Implement & manage virtual networking medium

    A standard internal Load Balancer is used when you need to:

  129. Monitor & maintain resources medium

    To collect detailed guest-OS metrics and logs (like memory usage and event logs) from a VM into Azure Monitor, you should:

  130. Monitor & maintain resources easy

    A query against your logs to find failed sign-ins over the last 24 hours is written in:

  131. Monitor & maintain resources medium

    An alert should notify an on-call team by SMS and email and also trigger a webhook. The reusable object that defines these notifications is:

  132. Monitor & maintain resources easy

    Which Azure Monitor capability provides deep, code-level application performance monitoring (requests, dependencies, exceptions)?

  133. Monitor & maintain resources hard

    Platform metrics in Azure Monitor are retained for a limited time. To keep metric or log data long term for compliance, you can:

  134. Monitor & maintain resources medium

    A metric alert that fires whenever CPU is over 80 percent for 5 minutes is best described as monitoring based on:

  135. Monitor & maintain resources easy

    Azure Service Health is used to:

  136. Monitor & maintain resources medium

    To centralize logs from many subscriptions and resources so you can query them together, you send them to:

  137. Monitor & maintain resources easy

    Azure Advisor primarily helps you by:

  138. Monitor & maintain resources medium

    You configured Azure Backup for a VM with a daily policy and 30-day retention. To restore a single deleted file (not the whole VM), you use:

  139. Monitor & maintain resources easy

    The Recovery Services vault in Azure is used to:

  140. Monitor & maintain resources medium

    Which is the correct difference between metrics and logs in Azure Monitor?

  141. Monitor & maintain resources medium

    To get a daily email summary of estimated spend and to alert when a budget threshold is reached, use:

  142. Monitor & maintain resources hard

    A log alert rule differs from a metric alert in that it:

  143. Monitor & maintain resources medium

    You need to verify that a maintenance change did not increase error rates on a web app. The fastest place to see request failure trends is:

  144. Monitor & maintain resources hard

    Connection Monitor in Network Watcher is used to:

  145. Monitor & maintain resources medium

    A workbook in Azure Monitor is best described as:

  146. Monitor & maintain resources medium

    To be alerted when a critical resource is deleted or a role assignment changes, create an alert based on:

  147. Monitor & maintain resources medium

    VM insights (part of Azure Monitor) provides:

Practice questions FAQ

Are these real AZ-104 exam questions?
No. These are original study questions written to test understanding. They are not real exam questions, exam dumps, or copied from any provider.
How should I use these practice questions?
Answer each one, read the explanation (including why the wrong options are wrong), and use the per-domain score below to focus your revision on weak areas. Revisit before exam day.
How many questions should I do before the exam?
Enough to score consistently across every domain, alongside full-length practice from official or reputable providers. Understanding why each answer is right matters more than raw volume.
What score means I am ready?
A good signal is consistently scoring around 80% or higher across all domains on questions you have not seen before, and being able to explain why the wrong options are wrong.
Should I use exam dumps?
No. Dumps (real or leaked questions) breach provider policy, can void your certification, and do not build the understanding the exam actually tests.

Sources