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
Free Preview
This test is a free preview, no account required.
Subscribe to unlock all content, keep track of your scores, and access AI features!
When deploying a virtual machine in Azure, which setting allows you to specify the number of CPUs and amount of memory allocated to the virtual machine?
Availability Set
Size
Image
Resource Group
Answer Description
The 'Size' setting allows you to select the computational resources for your virtual machine, including the number of CPUs and the amount of memory. The 'Image' option specifies the operating system and software configuration, the 'Resource Group' is used for organizing resources, and the 'Availability Set' enhances availability by distributing VMs across fault domains.
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 does the 'Size' setting determine in a virtual machine deployment?
What are the different types of Azure VM sizes available?
What is the purpose of specifying an 'Availability Set' when deploying a VM?
You are an Azure Administrator at Contoso Ltd. The company needs to add a new user who does not have an existing Microsoft account or email address. The user should be able to sign in and access resources assigned to them in the company's Azure environment. Which of the following actions should you take to create this user account?
Invite the user as a guest to the directory.
Use a synchronization tool to sync their account from on-premises.
Create an application registration for the user.
Create a new cloud user with a username and password.
Answer Description
Creating a new cloud-based user with a username and password allows you to set up an account without requiring an existing email address. The user will receive a unique User Principal Name (UPN) and can sign in using the credentials you provide. Inviting a guest user requires an email address to send the invitation. Using synchronization tools to sync an account from on-premises is not applicable since there is no on-premises account to synchronize. Creating an application registration is intended for application identities, not individual user accounts.
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 User Principal Name (UPN)?
What is the difference between a cloud user and a guest user in Azure?
What is the purpose of application registration in Azure?
As an Azure Administrator, you need to restrict access to a storage account so that it is accessible only from specific on-premises locations over the Internet, while blocking all other network traffic. What is the best method to achieve this?
Enable private endpoints on the storage account.
Activate Azure Active Directory authentication for the storage account.
Set the storage account's firewall settings to permit access from the required external sources.
Integrate the storage account with a virtual network created in Azure.
Answer Description
To achieve this, you should set the storage account's firewall settings to permit access from the required external sources. This involves configuring the firewall to allow traffic only from the specific public IP addresses associated with your on-premises locations. This approach effectively blocks all other network traffic over the Internet. Integrating the storage account with a virtual network in Azure won't help because on-premises networks aren't part of Azure's virtual networks. Enabling private endpoints restricts access to within Azure virtual networks or through private connections, not over the Internet from specific external locations. Activating Azure Active Directory authentication manages identity-based access but doesn't control network-level access based on source addresses.
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 firewall settings in Azure and how do they work?
What is a public IP address, and why is it important for restricting access?
What are private endpoints in Azure, and how do they differ from public access?
Your company needs to deploy an AKS cluster where each pod must have its own IP address within the Azure virtual network to communicate directly with on-premises resources. Which networking model should you configure for the cluster to meet this requirement?
Kubenet networking
Virtual Network peering
Azure CNI networking
Azure Network Policy
Answer Description
The Azure Container Networking Interface (CNI) networking model allows each pod in an AKS cluster to receive an IP address from the Azure virtual network subnet. This setup enables pods to communicate directly with other resources on the virtual network and on-premises networks connected via VPN or ExpressRoute, without network address translation (NAT). The kubenet networking model assigns IP addresses at the node level and uses NAT for pod communication, which does not provide the required direct pod connectivity. Virtual Network (VNet) peering connects Azure virtual networks but does not assign IP addresses to pods. Azure Network Policy is used to define network traffic rules but does not affect the underlying networking model or pod IP assignment.
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 CNI networking?
What is the difference between Azure CNI and Kubenet networking?
What is the role of Virtual Network peering in Azure?
You have two virtual networks, VNetA and VNetB, that you want to connect using virtual network peering in Azure. What requirement must be met to successfully configure the peering between VNetA and VNetB?
Both VNets are in the same resource group
Network security group flow logs are enabled on both VNets
The IP address spaces of VNetA and VNetB do not overlap
Both VNets are in the same subscription
Answer Description
To successfully peer two virtual networks, their IP address spaces must not overlap. Azure requires that the address ranges for each virtual network are unique to ensure proper routing of traffic between them. It is not necessary for the virtual networks to be in the same subscription or resource group; peering can be configured across subscriptions and resource groups. Enabling network security group (NSG) flow logs is not a requirement for virtual network peering.
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 virtual network peering in Azure?
Why do IP address spaces need to be unique for VNet peering?
Can virtual network peering occur between different Azure subscriptions?
You are an Azure administrator for Contoso Ltd. The company has two virtual networks, VNetA and VNetB, located in the same Azure region but in different subscriptions. You need to establish connectivity between the resources in VNetA and VNetB with minimal latency and bandwidth limitations. What should you do?
Create a virtual network peering between VNetA and VNetB using their resource IDs
Implement an Azure Load Balancer to route traffic between VNetA and VNetB
Establish an ExpressRoute circuit between VNetA and VNetB
Configure a site-to-site VPN connection between VNetA and VNetB
Answer Description
To connect virtual networks in different subscriptions within the same Azure region, you can create a virtual network peering between them. By using virtual network peering with resource IDs, you enable direct connectivity between VNetA and VNetB without the need for additional gateways or complex configurations. This approach provides low-latency, high-bandwidth connectivity between the networks. Other options like ExpressRoute or VPN connections are unnecessary and more complex for this scenario, and an Azure Load Balancer does not facilitate network connectivity between virtual networks.
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 virtual network peering in Azure?
What are the limitations of using a site-to-site VPN or ExpressRoute between VNets?
Can resources in different subscriptions access each other after setting up VNet peering?
An Azure administrator needs to add 500 new users to Azure Entra ID quickly and efficiently. The user data has been provided by the HR department. Which method should the administrator use to accomplish this task?
Create the user accounts manually through the Azure portal.
Use the bulk create users feature in Azure Active Directory.
Set up Azure AD Connect to sync the accounts from an on-premises Active Directory.
Use PowerShell to script the creation of user accounts.
Answer Description
The most efficient method is to use the bulk create users feature in Azure Entra ID. This feature allows the administrator to import multiple users at once by uploading a CSV file. Manually creating users through the portal is impractical for a large number of accounts. While a PowerShell script could automate the process, it requires scripting knowledge and additional time to develop and test. Syncing from an on-premises Entra ID is not applicable if the users are not present there.
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 bulk create users feature in Azure Entra ID?
What kind of data needs to be included in the CSV file for bulk user creation?
How does Azure AD Connect work in relation to user accounts?
Assigning a role to a user at the resource group scope grants them the same permissions at the subscription level.
True
False
Answer Description
Assigning a role at the resource group scope grants permissions only within that specific resource group and its resources. Permissions do not flow upward to the subscription level. In Azure, permissions inherited from higher scopes apply to lower scopes, but not vice versa. Therefore, assigning a role at a lower scope does not confer permissions at a higher scope.
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 does it mean to assign a role at the resource group scope?
What is the difference between resource group and subscription scope?
How does Azure handle permissions inheritance?
You are an Azure administrator for a company that stores sensitive data in Azure Blob Storage. You want to ensure that users can access the blobs using their existing corporate credentials without managing storage account keys or shared access signatures. What should you configure to achieve this?
Use shared access signatures to grant access to users.
Provide users with the storage account access keys.
Enable anonymous access on the storage account.
Configure Azure Entra ID authentication for the storage account.
Answer Description
Configuring Azure Entra ID authentication for the storage account enables users to access blobs using their corporate credentials. This approach integrates with your organization's existing identity management, enhancing security and simplifying access control. Using shared access signatures or distributing access keys would require managing and securing keys or tokens, which you aim to avoid. Enabling anonymous access would significantly reduce security and is not appropriate for sensitive data.
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 accessing Azure resources?
Why is managing storage account keys or shared access signatures less desirable for security?
What are the implications of enabling anonymous access for Azure Blob Storage?
You need to transfer several terabytes of data from an on-premises server to an Azure Storage account. Your internet connection is reliable and sufficiently fast. You require a tool that can efficiently transfer data and can be automated via scripts. Which tool should you use?
Azure Storage Explorer
Azure Import/Export service
Azure Portal
AzCopy
Answer Description
AzCopy is a command-line tool that allows for efficient data transfer to and from Azure Storage accounts. It supports scripting and automation, making it ideal for transferring large datasets. Azure Storage Explorer is a graphical tool better suited for manual operations and smaller data transfers. The Azure Import/Export service involves shipping physical disks to Microsoft data centers, which is unnecessary given the reliable internet connection. The Azure Portal is not designed for transferring large amounts of data or for automation through scripts.
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?
Can AzCopy handle different types of Azure Storage?
What are the advantages of automating data transfer with AzCopy?
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?
Enable replication for the virtual machines in the Azure portal.
Install the replication agent on the virtual machines.
Configure a backup policy for the virtual machines.
Create an RSV in the West Europe region.
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?
You are the Azure administrator for your company's virtual network infrastructure. A virtual machine named VM1 is experiencing connectivity issues to a specific endpoint. You need to determine whether network security group (NSG) rules are allowing or denying the traffic to that endpoint. Which Azure Network Watcher feature should you use?
Next hop
Packet capture
Connection troubleshoot
IP flow verify
Answer Description
The 'IP flow verify' feature in Azure Network Watcher allows you to test the communication between a source and a destination IP address and port, and reports whether the traffic is allowed or denied by NSG rules or user-defined routes. This makes it the appropriate tool to determine if NSG rules are affecting the traffic to the endpoint. 'Connection troubleshoot' helps diagnose a connection but does not show NSG rule evaluations. 'Packet capture' collects network traffic data from virtual machines but does not directly indicate NSG rule impact. 'Next hop' determines the next hop for packets but does not provide NSG rule information.
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 Network Security Groups (NSGs) and how do they work?
What is Azure Network Watcher and what features does it provide?
How can I interpret the results from IP flow verify?
You are an Azure Entra ID administrator for your company. You need to create a group that automatically includes all users whose department is set to "Sales" in their user profiles. The group membership should update automatically when users change departments or new users are added to the Sales department. What should you do?
Create a Microsoft 365 group with assigned membership and add users from the Sales department
Create an administrative unit for the Sales department
Create a security group with dynamic user membership using a department attribute query
Create a security group with assigned membership and add users from the Sales department
Answer Description
To achieve automatic updates to the group membership based on user attributes, you should create a security group with dynamic user membership using a department attribute query. This allows Azure Entra ID to automatically add or remove users from the group when their department attribute changes. Assigned membership requires manual management of group members, which does not meet the requirement for automatic updates. A Microsoft 365 group is typically used for collaboration features in Microsoft 365 services and may not be necessary if those features aren't required. An administrative unit is used for delegating administrative permissions and scoping administrative tasks, not for grouping users based on attributes.
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 dynamic user membership in Azure Entra ID?
What is a department attribute query and how is it used?
How does a security group differ from a Microsoft 365 group?
Your organization has recently acquired licenses for a new enterprise application integrated with Azure Entra ID. As an administrator, you need to assign these licenses to a group of users, ensuring that license assignments automatically update when users join or leave the group. What should you do to accomplish this?
Configure an Azure Policy to enforce license assignments.
Create a dynamic device group and assign licenses to it.
Assign licenses directly to each user manually.
Assign licenses to users by adding them to a group with the licenses assigned.
Answer Description
By assigning licenses to a group in Azure Entra ID, you ensure that all current and future members of the group automatically receive the licenses, and licenses are revoked when users leave the group. This method is known as group-based licensing and simplifies license management. Assigning licenses directly to each user is time-consuming and does not automatically update when group membership changes. Dynamic device groups manage devices, not user accounts or licenses. Azure Policy is used for policy-based management and cannot assign licenses to users.
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?
What is group-based licensing?
What are the benefits of automatic license assignments?
An Azure Administrator needs to securely manage and regularly rotate the access keys for an Azure Storage account. What is the best method to achieve this?
Manually regenerate the access keys periodically using the Azure portal.
Automate the regeneration of access keys using scripts and scheduled tasks.
Use Azure Key Vault to store and manage the storage account access keys.
Implement Azure AD authentication to eliminate the need for access keys.
Answer Description
Using Azure Key Vault to store and manage the storage account access keys is the best method. Azure Key Vault provides a secure, centralized repository for managing secrets, keys, and certificates, including storage account access keys. It offers features like automated key rotation, fine-grained access control through Azure RBAC (Role-Based Access Control), and logging of key usage. While manually regenerating keys or automating key regeneration with scripts can help with rotation, they do not provide the same level of security, auditing, and management capabilities. Implementing Azure AD authentication reduces reliance on access keys by enabling identity-based access, but access keys may still be required for certain applications or scenarios.
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 Key Vault and why is it important for managing access keys?
What features does Azure Key Vault provide for key rotation?
What is Azure RBAC and how does it relate to Azure Key Vault?
Smashing!
Looks like that's it! You can go back and review your answers or click the button below to grade your test.