Practice Questions for Microsoft AZ-305: Designing Azure Infrastructure Solutions

These are 18 original, independent Azure architecture scenarios, not live Microsoft exam questions. The Microsoft AZ-305 exam currently follows the English skills guide effective April 17, 2026: identity, governance and monitoring design; data storage; business continuity; and infrastructure. The scenarios emphasize constraints, competing Azure capabilities and evidence that a design could meet the requirement.

Select an answer before reading its rationale. A practical architect must also know why a technically valid alternative would not satisfy the particular application’s required security, performance, recovery or operating model. Review the current AZ-305 blueprint for full objective coverage; these examples are a diagnostic supplement rather than a complete substitute for projects and official documentation.

Design identity, governance and monitoring

Scenario 1: An enterprise operates eight Azure subscriptions

An enterprise operates eight Azure subscriptions. Every new storage account must use an approved region, regardless of which project team deploys it. What is the best enforcement pattern?

  1. Give all project leaders Owner on every subscription
  2. Assign one Azure Policy definition at the appropriate management-group scope
  3. Publish an optional naming convention in a wiki
  4. Create a network security group for each storage account

Correct answer: B. Azure Policy at a suitable inherited management scope can assess and deny noncompliant resource locations. Test a permitted deployment and a deliberately disallowed region. The policy should have an approved exception process for cases that cannot immediately comply.

Why the other options are insufficient: Owner increases privilege but does not ensure compliant resource configuration; a wiki provides guidance without enforcement; NSGs control supported network traffic rather than Azure resource location.

Scenario 2: An App Service application needs to retrieve a certificate from Azure Key Vault

An App Service application needs to retrieve a certificate from Azure Key Vault. The security team prohibits long-lived secrets in application code. Which design most directly meets the requirement?

  1. Copy the vault access key into the application’s source repository
  2. Allow all authenticated tenant users access to the vault
  3. Place the certificate in a public Blob container
  4. Use a system-assigned managed identity with narrowly scoped vault permission

Correct answer: D. A managed identity can let the supported workload authenticate without embedding a reusable application password. Grant only the necessary Key Vault permission and verify the relevant network path. The application should still handle unavailable vault operations safely.

Why the other options are insufficient: A source-embedded key expands credential exposure; tenant-wide vault access violates least privilege; a public blob container is not an acceptable private-certificate store.

Scenario 3: Several Azure resources need management and service logs queried centrally durin

Several Azure resources need management and service logs queried centrally during incidents. Analysts must retain enough event context to correlate resource changes with app failures. What is the appropriate design direction?

  1. Configure relevant diagnostic settings and a central Log Analytics strategy
  2. Use only screenshots of the Azure portal as the audit record
  3. Add CPU-based alerts without collecting the required events
  4. Keep logs exclusively on an analyst’s laptop

Correct answer: A. Choose the logs and metrics required by the incident questions, route supported resource diagnostics into an authorized workspace, and define retention and access. Distinguish Azure Activity Log events from application and data-plane records; all may contribute different evidence.

Why the other options are insufficient: Screenshots do not provide a reliable searchable event trail, CPU alerts alone cannot identify every configuration change, and an individual laptop is not an accountable enterprise observability destination.

Scenario 4: A temporary partner must inspect one Azure project resource but cannot modify un

A temporary partner must inspect one Azure project resource but cannot modify unrelated subscriptions or receive permanent tenant-wide privileges. Which identity and scope pattern is preferable?

  1. A shared global-administrator password supplied by email
  2. Owner at the tenant root for all external contractors
  3. An appropriate external identity with narrowly scoped Azure RBAC and access conditions
  4. Anonymous access to the management endpoint

Correct answer: C. Use a controlled external-identity collaboration model where appropriate and give the partner the least privilege at the required resource or group scope, with suitable sign-in and lifecycle controls. Test both a permitted read and an explicitly prohibited change.

Why the other options are insufficient: Shared global credentials destroy accountability, broad Owner assignments exceed the business task, and anonymous resource management would remove required identity assurance.

