Free AZ-305 practice test

20 questions for the Azure Solutions Architect Expert (AZ-305) exam, taken from our 59-question bank and spread across its 4domains by their weighting. No sign-up needed: pick an answer to check it, or open “Show answer & explanation” under any question.

What this test covers

Question 1 · Design identity, governance, and monitoring solutions

An architect must design authorization so a support team can restart VMs in one resource group but cannot modify networking or delete resources. Which approach follows least privilege?

Show answer & explanation

Correct answer: D

  • D. Assign a built-in role scoped to VM operations (e.g., Virtual Machine Contributor) at that resource group

Least privilege means the narrowest role at the narrowest scope: a VM-focused role at the specific resource group grants restart without networking or delete rights across everything. Owner at subscription (C) and Contributor at management group (A) grant far too much, and sharing an admin account (B) destroys accountability.

Question 2 · Design identity, governance, and monitoring solutions

A regulated workload requires that resource configurations are continuously assessed against a compliance standard, with non-compliant resources reported and, where possible, automatically remediated. Which solution should the architect design?

Show answer & explanation

Correct answer: C

  • C. Azure Policy with initiatives (policy sets) and remediation tasks

Azure Policy — grouped into initiatives mapped to a compliance standard — continuously audits resources, reports compliance, and can auto-remediate via remediation tasks. Manual spreadsheets (D) don't scale or continuously assess, resource locks (A) only prevent changes, and Conditional Access (B) governs sign-in, not resource configuration.

Question 3 · Design identity, governance, and monitoring solutions

A hybrid organization wants users to sign in to both on-premises AD and Azure/Microsoft 365 with the same credentials, and to fail over authentication to the cloud if the on-premises servers are unavailable. Which authentication design BEST meets this?

Show answer & explanation

Correct answer: D

  • D. Microsoft Entra ID with Password Hash Synchronization (hybrid identity)

Password hash synchronization (via Microsoft Entra Connect) provides hybrid identity with the same credentials across on-premises and cloud, and can authenticate in the cloud even if on-premises AD is down. Cloud-only (C) and separate passwords (A) break single-credential sign-in, and disabling sync (B) removes hybrid identity entirely.

Question 4 · Design identity, governance, and monitoring solutions

Privileged administrators should receive their elevated roles only for a limited, approved time window with just-in-time activation and approval, rather than holding standing access. Which Microsoft Entra capability should the design use?

Show answer & explanation

Correct answer: B

  • B. Microsoft Entra Privileged Identity Management (PIM)

PIM provides just-in-time, time-bound, approval-based activation of privileged roles, reducing standing access and its risk. Standing Owner assignments (C) are the anti-pattern PIM eliminates. Conditional Access (D) governs sign-in, not role activation. Azure Policy (A) governs resource configuration, not privileged access.

Question 5 · Design identity, governance, and monitoring solutions

A design requires that even subscription Owners cannot accidentally delete a critical production resource group, while still allowing configuration changes. Combined with RBAC, what should the architect add?

Show answer & explanation

Correct answer: A

  • A. A CanNotDelete lock on the resource group

A CanNotDelete lock blocks deletion (even by Owners, until removed) while still permitting modifications — matching the requirement. A ReadOnly lock (B) would block configuration changes too, removing all Owners (C) breaks administration, and denying all writes (D) prevents legitimate changes.

Question 6 · Design data storage solutions

An architect must recommend a storage solution for unstructured video files that balances high durability, internet-accessible delivery, and cost efficiency for petabyte-scale content. Which is the BEST fit?

Show answer & explanation

Correct answer: B

  • B. Azure Blob Storage with appropriate access tiers and redundancy

Blob storage is Azure's object store for large-scale unstructured content, with durability options, tiering for cost, and HTTP access (often paired with a CDN). SQL Database (C) and Table Storage (A) aren't built for petabyte media files, and Redis (D) is an in-memory cache.

Question 7 · Design data storage solutions

