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
Scroll down to see your responses and detailed results
Free Microsoft Azure Administrator Associate AZ-104 Practice Test
Press start when you are ready, or press Change to modify any settings for the practice test.
- Questions: 15
- Time: Unlimited
- Included Topics:Manage Azure identities and governanceImplement and manage storageDeploy and manage Azure compute resourcesConfigure and manage virtual networkingMonitor and maintain Azure resources
Your virtual machines in an Azure virtual network need to securely access an Azure Storage account without traversing the public internet. All traffic must stay within the Azure network infrastructure. What should you configure to meet these requirements?
Enable Azure Firewall between the virtual network and the storage account.
Configure a virtual network service endpoint for the storage account.
Implement a private endpoint connection to the storage account.
Create a user-defined route to direct traffic to the storage account.
Answer Description
Implementing a private endpoint connection to the storage account meets the requirements by assigning a private IP address from your virtual network to the storage account. This ensures all traffic remains within the Azure network infrastructure and does not traverse the public internet. Configuring a virtual network service endpoint allows resources in the VNet to use optimized routing to the service, but the service is still accessed over its public IP address. Enabling Azure Firewall provides traffic filtering but does not change the path of the traffic. Creating a user-defined route does not provide private connectivity to the storage account.
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 private endpoint connection in Azure?
How do virtual network service endpoints differ from private endpoints?
What role does Azure Firewall play in securing Azure resources?
You have an Azure Storage Account that must be accessible only from a specific subnet in your virtual network. You need to prevent internet access to the storage account and deny access from other subnets. What should you configure to meet these requirements?
Create a service endpoint for Azure Storage on the subnet
Configure a network security group to allow traffic from the subnet to the storage account
Implement virtual network peering between the subnet and the storage account
Create a private endpoint for the storage account
Answer Description
Creating a private endpoint for the storage account is the correct solution. A private endpoint assigns the storage account a private IP address within the specified subnet, ensuring that only resources within that subnet can access it, and internet access is blocked. Service endpoints enable access to Azure services over the Azure backbone network but do not disable the public endpoint and cannot restrict access to a single subnet. Configuring a network security group cannot prevent access over the public internet to the storage account's public endpoint. Virtual network peering connects virtual networks but does not provide the required access control.
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 private endpoint in Azure?
What is the difference between a private endpoint and a service endpoint?
What are network security groups (NSGs) and how do they work?
You need to set up a shared storage solution in Azure accessible via the SMB protocol from multiple locations. Which Azure service should you implement?
Azure Table Storage
Azure Blob Storage
Azure Files
Azure Queue Storage
Answer Description
Azure Files provides fully managed shared storage accessible via the Server Message Block (SMB) protocol, allowing multiple clients to read and write files simultaneously. Azure Blob Storage is optimized for storing unstructured object data and does not support SMB access. Azure Queue Storage is used for messaging between services, and Azure Table Storage is for storing structured NoSQL data. Therefore, Azure Files is the appropriate service for creating a network file share accessible via SMB.
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 SMB protocol and how does it work?
What are the differences between Azure Files and Azure Blob Storage?
What use cases would be appropriate for Azure Files?
You are configuring backups for Azure resources located in the East US region. You need to create a vault to store these backups. Which location should you select for the vault to ensure optimal performance and compatibility?
The default region set for the subscription
The same region as the resources being backed up
Any region
A different region
Answer Description
When creating a backup vault for Azure resources, it's important to place the vault in the same region as the resources being backed up. This minimizes latency and ensures seamless integration between the backup service and the resources. Selecting a different region, the default subscription region, or any region without considering the resource location can lead to increased latency and potential issues with backup and restore operations.
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 is it important to place the backup vault in the same region as the resources?
What could happen if I choose a different region for the backup vault?
What is Azure Backup, and how does it relate to the backup vault location?
An administrator needs to verify if TCP port 443 is accessible from an Azure virtual machine to an on-premises server and obtain ongoing insights into the connection's health. Which Azure tool should they use?
NSG Flow Logs
Traffic Analytics
Network Watcher IP Flow Verify
Network Watcher Connection Monitor
Answer Description
Network Watcher Connection Monitor is the correct tool because it allows administrators to monitor connectivity between Azure resources and external endpoints over time, providing continuous insights into connection health, latency, and packet loss. IP Flow Verify is used to check whether traffic is allowed or denied based on security rules for a specific flow but does not provide ongoing monitoring. Traffic Analytics analyzes network traffic flow logs for insights and trends but doesn't test connectivity to specific endpoints. NSG Flow Logs capture information about ingress and egress IP traffic through Network Security Groups but do not actively test or monitor connectivity health.
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 Network Watcher Connection Monitor used for?
How does IP Flow Verify differ from Connection Monitor?
What information do NSG Flow Logs capture, and how are they different?
You need to reorganize your Azure resources by placing an existing virtual machine named VM1 into a different resource group named RG2. VM1 is currently running and uses managed disks in resource group RG1. What should you do to accomplish this task?
Use Azure PowerShell to detach VM1's disks, move them to RG2, and recreate VM1 in RG2.
Create a new VM in RG2 from a snapshot of VM1, then delete VM1 from RG1.
Use the Azure Portal to change VM1's resource group to RG2 while it is running.
Stop VM1, then use the Azure Portal to change its resource group to RG2.
Answer Description
To move a virtual machine to a different resource group, you must first stop (deallocate) the VM. This is because certain operations, including moving resources, cannot be performed on a running VM. Option B is correct because it involves stopping VM1 and then using the Azure Portal to change its resource group to RG2. Option A is incorrect because moving a running VM is not supported and will result in an error. Option C is unnecessarily complex and involves manual steps that are not needed when you can move the VM directly after stopping it. Option D involves creating a new VM from a snapshot, which does not actually move the existing VM and could lead to data inconsistency or loss of settings.
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 do I need to stop the VM before moving it to a different resource group?
What are Managed Disks in Azure and how do they relate to moving VMs?
What could happen if I try to move a running VM without stopping it first?
You are an Azure Administrator tasked with deploying a multi-container application consisting of a web frontend and a background processing service that need to communicate over localhost. How should you configure the deployment to meet these requirements using container instances?
Deploy each container in separate container groups and connect them using a virtual network.
Deploy both containers in a single container group.
Use an App Service to host the containers and enable communication via service endpoints.
Deploy the containers to a Kubernetes service to enable inter-container communication.
Answer Description
To enable the web frontend and background service to communicate over localhost, they must be deployed within the same container group in Azure Container Instances (ACI). A container group allows multiple containers to share the same network namespace and local IP address, facilitating inter-container communication via localhost. Deploying them in separate container groups or using different services would not allow localhost communication.
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 container group in Azure Container Instances?
How does localhost communication work between containers?
What are the benefits of using Azure Container Instances for deploying container applications?
An administrator needs to configure a Kubernetes cluster in Azure to automatically adjust the number of nodes based on workload demands. Which feature should be used to achieve this?
Kubernetes Cluster Autoscaler
Azure Traffic Manager
Azure Application Gateway
Azure Load Balancer
Answer Description
The Kubernetes Cluster Autoscaler automatically adjusts the number of nodes in an Azure Kubernetes Service (AKS) cluster based on the resource demands of the workloads. It scales out by adding nodes when resource demands increase and scales in by removing nodes when demands decrease, ensuring efficient resource utilization and cost savings. Azure Load Balancer distributes network traffic across resources but does not handle scaling of cluster nodes. Azure Traffic Manager provides DNS-based traffic routing across regions, and Azure Application Gateway is a web traffic load balancer; neither manages node scaling in AKS.
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 Kubernetes and why is it important?
How does the Kubernetes Cluster Autoscaler work?
What is the difference between scaling in and scaling out in Kubernetes?
Your company has deployed applications across multiple Azure regions. You need to monitor the connectivity between these regions, detect latency issues, and identify packet loss in the network. Which Azure service should you use to collect and analyze this information?
Azure Network Watcher
Azure Monitor Metrics
Network Performance Monitor
Azure Traffic Manager
Answer Description
You should use Network Performance Monitor to achieve this. Network Performance Monitor is a solution within Azure Monitor that provides comprehensive monitoring of network performance between various endpoints, including across Azure regions. It helps detect network issues like latency and packet loss, enabling you to diagnose and address connectivity problems effectively.
Other options are less suitable: Azure Monitor Metrics collects and analyzes metrics from Azure resources but doesn't specialize in network connectivity monitoring. Azure Network Watcher provides tools for network diagnostics and troubleshooting but doesn't offer continuous performance monitoring between regions. Azure Traffic Manager is used for DNS-based traffic routing to distribute traffic optimally but doesn't provide network performance monitoring capabilities.
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 specific metrics can Network Performance Monitor track?
How does Network Performance Monitor differ from Azure Network Watcher?
Can Network Performance Monitor support monitoring of on-premises networks?
How can you capture the configuration of an existing resource group deployment for redeployment in Azure?
Use Azure Backup to back up the resource group.
Generate a reusable template from the deployment in the Azure portal.
Use Azure Resource Explorer to download the resource definitions.
Enable diagnostic logs to record the deployment details.
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 do I generate an ARM template from an existing resource group?
Why can't Azure Backup be used to capture configuration for redeployment?
You are an Azure Active Directory administrator tasked with updating the department names for several hundred users in your organization. Which method should you use to perform this bulk update efficiently?
Manually edit each user's profile in the Azure portal
Enable self-service group management for users
Write a custom script using Azure Functions to update user profiles
Use the bulk update feature in Azure Entra ID by uploading a CSV file
Answer Description
Using the bulk update feature in Azure Entra ID by uploading a CSV file allows you to efficiently update multiple user properties at once. This method is designed for making large-scale changes and saves time compared to updating each user individually. Azure AD provides templates and guidance to ensure the CSV file is formatted correctly for the bulk operation.
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 and how does it relate to Azure Active Directory?
What is a CSV file, and why is it used for bulk updates in Azure?
What are some other ways to manage users in Azure Active Directory?
You are an Azure administrator tasked with storing large amounts of archival data in Azure Blob Storage. While most of the data will be accessed infrequently, some of it needs to be accessed periodically with minimal latency. Your goal is to minimize storage costs while meeting these access requirements. Which storage tier should you choose?
Premium tier
Archive tier
Hot tier
Cool tier
Answer Description
The Cool storage tier is designed for data that is infrequently accessed and stored for at least 30 days. It offers lower storage costs compared to the Hot tier and provides quick access times suitable for periodic access with minimal latency. The Archive tier, while offering the lowest storage costs, is not suitable because data retrieval can take hours and is not appropriate for data that needs periodic access with minimal latency. The Hot tier is optimized for frequently accessed data but comes with higher storage costs. The Premium tier is designed for workloads that require high throughput and low latency, but at a higher cost and is often used with Azure Page Blobs, not Block Blobs used in this scenario.
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 the differences between the Cool and Archive storage tiers in Azure Blob Storage?
What are the cost implications when choosing between the Cool and Hot storage tiers?
In what scenarios would I choose the Premium storage tier over the Cool tier?
You manage an Azure storage account containing a large number of blobs. To optimize storage costs, you need to automatically transition blobs to lower access tiers based on their age. What should you do?
Create a blob lifecycle management policy to transition blobs to lower access tiers based on their age.
Enable soft delete for blobs to remove old versions.
Use Azure Monitor to create alerts and manually update blob tiers.
Set up a scheduled task to move blobs to lower access tiers using AzCopy.
Answer Description
By creating a blob lifecycle management policy, you can define rules to automatically transition blobs to lower-cost access tiers (Hot, Cool, Archive) based on specified conditions such as the age of the data. This automates the management of blob data lifecycle and helps optimize costs without manual intervention. Other options require manual processes or do not address automatic tiering based on age.
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 blob lifecycle management policies in Azure?
What are the differences between Hot, Cool, and Archive access tiers?
How can I monitor the effectiveness of my blob lifecycle management policies?
You are an Azure Administrator managing a production environment that includes several Azure Virtual Machines in the North Europe region. Your company requires a disaster recovery solution that allows failover to the West Europe region in case of a regional outage. You have been tasked with configuring replication of the VMs to the secondary region.
Which of the following steps should you perform first to set up the replication for the VMs?
Create an RSV in the West Europe region.
Configure a backup policy for the virtual machines.
Enable replication for the virtual machines in the Azure portal.
Install the replication agent on the virtual machines.
Answer Description
The first step in configuring disaster recovery with Azure Site Recovery is to create an RSV (Recovery Services vault) in the target region where you want to replicate your virtual machines. The RSV acts as a storage entity that holds the metadata and configuration information for the replication, as well as the recovery points. By creating the vault in the West Europe region, you ensure that your replicated data is stored in the region that will act as the failover location.
Option A is incorrect because you cannot enable replication until you have an RSV to manage the replication process. Option C is incorrect because configuring a backup policy pertains to Azure Backup, not replication for disaster recovery. Option D is incorrect because for Azure Virtual Machines, Azure Site Recovery provides agentless replication, so installing an agent is not necessary.
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 RSV (Recovery Services Vault)?
Why is it necessary to have the RSV in the target region?
What happens if I try to enable replication without an RSV?
Which section of an ARM template allows you to specify values that can be customized during deployment?
parameters
variables
resources
outputs
Answer Description
The parameters
section in an ARM template allows you to define values that can be customized during deployment, making templates reusable and flexible. variables
are used to store values that are computed from parameters or hard-coded values but cannot be changed during deployment. The resources
section specifies the Azure resources to deploy. The outputs
section defines any values that should be returned after the deployment completes.
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 ARM templates used for?
Can you explain how parameters work in ARM templates?
What differentiates the parameters section from resources and outputs in ARM templates?
Neat!
Looks like that's it! You can go back and review your answers or click the button below to grade your test.