Design data storage solutions

Scenario 5: A globally distributed application stores flexible JSON customer preferences, re

A globally distributed application stores flexible JSON customer preferences, requires low-latency reads in multiple regions and does not need relational joins. Which Azure data service is a strong candidate?

  1. Azure Cosmos DB with the appropriate API and regional configuration
  2. An Azure managed disk shared directly with mobile clients
  3. Only a Log Analytics workspace
  4. A queue holding one message per customer forever

Correct answer: A. Cosmos DB can support a document-oriented access pattern and global distribution under a chosen consistency and replication design. Validate partition key, query patterns, regional writes, latency and total cost before settling on the architecture.

Why the other options are insufficient: Managed disks do not provide an application document API, Log Analytics is intended for telemetry, and queues are for messaging rather than durable customer-profile queries.

Scenario 6: A billing application requires relational transactions, SQL queries, constraints

A billing application requires relational transactions, SQL queries, constraints and managed backups. The team wants to reduce guest database server maintenance. Which starting design is most appropriate?

  1. Azure Queue Storage as the transactional database
  2. A static website hosted in Blob Storage
  3. Azure SQL Database with a suitable tier and availability design
  4. A virtual network peer with no database service

Correct answer: C. Azure SQL Database supplies a managed relational service with SQL semantics, transactional capabilities and configurable performance and protection. The architect still needs to select a tier, identity/access policy, recovery objectives and data migration strategy.

Why the other options are insufficient: Queues handle asynchronous messages, static websites cannot enforce billing transactions, and VNet peering is a connectivity feature rather than a database.

Scenario 7: A content website stores thousands of image and PDF objects accessed through app

A content website stores thousands of image and PDF objects accessed through application APIs. It does not require shared SMB file locks. Which option is generally the best fit?

  1. Azure Files strictly because every object is a file
  2. A database audit log as the primary media store
  3. A VM boot disk exposed directly to anonymous users
  4. Blob Storage with suitable access and lifecycle controls

Correct answer: D. Blob Storage is well suited to unstructured object content served through an API or suitable endpoint. Choose tier, access, redundancy and lifecycle according to retrieval patterns and risk, and verify whether objects should be public or protected.

Why the other options are insufficient: Azure Files is more appropriate for specific shared-file semantics; audit logs are not a media store; exposing a VM disk bypasses appropriate object access and application security.

Scenario 8: A company must periodically move data from a private on-premises SQL source into

A company must periodically move data from a private on-premises SQL source into an Azure analytics store using scheduled, monitored transformations. Which integration architecture is appropriate?

  1. A report page bookmark that simulates ingestion
  2. Azure Data Factory with an appropriate self-hosted integration runtime and pipelines
  3. A network security group as the data transformation engine
  4. A static DNS record that copies relational data

Correct answer: B. Data Factory pipelines and an appropriately configured self-hosted integration runtime can orchestrate secure movement from supported on-premises sources. Evaluate source identity, connectivity, schema, retry behavior and monitoring before scheduling regular ingestion.

Why the other options are insufficient: Bookmarks change report presentation; an NSG filters traffic but cannot transform data; DNS maps names and does not perform extraction or loading.

Design business continuity solutions

Scenario 9: A storage workload must remain available after one Azure availability zone is lo

A storage workload must remain available after one Azure availability zone is lost, but the documented failure model does not require another geographic region. Which redundancy option directly addresses this?

  1. Locally redundant storage as a guarantee against zone loss
  2. Blob Archive tier without redundancy planning
  3. A resource tag saying Highly Available
  4. Zone-redundant storage in a region and service that supports it

Correct answer: D. ZRS places data copies across supported availability zones in a region and can address eligible zone-outage requirements. Confirm account type and regional service support, then test the application and its dependencies rather than assume the storage setting alone ensures full service availability.

Why the other options are insufficient: LRS is not an across-zone placement guarantee, archive concerns access economics and retrieval, and metadata tags do not change data redundancy.

