Microsoft

AZ-305 Free Practice Questions — Page 10

Question 93

HOTSPOT - You company has offices in New York City, Sydney, Paris, and Johannesburg. The company has an Azure subscription. You plan to deploy a new Azure networking solution that meets the following requirements: • Connects to ExpressRoute circuits in the Azure regions of East US, Southeast Asia, North Europe, and South Africa • Minimizes latency by supporting connection in three regions • Supports Site-to-site VPN connections • Minimizes costs You need to identify the minimum number of Azure Virtual WAN hubs that you must deploy, and which virtual WAN SKU to use. What should you identify? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-305 question 93
Show Answer
Correct Answer: Number of Virtual WAN hubs: 3 Virtual WAN SKU: Standard
Explanation:
ExpressRoute connectivity requires the Standard Virtual WAN SKU. To minimize latency while minimizing cost, the requirement is to support optimized connections in three regions, not all four. ExpressRoute circuits from the fourth region can connect via global transit through Virtual WAN, so the minimum number of hubs needed is three, using the Standard SKU.

Question 94

You plan to migrate on-premises MySQL databases to Azure Database for MySQL Flexible Server. You need to recommend a solution for the Azure Database for MySQL Flexible Server configuration. The solution must meet the following requirements: • The databases must be accessible if a datacenter fails. • Costs must be minimized. Which compute tier should you recommend?

A. Burstable
B. General Purpose
C. Memory Optimized
Show Answer
Correct Answer: B
Explanation:
The requirement that the databases must remain accessible if a datacenter fails implies the use of zone-redundant high availability. In Azure Database for MySQL Flexible Server, high availability is supported only on the General Purpose (and higher) compute tiers. The Burstable tier does not support high availability, so it cannot meet the resiliency requirement. Among the tiers that do support high availability, General Purpose is the lowest-cost option, satisfying both availability and cost-minimization requirements.

Question 95

You are designing an application that will aggregate content for users. You need to recommend a database solution for the application. The solution must meet the following requirements: • Support SQL commands. • Support multi-master writes. • Guarantee low latency read operations. What should you include in the recommendation?

A. Azure Cosmos DB for NoSQL
B. Azure SQL Database that uses active geo-replication
C. Azure SQL Database Hyperscale
D. Azure Cosmos DB for PostgreSQL
Show Answer
Correct Answer: A
Explanation:
The requirements are SQL support, multi-master writes, and guaranteed low-latency reads. Azure Cosmos DB for NoSQL (SQL API) supports SQL-like queries, native multi-region multi-master writes, and is designed for single-digit millisecond read latency globally. Azure SQL Database (including Hyperscale) does not support true multi-master writes. Azure Cosmos DB for PostgreSQL does not support multi-master writes across regions. Therefore, Azure Cosmos DB for NoSQL is the correct recommendation.

Question 96

You need to recommend a solution to generate a monthly report of all the new Azure Resource Manager (ARM) resource deployments in your Azure subscription. What should you include in the recommendation?

A. Azure Activity Log
B. Azure Arc
C. Azure Analysis Services
D. Azure Monitor metrics
Show Answer
Correct Answer: A
Explanation:
Azure Activity Log records subscription-level events such as resource creation, updates, and deletions. It can be queried or exported to generate a monthly report of new ARM resource deployments. The other options do not track deployment events.

Question 97

HOTSPOT - You are designing a data analytics solution that will use Azure Synapse and Azure Data Lake Storage Gen2. You need to recommend Azure Synapse pools to meet the following requirements: • Ingest data from Data Lake Storage into hash-distributed tables. • Implement query, and update data in Delta Lake. What should you recommend for each requirement? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-305 question 97
Show Answer
Correct Answer: Ingest data from Data Lake Storage into hash-distributed tables: A dedicated SQL pool Implement, query, and update data in Delta Lake: A serverless Apache Spark pool
Explanation:
Hash-distributed tables are a feature of dedicated SQL pools in Azure Synapse. Delta Lake supports full read/write (UPDATE, DELETE, MERGE) operations through Apache Spark pools, while SQL pools can only query Delta Lake and cannot update it.

