Microsoft Azure Administrator Associate Practice Test (AZ-104)
Use the form below to configure your Microsoft Azure Administrator Associate Practice Test (AZ-104). The practice test can be configured to only include certain exam objectives and domains. You can choose between 5-100 questions and set a time limit.

Microsoft Azure Administrator Associate AZ-104 Information
As a candidate for this certification, you should have subject matter expertise in implementing, managing, and monitoring an organization’s Azure environment, including:
- Virtual networks
- Storage
- Compute
- Identity
- Security
- Governance
As an Azure administrator, you often serve as part of a larger team dedicated to implementing an organization's cloud infrastructure. You also coordinate with other roles to deliver Azure networking, security, database, application development, and DevOps solutions.
You should be familiar with:
- Operating systems
- Networking
- Servers
- Virtualization
In addition, you should have experience with:
- PowerShell
- Azure CLI
- The Azure portal
- Azure Resource Manager templates
- Microsoft Entra ID
Skills measured
- Manage Azure identities and governance
- Implement and manage storage
- Deploy and manage Azure compute resources
- Implement and manage virtual networking
- Monitor and maintain Azure resources

Free Microsoft Azure Administrator Associate AZ-104 Practice Test
- 20 Questions
- Unlimited
- Manage Azure identities and governanceImplement and manage storageDeploy and manage Azure compute resourcesConfigure and manage virtual networkingMonitor and maintain Azure resources
You need to transfer 1Â TB of data from an on-premises server to an Azure Blob Storage account. The transfer should maximize the use of your network bandwidth, support resuming interrupted transfers, and allow for scripting to automate the process. Which tool should you use for the data transfer?
Use FTP to transfer the data to Azure Blob Storage.
Use Azure Storage Explorer to upload the data.
Use AzCopy command-line tool to transfer the data.
Use the Azure portal to upload the data manually.
Answer Description
AzCopy is a command-line utility designed for high-performance data transfers to and from Azure Storage. It efficiently utilizes available network bandwidth, supports resuming interrupted transfers, and can be scripted for automation purposes. Azure Storage Explorer is a graphical tool suitable for smaller or manual data transfers but may not perform as well with very large datasets or provide the same level of automation. The Azure portal is not practical for uploading such a large amount of data and lacks automation capabilities. FTP (File Transfer Protocol) is not natively supported by Azure Blob Storage, and using it would require additional configurations without offering the performance benefits of AzCopy.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is AzCopy and how does it work?
Why doesn't Azure Blob Storage support FTP natively?
When should you use Azure Storage Explorer instead of AzCopy?
Which Azure feature allows you to grant temporary access to storage resources without sharing your storage account key?
Azure Active Directory Authentication
Secure Transfer Required
Network Security Groups
Shared Access Signature
Answer Description
Shared Access Signatures (SAS) enable you to grant limited-time access to your storage resources without exposing your storage account key. SAS tokens can be configured with specific permissions and timeframes. Azure Active Directory (Azure AD) authentication provides identity-based access control but does not create temporary access tokens for storage. Secure Transfer Required enforces the use of HTTPS for data transfers but does not manage access. Network Security Groups control network traffic but do not grant access to storage resources.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a Shared Access Signature (SAS) in Azure?
How is a Shared Access Signature (SAS) different from Azure AD Authentication?
What’s the difference between a Service SAS and an Account SAS?
While troubleshooting, you discover that DNS queries succeed and the virtual machine can communicate with other VMs in the same virtual network, yet attempts to browse external websites fail. Which configuration issue is most likely responsible?
The virtual machine does not have a public IP address assigned.
An outbound rule in a network security group blocking internet traffic.
The virtual network does not have a gateway subnet configured.
Firewall settings within the virtual machine's operating system.
Answer Description
An outbound rule in a network security group (NSG) blocking internet traffic is the most likely cause. NSGs control outbound as well as inbound traffic for Azure resources. If a custom outbound deny rule with a higher priority overrides the default AllowInternetOutBound rule, the VM loses internet connectivity while retaining access to resources inside the virtual network. Host-level firewalls could block traffic but would generally affect both internal and external destinations unless specifically scoped. A public IP address is not required for outbound access because Azure provides default outbound connectivity through source NAT unless it has been disabled. A gateway subnet is only required for VPN gateways, not for ordinary internet egress.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a Network Security Group (NSG) in Azure?
Why doesn't a virtual machine require a public IP address for internet access in Azure?
What is the purpose of a gateway subnet in an Azure virtual network?
You are creating a new backup policy in Azure Backup to protect a fleet of Azure virtual machines. Which policy setting should you configure to define how often recovery points are taken (for example, every day at 2:00 AM or once per week)?
Retention settings
Encryption settings
Backup schedule
Storage replication settings
Answer Description
The Backup schedule (sometimes shown as Schedule settings) controls the frequency of protection jobs. Here you choose whether backups run hourly, daily, or weekly and specify the start time. Retention settings control how long completed recovery points are kept, storage replication settings define the redundancy (LRS, ZRS, GRS) for stored data, and encryption settings determine how the data is protected at rest.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of retention settings in Azure Backup?
What are the different replication options in Azure Backup?
How does encryption work in Azure Backup?
A company needs to efficiently update the department information for hundreds of users in Azure Active Directory. What method allows the administrator to achieve this?
Deploy an Azure Resource Manager template to modify user attributes.
Use Azure Monitor to automate the updates.
Utilize a CSV file to import the updated user information in Azure AD.
Install an application to each user's device to update their profile.
Answer Description
By utilizing a CSV file to import updated user information, administrators can perform bulk updates efficiently in Azure AD. This method allows updating multiple user properties at once, such as department information, without the need to edit each user individually. Deploying an Azure Resource Manager template is used for provisioning Azure resources, not for updating user account attributes. Installing applications on user devices does not change Azure AD user properties. Azure Monitor is intended for monitoring and alerting on Azure resources and does not facilitate bulk user updates.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
How can you create and format a CSV file for bulk updates in Azure AD?
What are some scenarios where bulk updates via CSV are useful in Azure AD?
What tools can help validate and troubleshoot bulk updates in Azure AD?
A system administrator wants to automatically receive an email notification when the resource usage of a virtual machine exceeds 80%. Which feature of Azure Monitor should they use to accomplish this?
Implement Autoscaling for the Virtual Machine
Create a Dashboard to visualize metrics
Set up an Alert Rule with an Action Group
Configure a Log Search in Azure Monitor Logs
Answer Description
To receive automatic email notifications based on a metric threshold, the administrator should set up an Alert Rule with an Action Group in Azure Monitor. The Alert Rule monitors specific metrics, and the Action Group specifies the notification details, such as sending an email. Configuring a Log Search in Azure Monitor Logs allows querying log data but does not provide automatic notifications. Creating a Dashboard visualizes metrics but does not send alerts. Implementing Autoscaling adjusts resources based on usage but does not notify administrators.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an Alert Rule in Azure Monitor?
What is an Action Group in Azure Monitor?
Can I use Azure Monitor Logs to send notifications?
Your development team runs containerized Linux workloads and Windows Server virtual machines in Azure. They require a fully managed file service that can be mounted by the Windows VMs over SMB and by the Linux containers over NFS 4.1. The application's hot data must sustain up to 10 GiB/s throughput with single-digit-millisecond latency. Which Azure storage solution should you deploy to satisfy these requirements?
Provision an Azure NetApp Files volume.
Implement Azure Data Lake Storage Gen2.
Create a Premium tier Azure file share in a FileStorage account.
Deploy an Azure Blob Storage account with the Hot access tier.
Answer Description
A Premium tier Azure file share in a FileStorage account is the best fit. Premium Azure Files offers SSD-backed storage that delivers up to 100 000 IOPS and 10 GiB/s throughput with ~2-3 ms latency. Within the same FileStorage account you can create separate shares-one configured for SMB and another for NFS 4.1-giving both Windows and Linux clients the protocol they need. Azure NetApp Files provides sub-millisecond latency but tops out at 4.5 GiB/s per standard volume, so its extra cost and quota overhead aren't justified here. Azure Blob Storage and Azure Data Lake Storage Gen2 are object stores: they lack SMB support and aren't designed for low-latency file access.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Azure NetApp Files, and why is it suitable for high-performance file storage?
What is the difference between SMB and NFS protocols?
Why isn't Azure File Share with Premium FileStorage sufficient for critical workloads?
You need to back up an Azure virtual machine using Azure Backup. Which resource should you create to store the backups?
Create a Backup vault
Create a Recovery Storage vault
Create a Storage account
Create a Recovery Services vault
Answer Description
To store backups for an Azure virtual machine, you must create a Recovery Services vault. A Recovery Services vault is a storage entity in Azure that houses backup data for resources like IaaS virtual machines, SQL Server in Azure VMs, and Azure Files shares. While a "Backup vault" is also an Azure resource, it is used for different workloads, such as Azure Database for PostgreSQL servers, Azure Blobs, and Azure Disks. A Storage account is used for general-purpose data storage but is not the specific resource type that integrates with Azure Backup for VM protection. "Recovery Storage vault" is not a valid Azure resource name.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a Recovery Services vault?
How is a Backup vault different from a Recovery Services vault?
Why can't I use a Storage account for Azure VM backups?
You are administering an Azure web application running on an App Service in the Standard pricing tier. You need to ensure the application data is backed up regularly to allow for restoration if needed. What should you do?
Enable the built-in backup feature in the App Service and configure a storage account
Use Azure Backup to back up the App Service to a Recovery Services vault
Downgrade the App Service plan to the Basic tier
Configure Azure Site Recovery to protect the App Service
Answer Description
To set up regular backups for an App Service, you should enable the built-in backup feature available in the App Service settings. This feature is accessible when using the Standard tier or higher. By enabling backups, you can configure a storage account where the backups will be stored. Downgrading to the Basic tier is not appropriate because the Basic tier does not support the backup feature. Configuring Azure Site Recovery is intended for virtual machines and physical servers, not for App Services. Similarly, using Azure Backup with a Recovery Services vault is designed for virtual machines and does not apply to App Services.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the built-in backup feature in Azure App Service?
Why isn’t Azure Site Recovery suitable for App Service backups?
What is the difference between Azure Backup and the built-in App Service backup feature?
You are an Azure administrator for a company. The company has an internal domain (contoso.com) managed by existing name servers. You need Azure VMs to resolve both internal contoso.com names and internet hostnames, and you want to achieve this without deploying new servers or creating additional overhead. What should you do?
Configure an Azure Private DNS zone for contoso.com.
Deploy a DNS server in Azure to forward requests to the internet.
Use Azure-provided name resolution.
Set the virtual network's DNS server settings to point to your existing name servers.
Answer Description
Configure the virtual network to use the IP addresses of your existing contoso.com DNS servers. After the VMs renew their DHCP leases, they will forward all DNS queries to those servers-allowing resolution of contoso.com records while the same servers can forward other requests to public resolvers for internet names. Azure-provided DNS resolves only Azure internal hostnames, an Azure Private DNS zone would require you to recreate and manage all records in Azure, and deploying an extra DNS server in Azure contradicts the requirement to avoid new servers.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Why can't Azure-provided DNS resolve internal contoso.com names?
How does setting virtual network DNS server settings help in this scenario?
What is the advantage of not using an Azure Private DNS zone here?
An administrator has deployed a public load balancer to distribute incoming HTTP traffic across three Azure virtual machines (VMs). However, users report that they cannot access the web application hosted on these VMs, and diagnostics show that the load balancer is not distributing traffic to the backend pool. What should the administrator check first to resolve the issue?
Verify that the health probes are configured properly and that the backend VMs are responding to them
Ensure that the load balancer's SKU matches that of the backend VMs
Check if the Azure Firewall is blocking incoming traffic to the load balancer
Increase the instance count of the load balancer to handle more traffic
Answer Description
The administrator should verify that the health probes are configured properly and that the backend VMs are responding to them. Azure Load Balancer uses health probes to determine which backend instances are healthy and able to receive traffic. If the health probes are misconfigured or the VMs are not responding correctly (e.g., because the web server service is not running), the load balancer will not send traffic to them. Checking the health probe configuration and VM responsiveness is the first step in troubleshooting this issue.
Checking if Azure Firewall is blocking traffic may not be relevant if there is no firewall configured, or if the issue is with the health probes rather than network policies. Ensuring that the load balancer's SKU matches that of the backend VMs is not relevant, as load balancer SKU does not need to match VM SKU. Increasing the instance count of the load balancer is unnecessary and will not resolve a connectivity issue; it is used for scaling purposes.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are health probes in Azure Load Balancer?
What might prevent a VM from responding to health probes?
How do you troubleshoot a misconfigured health probe?
A company wants to assign permissions to users for accessing data in a storage account without sharing account keys. Which method should they use to achieve this?
Use Shared Access Signatures
Use connection strings in application code
Distribute the storage account access keys to users
Integrate the storage account with Azure Active Directory
Answer Description
Integrating the storage account with Azure Active Directory (Azure AD) allows the company to assign permissions to users through role-based access control (RBAC) without sharing access keys. This enhances security by managing permissions centrally and reduces the risk associated with key distribution. Using Shared Access Signatures involves generating tokens that could be misused if shared improperly. Distributing access keys compromises the security of the entire storage account, and connection strings do not provide a method for assigning user-specific permissions.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Azure Active Directory (Azure AD), and how is it used with storage accounts?
How does Role-Based Access Control (RBAC) work in Azure?
What are the risks of using Shared Access Signatures (SAS) or distributing account keys?
When setting up backups for an Azure App Service, which destination is used to store the backup data?
A connected GitHub repository
An Azure SQL Database
Local storage on the App Service
An Azure Blob Storage account
Answer Description
Azure App Service backups are stored in an Azure Blob Storage account. This storage account provides the necessary capacity and accessibility for the backup files. Other options like local storage or databases are not suitable for storing App Service backups.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Azure Blob Storage?
Why is Azure Blob Storage ideal for App Service backups?
How do you configure Azure App Service backups using Blob Storage?
How can you capture the configuration of an existing resource group deployment for redeployment in Azure?
Use Azure Resource Explorer to download the resource definitions.
Generate a reusable template from the deployment in the Azure portal.
Enable diagnostic logs to record the deployment details.
Use Azure Backup to back up the resource group.
Answer Description
You can generate a reusable Azure Resource Manager (ARM) template from the deployment in the Azure portal. This template captures the configuration of all resources within the resource group, allowing you to redeploy them consistently. Azure Backup does not provide a template for redeployment; it is used for data backup and recovery. Diagnostic logs record activity but do not create templates for deployments. Azure Resource Explorer lets you view resource details but does not generate deployment templates.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an Azure Resource Manager (ARM) template?
How can you generate an ARM template from an existing resource group in the Azure portal?
What are the limitations of using Azure Backup, diagnostic logs, or Azure Resource Explorer for capturing resource group configurations?
You are deploying a containerized application using Azure Container Instances. The application experiences varying workloads throughout the day. You need to ensure that the application can accommodate changing demand while optimizing costs. What should you do?
Enable auto-scaling within the Azure Container Instances settings
Migrate the application to a virtual machine with higher specifications
Implement automation to adjust the number of container instances based on demand
Increase the CPU and memory allocation for the container instances to handle peak loads
Answer Description
By implementing automation to adjust the number of container instances based on demand, you can dynamically scale your application in Azure Container Instances to handle varying workloads efficiently. This approach allows you to add or remove container instances as needed, optimizing resource usage and costs. Azure Container Instances do not support native auto-scaling features, so enabling auto-scaling in settings is not possible. Simply increasing CPU and memory allocation does not address fluctuating demand and may result in unnecessary costs during low-demand periods. Migrating the application to a virtual machine with higher specifications does not provide dynamic scaling and may increase management overhead.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
How does automation help with scaling Azure Container Instances?
Does Azure Container Instances support native auto-scaling?
What are the differences between Azure Container Instances and Azure Kubernetes Service for scaling?
You are an Azure Administrator for Contoso Ltd. The company has two virtual networks in the same Azure region:
- VNetA with address space 10.0.0.0/16.
- VNetB with address space 10.1.0.0/16.
You need to enable network connectivity between VNetA and VNetB to allow resources in each virtual network to communicate directly with one another.
What should you do?
Set up a site-to-site VPN connection between VNetA and VNetB.
Implement an Azure Load Balancer to distribute traffic between VNetA and VNetB.
Assign public addresses to resources in VNetA and VNetB to enable communication over the internet.
Configure virtual network peering between VNetA and VNetB.
Answer Description
Configuring virtual network peering between VNetA and VNetB enables direct connectivity between resources in both virtual networks, with the lowest possible latency and without the need for additional gateways. Peering allows the virtual networks to appear as one for connectivity purposes.
Setting up a site-to-site VPN connection involves deploying VPN gateways in each virtual network, which introduces additional latency and cost. An Azure Load Balancer is used for distributing incoming traffic to resources within a single virtual network, not for connecting two virtual networks. Assigning public addresses for communication is not recommended due to security risks and does not enable direct private communication between resources.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Azure virtual network peering?
How does virtual network peering differ from a site-to-site VPN connection?
Are there any limitations to Azure virtual network peering?
What is a primary benefit of implementing a stored access policy in Azure Storage?
It provides detailed monitoring and logging of storage account activities.
It enables centralized control to modify or revoke permissions for multiple access tokens at once.
It restricts storage account access based on virtual network rules.
It automatically encrypts data stored in the storage account.
Answer Description
A stored access policy allows you to centrally manage constraints for multiple access tokens. By associating access tokens with a stored access policy, you can modify or revoke the permissions or expiration dates of all associated tokens by updating or deleting the policy. This provides a flexible and efficient way to manage access without needing to individually update each token.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a stored access policy in Azure Storage?
How does a stored access policy simplify access management?
Can a stored access policy be applied to all types of Azure Storage services?
An Azure virtual machine cannot access the internet. You verify that the virtual machine is running and the network interface is attached to a subnet that has a system route (0.0.0.0/0 → Internet) or another valid outbound path. What should you check next to troubleshoot the issue?
Restart the virtual machine
Assign a public IP address to the network interface
Verify that the Network Security Group allows outbound internet traffic
Ensure the virtual machine is in an availability set
Answer Description
If outbound traffic is being routed correctly but the virtual machine still cannot reach the internet, a likely cause is that a Network Security Group (NSG) associated with the NIC or subnet is blocking egress traffic. Examine the effective NSG rules and make sure no higher-priority deny rule is overriding the default AllowInternetOutbound (or other required) rule. Being in an availability set has no impact on network connectivity. Assigning a public IP address or restarting the VM will not resolve connectivity that is explicitly blocked by NSG rules (although a public IP or NAT Gateway is required for outbound access on VMs created after 30 September 2025 if no other explicit method exists).
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a Network Security Group (NSG) in Azure?
What is Azure's default outbound access and how does it work?
Why is assigning a public IP address not required for outbound internet connectivity?
Your company's HR system has provided a CSV file that lists the User Principal Name of 600 existing employees and their new department names. As the Microsoft Entra ID administrator, you must apply these updates as efficiently as possible and be able to rerun the process whenever HR sends a new file. Which approach should you use?
Select all users in the Microsoft Entra admin center and choose Edit properties from the toolbar.
Re-upload the users by using the Bulk Create CSV template in the admin center.
Import the CSV into Microsoft Graph PowerShell and loop through each row with Update-MgUser to set the Department value.
Enable self-service group management so users can change their own department.
Answer Description
Importing the CSV file into Microsoft Graph PowerShell and piping the rows to Update-MgUser (or another Graph cmdlet) lets you modify any supported user attribute-such as Department-for hundreds of users in one scripted job. The portal can only edit 60 users at a time and offers no CSV-based update option for users. Self-service group management and Azure Functions are unrelated to changing user profile properties at scale.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Azure Entra ID's bulk update feature?
How do you format the CSV file for bulk updates?
Are there any limitations to Azure Entra ID bulk updates?
You manage an Azure Storage account that contains critical data. Your company requires that this data be replicated to a secondary region to ensure durability in case of a complete regional outage. Additionally, you are required to minimize costs and do not need read access to the replicated data unless a failover occurs. What replication strategy should you implement?
Zone-redundant storage
Geo-redundant storage
Read-access geo-redundant storage
Locally redundant storage
Answer Description
Geo-redundant storage (GRS) replicates your data synchronously three times within the primary region and asynchronously to a secondary region, providing protection against regional outages. Since read access to the secondary region is not required and cost minimization is a priority, GRS is the appropriate choice. Read-access geo-redundant storage (RA-GRS) also replicates data to a secondary region but allows read access, which adds to the cost. Locally redundant storage (LRS) and zone-redundant storage (ZRS) do not replicate data to a secondary region and thus do not protect against regional outages.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Geo-redundant storage (GRS), and how does it work?
How is GRS different from Locally redundant storage (LRS) and Zone-redundant storage (ZRS)?
When should Read-access geo-redundant storage (RA-GRS) be used instead of GRS?
Neat!
Looks like that's it! You can go back and review your answers or click the button below to grade your test.