AZ-104 Practice Test.
65 free practice questions with answers and explanations.
No signup required. Choose a topic and review each answer.
Start practicing →About these practice questions
These are original study questions written from published exam objectives—not recalled, copied, or confidential live-exam items. Always confirm current coverage with the official sources linked on this page.
Exam format and study resources
The AZ-104 is administered by Microsoft, with a 1 hour 40 minutes time limit and a 700/1000 result.
This free AZ-104 practice test has 65 original questions written to Microsoft's official content outline, last checked against it on July 18, 2026. Every question shows a worked explanation, and nothing here requires a signup.
Browse all questions & answers
1. An administrator needs a new user account to be able to reset passwords for other non-admin users in the Azure AD tenant, but should not be able to create or delete subscriptions or manage billing. Which type of role should be assigned?
- A. An Azure AD built-in role such as Helpdesk Administrator
- B. An Azure RBAC Owner role at the subscription scope
- C. An Azure RBAC Contributor role at the management group scope
- D. A classic service administrator role
Show answer & explanation
Answer: A
Azure AD (Microsoft Entra ID) built-in directory roles like Helpdesk Administrator govern directory-level actions such as password resets and are separate from Azure RBAC, which governs access to Azure resources like subscriptions and resource groups. Owner and Contributor are Azure RBAC roles that control resource management, not directory user administration, and would grant far more (or unrelated) permissions than needed. A classic service administrator role is a legacy subscription-level construct unrelated to directory user management.2. A company wants to ensure that whenever a new storage account is created in any subscription under a management group, it must use only Standard_LRS or Standard_GRS SKUs, with non-compliant accounts blocked at creation time. Which Azure governance feature should be used?
- A. An Azure Policy definition with a 'deny' effect assigned at the management group
- B. An Azure Blueprint assigned to each subscription individually
- C. A resource lock set to 'CanNotDelete' on each storage account
- D. An RBAC custom role restricting storage account creation permissions
Show answer & explanation
Answer: A
Azure Policy with a deny effect evaluates resource properties (like SKU) at creation and blocks non-compliant deployments, and assigning it at the management group scope applies it to all child subscriptions automatically. Blueprints orchestrate artifacts like policies and role assignments as a package but the enforcement mechanism for a SKU restriction is still a policy; assigning per-subscription is also less efficient than a management-group assignment. Resource locks only prevent deletion or modification of existing resources, not SKU selection at creation. A custom RBAC role can restrict who can create storage accounts but cannot enforce which SKU is chosen.3. You need to grant a user permission to manage all resources within a single resource group, but that user must not be able to grant access to other users. Which built-in role satisfies this requirement?
- A. Owner
- B. Reader
- C. Contributor
- D. User Access Administrator
Show answer & explanation
Answer: C
Contributor grants full read/write management of resources in scope but explicitly excludes the ability to modify role assignments, which matches the requirement. Owner includes everything Contributor has plus the ability to assign roles to other users, exceeding the requirement. Reader only allows viewing resources, not managing them. User Access Administrator manages role assignments but does not by itself grant broad resource management rights.4. An organization has enabled self-service password reset (SSPR) for its Azure AD users. A user reports they cannot use SSPR even though it is enabled tenant-wide. What is the most likely explanation?
- A. The user's account was not included in the SSPR policy's scoped group and has not registered authentication methods
- B. SSPR only works for accounts synchronized from on-premises Active Directory
- C. SSPR requires an Azure subscription with at least Contributor access
- D. SSPR is only available to Global Administrator accounts
Show answer & explanation
Answer: A
SSPR can be enabled for 'Selected' groups of users rather than all users, and even enabled users must register authentication methods (like phone or authenticator app) before they can use it, so an unregistered or out-of-scope user would be unable to reset their own password. SSPR works for both cloud-only and hybrid-synced accounts (with password writeback for hybrid). SSPR is a directory feature unrelated to Azure resource RBAC roles like Contributor. Global Administrators are not the only accounts eligible for SSPR; in fact restricting SSPR to only admins would defeat its self-service purpose.5. A resource group contains a virtual machine that must never be accidentally deleted, but administrators still need to resize its disks and change its NIC configuration regularly. Which resource lock type should be applied?
- A. ReadOnly
- B. CanNotDelete
- C. Contributor deny assignment
- D. Owner lock
Show answer & explanation
Answer: B
A CanNotDelete lock prevents the resource from being deleted while still allowing read and write operations such as resizing disks or updating NIC settings. A ReadOnly lock would block the required configuration changes since it prevents all modifications, not just deletion. 'Contributor deny assignment' and 'Owner lock' are not actual Azure resource lock types; Azure only supports CanNotDelete and ReadOnly as lock levels.6. An administrator wants to create a role that allows users to start and restart virtual machines but not stop, delete, or resize them. No built-in role matches exactly. What should the administrator do?
- A. Create a custom RBAC role with specific 'Microsoft.Compute/virtualMachines/start/action' and restart actions permitted
- B. Create an Azure AD administrative unit scoped to the VM resource
- C. Use a management group deny assignment to block the stop action for all users
- D. Assign the Virtual Machine Contributor role and rely on user training to avoid stopping VMs
Show answer & explanation
Answer: A
Custom RBAC roles let administrators define a precise set of allowed and not-allowed actions (using Actions and NotActions), which is the correct mechanism to grant only start/restart while excluding stop, delete, and resize. Virtual Machine Contributor grants broad management including stop, delete, and resize, so relying on training does not technically enforce the restriction. Deny assignments are typically created by Azure (e.g., for managed apps) and are not a standard user-configurable mechanism for this scenario at the management group level in this way. Administrative units organize Azure AD objects like users and groups for delegated administration; they do not scope Azure resource-level action permissions on VMs.7. A subscription administrator needs a report of which user made which changes to resources over the past 30 days, including failed operations. Where should they look?
- A. Activity log
- B. Azure AD sign-in logs
- C. Network Watcher topology view
- D. Azure Advisor recommendations
Show answer & explanation
Answer: A
The Activity log records subscription-level control-plane operations (create, update, delete, and their success or failure status) along with the caller identity, making it the correct source for an audit of who changed what. Azure AD sign-in logs show authentication events, not resource management operations. Network Watcher's topology view visualizes network resource relationships, not a change history. Azure Advisor provides best-practice recommendations, not an audit trail of actions taken.8. A virtual machine's CPU has been consistently above 90% for several days, and the administrator wants an automatic email and a Logic App to fire when this happens again. What should be configured?
- A. An Azure Monitor metric alert rule with an action group containing email and Logic App actions
- B. A Log Analytics saved search with no linked alert
- C. An Azure Advisor cost recommendation
- D. A Network Watcher connection monitor
Show answer & explanation
Answer: A
Azure Monitor metric alert rules can evaluate a signal like CPU percentage against a threshold and, when triggered, invoke an action group that can send email notifications and call a Logic App, exactly matching the requirement. A saved search without a linked alert only stores a query for manual review and does not trigger automatic notifications. Azure Advisor cost recommendations address spending efficiency, not performance thresholds or automated remediation. Network Watcher's connection monitor tests network reachability, not CPU utilization.9. An administrator wants to reduce cost on a set of dev/test VMs that are only needed during business hours, without manually starting and stopping them each day. What is the most appropriate solution?
- A. Configure the Start/Stop VMs during off-hours feature or an Automation runbook on a schedule
- B. Change the VM size to a smaller SKU permanently
- C. Move the VMs to a different region with lower list prices
- D. Enable Azure Spot pricing on the existing running VMs
Show answer & explanation
Answer: A
A scheduled Start/Stop solution (via the dedicated feature or an Automation runbook) automatically deallocates VMs outside business hours, stopping compute billing during idle periods and restarting them for use, which precisely matches the need for automated, scheduled operation. Simply downsizing the VM does not address the fact that they run continuously and only need to run part of the day. Changing regions might offer marginal pricing differences but does not solve the core problem of paying for idle time. Spot pricing is designed for interruptible workloads that Azure can reclaim, and converting an existing running dev/test VM to Spot does not equate to scheduling its uptime and does not guarantee availability during required business hours.10. You need to collect and centralize performance counters and event logs from 50 Azure and on-premises Windows servers for querying with Kusto Query Language (KQL). What should you deploy?
- A. Azure Monitor Agent sending data to a Log Analytics workspace
- B. Azure Storage Explorer connected to each server's local disk
- C. Network Watcher's flow logs feature
- D. Azure Backup Recovery Services vault
Show answer & explanation
Answer: A
The Azure Monitor Agent, deployed via data collection rules, gathers performance counters and event logs from both Azure and on-premises (Arc-enabled) machines and sends them to a Log Analytics workspace, where KQL queries can be run in Log Analytics. Storage Explorer is a tool for browsing blobs, files, queues, and tables, not for aggregating logs across servers. Network Watcher flow logs capture NSG traffic flow data, not general performance counters and event logs. A Recovery Services vault is used for backup and site recovery, not log collection and querying.11. An administrator wants to be notified before a scheduled maintenance event affects their VMs, and to see the health history of the underlying Azure platform. Which tool should be used?
- A. Azure Service Health / Resource Health
- B. Azure Migrate assessment
- C. Cost Management + Billing
- D. Azure Policy compliance dashboard
Show answer & explanation
Answer: A
Azure Service Health tracks planned maintenance, service issues, and health advisories affecting a subscription's resources and region, while Resource Health shows the current and historical health of individual resources, matching the need to be alerted about upcoming maintenance and to review platform health history. Azure Policy's compliance dashboard reports on adherence to governance rules, not platform outages or maintenance. Cost Management + Billing tracks spending, not service health. Azure Migrate is used to assess and migrate on-premises workloads to Azure, unrelated to ongoing platform health notifications.12. A company wants to keep 90 days of detailed diagnostic logs from an Azure SQL Database for compliance auditing, queryable later if needed, at the lowest ongoing cost. Where should the diagnostic settings send the logs?
- A. An Azure Storage account configured with the desired retention
- B. A Log Analytics workspace only, queried continuously in real time
- C. An Event Hub with no downstream consumer
- D. The Activity log, which already retains data indefinitely
Show answer & explanation
Answer: A
Sending diagnostic logs to a storage account is the most cost-effective option for long-term archival when logs are needed only occasionally for auditing rather than real-time analysis, and retention policies can be configured on the storage. Log Analytics workspaces provide powerful real-time querying but incur higher per-GB ingestion and retention costs, which is unnecessary if the logs are mainly for later compliance lookups. Sending to an Event Hub with no consumer just streams data without any retention or storage, so the logs would be lost. The Activity log captures control-plane subscription events and has its own fixed retention; it is not a destination for resource-level diagnostic logs like SQL Database query/audit logs.13. A team needs to deploy 20 identical VMs with consistent configuration, extensions, and naming, and wants to be able to redeploy the same environment in another subscription later. What is the best approach?
- A. Author an ARM/Bicep template and deploy it as a repeatable, parameterized deployment
- B. Manually create each VM through the Azure portal and document the steps in a wiki
- C. Create one VM and use the Azure portal's 'Export template' only, never reusing it
- D. Use Azure Advisor to generate VM configurations automatically
Show answer & explanation
Answer: A
ARM or Bicep templates provide declarative, idempotent, parameterized infrastructure-as-code that can be redeployed consistently across subscriptions or environments, exactly meeting the repeatability requirement. Manually creating VMs through the portal is error-prone and does not guarantee consistency, and documentation alone does not automate anything. Exporting a template once without reusing it wastes the main benefit of having a reusable template. Azure Advisor only offers recommendations for existing resources; it does not generate deployable infrastructure templates.14. An application requires a VM that can automatically add more instances during high load and remove them when load decreases, while keeping instances behind a single load balanced endpoint. Which Azure service should be used?
- A. A Virtual Machine Scale Set with autoscale rules
- B. A single VM with a larger size configured
- C. An Availability Set with two fixed VMs
- D. Azure Container Instances with a static instance count
Show answer & explanation
Answer: A
Virtual Machine Scale Sets natively support autoscaling based on metrics like CPU or custom metrics, automatically adding or removing VM instances behind a load balancer, matching the elasticity requirement. A single larger VM does not provide horizontal elasticity or high availability across multiple instances. An Availability Set groups VMs for fault domain/update domain distribution but does not itself provide autoscaling; the VM count is fixed unless manually changed. Azure Container Instances with a static count does not scale automatically and is a different compute model (containers, not VMs) that isn't described as needed here.15. A VM is stopped in the Azure portal using 'Stop' from within the guest operating system's shutdown command rather than the Azure portal's Stop button. What is the billing consequence?
- A. Compute charges continue to accrue because the VM remains in an allocated state
- B. Compute charges stop immediately because the OS is powered off
- C. Only storage charges apply and compute charges are automatically waived
- D. The VM is automatically deallocated by Azure after the guest OS shuts down
Show answer & explanation
Answer: A
Shutting down the guest OS from within the VM stops the OS but does not release the underlying compute allocation; the VM remains in a 'Stopped' (allocated) state and continues to incur compute charges, unlike using 'Stop' (deallocate) from the Azure portal or CLI which releases the hardware allocation. Only stopping and deallocating (not just stopping) halts compute billing. Storage charges for the VM's disks apply regardless of power state, but that does not mean compute is automatically waived. Azure does not automatically deallocate a VM just because the guest OS was shut down from inside.16. An administrator needs to move a running production VM's OS disk from Standard HDD to Premium SSD to improve performance, with minimal downtime. What is the correct general approach?
- A. Attach a second Premium SSD disk and rely on Windows to automatically migrate the OS to it
- B. Change the disk SKU while the VM is running, since disk tier changes require no downtime at all
- C. Delete the VM and disk, then recreate both from scratch with the new SKU
- D. Stop (deallocate) the VM, change the disk SKU/tier, then start the VM again
Show answer & explanation
Answer: D
Changing a managed disk's storage tier/SKU (e.g., from Standard HDD to Premium SSD) typically requires the VM to be deallocated first, after which the SKU can be changed and the VM restarted, resulting in brief downtime but preserving the disk's data and identity. Some scenarios allow limited online changes, but the safe, generally applicable approach for this kind of tier change is to deallocate first. Deleting and recreating the VM and disk is unnecessarily destructive and risks data loss when a simple SKU change suffices. Attaching a new disk does not automatically migrate an OS or its data; OS migration between disks requires an explicit imaging or cloning process, not automatic OS relocation.17. A company wants to run a batch job container that executes once per day, has no need for orchestration features like scaling or service discovery, and should not require managing a cluster. Which Azure compute service best fits?
- A. Azure Container Instances
- B. Azure Kubernetes Service with a 5-node cluster
- C. Azure Virtual Machine Scale Set running Docker manually
- D. Azure Service Fabric cluster
Show answer & explanation
Answer: A
Azure Container Instances (ACI) offers a simple, serverless way to run individual containers on demand without provisioning or managing any underlying VMs or clusters, ideal for a simple periodic batch job. Azure Kubernetes Service is designed for orchestrating multiple containers with scaling, service discovery, and cluster management, which is unnecessary overhead for this simple single-run scenario. Running Docker manually on a Scale Set requires managing the VM infrastructure and container runtime yourself, adding operational burden not needed here. Service Fabric is a full microservices orchestration platform, again more complex than required for a simple daily batch job.18. A VM must be able to tolerate an entire datacenter failure within a region while still meeting the highest SLA for two or more VM instances. What deployment configuration should be used?
- A. Deploy VMs across two or more Availability Zones in the region
- B. Deploy VMs in a single Availability Set only
- C. Deploy a single VM with Premium SSD disks
- D. Deploy VMs in the same fault domain for simplicity
Show answer & explanation
Answer: A
Availability Zones represent physically separate datacenters within a region, each with independent power, cooling, and networking; spreading VMs across two or more zones protects against a full datacenter-level failure, which an Availability Set (confined to a single datacenter's fault/update domains) cannot do. A single Availability Set only protects against rack-level (fault domain) or planned maintenance (update domain) failures within one datacenter, not a full datacenter outage. A single VM, regardless of disk type, has no redundancy against instance or datacenter failure. Deploying VMs in the same fault domain intentionally reduces redundancy rather than increasing it, which is the opposite of what's needed.19. An administrator created a custom VM image from a generalized (sysprepped) source VM. What is a correct characteristic of using this image to deploy new VMs?
- A. Each new VM deployed from the image will require its own unique computer name and administrator credentials to be specified at creation
- B. All VMs deployed from the image will automatically share the same computer name as the source VM
- C. The image can only be used once to create a single VM, then must be deleted
- D. Generalized images cannot include installed applications, only the base OS
Show answer & explanation
Answer: A
Generalizing (via sysprep on Windows or waagent deprovision on Linux) removes machine-specific information so that each VM created from the resulting image gets a fresh, unique identity, including computer name and administrator account set at provisioning time. If the source were not generalized (a 'specialized' image), the original computer name and settings would be retained, but that is not the case described. A generalized image is reusable to create many VMs, not limited to a single deployment. Generalized images can absolutely include pre-installed applications and configurations beyond just the base OS, which is one of the main benefits of custom images.20. A file share needs to be accessible via the SMB protocol from both on-premises servers and Azure VMs, without deploying and managing a file server VM. Which Azure storage service should be used?
- A. Azure Files
- B. Azure Blob Storage with a public container
- C. Azure Table Storage
- D. Azure managed disks attached to a VM
Show answer & explanation
Answer: A
Azure Files provides fully managed SMB (and NFS) file shares that can be mounted concurrently from on-premises machines and Azure VMs without needing to run and maintain a file server VM. Blob Storage, even with public access, does not natively expose the SMB protocol for file-share-style mounting. Table Storage is a NoSQL key-value store, not a file share and has no SMB interface. Managed disks are block storage attached to a single VM at a time (or a few, with shared disks), not a general multi-client SMB file share.21. A company needs to store rarely accessed compliance archives for 7 years, prioritizing lowest storage cost and accepting that retrieval may take hours. Which Azure Blob Storage access tier is most appropriate?
- A. Archive tier
- B. Hot tier
- C. Cool tier
- D. Premium block blob tier
Show answer & explanation
Answer: A
The Archive access tier offers the lowest storage cost among blob tiers and is designed for data that is rarely accessed and can tolerate several hours of retrieval latency (rehydration), matching a 7-year compliance archive scenario. The Hot tier is optimized for frequently accessed data and has the highest storage cost, unsuitable for rarely accessed archives. The Cool tier is meant for infrequently accessed data still requiring rapid access (minutes, not hours) and costs more than Archive. The Premium block blob tier is optimized for high-performance, low-latency scenarios with higher cost, the opposite of what a low-cost long-term archive needs.22. An administrator wants to ensure that once objects are written to a blob container, they cannot be modified or deleted for a legally mandated 5-year retention period, even by an account owner. What feature should be configured?
- A. A time-based immutability policy (WORM) on the container
- B. A resource lock of type ReadOnly on the storage account
- C. Soft delete for blobs with a 30-day retention period
- D. Azure AD conditional access blocking storage account sign-in
Show answer & explanation
Answer: A
Time-based immutability policies enforce write-once-read-many (WORM) behavior at the container level, preventing modification or deletion of blobs for the configured retention period, which can be locked so that not even the account owner can shorten or remove it, matching legal/regulatory retention needs. A ReadOnly resource lock only prevents changes to the storage account's own configuration (like SKU or replication), not to blob content, and does not enforce immutability of the data. Soft delete protects against accidental deletion for a limited window but permanent deletion by an authorized user is still possible after that window (and during it) and it doesn't guarantee a fixed 5-year non-modifiable retention. Conditional access controls authentication conditions for sign-in, not data immutability within already-authorized sessions.23. A storage account needs to allow read access to blobs for a third-party application for exactly 24 hours, without sharing the storage account key and without requiring the third party to have an Azure AD account. What should be generated?
- A. A shared access signature (SAS) token scoped to the required resource with a 24-hour expiry
- B. The storage account's primary access key, rotated after 24 hours
- C. An Azure AD app registration with a client secret valid for 24 hours
- D. A public container access level enabled for 24 hours then disabled
Show answer & explanation
Answer: A
A SAS token can be scoped to specific resources, permissions (e.g., read-only), and a defined start/expiry time, allowing time-limited, granular access without exposing the full account key or requiring the third party to authenticate via Azure AD. Sharing the primary access key grants full account-level access to everything in the storage account, far exceeding the least-privilege need, and manually rotating it is an operationally risky workaround. An Azure AD app registration would still require the third party to be able to authenticate against Azure AD, which the requirement explicitly rules out. Enabling public container access exposes the data to anyone on the internet, not just the intended third party, and toggling it manually is error-prone and not scoped to specific permissions or blobs.24. A storage account must remain available for read and write operations even if an entire Azure region becomes unavailable, with automatic failover. Which replication option should be selected?
- A. Geo-zone-redundant storage (GZRS) or geo-redundant storage (GRS) with read access and failover configured
- B. Locally redundant storage (LRS)
- C. Zone-redundant storage (ZRS) only
- D. No replication, relying on manual backups
Show answer & explanation
Answer: A
GRS/GZRS replicates data asynchronously to a secondary, geographically distant region, and enabling account failover (or RA-GRS/RA-GZRS for read access) allows the storage account to continue serving requests if the primary region fails. LRS only replicates within a single datacenter, offering no protection against a regional or even datacenter-level outage. ZRS replicates synchronously across availability zones within a single region, protecting against datacenter failure but not a full regional outage. Relying solely on manual backups does not provide automatic failover or continuous availability during a regional outage; it would require manual restoration, causing extended downtime.25. An administrator needs to synchronize an on-premises file server to Azure so that frequently accessed files are cached locally while the full data set is stored in the cloud, with changes syncing in both directions. What should be deployed?
- A. Azure File Sync with a registered server endpoint and cloud tiering enabled
- B. Azure Import/Export service
- C. AzCopy scheduled as a one-way nightly job
- D. Azure Data Box shipped once for a one-time transfer
Show answer & explanation
Answer: A
Azure File Sync centralizes file shares in Azure Files while keeping a cache of frequently used files on the on-premises server (cloud tiering) and provides multi-directional sync between the server endpoint and the cloud endpoint, matching the requirement exactly. AzCopy scheduled one-way only copies data in a single direction and does not provide caching or bidirectional sync. Azure Data Box is intended for one-time bulk data transfer via physical shipped devices, not ongoing bidirectional synchronization. The Azure Import/Export service similarly supports one-time bulk data movement using disks shipped to a datacenter, not continuous sync with local caching.26. A virtual network has two subnets: Subnet-Web (10.0.1.0/24) and Subnet-Data (10.0.2.0/24). By default, without any custom Network Security Group (NSG) or route table configured, can VMs in these two subnets communicate with each other?
- A. Yes, because a default system route allows traffic between subnets within the same VNet
- B. No, subnets are isolated from each other unless explicitly peered
- C. No, communication requires a VPN gateway even within the same VNet
- D. Yes, but only if both subnets are in the same Availability Zone
Show answer & explanation
Answer: A
Azure automatically creates default system routes that enable direct communication between all subnets within the same virtual network, so without any NSG rules blocking it or custom routes overriding it, VMs in different subnets of the same VNet can reach each other. 'Peering' is a concept for connecting two separate VNets, not subnets within the same VNet, so no peering is needed here. A VPN gateway is used for connecting to on-premises networks or other VNets over encrypted tunnels, not for intra-VNet subnet communication. Availability Zones are a compute/infrastructure resiliency concept unrelated to whether subnets within a VNet can route to each other.27. An NSG is applied to a subnet with a rule that denies all inbound traffic on port 3389, and the same NSG is also applied to a specific NIC in that subnet with a rule that allows inbound port 3389 from a specific IP. What is the effective outcome for that NIC?
- A. Having NSGs at both levels is not supported and one is ignored
- B. The NIC-level NSG always overrides the subnet-level NSG entirely, so port 3389 is allowed
- C. The subnet-level NSG always overrides the NIC-level NSG entirely, so port 3389 is denied
- D. Both NSGs' rules are evaluated, and traffic is denied unless a rule with higher priority (lower number) explicitly allows it
Show answer & explanation
Answer: D
When NSGs exist at both subnet and NIC level, traffic must be allowed by both NSGs to pass; each NSG evaluates its own rules by priority order (lowest number first), and if either NSG has an explicit deny that applies (and no higher-priority allow overrides it within that same NSG), the traffic is blocked overall — so the actual outcome depends on each NSG's own rule priorities, not a blanket 'NIC always wins' or 'subnet always wins' rule. Neither NIC-level nor subnet-level NSGs automatically and entirely override the other; both are evaluated independently and traffic must pass both. Azure fully supports applying NSGs at both subnet and NIC levels simultaneously.28. A company has VMs in VNet-A (10.0.0.0/16) in East US and VNet-B (10.1.0.0/16) in West Europe that need to communicate using private IP addresses with low latency, without traversing the public internet. What should be configured?
- A. Global virtual network peering between VNet-A and VNet-B
- B. A site-to-site VPN using public internet-facing endpoints
- C. Two separate NAT gateways, one in each VNet
- D. Public IP addresses assigned directly to each VM with NSG rules allowing the peer's IP
Show answer & explanation
Answer: A
Global VNet peering connects VNets across regions using the Microsoft backbone network, enabling low-latency private IP communication without traversing the public internet, which is exactly what's needed here. A site-to-site VPN, while it can connect networks, typically uses IPsec tunnels over the public internet (or ExpressRoute) and is more commonly used for on-premises-to-Azure connectivity, adding unnecessary encryption/tunneling overhead compared to native peering for VNet-to-VNet in the same cloud. NAT gateways provide outbound internet connectivity for private resources; they do not establish private connectivity between two VNets. Assigning public IPs to VMs and exposing them via NSG rules routes traffic over the public internet and increases the attack surface, which conflicts with the requirement to avoid the public internet.29. Users report intermittent inability to reach a web application hosted on VMs behind an Azure Load Balancer. The administrator suspects health probe misconfiguration is removing healthy VMs from rotation. Which tool should be used first to test and diagnose connectivity between the load balancer and backend VMs?
- A. Azure Cost Management cost analysis
- B. Azure AD Identity Protection risk reports
- C. Azure Backup's restore point browser
- D. Network Watcher's IP flow verify and connection troubleshoot tools
Show answer & explanation
Answer: D
Network Watcher provides diagnostic tools such as IP flow verify (to check whether specific traffic is allowed or denied by NSG rules) and connection troubleshoot (to test connectivity and identify where a connection fails, including latency and hops), directly addressing suspected health probe or connectivity misconfigurations. Cost Management analyzes spending and has no role in network diagnostics. Identity Protection risk reports relate to user sign-in risk detection, unrelated to VM network connectivity. Azure Backup's restore point browser is for recovering backed-up data, not diagnosing live network issues.30. An administrator needs to publish an internal web application to the internet using a single public IP, route traffic to multiple backend VMs based on URL path (e.g., /images to one pool, /api to another), and terminate SSL centrally. Which Azure service is the best fit?
- A. Azure Application Gateway with path-based routing rules
- B. A public Load Balancer with basic SKU
- C. Azure ExpressRoute
- D. A Network Security Group with custom rules
Show answer & explanation
Answer: A
Application Gateway operates at Layer 7 (HTTP/HTTPS) and supports path-based routing rules to direct requests to different backend pools based on URL path, as well as centralized SSL/TLS termination, matching all stated requirements. A standard Load Balancer operates at Layer 4 and distributes traffic based on IP/port, without awareness of HTTP paths or built-in SSL termination for path routing. ExpressRoute provides private dedicated connectivity between on-premises networks and Azure; it does not perform application-layer load balancing or path-based routing. An NSG filters traffic based on IP/port/protocol rules and has no concept of URL paths or SSL termination.31. A private virtual network has no NAT gateway, no public IPs on any VM, and no user-defined routes to the internet. Can a VM in this VNet still initiate outbound connections to the public internet by default?
- A. Yes, Azure provides a default outbound access mechanism for VMs without other explicit outbound configuration
- B. No, outbound internet access always requires an explicit public IP or NAT gateway from the very first deployment
- C. No, a VPN gateway is mandatory for any outbound internet traffic
- D. Yes, but only if the VM has a system-assigned managed identity
Show answer & explanation
Answer: A
Historically, Azure provides a default outbound access IP for VMs that don't have an explicit outbound connectivity method (public IP, NAT gateway, or load balancer outbound rules) configured, allowing outbound internet connectivity, although Microsoft recommends explicit methods like a NAT gateway for reliability and to avoid this implicit, less-visible mechanism going forward. Outbound access is possible even without a public IP or NAT gateway due to this default mechanism, though it is not considered a best practice for production. A VPN gateway is unrelated to general internet-bound (as opposed to on-premises-bound) traffic. A managed identity is used for authenticating to Azure AD-secured services, and has no bearing on whether a VM has outbound internet connectivity.32. An administrator is troubleshooting why two VMs in peered VNets cannot communicate, even though the peering status shows 'Connected' on both sides. Which additional setting should be checked?
- A. Whether NSG rules or user-defined routes on either subnet are blocking the traffic
- B. Whether both VMs were created on the same day
- C. Whether both VNets use the exact same address space
- D. Whether both VMs are the same size (SKU)
Show answer & explanation
Answer: A
Peering being 'Connected' only establishes the network-layer reachability path between VNets; NSGs applied to subnets or NICs, or user-defined routes that redirect or block traffic, can still prevent communication and must be checked separately. VNets with overlapping (identical or overlapping) address spaces actually cannot be peered successfully at all — non-overlapping address spaces are a prerequisite for peering to succeed, not a cause of connectivity failure after peering is already established. VM size has no bearing on network connectivity between peered VNets. The creation date of VMs is irrelevant to network connectivity.33. A company needs its Azure VMs to resolve custom internal hostnames (e.g., app1.corp.internal) that are not registered in public DNS, consistently across multiple VNets. What should be implemented?
- A. An Azure Private DNS zone linked to the relevant virtual networks
- B. The default Azure-provided DNS with no zone configuration
- C. A public DNS zone with records set to 'private' visibility
- D. An NSG rule permitting port 53 outbound
Show answer & explanation
Answer: A
Azure Private DNS zones allow custom domain names to be resolved within linked virtual networks without exposing those records to the public internet, and the same zone can be linked to multiple VNets for consistent internal name resolution. The default Azure-provided DNS only resolves Azure-internal hostnames automatically assigned to resources; it does not support custom private domain names like corp.internal. Public DNS zones are designed for internet-facing name resolution; there isn't a 'private visibility' toggle that turns a public zone into an internal-only one — that is what Private DNS zones are for. Simply opening port 53 outbound via an NSG rule does not create or host any DNS records; it only permits DNS traffic to flow, which is unrelated to actually defining the custom names.34. An Azure AD Conditional Access policy requires multi-factor authentication for all users signing in from outside the corporate network, except for a break-glass emergency admin account. How should the break-glass account be configured?
- A. Explicitly excluded from the Conditional Access policy's user assignment, with a strong unique credential and close monitoring
- B. Given the Global Administrator role and no other special configuration is needed
- C. Placed in the same security group as regular MFA-enforced users so policies apply uniformly
- D. Configured with a shared password known to multiple administrators for convenience
Show answer & explanation
Answer: A
Best practice for break-glass (emergency access) accounts is to explicitly exclude them from Conditional Access policies that could lock out administrators (like MFA requirements that might fail during an identity provider outage), while securing them with strong, unique, closely monitored credentials, ensuring they remain usable during an emergency. Simply granting Global Administrator without excluding it from the policy would still let the MFA-requiring policy apply and potentially cause lockout during the exact incident the account is meant to resolve. Placing it in the same group as regular users defeats its purpose as an exception path. A shared password known to multiple people is a poor security practice that increases risk of compromise and undermines accountability, even for an emergency account.35. An administrator assigns a user the Reader role at the subscription scope and also assigns that same user the Contributor role directly on one specific resource group within that subscription. What is the user's effective permission on that resource group?
- A. Reader only, because the subscription-level assignment always takes precedence
- B. The user must choose which role to activate each session
- C. Contributor, because Azure RBAC is additive and the more specific/higher assignment (Contributor) applies at that scope
- D. No access, because conflicting role assignments cancel each other out
Show answer & explanation
Answer: C
Azure RBAC role assignments are additive across scopes: permissions granted at a higher scope (subscription) are inherited by lower scopes (resource groups), and additional roles assigned directly at a lower scope add further permissions, so the user effectively has the union of Reader (from the subscription) and Contributor (from the resource group) — and since Contributor's permissions are a superset relevant to that resource group, the effective permission there is Contributor. RBAC does not have the subscription scope 'override' or take precedence over a more specific, additional assignment at a narrower scope. Conflicting Azure RBAC assignments don't cancel out; they combine (unlike deny assignments, which do override allow assignments, but that's not what's described here). There's no session-based 'role activation' choice for standard RBAC role assignments (that concept applies to PIM eligible role activation, not to two permanently active assignments as described).36. A company wants just-in-time, time-limited elevation to the Contributor role on a subscription, requiring approval and automatic expiration after a few hours, rather than standing access. Which Azure AD feature should be used?
- A. Azure AD Privileged Identity Management (PIM) with an eligible role assignment
- B. A permanent (active) RBAC role assignment reviewed manually once a year
- C. A conditional access policy requiring a compliant device
- D. An Azure AD dynamic group based on department attribute
Show answer & explanation
Answer: A
Privileged Identity Management enables 'eligible' role assignments that users must actively activate, optionally requiring approval, justification, and MFA, with the elevated access automatically expiring after a configured duration, directly matching the just-in-time requirement. A permanent standing role assignment, even if periodically reviewed, keeps the user privileged at all times, which is the opposite of just-in-time, time-limited access. A conditional access device-compliance policy controls sign-in conditions but does not implement time-bound role activation or approval workflows for elevation. Dynamic groups automatically add/remove members based on attributes but do not provide time-limited, approval-gated privilege elevation.37. An organization needs to prevent resources from being created in regions outside the United States, across all current and future subscriptions in the tenant, with minimal ongoing administrative effort as new subscriptions are added.
- A. Rely on Azure Advisor to flag out-of-region resources after they are created
- B. Set a regional preference in each user's Azure AD profile
- C. Assign an Azure Policy with an 'allowed locations' definition at the root/top-level management group
- D. Manually configure an Azure Policy assignment in each subscription every time one is created
Show answer & explanation
Answer: C
Assigning the built-in 'allowed locations' policy at the root or a top-level management group ensures it is automatically inherited by all subscriptions currently under it and any new ones added later, minimizing ongoing manual work while enforcing the restriction tenant-wide. Manually assigning the policy per subscription requires repeated effort every time a new subscription is created and risks being forgotten. Azure AD user profile regional preferences have no effect on Azure resource deployment location restrictions. Azure Advisor only provides after-the-fact recommendations; it does not prevent resource creation in disallowed regions, so it fails the 'prevent' requirement.38. A built-in role grants more permissions than a team needs, and no other built-in role fits. What defines a custom role's boundaries?
- A. Actions and NotActions defining permitted and excluded operations, plus AssignableScopes limiting where the role may be assigned
- B. Only a list of Actions, with scope determined at assignment time without restriction
- C. A tag naming the team the role belongs to
- D. A policy definition attached to the role
Show answer & explanation
Answer: A
A custom role composes Actions with NotActions to subtract from a broad grant, and DataActions covers operations on data within a resource rather than on the resource itself. AssignableScopes is mandatory and limits where the definition can be used, which prevents a role built for one subscription being assigned across the tenant.39. A role is assigned at the subscription scope and a more restrictive role at a resource group within it. What is the effective permission at that resource group?
- A. The union of both assignments, since role assignments are additive and inherit downward
- B. Only the resource group assignment, which overrides the broader one
- C. Only the subscription assignment, since it is broader
- D. No permissions, since the assignments conflict
Show answer & explanation
Answer: A
Role assignments accumulate rather than override, so a narrower assignment cannot reduce what a broader one already granted. Reducing effective permissions requires either removing the broader assignment or using a deny assignment, which is why an unexpectedly permissive result usually traces to an inherited assignment higher in the hierarchy.40. A policy must be applied to existing non-compliant resources rather than only to new ones. What is required?
- A. A remediation task, since policies with deployIfNotExists or modify effects do not retroactively change existing resources on assignment alone
- B. Nothing, since assignment automatically remediates existing resources
- C. Deleting and recreating every affected resource
- D. Changing the policy effect to deny
Show answer & explanation
Answer: A
Assignment establishes compliance evaluation and governs new or updated resources, while bringing existing resources into line requires an explicit remediation task with a managed identity holding the necessary permissions. Setting the effect to deny would block future non-compliant deployments without correcting anything already present.41. An administrator must move a virtual machine to a different resource group. What is the general constraint?
- A. Dependent resources such as disks and network interfaces generally must move together, and not every resource type supports moving
- B. Any resource can be moved individually without restriction
- C. Moving a resource changes its region automatically
- D. Moving requires deleting and recreating the resource in all cases
Show answer & explanation
Answer: A
A move operates on a dependency set rather than a single resource, and support varies by resource type so the operation must be validated before attempting it. Moving between resource groups does not change region, and relocating to another region is a separate operation typically requiring redeployment or a replication service.42. A storage account must survive the loss of an entire region. Which redundancy option provides this?
- A. Geo-redundant storage, which replicates data to a secondary region hundreds of miles away
- B. Locally redundant storage, which replicates within a single data centre
- C. Zone-redundant storage, which replicates across zones within one region
- D. Premium storage, which uses solid-state media
Show answer & explanation
Answer: A
Locally redundant storage protects against hardware failure within one facility, zone-redundant extends that across facilities in a region, and geo-redundant adds a second region for regional protection. Read-access geo-redundant additionally permits reading from the secondary, which matters because plain geo-redundant data is not readable until a failover occurs.43. A third party needs time-limited read access to a specific blob without receiving the storage account key. What should be issued?
- A. A shared access signature scoped to the blob, permission and expiry required
- B. The storage account access key
- C. Anonymous public container access
- D. A role assignment granting Contributor on the subscription
Show answer & explanation
Answer: A
A shared access signature delegates precisely scoped and expiring access without exposing the account key, which would grant full control over everything in the account. Anonymous public access removes access control entirely, and a stored access policy adds the ability to revoke a signature before its expiry, which a standalone signature does not offer.44. Blob data is written once and rarely read but must be retained for years. Which access tier minimizes cost?
- A. Premium, which offers the lowest latency
- B. Archive, which offers the lowest storage price with retrieval latency measured in hours and a rehydration step before access
- C. Hot, which optimizes for frequent access
- D. Cool, which suits data accessed monthly
Show answer & explanation
Answer: B
Tiers trade storage price against access cost and latency, with archive cheapest to store and slowest and costliest to retrieve. Early deletion penalties apply to cool and archive tiers, so data moved to archive and deleted shortly afterward can cost more than leaving it in hot storage.45. An on-premises server must copy files to a storage account over a scheduled, resumable transfer. Which approach is appropriate?
- A. A command-line copy utility designed for storage transfer, which supports resume, parallelism and synchronization
- B. Uploading through the browser portal manually each time
- C. Emailing the files to a monitored mailbox
- D. Recreating the files directly in the storage account
Show answer & explanation
Answer: A
A purpose-built transfer utility handles resume after interruption, parallel transfer for throughput and synchronization so only changed files move, none of which manual portal upload provides. For very large one-time transfers a physical import service avoids the network entirely, which is the alternative when bandwidth arithmetic does not work.46. Administrators must reach virtual machines for management without those machines exposing RDP or SSH ports to the internet. What approach achieves this?
- A. A managed bastion service providing browser-based connectivity over TLS from within the virtual network, so no public management ports are opened
- B. Assigning each virtual machine a public IP address with a strong password
- C. Opening the management ports to the administrator's home address range permanently
- D. Disabling the guest operating system firewall to simplify access
Show answer & explanation
Answer: A
A bastion service terminates the session inside the virtual network and reaches the machine over its private address, so the machines need no public IP and no inbound management rule. Just-in-time access is the alternative that opens the port only for an approved window, and a permanently open rule to a home range still exposes the port continuously to whoever else occupies that address space.47. A virtual machine scale set must add instances when average CPU exceeds a threshold. What is configured?
- A. An autoscale rule with a metric, threshold, scale action and a cooldown period preventing repeated triggering
- B. A larger virtual machine size for the existing instances
- C. An availability set spanning update domains
- D. A resource lock preventing deletion
Show answer & explanation
Answer: A
Autoscale rules pair a metric condition with an action, and the cooldown prevents a burst of scaling operations before the previous change has taken effect. Scale-out rules should be paired with scale-in rules using a different threshold, since identical thresholds cause the set to oscillate around the boundary.48. A virtual machine must be created from a standardized configuration repeatedly. What supports this?
- A. A managed image or image gallery version capturing the generalized configuration for repeated deployment
- B. A snapshot of the running machine's disk without generalization
- C. A backup recovery point
- D. A resource tag identifying the standard build
Show answer & explanation
Answer: A
Generalizing removes machine-specific identity so the image can produce many distinct machines, which is what distinguishes an image from a snapshot of a specific machine. Snapshots and backups restore the original machine rather than creating new independent ones, so using them as a deployment template produces identity conflicts.49. A web application must run without managing servers and must scale automatically. Which compute option fits with the least operational overhead?
- A. An app service plan hosting the application, where the platform manages the operating system and scaling
- B. A virtual machine with the web server installed and configured manually
- C. A virtual machine scale set with a custom image
- D. A dedicated physical host
Show answer & explanation
Answer: A
App service removes operating system management and patching entirely while providing scaling and deployment slots, which suits standard web workloads. Virtual machines retain full control at the cost of that operational work, so the choice is a trade between customization needs and the burden of maintaining the platform.50. A deployment slot is used to release a new application version. What benefit does swapping provide?
- A. The new version is warmed up and validated in a staging slot before traffic moves, and swapping back restores the previous version quickly
- B. It eliminates the need to test the new version
- C. It doubles the application's available compute permanently
- D. It reduces the application's storage consumption
Show answer & explanation
Answer: A
Slot swapping addresses both cold start on release and rollback speed, since the previous version remains warm in the other slot after the swap. Slot-specific settings must be marked as such, or configuration intended for staging follows the application into production during the swap.51. Two subnets exist in one virtual network and traffic between them must be restricted. What provides this control?
- A. A network security group with rules applied to the subnets or interfaces, since subnets within a virtual network can communicate by default
- B. Nothing, since subnets are isolated from each other by default
- C. A virtual network gateway between the subnets
- D. A separate virtual network for each subnet
Show answer & explanation
Answer: A
Subnets in the same virtual network route to one another by default, so restriction requires explicit rules rather than being the starting position. Rules are evaluated in priority order with the first match applying, and default rules at the bottom permit intra-network traffic, which is why a restrictive rule must be given a priority above them.52. A virtual machine has a public IP address but cannot be reached on port 443 from the internet. Which layers must be checked?
- A. The network security group rules at both subnet and interface level, and the guest operating system firewall, since all must permit the traffic
- B. Only the network security group at the subnet level
- C. Only the guest operating system firewall
- D. Only whether the public IP address is static or dynamic
Show answer & explanation
Answer: A
Traffic must pass every layer, so a rule permitting it at one level is defeated by a block at another, and both subnet and interface groups apply where both exist. The guest firewall is a frequent oversight because platform-level rules appear correct while the operating system silently drops the packets.53. Name resolution is required between resources in a virtual network using custom hostnames. What provides this?
- A. A private DNS zone linked to the virtual network, providing resolution without exposing records publicly
- B. A public DNS zone with records for the private addresses
- C. Editing the hosts file on every virtual machine
- D. A network security group rule permitting DNS traffic
Show answer & explanation
Answer: A
Private DNS zones resolve names within linked virtual networks and can register records automatically, keeping internal topology unpublished. Publishing private addresses in a public zone discloses internal structure to anyone who queries it, and maintaining hosts files does not scale and drifts immediately.54. Traffic must be distributed across virtual machines at the transport layer within a region. Which service applies?
- A. A load balancer operating at layer 4 on TCP and UDP, distributing by connection
- B. An application gateway, which operates at layer 7 on HTTP
- C. Traffic manager, which distributes using DNS across regions
- D. A network security group, which filters traffic
Show answer & explanation
Answer: A
The load balancer works at the transport layer without inspecting request content, while an application gateway inspects HTTP and can route by path or host and terminate TLS. Traffic manager operates through DNS responses and therefore distributes across regions rather than balancing individual connections.55. A virtual machine in a subnet must route outbound traffic through a network virtual appliance. What accomplishes this?
- A. A user-defined route on the subnet's route table directing traffic to the appliance as the next hop
- B. A network security group rule allowing traffic to the appliance
- C. A private DNS record pointing at the appliance
- D. A public IP address assigned to the appliance
Show answer & explanation
Answer: A
Routing determines where packets go while security groups only permit or deny, so forcing traffic through an appliance requires a route rather than a rule. The appliance must also have IP forwarding enabled on its interface, which is the step most often missed when traffic reaches it but goes no further.56. An administrator must diagnose why traffic between two virtual machines is blocked. Which capability identifies the specific rule responsible?
- A. An IP flow verification tool that evaluates the effective rules for a described flow and names the rule allowing or denying it
- B. The activity log showing recent management operations
- C. The cost analysis report for the subscription
- D. A resource lock preventing further changes
Show answer & explanation
Answer: A
Flow verification evaluates the combined effective rules across subnet and interface groups and reports which one decided the outcome, which manual inspection of overlapping rule sets frequently gets wrong. The activity log records who changed configuration rather than how traffic is currently evaluated, so it answers a different question.57. An administrator must determine who deleted a resource and when. Which log holds this?
- A. The resource's own diagnostic logs, which record data plane activity
- B. The cost analysis report
- C. The metrics store, which holds numeric time series
- D. The activity log, which records control plane operations including the caller identity and timestamp
Show answer & explanation
Answer: D
The activity log covers control plane operations such as create, update and delete along with who performed them, whereas diagnostic logs record what happened inside a resource. Activity log retention is limited by default, so exporting to a workspace or storage is necessary where longer investigation windows are required.58. An alert must fire when a metric crosses a threshold and notify a team through several channels. What structures the notification?
- A. An action group defining the recipients and actions, reusable across multiple alert rules
- B. A diagnostic setting forwarding logs to storage
- C. A resource tag identifying the owning team
- D. A budget threshold on the subscription
Show answer & explanation
Answer: A
Separating the condition from the notification lets one action group serve many alert rules, so changing an on-call contact updates every alert at once. Action groups can also invoke automation such as a function or a webhook, which is how alerting is connected to automated remediation.59. A virtual machine must be recoverable to a point in time after accidental data deletion inside the guest. What provides this?
- A. A backup policy creating recovery points on a schedule with defined retention, stored in a recovery services vault
- B. A resource lock preventing deletion of the virtual machine
- C. An availability zone deployment
- D. A network security group restricting access
Show answer & explanation
Answer: A
Backup addresses recovery from logical loss such as deletion or corruption, which redundancy and availability features do not, since those replicate the deletion faithfully. Site recovery is the complementary service addressing regional failover for continuity rather than point-in-time restoration.60. An administrator must ensure a virtual machine's operating system receives security updates on a schedule with reporting. What provides this?
- A. An update management capability that assesses missing updates, deploys them in maintenance windows and reports compliance
- B. A backup policy with daily recovery points
- C. A network security group permitting update traffic
- D. A resource tag recording the patch level
Show answer & explanation
Answer: A
Update management provides the assessment, scheduled deployment and compliance reporting that ad hoc patching cannot, and maintenance windows contain the disruption. Permitting update traffic is a prerequisite for reaching update sources but provides no orchestration or evidence of what was applied.61. An administrator deploys resources using a declarative template. What behaviour does an incremental deployment mode produce?
- A. Resources in the template are created or updated while existing resources not in the template are left in place
- B. The deployment fails if any resource already exists
- C. All resources are recreated from scratch
- D. Resources not present in the template are deleted
Show answer & explanation
Answer: A
Incremental mode is the default and additive, whereas complete mode removes resources in the target scope that the template does not define. Complete mode is powerful for enforcing a declared state and correspondingly dangerous, since a resource omitted by mistake is deleted rather than ignored.62. A file share must be accessible from both cloud virtual machines and on-premises clients using SMB. Which service applies?
- A. A managed file share service supporting SMB, mountable from cloud and on-premises clients with appropriate connectivity
- B. Blob storage accessed over HTTP
- C. A managed disk attached to one virtual machine
- D. Queue storage holding messages
Show answer & explanation
Answer: A
File shares provide the SMB protocol and hierarchical structure that existing applications expect, which blob storage's HTTP object model does not. Access from on-premises typically requires private connectivity or the appropriate port to be permitted, since the SMB port is commonly blocked by internet service providers.63. Guest users from a partner organization must access specific resources. What identity approach applies?
- A. Creating internal user accounts and sharing the credentials with the partner
- B. Making the resources publicly accessible
- C. Adding the partner's domain as a trusted administrator
- D. Business-to-business collaboration inviting the external identity as a guest, with role assignments scoped to what they need
Show answer & explanation
Answer: D
Guest invitation lets the partner authenticate with their own credentials, so their organization's lifecycle events such as a departure remove the access without action on the host side. Creating and sharing internal accounts breaks attribution entirely, since actions cannot be traced to an individual person.64. Administrative permissions should be granted only when needed and for a limited time. Which capability supports this?
- A. Privileged identity management providing eligible assignments activated on request with approval, justification and time limits
- B. Permanent role assignment with periodic review
- C. A resource lock on administrative resources
- D. A policy denying all administrative actions
Show answer & explanation
Answer: A
Eligible assignments replace standing privilege with activation on demand, which shrinks the window during which a compromised account holds administrative rights. Activation records who elevated, when and why, producing an audit trail that permanent assignment cannot generate.65. A virtual machine's operating system disk must be resized to a larger capacity. What is the general requirement?
- A. The virtual machine is typically deallocated for the resize, and the file system inside the guest must then be extended to use the new space
- B. The resize takes effect inside the guest automatically with no further action
- C. The disk can be reduced in size just as easily as increased
- D. The virtual machine must be deleted and recreated
Show answer & explanation
Answer: A
Expanding the disk at the platform level makes capacity available, but the partition and file system inside the guest must be extended before applications can use it. Shrinking a managed disk is not supported, which is why over-provisioning is not easily reversed and initial sizing deserves more attention than it usually receives.
More in this family
Explore more Technology & IT Certifications
In the same family
More in this category
- Cisco Certified Network Associate (200-301 CCNA)Practice questions →
- Cisco Certified Support Technician (CCST) NetworkingPractice questions →
- Certified Information Systems Security Professional (CISSP)Practice questions →
- Certified Kubernetes Administrator (CKA)Practice questions →
- Claude Certified Associate – FoundationsPractice questions →
- CompTIA A+ (Core 1: 220-1201 and Core 2: 220-1202)Practice questions →
- CompTIA Cybersecurity Analyst+ (CySA+)Practice questions →
- CompTIA Network+Practice questions →
- CompTIA Security+ (SY0-701)Practice questions →
- Google Cloud Certified - Associate Cloud EngineerPractice questions →
2026 statistics
Key facts: AZ-104 exam
Every free resource for this exam
Get a free AZ-104 study plan
A week-by-week plan plus new practice questions, straight to your inbox.
Official sources
Primary documents used to verify the exam details shown on this page.
- Study guide for Exam AZ-104: Microsoft Azure AdministratorMicrosoftlearn.microsoft.com
- Microsoft Certified: Azure Administrator Associate — Certification pageMicrosoftlearn.microsoft.com
- Microsoft Certification RenewalMicrosoftlearn.microsoft.com
- Exam scoring and score reportsMicrosoftlearn.microsoft.com
Last verified against the official exam content outline:
Frequently asked questions
What score do I need to pass the AZ-104 exam?
<p>You need a score of 700 or greater to pass AZ-104. Microsoft reports all technical exam scores on a scale of 1 to 1,000, so 700 is a scaled score — it does not simply mean answering 70% of the questions correctly, since question difficulty factors into scoring.</p><p>Importantly for test-day strategy, there is no penalty for guessing: no points are deducted for incorrect answers, so you should answer every single question, even if you have to guess. Practice this habit now — never leave a question blank in your practice sessions. After the exam, your score report shows your overall numeric score, your pass/fail status, and a bar chart of performance on each skill area, which is your roadmap for targeted review.</p>
Which AZ-104 domains should I spend the most practice time on?
<p>AZ-104 measures your skills across five functional groups, each with a published weighting range:</p><ul><li>Manage Azure identities and governance (20–25%)</li><li>Deploy and manage Azure compute resources (20–25%)</li><li>Implement and manage storage (15–20%)</li><li>Implement and manage virtual networking (15–20%)</li><li>Monitor and maintain Azure resources (10–15%)</li></ul><p>Identities and governance plus compute together can account for up to half the exam, so weakness in either is hard to overcome elsewhere — prioritize them if your practice scores are uneven. That said, even the lightest domain (monitoring, at 10–15%) carries enough weight to swing a borderline attempt, so don't skip it entirely.</p><p>Also practice under realistic conditions: you have 100 minutes for the exam, which is proctored and may include interactive components, so timed practice with hands-on-style questions is more valuable than untimed multiple-choice drilling alone.</p>
How soon can I retake AZ-104 if I fail my first attempt?
<p>If you fail AZ-104, you can retake it 24 hours after your first attempt. The exam is scheduled through Pearson VUE, and the price is based on the country or region where the exam is proctored — so budget for the possibility of paying a regional exam fee again on a retake.</p><p>Before rebooking, use your score report: it includes a bar chart showing your performance on each skill area assessed. Match the shortest bars against the domain weightings — a weak area in a heavily weighted domain like identities and governance or compute should be the focus of your practice before the second attempt, rather than re-reviewing everything equally.</p>
How often do I need to renew the Azure Administrator Associate certification, and is the renewal exam like the original?
<p>This role-based certification has a renewal frequency of 12 months, so plan on renewing annually — but the renewal is much lower-stakes than the original exam. There is no cost to renew the certification, and the renewal assessment is shorter than the original exam, unproctored, and open book. In practice, that means no Pearson VUE appointment, no proctor, and you can reference documentation while you take it.</p><p>You get a six-month renewal window to take the renewal assessment, and passing it extends your certification one year from the expiration date — so renewing early inside the window doesn't cost you any certification time. The practical takeaway: earning AZ-104 is the hard part; keeping it current is a free, annual, open-book check-in.</p>