- A
Azure Monitor
Why wrong: Azure Monitor provides monitoring but does not enforce log collection across subscriptions.
- B
Microsoft Sentinel
Why wrong: Sentinel uses Log Analytics but is a SIEM, not a routing mechanism.
- C
Azure Policy
Azure Policy can enforce diagnostic settings to send logs to a central Log Analytics workspace.
- D
Azure Event Hubs
Why wrong: Event Hubs is for real-time streaming, not for centralized log storage.
Quick Answer
The answer is Azure Policy. This service is correct because it allows you to enforce the deployment of diagnostic settings across all Azure resources in multiple subscriptions, automatically routing security-related logs—such as Activity Logs, resource logs, and audit logs—to a single Log Analytics workspace for centralized log collection. On the AZ-305 exam, this scenario tests your understanding of governance-driven architecture rather than point solutions; a common trap is choosing Azure Monitor or Log Analytics itself, but those are the destinations, not the enforcement mechanism. Azure Policy is the control plane that ensures compliance at scale, making it the right tool when the requirement mandates that no resource can be created without sending logs to the central workspace. Memory tip: think of Azure Policy as the "traffic cop" that forces every resource to report to the same "police station" (Log Analytics workspace) for centralized log collection.
AZ-305 Practice Question: Design identity, governance, and monitoring solutions
This AZ-305 practice question tests your understanding of design identity, governance, and monitoring solutions. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Your company has multiple Azure subscriptions. You need to ensure that all security-related logs from Azure resources are centralized in a single Log Analytics workspace for analysis. Which Azure service should you use to collect and route these logs?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Azure Policy
Azure Policy is correct because it can enforce the deployment of a diagnostic setting on all Azure resources, automatically routing security-related logs (such as Activity Logs, resource logs, and audit logs) to a single Log Analytics workspace. This ensures centralized collection and analysis without manual configuration per resource, meeting the requirement for a governance-driven approach.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Azure Monitor
Why it's wrong here
Azure Monitor provides monitoring but does not enforce log collection across subscriptions.
- ✗
Microsoft Sentinel
Why it's wrong here
Sentinel uses Log Analytics but is a SIEM, not a routing mechanism.
- ✓
Azure Policy
Why this is correct
Azure Policy can enforce diagnostic settings to send logs to a central Log Analytics workspace.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Azure Event Hubs
Why it's wrong here
Event Hubs is for real-time streaming, not for centralized log storage.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse Azure Policy with Azure Monitor or Sentinel, thinking that monitoring or SIEM tools handle log routing, when in fact Azure Policy is the governance tool that enforces the configuration to centralize logs.
Detailed technical explanation
How to think about this question
Under the hood, Azure Policy uses the 'DeployIfNotExists' effect to automatically create diagnostic settings for each resource, specifying the Log Analytics workspace as the destination. This leverages the Azure Resource Manager API to apply settings at scale, ensuring compliance even as new resources are created. In a real-world scenario, this is critical for meeting regulatory requirements like GDPR or SOC 2, where all security logs must be auditable in a single location.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Design identity, governance, and monitoring solutions — study guide chapter
Learn the concepts, then practise the questions
- →
Design identity, governance, and monitoring solutions practice questions
Targeted practice on this topic area only
- →
All AZ-305 questions
999 questions across all exam domains
- →
Microsoft Azure Solutions Architect Expert AZ-305 study guide
Full concept coverage aligned to exam objectives
- →
AZ-305 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related AZ-305 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Design identity, governance, and monitoring solutions practice questions
Practise AZ-305 questions linked to Design identity, governance, and monitoring solutions.
Design data storage solutions practice questions
Practise AZ-305 questions linked to Design data storage solutions.
Design business continuity solutions practice questions
Practise AZ-305 questions linked to Design business continuity solutions.
Design infrastructure solutions practice questions
Practise AZ-305 questions linked to Design infrastructure solutions.
SAA-C03 VPC practice questions
Practise AZ-305 questions linked to SAA-C03 VPC.
SAA-C03 S3 lifecycle policy questions
Practise AZ-305 questions linked to SAA-C03 S3 lifecycle policy questions.
SAA-C03 RDS Multi-AZ questions
Practise AZ-305 questions linked to SAA-C03 RDS Multi-AZ questions.
SAA-C03 IAM policy practice questions
Practise AZ-305 questions linked to SAA-C03 IAM policy.
SAA-C03 Route 53 failover questions
Practise AZ-305 questions linked to SAA-C03 Route 53 failover questions.
SAA-C03 CloudFront practice questions
Practise AZ-305 questions linked to SAA-C03 CloudFront.
SAA-C03 NAT gateway questions
Practise AZ-305 questions linked to SAA-C03 NAT gateway questions.
SAA-C03 VPC endpoint questions
Practise AZ-305 questions linked to SAA-C03 VPC endpoint questions.
Practice this exam
Start a free AZ-305 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this AZ-305 question test?
Design identity, governance, and monitoring solutions — This question tests Design identity, governance, and monitoring solutions — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Azure Policy — Azure Policy is correct because it can enforce the deployment of a diagnostic setting on all Azure resources, automatically routing security-related logs (such as Activity Logs, resource logs, and audit logs) to a single Log Analytics workspace. This ensures centralized collection and analysis without manual configuration per resource, meeting the requirement for a governance-driven approach.
What should I do if I get this AZ-305 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 24, 2026
This AZ-305 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-305 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.