CertLumen

Azure Solutions Architect Expert (AZ-305) · Section 1 · 28% of the exam

Recommend a logging solution

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 security officer must be alerted whenever a user reads a secret from an Azure Key Vault. Which data source provides the evidence?

  1. AKey Vault resource logs (the audit category) sent through a diagnostic setting
  2. BThe subscription activity log, which records operations on the vault resource itself
  3. CAzure Monitor platform metrics for the vault, such as total service API hits and latency
  4. DMicrosoft Entra audit logs
Show the answer

A. Resource logs capture operations on the data plane of a service. For Key Vault, the audit category group records secret, key and certificate access. They are not collected unless a diagnostic setting exists.

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

All 49 objectives · Next objective →