Question 98

HOTSPOT - You have an Azure subscription that contains an Azure key vault named KV1 and a virtual machine named VM1. VM1 runs Windows Server 2022: Azure Edition. You plan to deploy an ASP.Net Core-based application named App1 to VM1. You need to configure App1 to use a system-assigned managed identity to retrieve secrets from KV1. The solution must minimize development effort. What should you do? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-305 question 98
Show Answer
Correct Answer: Client credentials grant flows Azure Instance Metadata Service (IMDS) endpoint
Explanation:
App1 runs as a daemon on an Azure VM and uses a system-assigned managed identity, which aligns with OAuth 2.0 client credentials flow. Managed identities obtain access tokens from within the VM via the Azure Instance Metadata Service (IMDS), eliminating the need to manage secrets and minimizing development effort.

Question 99

HOTSPOT - You are planning an Azure Storage solution for sensitive data. The data will be accessed daily. The dataset is less than 10 GB. You need to recommend a storage solution that meets the following requirements: • All the data written to storage must be retained for five years. • Once the data is written, the data can only be read. Modifications and deletion must be prevented. • After five years, the data can be deleted, but never modified. • Data access charges must be minimized. What should you recommend? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-305 question 99
Show Answer
Correct Answer: General purpose v2 with Hot access tier for blobs Container access policy
Explanation:
Hot tier minimizes data access charges for daily reads on a small dataset. A container access policy with immutable blob (WORM) retention enforces write-once, read-only for five years and allows deletion only after the retention period. Resource locks do not protect blob data immutability.

Question 100

You have an Azure subscription that contains the resources shown in the following table. You create peering between VNet1 and VNet2 and between VNet1 and VNet3. The virtual machines host an HTTPS-based client/server application and are accessible only via the private IP address of each virtual machine. You need to implement a load balancing solution for VM2 and VM3. The solution must ensure that if VM2 fails, requests will be routed automatically to VM3, and if VM3 fails, requests will be routed automatically to VM2. What should you include in the solution?

A. Azure Firewall Premium
B. Azure Application Gateway v2
C. a cross-region load balancer
D. Azure Front Door Premium
Show Answer
Correct Answer: B
Explanation:
The traffic is private, VM-to-VM over peered VNets, and the application is HTTPS-based. Azure Application Gateway v2 is a Layer‑7 load balancer that can use private IP addresses in its backend pool, perform health probes, and route traffic automatically to the healthy VM when the other fails. It can be deployed in a peered VNet and does not require any public endpoints. Azure Front Door and cross‑region load balancer are primarily designed for internet-facing scenarios and are not the best fit for purely private east‑west traffic.

Question 101

You are developing an app that will use Azure Functions to process Azure Event Hubs events. Request processing is estimated to take between five and 20 minutes. You need to recommend a hosting solution that meets the following requirements: • Supports estimates of request processing runtimes • Supports event-driven autoscaling for the app Which hosting plan should you recommend?

A. Dedicated
B. Consumption
C. App Service
D. Premium
Show Answer
Correct Answer: D
Explanation:
Azure Functions Premium plan supports long-running executions well beyond the Consumption plan limit (5–10 minutes), accommodating the estimated 5–20 minute processing time. It also provides event-driven autoscaling, which Dedicated/App Service plans do not support. Therefore, Premium best meets both runtime and scaling requirements.

Question 102

You are designing an app that will include two components. The components will communicate by sending messages via a queue. You need to recommend a solution to process the messages by using a First in, First out (FIFO) pattern. What should you include in the recommendation?

A. storage queues with a custom metadata setting
B. Azure Service Bus queues with partitioning enabled
C. Azure Service Bus queues with sessions enabled
D. storage queues with a stored access policy
Show Answer
Correct Answer: C
Explanation:
A strict FIFO processing pattern in Azure messaging is achieved by using Azure Service Bus queues with sessions enabled. Message sessions group related messages and guarantee ordered delivery within a session, ensuring first-in, first-out processing. Azure Storage queues do not provide strict FIFO guarantees, and Service Bus partitioning can break global ordering across partitions.

$19

Get all 273 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.