A design must protect an Azure SQL Database against accidental data corruption or deletion by allowing restoration to any point within the last several weeks. Which capability provides this?

Show answer & explanation

Correct answer: A

  • A. Point-in-time restore from automated backups

Azure SQL Database automated backups enable point-in-time restore to any moment within the retention period, recovering from corruption or accidental changes. Zone redundancy (B) and read replicas (C) address availability/scale, not point-in-time recovery, and a resource lock (D) prevents deletion of the resource, not data-level recovery.

Question 8 · Design data storage solutions

An application requires a relational database but experiences unpredictable, spiky usage with long idle periods, and the team wants to minimize cost during idle time. Which Azure SQL Database option should the architect recommend?

Show answer & explanation

Correct answer: A

  • A. Serverless compute tier (auto-pause during inactivity)

The Azure SQL Database serverless compute tier auto-scales and can auto-pause during idle periods, billing only for what's used — ideal for spiky, intermittent workloads. A large 24/7 provisioned instance (B) or dedicated VM (C) pays during idle time, and Blob storage (D) isn't relational.

Question 9 · Design data storage solutions

An architect must design a solution to orchestrate ingesting, transforming, and loading data from many on-premises and cloud sources into an analytics store on a schedule. Which Azure service fits BEST?

Show answer & explanation

Correct answer: B

  • B. Azure Data Factory

Azure Data Factory is the managed data-integration/ETL/ELT service for orchestrating ingestion and transformation pipelines across diverse sources. Key Vault (D) stores secrets, Front Door (A) is global HTTP load balancing/CDN, and Bastion (C) provides secure VM access — none is a data-integration orchestrator.

Question 10 · Design data storage solutions

A relational database must scale to handle heavy read traffic for reporting without impacting transactional write performance. Which design should the architect recommend?

Show answer & explanation

Correct answer: D

  • D. Offload reporting queries to read replicas / read scale-out

Read replicas (read scale-out) serve reporting queries from replicas, isolating that load from the primary's transactional writes. Running reports on the primary (B) contends with writes, deleting data (A) loses information, and Blob storage (C) isn't a relational query engine.

Question 11 · Design business continuity solutions

For blob data, a design must ensure the data is readable from a secondary region even while the primary region is available, to serve read traffic and improve resilience. Which redundancy option should the architect recommend?

Show answer & explanation

Correct answer: A

  • A. Read-access geo-redundant storage (RA-GRS) or RA-GZRS

RA-GRS (or RA-GZRS) adds read access to the geo-replicated secondary copy, so applications can read from the secondary region even before a failover. LRS (D) is single-datacenter, ZRS (C) has no secondary region to read from, and no redundancy (B) fails the requirement.

Question 12 · Design business continuity solutions

A business requires that if the primary Azure region fails, VM-based workloads resume in a secondary region within 2 hours (RTO) with at most 15 minutes of data loss (RPO). Which service should the architect recommend for orchestrated failover?

Show answer & explanation

Correct answer: A

  • A. Azure Site Recovery (replicating VMs to a secondary region)

Azure Site Recovery continuously replicates VMs to a secondary region and orchestrates failover, meeting cross-region RTO/RPO objectives. Weekly Azure Backup (B) can't meet a 15-minute RPO, availability zones (C) don't protect against a full regional failure, and a resource lock (D) is unrelated to DR.

Question 13 · Design business continuity solutions

An architect must design for both high availability AND disaster recovery for a tier-1 application. Which combination BEST reflects sound design?

Show answer & explanation

Correct answer: A

  • A. Availability zones for in-region HA plus cross-region replication/failover for DR

Robust tier-1 design layers in-region HA (availability zones) with cross-region DR (replication/failover) to handle both datacenter and regional failures. A single zone with backups (B) lacks HA and fast DR, cross-region only (C) leaves in-region failures to full failover, and a lock (D) addresses neither HA nor DR.

Question 14 · Design business continuity solutions

A design must minimize RPO for a critical database to near-zero. Which approach BEST achieves this?

Show answer & explanation

