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
An organization wants to automatically assign licenses to users based on their department membership. Which Azure Entra ID feature should they use?
Multi-factor authentication
Group-based licensing
Device management policies
Conditional Access Policies
Answer Description
Group-based licensing in Azure Entra ID allows administrators to assign licenses to all members of a security group. This means that when users are added to or removed from the group, licenses are automatically assigned or revoked accordingly, streamlining the license management process.
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 'Group-based licensing' mean in Azure Entra ID?
How do you set up Group-based licensing?
What are the benefits of using Group-based licensing?
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?
Integrate the storage account with Azure Active Directory
Use connection strings in application code
Distribute the storage account access keys to users
Use Shared Access Signatures
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 are Azure Active Directory (Azure AD) and its benefits?
Can you explain what Role-Based Access Control (RBAC) is?
What are Shared Access Signatures, and why are they considered less secure?
In Azure, roles cannot be assigned at the subscription level to manage access to all resources within the subscription.
False
True
Answer Description
Roles in Azure can be assigned at various scopes, including the subscription level. Assigning a role at the subscription level grants permissions to all resources within that subscription. Therefore, roles can be assigned at the subscription level to manage access to all resources, making the statement false.
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 Azure roles and scopes?
Can you give me examples of Azure roles?
What is the importance of managing access at the subscription level?
Azure Entra ID, (Formerly Azure Active Directory) allows the creation of security groups that can have other groups as members.
False
True
Answer Description
This statement is true. In Azure Entra ID, you can create security groups that include other groups as members, enabling nested group configurations. This feature simplifies management by allowing administrators to assign permissions and access to a parent group, which automatically applies to all nested groups and their 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 are security groups in Azure Entra ID?
What is a nested group in Azure Entra ID?
How does Azure Entra ID simplify permission management?
An Azure administrator needs to provide a contractor with the ability to manage all resources within a specific resource group but prevent them from altering access permissions. Which role assignment should the administrator use to meet this requirement?
Assign the Contributor role to the contractor at the resource group level
Assign the Reader role to the contractor at the resource group level
Assign the Contributor role to the contractor at the subscription level
Assign the Owner role to the contractor at the resource group level
Answer Description
Assigning the Contributor role at the resource group level grants the contractor the ability to manage resources within that resource group without allowing them to modify access permissions. This adheres to the principle of least privilege by providing only the necessary permissions. Assigning the Owner role would allow the contractor to alter access permissions, which is not desired. Assigning roles at the subscription level would grant access beyond the intended 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 the Contributor role in Azure do?
What is the principle of least privilege in Azure?
What are the differences between the Contributor, Owner, and Reader roles in Azure?
An organization stores large volumes of data in Azure Blob Storage that is rarely accessed but must be retained for compliance reasons. Retrieval times of up to several hours are acceptable when the data is required. As an Azure administrator tasked with minimizing storage costs, which storage access tier should you configure for this data?
Hot
Cool
Archive
Premium
Answer Description
The Archive access tier is designed for data that is rarely accessed and can tolerate retrieval latency of several hours. It offers the lowest storage costs among the tiers, making it ideal for minimizing costs for long-term retention of infrequently accessed data required for compliance.
The Cool tier is suitable for infrequently accessed data that requires immediate (< milliseconds) retrieval, but its storage costs are higher than the Archive tier. The Hot tier has the highest storage costs and is intended for frequently accessed data, which does not align with the scenario. The Premium tier provides high-performance storage at a higher cost and is not appropriate for rarely accessed data where cost minimization is a priority.
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 and how does it work?
What are the differences between the Cool and Archive tiers in Azure Blob Storage?
What are the implications of using the Archive tier for data retention?
You want to back up several Azure virtual machines using the Azure Backup service. Which action should you perform first to begin configuring the backups?
Configure a backup policy in Azure Backup
Register the virtual machines with Azure Backup
Enable Azure Site Recovery for the virtual machines
Create a Recovery Services vault
Answer Description
The first action is to create a Recovery Services vault. The Recovery Services vault is a management entity that stores recovery points created over time and provides an interface to perform backup-related operations. Without creating the vault, you cannot proceed to configure backup policies or register your virtual machines for backup. Options like configuring backup policies or installing agents are subsequent steps after the vault is in place. Enabling Azure Site Recovery is related to disaster recovery, not the initial backup configuration.
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 in Azure Backup?
What are recovery points and why are they important?
What are the steps after creating a Recovery Services vault?
You need to establish a private connection from your Azure virtual network to an Azure PaaS service without exposing traffic to the public internet. Which Azure feature should you configure?
Public Load Balancer
Private Endpoint
Network Security Group
VPN Gateway
Answer Description
A Private Endpoint enables a private and secure connection between your virtual network and an Azure service powered by Azure Private Link. This keeps the traffic within the Azure backbone network, eliminating exposure to the public internet and enhancing security.
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?
What is Azure Private Link?
How does a VPN Gateway differ from a Private Endpoint?
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?
Traffic Analytics
Network Watcher Connection Monitor
Network Watcher IP Flow Verify
NSG Flow Logs
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?
An organization wants its users to access Azure Blob storage using their corporate credentials. Users should be able to read and write blobs but must not be able to delete any blobs. How can you configure the storage account to meet these requirements?
Enable identity-based access on the storage account.
Assign the 'Storage Blob Data Contributor' role to the users.
Create a custom role with read and write permissions and assign it to the users.
Assign the 'Storage Blob Data Reader' role to the users.
Answer Description
To grant users the ability to read and write blobs without delete permissions, you need to create a custom role that includes the read and write actions but excludes the delete action. Assigning this custom role to the users via role-based access control (RBAC) ensures they have the exact permissions required. The built-in Storage Blob Data Contributor role grants read, write, and delete permissions, which is more than what's needed. The Storage Blob Data Reader role only allows reading blobs, not writing them. Enabling identity-based access does not address the specific permission settings required 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 is role-based access control (RBAC) in Azure?
What is a custom role in Azure, and why would I create one?
How do I create a custom role in Azure?
As an Azure administrator, you need to provide temporary access to a blob storage container to a third-party vendor for one week. You also want the ability to revoke this access if necessary without regenerating the storage account keys or impacting other services. What should you do to meet these requirements?
Generate a shared access signature with an expiry time of one week and share it with the vendor.
Provide the access keys of the storage account to the vendor.
Create a shared access signature associated with a stored access policy on the container, and provide it to the vendor.
Add the vendor as a contributor to the storage container.
Answer Description
By creating a shared access signature (SAS) associated with a stored access policy on the container, you can grant the vendor temporary access and retain the ability to revoke that access by modifying or deleting the policy. This approach doesn't require regenerating storage account keys and doesn't affect other services. Generating a SAS token without a stored access policy doesn't allow you to revoke access until it expires. Adding the vendor as a contributor provides broader access than necessary and complicates permissions management. Sharing the storage account access keys grants full access to the account, which is a security risk and revoking access would impact all services using those keys.
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)?
What is a stored access policy and why is it useful?
What are the risks of sharing storage account access keys?
Your company is deploying a new cloud-based application that requires licenses for a large number of employees. You want to ensure that when users join or leave the company, the license management process is efficient and requires minimal administrative effort. What should you configure to achieve this?
Enable self-service licensing for users.
Assign licenses to individual users manually.
Utilize group-based licensing.
Use administrative units for license distribution.
Answer Description
Utilizing group-based licensing is the most efficient method for managing licenses at scale in Azure AD. When you assign licenses to a group, all members of that group automatically receive the licenses, and they are removed when users leave the group. This streamlines the process of onboarding and offboarding employees without the need for manual intervention each time. Assigning licenses to individual users manually is not practical for a large number of employees and increases administrative overhead. Administrative units are used to delegate administrative permissions and scope management tasks but do not facilitate automatic license assignment. Enabling self-service licensing allows users to request licenses themselves; however, this approach may not align with organizational policies requiring control over license distribution and does not automate license revocation when users leave.
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 group-based licensing in Azure AD?
How do I create a group for group-based licensing in Azure AD?
What are the advantages of using group-based licensing over manual license assignment?
You are an Azure administrator for a company that runs a critical application on an Azure Virtual Machine (VM) named VM1. The application requires additional storage space to store log files. You need to add a data disk to VM1 without causing any downtime. What should you do?
Stop VM1, attach a new data disk, and then start VM1.
Attach an empty managed data disk to VM1 from the Azure portal.
Redeploy VM1 with a larger OS disk size.
Deallocate VM1, add a data disk using Azure PowerShell, and then allocate VM1.
Answer Description
To add a data disk to VM1 without causing downtime, you can attach an empty managed data disk to the VM using the Azure portal. This operation can be performed while the VM is running and does not require stopping or deallocating the VM. Stopping or deallocating the VM (as in options B and C) would cause downtime, which is not acceptable in this scenario. Redeploying VM1 with a larger OS disk size (option D) does not add a separate data disk and could result in downtime and potential data loss.
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 managed data disk in Azure?
How do I attach a managed data disk to a running Azure VM?
What is the impact of stopping or deallocating an Azure VM?
You are an Azure administrator for Contoso Ltd. You have a virtual machine named VM1 in Resource Group A. You need to move VM1 to Resource Group B within the same subscription. When you attempt to move VM1 using the Azure portal, the operation fails with an error message. You have confirmed that both resource groups are in the same region and that you have the necessary permissions. What should you do to successfully move VM1 to Resource Group B?
Add your user account as an owner of Resource Group B
Remove any resource locks from VM1 and its associated resources
Change the location of VM1 to match Resource Group B
Deallocate VM1 before attempting the move
Answer Description
Resource locks prevent resources from being modified or deleted, including moving them to a different resource group. If VM1 or its associated resources have locks applied, the move operation will fail. By removing any resource locks from VM1 and its related resources, you can successfully complete the move. Deallocating the VM is not required for moving it between resource groups within the same subscription and region. Changing the location of VM1 is not possible without recreating it in a different region, and adjusting user permissions is unnecessary if you already have the required 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 are resource locks in Azure?
How do I check if a resource lock is applied to a VM in Azure?
Why is deallocating a VM not necessary when moving it between resource groups?
You are an Azure administrator responsible for configuring backups for your company's virtual machines. The company requires that critical VMs have backups that allow recovery of daily data for the past month, with minimal impact on system performance during business hours. What should you do to meet these requirements?
Create a new backup policy with weekly backups, retaining backups for the past month
Create a new backup policy that schedules backups outside business hours, with retention set to 30 days
Use the default backup policy without changes
Modify the existing backup policy to increase retention to 90 days and schedule backups during peak hours
Answer Description
To meet these requirements, you should create a new backup policy that schedules backups outside business hours and sets the retention period to 30 days. This ensures that daily backups are taken without affecting system performance during peak times, and that backups are retained for the required period. Modifying the existing backup policy to increase retention to 90 days and scheduling backups during peak hours does not meet the requirement of minimal impact during business hours and unnecessarily extends retention. Using the default backup policy without changes may not align with the specific scheduling and retention requirements. Creating a policy with weekly backups would not allow recovery of daily 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.
Why is scheduling backups outside business hours important?
What does 'retention set to 30 days' mean in the context of backup policies?
What are the potential risks of using the default backup policy?
That's It!
Looks like that's it! You can go back and review your answers or click the button below to grade your test.