Scenario 10: An editor overwrites a contract with incorrect contents, and the organization mu

An editor overwrites a contract with incorrect contents, and the organization must recover the prior known-good version. Geo-replication is already enabled. Which data-protection capability is most relevant?

  1. Increase geo-replication and assume it preserves historical values
  2. Scale out application instances
  3. Appropriate blob versioning or retained recovery points and a tested restore
  4. Add a public IP address to the storage account

Correct answer: C. Logical overwrites can replicate, so historical versions or an applicable retention/recovery mechanism are needed to restore earlier content. Confirm the protection was enabled before the incident, select the correct version, and verify it remains accessible under permitted credentials.

Why the other options are insufficient: More replication may copy the mistake; additional app instances do not restore previous data; a public IP is unrelated and could increase exposure.

Scenario 11: A business operates eligible Azure virtual machines and needs planned disaster r

A business operates eligible Azure virtual machines and needs planned disaster recovery to another region with rehearsable failover and coordinated network changes. What service fits the orchestration need?

  1. A delete lock as the entire disaster recovery plan
  2. Azure Site Recovery with a tested recovery plan and workload dependencies
  3. Only a CPU threshold alert
  4. Changing all VM names to include DR

Correct answer: B. Azure Site Recovery can orchestrate replication and failover for supported workloads, but the design must include networks, application dependencies, recovery time and recovery point targets. Use an authorized test failover and measure actual behavior rather than assume configuration guarantees the objective.

Why the other options are insufficient: Locks help prevent some deletion events, alerts detect selected conditions, and naming conventions do not create replicas or execute recovery.

Scenario 12: An Azure SQL Database application needs a second-region database endpoint and pl

An Azure SQL Database application needs a second-region database endpoint and planned/forced regional failover capability, with stable listener names for clients. Which design is relevant?

  1. Azure SQL Database failover groups with suitable replication and listener design
  2. A local SQL index rebuild as regional disaster recovery
  3. A static storage tier change
  4. An application performance dashboard without any recovery arrangement

Correct answer: A. Failover groups provide a supported way to coordinate geo-replication and endpoint redirection for selected Azure SQL databases. Document that forced failover can entail data loss under asynchronous replication and validate application dependencies and RPO/RTO.

Why the other options are insufficient: Index maintenance is not cross-region continuity, storage tiers do not manage SQL regional replication, and monitoring alone cannot establish the fallback database.

Design infrastructure solutions

Scenario 13: A team runs a supported web application and wants managed OS/runtime hosting wit

A team runs a supported web application and wants managed OS/runtime hosting with straightforward deployment slots rather than guest-level system control. What is a good initial compute choice?

  1. An always-on VM solely because every web app requires root access
  2. A raw managed disk without compute
  3. Azure App Service on a plan supporting the required features
  4. Azure DNS as the application runtime

Correct answer: C. App Service can reduce direct guest operating-system maintenance and offers hosting and deployment features under supported plans. Verify runtime, scale, private networking, identity and dependency requirements before choosing it. A VM remains appropriate if deep guest customization is genuinely needed.

Why the other options are insufficient: A VM increases management when unnecessary; managed disks do not execute web code; DNS resolves names rather than hosting the application.

Scenario 14: An order-processing service must process related steps in order for each individ

An order-processing service must process related steps in order for each individual order, while different orders can proceed concurrently. Which messaging capability is appropriate?

  1. Unrestricted parallel workers with no sequencing identifier
  2. Azure Service Bus sessions with one session ID per order
  3. Blob Archive for messages needing immediate processing
  4. A dashboard tile as the transaction queue

Correct answer: B. Service Bus sessions support ordered handling of related messages while allowing separate order sessions to be processed independently. Implement correct consumer logic, failure settlement and deduplication where necessary, and verify ordering of actual processing—not just enqueue timestamps.

Why the other options are insufficient: Unrestricted parallelism may reorder related work; archive retrieval is inappropriate for an active queue; a dashboard tile is not a message broker.

