AZ-305 — Designing Azure Infrastructure Solutions practice exam
Solution design for the Azure Solutions Architect Expert: identity, governance and monitoring, data storage, business continuity, and compute, application, migration and network design. The real exam lasts 100 minutes, usually includes case studies, and needs 700/1000 to pass. Microsoft doesn't publish a fixed question count, so our mock uses 50 questions in 100 minutes.
- Questions
- 50
- Time limit
- 100 min
- Pass target
- 70%
Exam topics
- 1.0 Design identity, governance, and monitoring solutions27%
- 2.0 Design data storage solutions22%
- 3.0 Design business continuity solutions17%
- 4.0 Design infrastructure solutions34%
Free AZ-305 sample questions
Try these 5 questions from the practice bank, then show the answer to see the explanation.
1. A company runs 300 virtual machines across 12 subscriptions. The security team wants all VM performance data and Windows event logs collected in one place, so they can query them together with KQL and keep them for 90 days. What should the architect recommend?
- A.A storage account in each subscription, with boot diagnostics turned on for every VM
- B.A central Log Analytics workspace, with data collection rules via the Azure Monitor Agent
- C.Azure Monitor metrics alerts on each VM, with the alert history exported weekly
- D.An Event Hubs namespace per subscription, with the events read by a custom app
Show answer
Correct answer: B. A central Log Analytics workspace, with data collection rules via the Azure Monitor Agent
A Log Analytics workspace is the store behind Azure Monitor Logs. Data in it can be queried with KQL, and retention can be set per workspace or per table.
The Azure Monitor Agent (AMA) collects guest data (performance counters, Windows events, Syslog) according to data collection rules (DCRs). One DCR can be associated with VMs in many subscriptions and send everything to a central workspace.
- Boot diagnostics captures the console output and screenshot, not event logs.
- Metric alerts notify you about thresholds; they aren't a log store.
- Event Hubs is for streaming data out to other systems, such as a third-party SIEM, not for querying.
2. A company is moving a SQL Server workload to Azure. The app uses SQL Server Agent jobs, cross-database queries and CLR, and the company wants a PaaS service with minimal code changes. Which service should the architect recommend?
- A.Azure Cosmos DB for NoSQL with the session consistency level
- B.Azure Database for PostgreSQL flexible server in General Purpose
- C.Azure SQL Database single database in the serverless tier
- D.Azure SQL Managed Instance
Show answer
Correct answer: D. Azure SQL Managed Instance
Azure SQL Managed Instance offers near-100% compatibility with the SQL Server engine as a PaaS service. It supports instance-level features such as SQL Server Agent, cross-database queries, CLR, Database Mail and Service Broker.
Need Choice Modern cloud app, one database Azure SQL Database Lift and shift with instance features SQL Managed Instance Full OS control or unsupported features SQL Server on Azure VMs Azure SQL Database lacks SQL Agent and cross-database queries, and Cosmos DB or PostgreSQL would need a rewrite.
3. Critical VMs in UK South must be recoverable in UK West after a regional outage, with an RPO of a few minutes and an RTO under one hour. Failover should be orchestrated, with VMs started in a defined order. What should the architect recommend?
- A.Availability sets in UK South spread across fault domains
- B.Azure Backup with daily backups copied to a vault in UK West
- C.A nightly script that copies the VMs' managed disks across
- D.Azure Site Recovery replication to UK West with recovery plans
Show answer
Correct answer: D. Azure Site Recovery replication to UK West with recovery plans
Azure Site Recovery (ASR) replicates VMs continuously to a secondary region, giving RPOs measured in minutes or less.
Recovery plans group machines, set the start-up order and run scripts or Automation runbooks during failover, which keeps RTO low. You can run test failovers without affecting production.
- Daily backups give an RPO of up to 24 hours, and restoring takes longer.
- Availability sets protect against rack failures in one datacentre, not a regional outage.
4. A web front end runs on identical VMs. Load varies a lot during the day, and the company wants VMs added and removed automatically based on CPU, spread across availability zones. What should the architect recommend?
- A.Virtual Machine Scale Sets with autoscale rules, across zones
- B.An availability set with a fixed number of six identical VMs
- C.Single VMs, resized by hand at the start of each busy period
- D.Azure Dedicated Host with one large VM per physical server
Show answer
Correct answer: A. Virtual Machine Scale Sets with autoscale rules, across zones
Virtual Machine Scale Sets manage a group of load-balanced VMs. Autoscale rules add or remove instances based on metrics such as CPU or on a schedule, and instances can be spread across availability zones.
Flexible orchestration mode is recommended for new deployments.
Resizing manually is slow and causes downtime, Dedicated Host is about physical isolation, and a fixed availability set doesn't scale.
5. Azure activity logs and resource logs from all subscriptions must be sent to the company's third-party SIEM, which can read from a streaming endpoint in near real time. Which destination should the diagnostic settings use?
- A.A storage account with an immutability policy applied
- B.An Azure Monitor action group that emails the SIEM
- C.A Log Analytics workspace with the Basic logs plan
- D.An Azure Event Hubs namespace read by the SIEM
Show answer
Correct answer: D. An Azure Event Hubs namespace read by the SIEM
Diagnostic settings can route platform logs to three kinds of destination:
Destination Best for Log Analytics workspace Querying with KQL, alerts, workbooks Storage account Cheap long-term archive and audit Event Hubs Streaming to external tools such as a third-party SIEM Most SIEMs have an Event Hubs connector, so the logs arrive in near real time. Action groups send notifications for alerts; they don't forward log streams.
Want the other 45 questions? Try AZ-305 free for 7 days
Full-length timed mock exams in exam or practice mode, with a hint tab, an explanation for every answer and progress tracking. No credit card needed.