Designing Microsoft Azure Infrastructure Solutions (AZ-305) — Questions and Answers
Question 1: Your organization requires an RTO of less than 1 hour and an RPO of less than 15 minutes for a critical Azure VM workload. Which Azure service helps achieve this?
- Azure Backup with daily snapshots
- Azure Site Recovery (ASR) with replication to a secondary region (Correct answer)
- Azure VM snapshot policies
- Azure Managed Disks ZRS replication
Correct answer: Azure Site Recovery (ASR) with replication to a secondary region
Azure Site Recovery continuously replicates VMs to a secondary region with RPO as low as 30 seconds, enabling failover within minutes to meet aggressive RTO targets.
Question 2: A customer needs to migrate an on-premises Oracle database to Azure with minimal re-engineering and maximum compatibility. Which Azure database service should you recommend?
- Azure SQL Managed Instance (Correct answer)
- Azure SQL Database
- Azure Database for PostgreSQL – Flexible Server
- Azure Database for Oracle (fully managed)
Correct answer: Azure SQL Managed Instance
Azure SQL Managed Instance provides near 100% SQL Server engine compatibility and supports features like SQL Agent, CLR, and linked servers needed for lift-and-shift migrations.
Question 3: Your company is implementing a Zero Trust architecture. Which Azure AD capability most directly supports the 'verify explicitly' principle?
- Conditional Access with device compliance, location, and risk signals (Correct answer)
- Azure AD Connect cloud sync
- Azure AD Application Proxy
- Azure AD Password Hash Synchronization
Correct answer: Conditional Access with device compliance, location, and risk signals
Conditional Access 'verify explicitly' by evaluating all available signals (user identity, device state, location, risk) before granting access.
Question 4: You need to route traffic from Azure to on-premises through a network virtual appliance (NVA) in the hub VNet. What must the NVA have enabled to forward traffic between interfaces?
- Azure Firewall DNAT
- BGP route propagation
- IP Forwarding (Correct answer)
- Accelerated Networking
Correct answer: IP Forwarding
IP Forwarding must be enabled on the NVA's NIC so Azure does not drop packets destined for other IP addresses.
Question 5: What do Azure regions' availability zones do?
- Virtual locations within an Azure datacenter
- Different datacenters owned by competitors
- Different Azure datacenters within a region (Correct answer)
- Different regions of Azure
Correct answer: Different Azure datacenters within a region
Azure regions' Availability Zones are physically separate, independent datacenters located within a single Azure region. Each zone has its own independent power, cooling, and networking, providing isolation from failures in other zones within the same region. This architecture ensures high availability and fault tolerance for applications and data by distributing resources across these distinct physical locations.
Question 6: You need to design a solution where your application continues operating with zero downtime and zero data loss even if an entire Azure region becomes unavailable. Which deployment model achieves this?
- Geo-redundant storage with read-only secondary
- Single region with Availability Zones
- Active-passive with Azure Site Recovery and manual failover
- Active-active multi-region deployment with Azure Traffic Manager or Front Door (Correct answer)
Correct answer: Active-active multi-region deployment with Azure Traffic Manager or Front Door
An active-active multi-region deployment serves live traffic from multiple regions simultaneously; if one region fails, Traffic Manager or Front Door routes all traffic to the remaining healthy region with no downtime.
Question 7: A company wants to prevent users from enrolling personal devices in Azure AD and require only compliant corporate devices for cloud app access. Which two features should you combine?
- Azure AD Connect + Conditional Access
- Azure AD Domain Services + Group Policy
- Intune device compliance policies + Conditional Access (Correct answer)
- Azure Policy + Azure AD B2C
Correct answer: Intune device compliance policies + Conditional Access
Intune enforces device compliance standards and Conditional Access can then require a compliant device before granting access to cloud apps.
Question 8: You are designing storage for an IoT application that ingests millions of small messages per second and needs a hot path for immediate analytics. Which combination is recommended?
- Azure Blob Storage + Azure Synapse Analytics
- Azure Queue Storage + Azure Functions + Azure SQL Database
- Azure Event Hubs + Azure Stream Analytics + Azure Data Lake Storage Gen2 (Correct answer)
- Azure Service Bus + Azure Databricks + Azure Cosmos DB
Correct answer: Azure Event Hubs + Azure Stream Analytics + Azure Data Lake Storage Gen2
Event Hubs captures the high-throughput stream, Stream Analytics processes data in real time, and ADLS Gen2 stores the cold path for batch analytics.
Question 9: You need to document your DR strategy with defined RTO and RPO targets. Which statement correctly defines these two terms?
- RTO is the time to restore services to operation; RPO is the maximum acceptable data loss measured in time (Correct answer)
- RTO is the maximum acceptable data loss; RPO is the time to recover services
- RPO is the recovery point in a secondary datacenter; RTO is the recovery time objective for primary
- RTO and RPO are both measured as the time since last backup
Correct answer: RTO is the time to restore services to operation; RPO is the maximum acceptable data loss measured in time
RTO (Recovery Time Objective) defines how quickly systems must be restored; RPO (Recovery Point Objective) defines how much data loss is acceptable, measured as time since last backup/replication.
Question 10: You need to ensure that a Storage account's data cannot be deleted or modified for 7 years to comply with financial regulations. Which feature should you configure?
- Immutable storage with time-based retention policies (WORM) (Correct answer)
- Azure Storage versioning
- Azure Backup for storage accounts
- Soft delete with 7-day retention
Correct answer: Immutable storage with time-based retention policies (WORM)
Immutable Blob Storage with time-based retention (WORM) policies prevents any deletion or modification of blobs for the specified retention period.
Question 11: You need to ensure that data stored in an Azure Storage account is encrypted with your own keys and you can revoke access at any time. Which option should you configure?
- Customer-managed keys (CMK) in Azure Key Vault (Correct answer)
- Customer-provided keys per request
- Double encryption with infrastructure encryption
- Microsoft-managed keys (default)
Correct answer: Customer-managed keys (CMK) in Azure Key Vault
Customer-managed keys stored in Azure Key Vault give you full control over the encryption key lifecycle including the ability to disable or revoke keys to make data inaccessible.
Question 12: You need to inspect and control traffic flowing between spoke VNets in a hub-and-spoke architecture. What must you configure in addition to deploying Azure Firewall in the hub?
- User-Defined Routes (UDRs) to redirect spoke traffic through the firewall (Correct answer)
- ExpressRoute gateway in the hub
- Azure Policy network deny rules
- Network Security Groups on each spoke subnet
Correct answer: User-Defined Routes (UDRs) to redirect spoke traffic through the firewall
UDRs (custom route tables) on spoke subnets must point the next hop to the Azure Firewall private IP to force traffic through inspection.
Question 13: You are creating a state application that will manage many transactional components and include several Azure cloud services. Customer orders, billing, payment processing, inventory management, and delivery are handled by various cloud services. <br> <br> You need to recommend a solution to enable the cloud services to asynchronously communicate transaction information by using XML messages. <br> <br> What should you include in the recommendation?
- Azure Queue Storage (Correct answer)
- Azure Data Lake
- Azure Service Fabric
- Azure Notification Hubs
Correct answer: Azure Queue Storage
Azure Queue Storage provides a simple and cost-effective solution for storing large numbers of messages that can be processed asynchronously by different cloud services. It's ideal for decoupling application components, allowing services like order processing, billing, and inventory to exchange transactional data, such as XML messages, without direct dependencies. This ensures reliable communication and processing, even if one service is temporarily unavailable, by holding messages until they can be consumed.
Question 14: Mark is working at PTG Ltd. has two Azure virtual machines deployed in different regions. Given, each of the virtual machine has a public IP address that has been assigned to its network interface. Also, an application is installed on the virtual machines. Requirement - Peter has been asked to implement Azure Front Door-based load balancing across the virtual machines. He needs to ensure the application on the virtual machines only accept traffic that is routed from Azure Front Door. Which of the following options should Mark choose to meet the requirement?
- Service Endpoints
- Network Security Groups with service tags (Correct answer)
- Azure Private Link
- Network Security Groups with application security groups
Correct answer: Network Security Groups with service tags
To ensure that virtual machines only accept traffic routed from Azure Front Door, Network Security Groups (NSGs) with service tags are the appropriate solution. Service tags represent a group of IP address prefixes from a given Azure service, such as `AzureFrontDoor.Backend`. By creating an inbound NSG rule that allows traffic from the `AzureFrontDoor.Backend` service tag, you can restrict access to your virtual machines, ensuring only legitimate traffic originating from Azure Front Door can reach them, without needing to manage dynamic IP addresses.
Question 15: You need an alert that fires when CPU utilization on a VM exceeds 80% for five consecutive minutes. Which Azure Monitor alert type should you use?
- Smart detection alert
- Metric alert (Correct answer)
- Log search alert
- Activity log alert
Correct answer: Metric alert
Metric alerts evaluate numeric resource metrics at regular intervals and trigger when a threshold is crossed, making them ideal for CPU utilization monitoring.
Question 16: You need to centralize log collection from multiple Azure subscriptions for cross-subscription analysis. Which Azure resource should you deploy?
- Azure Storage account (hot tier)
- Azure Event Hub namespace
- Log Analytics workspace (Correct answer)
- Azure Service Bus namespace
Correct answer: Log Analytics workspace
A Log Analytics workspace is the central repository for collecting, storing, and querying log data from multiple Azure resources and subscriptions using KQL.
Question 17: A multi-tenant SaaS application needs to authenticate users from thousands of different Azure AD tenants. What is the recommended design?
- Use Azure AD B2C for all tenants
- Register the app as a multi-tenant application in Azure AD (Correct answer)
- Create guest accounts in a single tenant for all users
- Deploy a separate Azure AD tenant per customer
Correct answer: Register the app as a multi-tenant application in Azure AD
Registering an app as multi-tenant allows users from any Azure AD tenant to consent and sign in without requiring guest account creation.
Question 18: You need to stream Azure Monitor logs in near-real-time to Microsoft Sentinel for SIEM analysis. Which Azure service is the recommended streaming pipeline?
- Azure Service Bus
- Azure Event Hubs (Correct answer)
- Azure Storage Queue
- Azure Relay
Correct answer: Azure Event Hubs
Azure Event Hubs is the recommended high-throughput streaming pipeline for exporting Azure Monitor logs to external systems like Microsoft Sentinel and third-party SIEMs.
Question 19: A workload requires a specific number of VMs to be available at all times even during Azure planned maintenance events. Which availability configuration achieves this?
- Virtual Machine Scale Sets with uniform orchestration
- Availability Set with 2 fault domains
- Proximity Placement Groups
- Availability Zones pinning VMs to specific zones (Correct answer)
Correct answer: Availability Zones pinning VMs to specific zones
Pinning VMs to different Availability Zones ensures they are in separate physical datacenters, so planned maintenance in one zone does not impact the others.
Question 20: You intend to distribute several Azure web app instances across various Azure regions. <br> <br> * Support rate limiting. <br> <br> * Balance requests between all instances. <br> <br> * Ensure that users can access the app in the event of a regional outage. <br> Solution: You use Azure Front Door to provide access to the app. <br> <br> Does this meet the goal?
- Yes (Correct answer)
- No
Correct answer: Yes
Azure Front Door is a global, scalable entry-point that effectively meets all the specified requirements. It provides Layer 7 load balancing across multiple Azure web app instances deployed in different regions, ensuring optimal traffic distribution. Furthermore, Azure Front Door supports rate limiting through its Web Application Firewall (WAF) capabilities, and its global failover mechanism ensures that users can access the application even in the event of a regional outage, providing high availability and resilience.
Question 21: Your security team requires that stale guest accounts be automatically removed after 90 days of inactivity. Which feature enables this?
- Azure Policy guest user restrictions
- Azure AD Access Reviews (Correct answer)
- Azure AD Identity Protection
- Azure AD Conditional Access
Correct answer: Azure AD Access Reviews
Azure AD Access Reviews can be configured to periodically evaluate guest account activity and automatically remove inactive accounts.
Question 22: Your team needs to run a single query to find all Azure storage accounts missing soft delete protection across 20 subscriptions. Which service is best suited for this?
- Azure Resource Graph (Correct answer)
- Azure Advisor recommendations
- Azure Policy compliance dashboard
- Azure Monitor Log Analytics workspace
Correct answer: Azure Resource Graph
Azure Resource Graph enables fast, complex queries over Azure resource properties and configurations across multiple subscriptions at scale, making it ideal for compliance inventory checks.
Question 23: Your organization needs a cloud-native SIEM solution with built-in SOAR capabilities to detect threats, investigate incidents, and automate responses across Azure and hybrid environments. Which Microsoft service should you deploy?
- Microsoft Defender for Cloud (Defender plans)
- Azure Security Center (legacy)
- Azure Monitor with workbooks
- Microsoft Sentinel (Correct answer)
Correct answer: Microsoft Sentinel
Microsoft Sentinel is Microsoft's cloud-native SIEM and SOAR platform, providing AI-driven threat detection, investigation with hunting queries, and automated playbook-based response across hybrid environments.
Question 24: To create a monthly report of all new Azure Resource Manager (ARM) resource deployments in your Azure subscription, you must suggest a solution. What should you include in the recommendation?
- Azure Monitor action groups
- Azure Advisor
- Azure Analysis Services
- Azure Activity Log (Correct answer)
Correct answer: Azure Activity Log
The Azure Activity Log records all subscription-level events, including the creation, update, and deletion of Azure Resource Manager (ARM) resources. To generate a monthly report of all new ARM resource deployments, the Activity Log is the definitive source as it captures these management plane operations. You can query and export data from the Activity Log to compile the required report, making it the ideal solution for auditing resource deployment activities.
Question 25: You need to design a backup strategy for Azure Blob Storage where accidental deletions can be recovered within 30 days. Which feature provides this at no additional storage cost for the retention period?
- Blob Storage versioning
- Object replication to a secondary account
- Azure Blob soft delete (Correct answer)
- Azure Backup for Blob Storage
Correct answer: Azure Blob soft delete
Blob soft delete retains deleted blobs for a configurable retention period and is built into Azure Blob Storage without requiring a separate backup vault.
Question 26: You have an Azure SQL database called SQL l and a multi-tier app called Appl. Users read data from SQL 1 using the Appl client once the backend service of the application has written data to them. <br> <br> During periods of high utilization the users experience delays retrieving the data <br> <br> You need to minimize how long it takes for data requests <br> <br> What should you include in the solution?
- Azure Data Factory
- Azure Cache for Redis (Correct answer)
- Azure Synapse Analytics
- Azure Content Delivery Network (CON)
Correct answer: Azure Cache for Redis
Azure Cache for Redis is an in-memory data store that significantly improves application performance by caching frequently accessed data. When users experience delays retrieving data from an Azure SQL database during high utilization, implementing a cache like Redis can store copies of this data closer to the application. This reduces the number of direct requests to the database, minimizes latency, and speeds up data retrieval for users, thereby alleviating performance bottlenecks.
Question 27: You need to design a relational database solution in Azure that automatically scales compute independently of storage for unpredictable workloads. Which service tier should you choose?
- Azure SQL Database Hyperscale
- Azure SQL Database General Purpose
- Azure SQL Managed Instance Business Critical
- Azure SQL Database Serverless (Correct answer)
Correct answer: Azure SQL Database Serverless
Azure SQL Database Serverless tier auto-pauses when idle and auto-scales compute vCores based on workload demand, billed per second of compute used.
Question 28: What is the recommended way to assign the same RBAC role to a resource across multiple subscriptions under a management group?
- Assign the role at each subscription individually
- Create a custom role scoped to multiple subscriptions
- Use Azure Policy to enforce role assignments
- Assign the role at the management group scope (Correct answer)
Correct answer: Assign the role at the management group scope
Role assignments at the management group scope inherit down to all subscriptions, resource groups, and resources within it.
Question 29: Your web application is hosted in Azure and needs to be protected against OWASP top-10 web vulnerabilities at the network edge. Which service should you enable?
- Azure Firewall Premium with IDPS
- Azure Web Application Firewall (WAF) (Correct answer)
- Azure DDoS Protection Standard
- Network Security Groups
Correct answer: Azure Web Application Firewall (WAF)
Azure WAF, deployable on Application Gateway or Front Door, inspects HTTP/S traffic against OWASP rule sets to block common web attacks.
Question 30: You have an Azure SQL database with the name SQL l and a multi-tier app with the name Appl. Users utilize the Appl client to read data from SQL 1 that is written by the backend service of the App. <br> <br> During periods of high utilization the users experience delays retrieving the data <br> <br> You need to minimize how long it takes for data requests <br> <br> What should you include in the solution?
- Azure Cache for Redis (Correct answer)
- Azure Synapse Analytics
- Azure Content Delivery Network (CON)
- Azure Data Factory
Correct answer: Azure Cache for Redis
Azure Cache for Redis is an in-memory data store designed to significantly improve application performance by caching frequently accessed data. When users experience delays retrieving data from an Azure SQL database during high utilization, implementing Redis cache can store copies of this data closer to the application. This reduces the load on the primary database, minimizes latency, and speeds up data retrieval for users, effectively addressing performance bottlenecks.
Question 31: You need to query Azure Monitor logs to identify all failed authentication events on your VMs over the past 24 hours. Which query language should you use?
- PowerShell DSL
- Kusto Query Language (KQL) (Correct answer)
- T-SQL
- GraphQL
Correct answer: Kusto Query Language (KQL)
Kusto Query Language (KQL) is the native query language for Azure Monitor Log Analytics, designed for fast exploration and analysis of large log datasets.
Question 32: Your data warehouse needs to query petabytes of data with massively parallel processing (MPP). Which Azure service is designed for this workload?
- Azure SQL Managed Instance
- Azure SQL Database Hyperscale
- Azure Synapse Analytics dedicated SQL pool (Correct answer)
- Azure Cosmos DB analytical store
Correct answer: Azure Synapse Analytics dedicated SQL pool
Azure Synapse Analytics dedicated SQL pool uses MPP architecture to distribute query processing across compute nodes for petabyte-scale analytical queries.
Question 33: Which Azure SQL Database feature automatically redirects application connections to the secondary replica during a regional failure without requiring connection string changes?
- Azure SQL Managed Instance link feature
- Auto-failover group listener endpoint (Correct answer)
- Geo-replication with manual failover and secondary endpoint
- Azure Traffic Manager with SQL endpoints
Correct answer: Auto-failover group listener endpoint
Auto-failover group listener endpoints (read-write and read-only) remain constant; after failover, they automatically point to whichever replica is now the primary.
Question 34: A Log Analytics workspace is retaining large volumes of historical log data for compliance purposes, causing high costs. What is the most cost-effective way to retain this data long-term?
- Delete data older than 90 days and recollect if needed
- Export logs to Azure SQL Database for cold storage
- Move the workspace to a lower-cost Azure region
- Use the Log Analytics archive tier for long-term low-cost retention (Correct answer)
Correct answer: Use the Log Analytics archive tier for long-term low-cost retention
The Log Analytics archive tier retains data beyond the interactive period at significantly lower cost, meeting compliance requirements while eliminating the need to query archived data frequently.
Question 35: An application requires an ExpressRoute connection with 99.99% availability SLA. What design achieves this?
- Single ExpressRoute circuit with Local SKU
- Two ExpressRoute circuits from different peering locations with ExpressRoute Global Reach
- Single ExpressRoute circuit with Zone-Redundant VNet Gateway
- ExpressRoute circuit with a backup Site-to-Site VPN (Correct answer)
Correct answer: ExpressRoute circuit with a backup Site-to-Site VPN
Dual ExpressRoute circuits from geographically diverse peering locations with a zone-redundant gateway delivers the 99.99% SLA Microsoft guarantees for that design.
Question 36: You need to design a disaster recovery test plan for Azure VMs protected by Azure Site Recovery that does not impact production workloads. Which ASR capability supports this?
- Test failover using an isolated Azure VNet (Correct answer)
- Planned failover to the secondary region
- Unplanned failover with commit
- Reprotection after failover
Correct answer: Test failover using an isolated Azure VNet
ASR Test Failover spins up replicated VMs in an isolated VNet without disrupting replication to the primary, allowing full DR validation without production impact.
Question 37: Your organization's RPO for a critical application is zero — no data can be lost. Which Azure SQL Database deployment option meets this requirement?
- Azure SQL Database Business Critical tier with zone-redundant configuration (Correct answer)
- General Purpose tier with GRS backup
- Hyperscale tier with geo-replication
- Active geo-replication with async replication to secondary
Correct answer: Azure SQL Database Business Critical tier with zone-redundant configuration
SQL Database Business Critical uses synchronous replication across Availability Zones so all committed transactions are written to multiple nodes before acknowledgment, ensuring RPO=0.
Question 38: Your team needs to ensure that new VMs deployed in production always use a hardened OS image with the latest security patches applied. Which approach enforces this?
- Use Azure Shared Image Gallery with versioned, patched custom images and Azure Policy (Correct answer)
- Use Azure Automation DSC
- Enable Microsoft Defender for Cloud recommendations
- Manually patch VMs after deployment using Update Management
Correct answer: Use Azure Shared Image Gallery with versioned, patched custom images and Azure Policy
Shared Image Gallery stores versioned custom images and Azure Policy can enforce that VM deployments only use approved gallery images.
Question 39: An application deployed on AKS needs to scale the number of pods based on the depth of an Azure Service Bus queue. Which AKS feature enables this?
- AKS Cluster Autoscaler on node count
- Kubernetes Horizontal Pod Autoscaler (HPA) on CPU metrics
- Azure Monitor alert-based pod scaling
- KEDA (Kubernetes Event-Driven Autoscaling) with Service Bus scaler (Correct answer)
Correct answer: KEDA (Kubernetes Event-Driven Autoscaling) with Service Bus scaler
KEDA is built into AKS and provides event-driven pod autoscaling with native scalers for Azure Service Bus, Event Hubs, Storage Queues, and dozens more.
Question 40: A storage account will be accessed by thousands of clients concurrently. You need to minimize latency for reads of the same data across multiple Azure regions. Which feature should you enable?
- Geo-Redundant Storage (GRS)
- Read-Access Geo-Redundant Storage (RA-GRS) (Correct answer)
- Zone-Redundant Storage (ZRS)
- Object replication between storage accounts
Correct answer: Read-Access Geo-Redundant Storage (RA-GRS)
RA-GRS replicates data to a secondary region and provides a read-only endpoint in that region, enabling lower-latency reads closer to geographically dispersed clients.
Question 41: Which Azure Load Balancer SKU is required to support cross-zone load balancing, global load balancing, and availability zones?
- Standard SKU (Correct answer)
- Gateway SKU
- Basic SKU
- Premium SKU
Correct answer: Standard SKU
Azure Load Balancer Standard SKU supports availability zones, cross-zone load balancing, and HTTPS health probes that the Basic SKU does not.
Question 42: You need to design a solution where service-to-service authentication happens without storing credentials in code or configuration files. Which approach is recommended?
- Use Azure AD B2B for service accounts
- Use Azure Managed Identities (Correct answer)
- Store credentials in Azure Key Vault secrets and retrieve them at runtime
- Create a shared service principal with a certificate
Correct answer: Use Azure Managed Identities
Managed Identities eliminate the need to manage credentials by providing Azure resources with an automatically managed identity in Azure AD.
Question 43: You must suggest a remedy that satisfies App1's data specifications. Which deployment strategy should you advise for each availability zone that houses an instance of App1?
- An Azure Storage account that uses geo-zone-redundant storage (GZRS)
- An Azure Data Lake store that uses geo-zone-redundant storage (GZRS)
- An Azure Cosmos DB that uses multi-region writes (Correct answer)
- An Azure SQL database that uses active geo-replication
Correct answer: An Azure Cosmos DB that uses multi-region writes
For an application requiring high availability across multiple availability zones and low-latency data access, especially with data modification restrictions and the need for a robust database, Azure Cosmos DB with multi-region writes is the optimal choice. It provides global distribution, automatic failover, and guarantees low-latency reads and writes across multiple regions/zones, ensuring data consistency and resilience. This capability is superior for distributed write scenarios compared to other options.
Question 44: An Azure SQL Database is configured with geo-replication to a secondary region. Which action must you take to promote the secondary to primary during a regional failure?
- Stop the primary database and restart the secondary
- Initiate a failover from the secondary database in the Azure portal or via PowerShell (Correct answer)
- Delete the primary and rename the secondary
- Re-create the geo-replication link from the secondary
Correct answer: Initiate a failover from the secondary database in the Azure portal or via PowerShell
Initiating a planned or forced failover promotes the geo-secondary to become the new read-write primary with minimal data loss.
Question 45: You need to design a shared file system for a legacy Windows application that requires SMB access from Azure VMs and on-premises servers simultaneously. Which solution is appropriate?
- Azure NetApp Files
- Azure Files with SMB shares (Correct answer)
- Azure Blob Storage with NFS mount
- Azure Data Lake Storage Gen2
Correct answer: Azure Files with SMB shares
Azure Files provides fully managed SMB file shares accessible from both Azure VMs and on-premises via Azure File Sync or direct SMB over the internet.
Question 46: What are regions in Azure?
- Azure datacenters located in the same city
- Azure virtual networks
- Virtual locations within Azure datacenters
- Geographical locations around the globe that contain Azure datacenters (Correct answer)
Correct answer: Geographical locations around the globe that contain Azure datacenters
Azure regions are distinct geographical locations around the globe that contain one or more Azure datacenters. These datacenters are interconnected by a high-speed, low-latency network. Choosing a specific region for deploying resources allows users to place their applications and data closer to their users for better performance, and to meet data residency requirements.
Question 47: Josh is working at PTG Ltd. has an on-premises Hyper-V cluster containing 20 virtual machines. Given, some of the virtual machines are based on Windows and some in Linux. Josh has been asked to migrate the virtual machines onto Azure. Requirement - He has been asked to suggest a solution that would be used to replicate the disks of the virtual machines to Azure. Also, the solution must ensure that the virtual machines remain available when the migration of the disks is in progress. Solution - Josh decides to create an Azure storage account that has the file service and blob service and then use the Data Migration Assistant. Would the solution suggested by Josh meet the requirement?
- Incorrect (Correct answer)
- Correct
Correct answer: Incorrect
The proposed solution is incorrect because Data Migration Assistant (DMA) is designed for database migrations, not for replicating and migrating Hyper-V virtual machines to Azure. To replicate Hyper-V virtual machine disks to Azure while ensuring the VMs remain available during the migration, Azure Site Recovery (ASR) is the appropriate service. ASR provides continuous replication, allowing for minimal downtime during the actual migration cutover, which is crucial for maintaining availability.
Question 48: Your application requires a globally distributed NoSQL database with multi-region writes, single-digit millisecond reads, and five consistency levels to choose from. Which Azure service fits?
- Azure SQL Database with geo-replication
- Azure Cache for Redis
- Azure Cosmos DB (Correct answer)
- Azure Table Storage
Correct answer: Azure Cosmos DB
Azure Cosmos DB is Microsoft's globally distributed, multi-model database with multi-region write capability and tunable consistency levels.
Question 49: An application writes large files to Azure Blob Storage and needs to ensure files are only visible to readers after the entire upload is complete. Which upload method ensures this?
- Page Blob upload
- Block Blob upload with Commit Block List as the final step (Correct answer)
- Put Blob for small files; multipart upload for large files
- Append Blob upload
Correct answer: Block Blob upload with Commit Block List as the final step
Block Blob staging uploads data in blocks using Put Block, and only the final Commit Block List operation makes the complete blob visible to readers.
Question 50: Your application requires that Azure PaaS services like Azure SQL Database be accessible only from within your VNet and not over the public internet. Which feature should you use?
- Private Endpoints (Correct answer)
- Service endpoints
- Azure Private Link service
- VNet Integration
Correct answer: Private Endpoints
Private Endpoints assign a private IP from your VNet to a PaaS service, making it accessible only from your VNet while the public endpoint can be disabled.
Question 51: A solution requires managing access to hundreds of Azure resources for groups of users whose membership changes frequently. Which approach minimizes administrative overhead?
- Create a separate subscription per user group
- Assign RBAC roles directly to each user
- Use Azure Policy for identity management
- Use Azure AD groups with RBAC role assignments (Correct answer)
Correct answer: Use Azure AD groups with RBAC role assignments
Assigning RBAC roles to Azure AD groups means you only manage group membership rather than updating individual role assignments as users change.
Question 52: A storage account must only accept connections from a specific set of Azure VNet subnets and deny all other traffic including from the internet. Which two features should you configure?
- Azure Firewall DNAT + Storage account private endpoint
- Service Endpoints on subnets + Storage account network firewall deny rule with VNet subnet exceptions (Correct answer)
- Private Endpoints only
- Storage account firewall with allowed public IPs only
Correct answer: Service Endpoints on subnets + Storage account network firewall deny rule with VNet subnet exceptions
Enabling service endpoints on the subnets and adding those subnets to the storage account's firewall allow list while setting the default action to Deny restricts access to only those subnets.
Question 53: You need to design connectivity between 10 Azure virtual networks so that any VNet can communicate with any other VNet with minimal management overhead. Which design is recommended?
- Deploy VPN gateways in each VNet
- Use a hub-and-spoke topology with Azure Virtual WAN (Correct answer)
- Peer every VNet to every other VNet in a full mesh
- Use Azure ExpressRoute for all VNet connections
Correct answer: Use a hub-and-spoke topology with Azure Virtual WAN
Azure Virtual WAN provides a hub-and-spoke managed network that supports any-to-any connectivity without requiring full-mesh VNet peering.
Question 54: Your analytics pipeline requires transactional consistency for writes but also needs to run OLAP queries over the same data without impacting OLTP performance. Which Azure Cosmos DB feature enables this?
- Cosmos DB change feed
- Cosmos DB Analytical Store (HTAP with Azure Synapse Link) (Correct answer)
- Cosmos DB automatic indexing
- Cosmos DB multi-region writes
Correct answer: Cosmos DB Analytical Store (HTAP with Azure Synapse Link)
Azure Synapse Link with the Cosmos DB Analytical Store provides a fully isolated columnar store updated in near real-time from the transactional store for HTAP scenarios.
Question 55: Your application's SLA requires 99.99% availability. You are deploying to Azure VMs. Which configuration is required to achieve the 99.99% compute SLA from Microsoft?
- Three VMs in a Proximity Placement Group
- Two or more VMs deployed across two or more Availability Zones (Correct answer)
- Two or more VMs in an Availability Set
- Single VM with Premium SSD
Correct answer: Two or more VMs deployed across two or more Availability Zones
Microsoft guarantees 99.99% VM SLA only when two or more VMs are deployed across two or more Availability Zones in the same region.
Question 56: You intend to set up an HPC cluster in Azure that will make use of a third-party scheduler. You must suggest a method for setting up and controlling the HPC cluster node. What should the recommendation contain?
- Azure Lighthouse
- Azure Purview
- Azure Automation
- Azure Cyclecloud (Correct answer)
Correct answer: Azure Cyclecloud
Azure CycleCloud is specifically designed for creating, managing, operating, and optimizing HPC clusters in Azure. It provides a simple way to provision HPC environments, integrate with third-party schedulers (like Slurm, PBS Pro, LSF, Grid Engine), and manage cluster nodes. This makes it the perfect tool for setting up and controlling an HPC cluster node with a third-party scheduler.
Question 57: Your data engineering team needs a storage account that supports hierarchical namespace for big data analytics workloads using Apache Spark. Which storage type should you enable?
- Azure Table Storage
- Azure Files Premium tier
- Azure Data Lake Storage Gen2 (ADLS Gen2) with hierarchical namespace enabled (Correct answer)
- Azure Blob Storage with GRS replication
Correct answer: Azure Data Lake Storage Gen2 (ADLS Gen2) with hierarchical namespace enabled
Enabling the hierarchical namespace on an Azure Storage account creates ADLS Gen2, which provides directory semantics and atomic operations optimized for analytics engines.
Question 58: The on-premise network of PTG Ltd. has an IP address range of 186.16.0.0/16. In his capacity as a solution architect, Sam has been asked to set up 20 virtual machines in a VNet subnet and deploy them to Azure. <br> <br> Ensure that a site-to-site VPN connection can be used for communication between the virtual machines housed in Azure and the on-premise systems. <br> <br> In order to host the virtual machines, Sam needs to construct the subnet for the Azure virtual network. <br> <br> Which of the following address space should Sam assign for the subnet in the Virtual Network?
- 192.168.0.0/24 (Correct answer)
- 192.168.1.0/28
- 186.16.0.0/16
- 186.16.1.0/28
Correct answer: 192.168.0.0/24
For a site-to-site VPN connection, the Azure Virtual Network and its subnets must have an IP address space that does not overlap with the on-premises network. The on-premises network uses 186.16.0.0/16, so options A and B are invalid due to overlap. Options C and D use the private 192.168.x.x range, which avoids conflict. To host 20 virtual machines, a /24 subnet (e.g., 192.168.0.0/24) provides 251 usable IP addresses, which is sufficient. A /28 subnet would only provide 11 usable IPs, which is not enough for 20 VMs.
Question 59: You need to create interactive, shareable visual reports that combine Azure Monitor metrics, logs, and Azure Resource Graph data in a single view. Which feature should you use?
- Azure Metrics Explorer
- Azure Monitor dashboards
- Power BI Embedded reports
- Azure Monitor workbooks (Correct answer)
Correct answer: Azure Monitor workbooks
Azure Monitor workbooks provide a flexible, interactive canvas that can combine data from multiple sources—metrics, logs, Azure Resource Graph—into parameterized reports for sharing.
Question 60: You need to grant a third-party application temporary read access to specific blobs in a private storage container without exposing the account key. Which mechanism should you use?
- Azure AD managed identity
- Shared Access Signature (SAS) token with limited permissions and expiry (Correct answer)
- Azure Storage account key
- Storage account public access level
Correct answer: Shared Access Signature (SAS) token with limited permissions and expiry
A SAS token can be scoped to specific containers or blobs, limited to read permissions, and set to expire at a specific time, providing secure temporary access.
Question 61: Your organization runs a legacy application that uses LDAP for authentication. You want to migrate it to Azure without rewriting the app. Which service should you use?
- Azure AD Connect
- Azure AD External Identities
- Azure Active Directory Domain Services (Azure AD DS) (Correct answer)
- Azure AD B2C
Correct answer: Azure Active Directory Domain Services (Azure AD DS)
Azure AD DS provides managed domain services including LDAP, Kerberos, and NTLM so legacy apps can authenticate without code changes.
Question 62: You need to capture network packet-level traffic to and from a VM's NIC for forensic security analysis. Which Azure Network Watcher feature should you use?
- IP flow verify
- Connection monitor
- Packet capture (Correct answer)
- NSG flow logs
Correct answer: Packet capture
Packet capture in Azure Network Watcher records raw network packets to and from a VM's NIC, stored in Azure Storage or the VM's disk for detailed forensic analysis.
Question 63: Which Azure Cosmos DB feature provides continuous backup and allows you to restore your database to any point in the past 30 days?
- Manual backup export to Storage Account
- Multi-region writes with regional failover
- Continuous backup mode with point-in-time restore (PITR) (Correct answer)
- Geo-redundant backup with 4-hour snapshot intervals
Correct answer: Continuous backup mode with point-in-time restore (PITR)
Cosmos DB Continuous backup mode captures changes continuously allowing point-in-time restore to any second within the past 30 days.
Question 64: You need Azure Functions to run within your VNet to access private resources, with no cold starts and pre-warmed instances. Which plan should you choose?
- Consumption Plan
- Premium Plan (Correct answer)
- Dedicated App Service Plan with Always On
- Docker container on ACI
Correct answer: Premium Plan
Azure Functions Premium Plan supports VNet integration, pre-warmed instances to eliminate cold starts, and unlimited execution duration.
Question 65: Several virtual machines are deployed by your business both on-premises and on Azure. ExpressRoute is installed and set up for connectivity from on-premises to Azure. <br> <br> There are problems with network connectivity on certain virtual computers. <br> <br> To determine whether packets from Azure to the virtual machines are being accepted or prohibited, you must study the network traffic. <br> <br> Solution: Install and configure the Azure Monitoring agent and the Dependency Agent on all the virtual machines. Use VM insights in Azure Monitor to analyze the network traffic. <br> <br> Does this meet the goal?
- No (Correct answer)
- Yes
Correct answer: No
The proposed solution using Azure Monitoring agent and Dependency Agent with VM insights primarily focuses on VM performance, health, and dependency mapping, not detailed network packet flow analysis. To determine if packets are being accepted or prohibited and to study network traffic for connectivity issues, Azure Network Watcher is the appropriate service. Network Watcher's NSG flow logs and IP flow verify features are specifically designed to analyze network security group rules and packet flow, providing the necessary insights into network traffic acceptance or denial.
Designing Microsoft Azure Infrastructure Solutions (AZ-305)
The AZ-305 exam validates expertise in designing cloud and hybrid Azure solutions, covering identity and governance, data storage, business continuity, and infrastructure design. It is required for the Microsoft Certified: Azure Solutions Architect Expert certification.
Exam Rules
- You can skip questions and return to them later
- Flag questions for review before submitting
- No feedback shown until you submit the entire exam
- Unanswered questions count as wrong — answer everything
- 10 pretest questions are mixed in and don't affect your score
- Timer auto-submits when time runs out
- Your progress is auto-saved every 30 seconds
Practice questions written with AI assistance and published by Nathan Beja, founder of Practice Test Geeks. They are not real exam questions. Exam facts are checked against the official sources linked below. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- learn.microsoft.com — Score validity, renewal, eligibility, test delivery, retake fee, passing score, score release, time limit, exam information · verified Nov 2026