Free Microsoft AZ-305 Practice Test & Real Exam Questions
You have an on-premises network and an Azure subscription. The on-premises network has several branch offices.
A branch office in Toronto contains a virtual machine named VM1 that is configured as a file server.
Users access the shared files on VM1 from all the offices.
You need to recommend a solution to ensure that the users can access the shares files as quickly as possible if the Toronto branch office is inaccessible.
What should you include in the recommendation?
A branch office in Toronto contains a virtual machine named VM1 that is configured as a file server.
Users access the shared files on VM1 from all the offices.
You need to recommend a solution to ensure that the users can access the shares files as quickly as possible if the Toronto branch office is inaccessible.
What should you include in the recommendation?
Correct Answer: D
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
You have an Azure Functions microservice app named App1 that is hosted in the Consumption plan. App1 uses an Azure Queue Storage trigger.
You plan to migrate App1 to an Azure Kubernetes Service (AKS) cluster.
You need to prepare the AKS cluster to support App1. The solution must meet the following requirements:
- Use the same scaling mechanism as the current deployment.
- Support kubenet and Azure Container Networking Interface (CNI)
networking.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct answer is worth one point.
You plan to migrate App1 to an Azure Kubernetes Service (AKS) cluster.
You need to prepare the AKS cluster to support App1. The solution must meet the following requirements:
- Use the same scaling mechanism as the current deployment.
- Support kubenet and Azure Container Networking Interface (CNI)
networking.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct answer is worth one point.
Correct Answer: A,D
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
You have an Azure Active Directory (Azure AD) tenant.
You plan to provide users with access to shared files by using Azure Storage. The users will be provided with different levels of access to various Azure file shares based on their user account or their group membership.
You need to recommend which additional Azure services must be used to support the planned deployment.
What should you include in the recommendation?
You plan to provide users with access to shared files by using Azure Storage. The users will be provided with different levels of access to various Azure file shares based on their user account or their group membership.
You need to recommend which additional Azure services must be used to support the planned deployment.
What should you include in the recommendation?
Correct Answer: B
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Drag and Drop Question
You plan to use Azure Storage to store data assets.
You need to identify the procedure to fail over a general-purpose v2 account as part of a disaster recovery plan. The solution must meet the following requirements:
- Apps must be able to access the storage account after a failover.
- You must be able to fail back the storage account to the original
location.
- Downtime must be minimized.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

You plan to use Azure Storage to store data assets.
You need to identify the procedure to fail over a general-purpose v2 account as part of a disaster recovery plan. The solution must meet the following requirements:
- Apps must be able to access the storage account after a failover.
- You must be able to fail back the storage account to the original
location.
- Downtime must be minimized.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Correct Answer:

Explanation:
Before you can perform an account failover on your storage account, make sure that: Your storage account is configured for geo-replication (GRS, GZRS, RA-GRS or RA-GZRS).
https://learn.microsoft.com/en-us/azure/storage/common/storage-initiate-account-failover?tabs=azure-portal
Hotspot Question
You have an Azure subscription that contains the resources shown in the following table:

Log files from App1 are registered to App1Logs. An average of 120 GB of log data is ingested per day.
You configure an Azure Monitor alert that will be triggered if the App1 logs contain error messages.
You need to minimize the Log Analytics costs associated with App1. The solution must meet the following requirements:
- Ensure that all the log files from App1 are ingested to App1Logs.
- Minimize the impact on the Azure Monitor alert.
Which resource should you modify, and which modification should you perform? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You have an Azure subscription that contains the resources shown in the following table:

Log files from App1 are registered to App1Logs. An average of 120 GB of log data is ingested per day.
You configure an Azure Monitor alert that will be triggered if the App1 logs contain error messages.
You need to minimize the Log Analytics costs associated with App1. The solution must meet the following requirements:
- Ensure that all the log files from App1 are ingested to App1Logs.
- Minimize the impact on the Azure Monitor alert.
Which resource should you modify, and which modification should you perform? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:
In addition to the pay-as-you-go model, Log Analytics has commitment tiers, which can save you as much as 30 percent compared to the pay-as-you-go price. With commitment tier pricing, you can commit to buy data ingestion for a workspace, starting at 100 GB per day, at a lower price than pay-as-you-go pricing.
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/cost-logs#commitment-tiers
You have an application named App1. App1 generates log files that must be archived for five years. The log files must be readable by App1 but must not be modified.
Which storage solution should you recommend for archiving?
Which storage solution should you recommend for archiving?
Correct Answer: C
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Drag and Drop Question
You have 15 on-premises Hyper-V virtual machines.
You have an Azure subscription that contains an Azure Migrate project named Project1.
You need to assess the virtual machines for migration to Azure by using Project1.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

You have 15 on-premises Hyper-V virtual machines.
You have an Azure subscription that contains an Azure Migrate project named Project1.
You need to assess the virtual machines for migration to Azure by using Project1.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Correct Answer:

Explanation:
Reference:
https://learn.microsoft.com/en-us/azure/migrate/tutorial-discover-hyper-v
Drag and Drop Question
You have a 500-TB, on premises Microsoft SQL Server database named DB1.
You have an on-premises datacenter that contains virtual machines. The virtual machines host database, web, file and application resources.
You have an Azure subscription.
You need to migrate DB1 and the virtual machines to Azure. The solution must meet the following requirements:
- During the migration of DB1, data cannot be transmitted over the
internet, and the impact on the internet must be minimized.
- The migration of the virtual machines must support a test migration
before the production migration.
- During the migration of the virtual machines, downtime must be
minimized.
What should you use for each migration? To answer, drag the appropriate services to the correct targets. Each service may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.

You have a 500-TB, on premises Microsoft SQL Server database named DB1.
You have an on-premises datacenter that contains virtual machines. The virtual machines host database, web, file and application resources.
You have an Azure subscription.
You need to migrate DB1 and the virtual machines to Azure. The solution must meet the following requirements:
- During the migration of DB1, data cannot be transmitted over the
internet, and the impact on the internet must be minimized.
- The migration of the virtual machines must support a test migration
before the production migration.
- During the migration of the virtual machines, downtime must be
minimized.
What should you use for each migration? To answer, drag the appropriate services to the correct targets. Each service may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:
Box 1: Data Migration Assistant (DMA)
The Data Migration Assistant (DMA) helps you upgrade to a modern data platform by detecting compatibility issues that can affect database functionality when you:
Upgrade to a new version of SQL Server
Migrate to Azure SQL Database
Migrate to Azure SQL Managed Instance
DMA recommends performance and reliability improvements for your target environment and allows you to move your schema, data, and uncontained objects from your source server to your target server.
Note: Data Migration Assistant (DMA) you can spend more than 24 hours to migrate 1 TB. DMA can take 26-28 hours to migrate 700 MB.
Box 2: Azure Migrate
Azure Migrate is the recommended and most comprehensive tool for migrating on-premises virtual machines to Azure, as it provides a central hub for discovery, assessment, and migration.
It supports various VM types, including VMware, Hyper-V, and physical servers, offering both agentless and agent-based migration options and tools to help with business case generation, cost reduction, and optimized VM sizing.
Reference:
https://learn.microsoft.com/sl-si/previous-versions/sql/dma/dma-overview
https://learn.microsoft.com/en-us/azure/migrate/migrate-services-overview