Scenario 15: An Azure Blob upload should notify an image-processing function shortly after cr

An Azure Blob upload should notify an image-processing function shortly after creation without a polling loop. The producer must not know the processing application’s endpoint contract. Which event pattern is suitable?

  1. Copy the same file to every consumer by manual email
  2. Run an infinite tight loop polling every blob each millisecond
  3. Use a static tag as an event publisher
  4. Event Grid subscription delivering blob-created events to an appropriate handler

Correct answer: D. Event Grid supports pub/sub distribution for supported source events such as Blob Storage changes. The handler should validate incoming events, tolerate duplicates and handle retries because event delivery is not a one-time transactional guarantee.

Why the other options are insufficient: Manual email is not an operational event bus, aggressive polling increases cost and delays, and tags do not dispatch actual lifecycle events.

Scenario 16: A globally used HTTPS application needs edge routing, acceleration and web appli

A globally used HTTPS application needs edge routing, acceleration and web application firewall protection. What Azure service is a strong starting choice?

  1. Azure Front Door with the appropriate routing and WAF configuration
  2. Azure Queue Storage as a global reverse proxy
  3. A local VM hosts file as the only load distribution layer
  4. An isolated SQL database listener

Correct answer: A. Front Door can provide global HTTP/S application delivery and WAF capabilities. The design still needs correct origin protection, certificates, health probes and regional capacity. Verify behavior during an origin outage under controlled conditions.

Why the other options are insufficient: Queues and SQL listeners do not serve global application-layer routing, and a hosts file does not provide enterprise edge protection or failover policy.

Scenario 17: Two offices need reliable private network connectivity to Azure with an organiza

Two offices need reliable private network connectivity to Azure with an organization-approved primary circuit and a different backup path. Which architecture is reasonable?

  1. A storage account lifecycle rule to carry office packets
  2. ExpressRoute for the primary private connection plus a validated site-to-site VPN contingency where supported
  3. Make every Azure service publicly reachable and disable identity checks
  4. Assume a DNS record alone creates a private WAN circuit

Correct answer: B. ExpressRoute can provide dedicated private connectivity under its service model, while a properly designed VPN can provide another route for eligible failure scenarios. Verify BGP routing, failover behavior, DNS, security and expected bandwidth rather than claim automatic uninterrupted service.

Why the other options are insufficient: Lifecycle rules manage stored data, open public services violate the stated private-connectivity requirement, and DNS naming cannot construct an actual network path.

Scenario 18: An organization plans to migrate many on-premises servers and needs dependency d

An organization plans to migrate many on-premises servers and needs dependency discovery, sizing and suitability evidence before deciding between Azure VMs and managed alternatives. What should the architect use first?

  1. Delete all source servers to force use of the cloud
  2. Buy the largest VM size for every workload without measurement
  3. An Azure Migrate discovery and assessment process for supported assets
  4. Create a generic network diagram without collecting resource evidence

Correct answer: C. Azure Migrate and an appropriate assessment process can collect supported inventory, usage and dependency information. Translate those findings into a target architecture, migration waves and tests rather than assume lift-and-shift is always best.

Why the other options are insufficient: Deleting workloads is unsafe, uniform oversizing wastes cost and may miss compatibility, and a diagram without evidence cannot establish migration readiness.

Use scenario errors to improve architecture judgment

Review a mistaken choice by identifying the missing requirement: identity scope, data model, recovery objective, network path or operational ownership. Then change a scenario—for example, require a different RPO, restrict public access or add a source system dependency—and test whether the preferred architecture changes. The Azure architecture decision cases are relevant when an alternative looks attractive but solves a different problem; technical acceptance requires evidence from real requirements rather than memorized service names.

A successful design decision also includes the affected identities, source and destination, cost or service limits, verification and a rollback or recovery path. No question bank can guarantee a result on the live exam, and these new scenarios do not purport to reproduce confidential assessment material.