Microsoft Certified: Azure Solutions Architect ExpertDesign identity, governance, and monitoring solutionsMedium

A global media company uses Azure for its content delivery network (CDN) and streaming services. They need to analyze log data from various Azure resources, including web servers, databases, and network components, to identify performance bottlenecks, security threats, and operational issues. The solution must support custom queries and provide long-term retention. Which Azure service should be used?

  1. AAzure Activity Log
  2. BAzure Monitor Logs (Log Analytics workspace)
  3. CAzure Network Watcher
  4. DAzure Service Health
Show answer & explanation

Correct answer: B. Azure Monitor Logs (Log Analytics workspace)

Azure Monitor Logs, specifically a Log Analytics workspace, is designed for collecting, indexing, and analyzing high volumes of log data from various Azure and non-Azure sources. It supports powerful Kusto Query Language (KQL) for custom queries and offers flexible data retention policies, fulfilling all stated requirements.

Why the other options are wrong

  • A. Azure Activity Log primarily records control plane operations (who did what, when, and where) and has limited data retention for detailed analysis.
  • C. Azure Network Watcher provides tools for monitoring, diagnosing, and viewing metrics and logs for network components, but it's not a general-purpose log analytics solution across all resource types.
  • D. Azure Service Health provides personalized alerts and guidance on Azure service issues and planned maintenance, not detailed resource logs.

Azure Monitor Logs (Log Analytics)

Azure Monitor Logs, powered by a Log Analytics workspace, is a logging service that collects telemetry and other data from a variety of sources and provides a query language and analytics engine.

  • Centralized log collection for Azure resources and hybrid environments.
  • Uses Kusto Query Language (KQL) for powerful data analysis.
  • Offers long-term data retention and integration with other Azure services.

Memory trick: Log Analytics: Your data detective for all Azure's whispers.

More Design identity, governance, and monitoring solutions questions