Azure Solutions Architect Expert (AZ-305) · Section 1 · 28% of the exam
Recommend a solution for routing logs
One of the objectives of the Exam AZ-305: Designing Microsoft Azure Infrastructure Solutions exam, in the section “Design identity, governance, and monitoring solutions”. Here is what it covers, the points to remember and a question to try.
What it covers
Azure produces several kinds of logs, and each has its own default retention and collection path. This lesson covers Azure Monitor Logs and Log Analytics workspace design, table plans and retention, and how diagnostic settings, data collection rules and data export route logs to a workspace, a storage account, Event Hubs or a partner SIEM.
Points to remember
- Activity log: control plane, on by default, 90 days, free; export with a diagnostic setting for more.
- Resource logs (data plane) are off by default and need a diagnostic setting; up to 5 settings per resource.
- Destinations: Log Analytics (query, alert), Storage (cheap archive, WORM), Event Hubs (stream to a SIEM), partner solutions.
- Log Analytics table plans: Analytics, Basic, Auxiliary/Lake; total retention up to 12 years per table.
- Analytics interactive retention defaults to 30 days (90 for Sentinel and Application Insights).
Try a question
A company has subsidiaries in the EU and the US. Regulations require EU logs to stay in the EU. The central security team still needs to query everything and the number of workspaces must stay small. What should you recommend?
- AA single workspace in a US region that stores the EU data in Basic tables with restricted access
- BA workspace for every application and subscription, queried together through one dashboard
- COne workspace in an EU region and one in a US region, with cross-workspace queries for the security team
- DA single EU workspace and export US logs to storage in the US
Show the answer
C. Valid reasons to use more than one workspace include data sovereignty. Create one workspace per required geography and query across them when central visibility is needed.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Logging and routing logs teaches this objective (about 40 minutes), and 19 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Recommend a logging solution
- Recommend a monitoring solution
- Recommend an authentication solution
- Recommend an identity management solution
- Recommend a solution for authorizing access to Azure resources
- Recommend a solution for authorizing access to on-premises resources
- Recommend a solution to manage secrets, certificates, and keys
- Recommend a structure for management groups, subscriptions, and resource groups, and a strategy for resource tagging
- Recommend a solution for managing compliance
- Recommend a solution for identity governance