Correct answer: D

  • D. Synchronous replication (e.g., zone-redundant/Business Critical) so committed transactions exist in more than one copy

Synchronous replication ensures each committed transaction is written to multiple replicas before acknowledging, giving near-zero RPO. Nightly backups (C) risk up to a day of loss, weekly exports (A) risk a week, and no replication (B) offers no recovery point beyond the last backup.

Question 15 · Design infrastructure solutions

An architect must recommend a regional layer-7 load balancer that provides URL path-based routing, SSL offload, and a web application firewall for a web app hosted on Azure VMs/AKS. Which service fits BEST?

Show answer & explanation

Correct answer: C

  • C. Azure Application Gateway (with WAF)

Azure Application Gateway is a regional layer-7 (HTTP/HTTPS) load balancer offering path-based routing, SSL offload, and integrated WAF. Load Balancer (B) is layer 4, Traffic Manager (D) is DNS-based global routing (no per-request layer-7 features or WAF), and Bastion (A) is VM access.

Question 16 · Design infrastructure solutions

A design must ingest millions of telemetry events per second from IoT devices for real-time analytics. Which Azure service is purpose-built for high-throughput event streaming ingestion?

Show answer & explanation

Correct answer: B

  • B. Azure Event Hubs

Azure Event Hubs is a big-data streaming ingestion service handling millions of events per second for real-time pipelines. Service Bus queues (D) target enterprise messaging at lower throughput per entity, Azure Files (C) is a file share, and SQL Database (A) is relational — neither is a high-volume event stream ingestor.

Question 17 · Design infrastructure solutions

A reactive, event-driven architecture must route events from many Azure sources (e.g., a blob created) to multiple subscribers with near-real-time delivery and filtering. Which service should the architect recommend?

Show answer & explanation

Correct answer: D

  • D. Azure Event Grid

Azure Event Grid is the managed event-routing service for reactive architectures, delivering discrete events from sources to subscribers with filtering. Service Bus (B) is messaging (commands/work items), Data Factory (A) is data orchestration, and Redis (C) is a cache.

Question 18 · Design infrastructure solutions

A hybrid design must connect an on-premises datacenter to Azure with a private, dedicated, high-bandwidth connection that does not traverse the public internet. Which service should the architect recommend?

Show answer & explanation

Correct answer: A

  • A. Azure ExpressRoute

ExpressRoute provides a private, dedicated, high-bandwidth circuit between on-premises and Azure, bypassing the public internet. A site-to-site VPN (B) is encrypted but rides the public internet with variable performance, Front Door (C) is global HTTP load balancing, and DNS (D) resolves names.

Question 19 · Design infrastructure solutions

A global web application needs low-latency, path-based global HTTP load balancing with TLS termination and a web application firewall at the edge. Which Azure service should the architect recommend?

Show answer & explanation

Correct answer: A

  • A. Azure Front Door (with WAF)

Azure Front Door provides global, layer-7 HTTP(S) load balancing with path-based routing, TLS termination, and integrated WAF at the edge. A regional layer-4 Load Balancer (B) doesn't do global HTTP routing or WAF, Bastion (C) is VM access, and Service Bus (D) is messaging.

Question 20 · Design infrastructure solutions

A design must distribute stateless traffic across VMs within a single region at layer 4 (TCP/UDP) with high throughput and low latency. Which service should the architect recommend?

Show answer & explanation

Correct answer: B

  • B. Azure Load Balancer (Standard)

Azure Load Balancer (Standard) provides high-performance regional layer-4 (TCP/UDP) distribution across VMs. Front Door (D) is global layer 7 (HTTP), Application Gateway (A) is a regional layer-7 (HTTP) service (not general TCP), and DNS round-robin (C) lacks health-based, low-latency distribution.

Pick an answer on each question to check it. 20 questions in this test.

39 more AZ-305 questions

Sign up free to start practising, or subscribe (from $4.97/mo) for the full 59-question bank, flashcards.

Azure Solutions Architect Expert course overview and study guides →