Microsoft

AZ-305 Free Practice Questions — Page 9

Question 86

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.

A. Configure the horizontal pod autoscaler.
B. Install Virtual Kubelet.
C. Configure the AKS cluster autoscaler.
D. Configure the virtual node add-on.
E. Install Kubernetes-based Event Driven Autoscaling (KEDA).
Show Answer
Correct Answer: A, E
Explanation:
Azure Functions on the Consumption plan uses event-driven scaling. On AKS, the equivalent is Kubernetes-based Event Driven Autoscaling (KEDA), which provides Azure Queue Storage-triggered scaling and scale-to-zero behavior. KEDA integrates with the Kubernetes Horizontal Pod Autoscaler (HPA) by exposing external metrics, so HPA is configured to perform the actual pod scaling. Virtual Kubelet/virtual nodes are unrelated to the required scaling mechanism, and the cluster autoscaler scales nodes rather than implementing the Functions event-driven scaling model.

Question 87

DRAG DROP - You have an on-premises app named App1. Customers use App1 to manage digital images. You plan to migrate App1 to Azure. You need to recommend a data storage solution for App1. The solution must meet the following image storage requirements: • Encrypt images at rest. • Allow files up to 50 MB. • Manage access to the images by using Azure Web Application Firewall (WAF) on Azure Front Door. The solution must meet the following customer account requirements: • Support automatic scale out of the storage. • Maintain the availability of App1 if a datacenter fails. • Support reading and writing data from multiple Azure regions. Which service should you include in the recommendation for each type of data? To answer, drag the appropriate services to the correct type of data. 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 answer is worth one point.

Illustration for AZ-305 question 87
Show Answer
Correct Answer: Image storage: Azure Blob storage Customer accounts: Azure Cosmos DB
Explanation:
Blob Storage is designed for large binary objects, supports encryption at rest, integrates with Azure Front Door/WAF, and easily stores 50 MB files. Cosmos DB provides automatic scale-out, multi-region read/write, and high availability across datacenter failures.

Question 88

Your company has the divisions shown in the following table. Sub1 contains an Azure App Service web app named App1. App1 uses Azure AD for single-tenant user authentication. Users from contoso.com can authenticate to App1. You need to recommend a solution to enable users in the fabrikam.com tenant to authenticate to App1. What should you recommend?

A. Enable Azure AD pass-through authentication and update the sign-in endpoint.
B. Use Azure AD entitlement management to govern external users.
C. Configure assignments for the fabrikam.com users by using Azure AD Privileged Identity Management (PIM).
D. Configure Azure AD Identity Protection.
Show Answer
Correct Answer: B
Explanation:
To allow users from another Microsoft Entra ID (Azure AD) tenant to access a single-tenant application, the users must first be brought in as external (B2B) users. Azure AD Entitlement Management is designed to govern and manage external user access through access packages and lifecycle management. The other options (pass-through authentication, PIM, and Identity Protection) do not enable cross-tenant authentication for a single-tenant app.

Question 89

You need to design a highly available Azure SQL database that meets the following requirements: • Failover between replicas of the database must occur without any data loss. • The database must remain available in the event of a zone outage. • Costs must be minimized. Which deployment option should you use?

A. Azure SQL Database Basic
B. Azure SQL Database Business Critical
C. Azure SQL Database Standard
D. Azure SQL Managed Instance General Purpose
Show Answer
Correct Answer: B
Explanation:
Business Critical uses Always On availability groups with synchronous replicas, enabling failover without data loss and supports zone-redundant deployments for availability during an availability zone outage. Basic and Standard do not meet the zero-data-loss/high-availability requirement. Managed Instance General Purpose historically did not provide the required combination for exam scenarios; Business Critical is the expected deployment despite higher cost because it is the least expensive option that satisfies all requirements.

Question 90

You are developing a sales application that will contain several Azure cloud services and handle different components of a transaction. Different cloud services will process customer orders, billing, payment, inventory, and shipping. You need to recommend a solution to enable the cloud services to asynchronously communicate transaction information by using XML messages. What should you include in the recommendation?

A. Azure Notification Hubs
B. Azure Application Gateway
C. Azure Queue Storage
D. Azure Traffic Manager
Show Answer
Correct Answer: C
Explanation:
Azure Queue Storage enables asynchronous communication between application components by storing messages (including XML payloads) in queues for reliable processing. Notification Hubs are for push notifications, Application Gateway is a web traffic load balancer, and Traffic Manager provides DNS-based traffic routing.

Question 91

You are developing a sales application that will contain several Azure cloud services and handle different components of a transaction. Different cloud services will process customer orders, billing, payment, inventory, and shipping. You need to recommend a solution to enable the cloud services to asynchronously communicate transaction information by using XML messages. What should you include in the recommendation?

A. Azure Notification Hubs
B. Azure Application Gateway
C. Azure Service Bus
D. Azure Traffic Manager
Show Answer
Correct Answer: C
Explanation:
Azure Service Bus is designed for reliable asynchronous messaging between distributed applications and services. It supports queues and topics for decoupled communication and can carry XML messages between components such as orders, billing, payments, inventory, and shipping. Notification Hubs are for push notifications, Application Gateway is a web traffic load balancer, and Traffic Manager performs DNS-based traffic routing.

Question 92

Your company has the divisions shown in the following table. Sub1 contains an Azure App Service web app named App1. App1 uses Azure AD for single-tenant user authentication. Users from contoso.com can authenticate to App1. You need to recommend a solution to enable users in the fabrikam.com tenant to authenticate to App1. What should you recommend?

A. Configure the Azure AD provisioning service.
B. Enable Azure AD pass-through authentication and update the sign-in endpoint.
C. Configure Supported account types in the application registration and update the sign-in endpoint.
D. Configure Azure AD join.
Show Answer
Correct Answer: C
Explanation:
To allow users from another Microsoft Entra ID (Azure AD) tenant to sign in to an app that is currently configured as single-tenant, change the app registration to support multiple organizations (Supported account types) and update the authentication/sign-in endpoint to the multi-tenant endpoint. The other options relate to user provisioning, pass-through authentication for on-premises AD, or device join, none of which convert a single-tenant app into one that accepts users from another tenant.

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:
To remain accessible if a datacenter (availability zone) fails, the server must support high availability/zone-redundant deployment. The Burstable tier has historically not supported the high availability feature required for this scenario, while General Purpose does and is less expensive than Memory Optimized. Therefore, General Purpose is the lowest-cost tier that satisfies the availability requirement.

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:
Azure Cosmos DB for NoSQL supports SQL-style queries via its SQL API, offers multi-region multi-master (multi-write) capability, and is designed to provide single-digit millisecond, low-latency reads globally. Azure SQL Database active geo-replication and Hyperscale do not support multi-master writes, and Azure Cosmos DB for PostgreSQL does not provide the same multi-master write capability.

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 control plane events, including Azure Resource Manager resource creation, deletion, and updates. It can be queried or exported to generate monthly reports of new resource deployments. Azure Arc manages hybrid resources, Azure Analysis Services is an analytics service, and Azure Monitor metrics capture numeric performance metrics rather than deployment events.

$19

Get all 271 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.