Microsoft Certified: Azure Fundamentals (AZ-900) Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Prepare for the Microsoft Certified: Azure Fundamentals (AZ-900) Practice Exam with our comprehensive quiz. Study with flashcards, multiple choice questions, and detailed explanations to ace your exam!

Practice this question and more.


For which type of data collection do you need to enable diagnostics in Azure Monitor?

  1. Usage of web applications

  2. Container workload performance

  3. Linux virtual machine (VM) health

  4. Event logs

The correct answer is: Event logs

Enabling diagnostics in Azure Monitor is essential for collecting detailed telemetry and performance data from various Azure resources. Specifically for event logs, diagnostics provide the ability to capture system and application events, including errors, warnings, and other significant occurrences that may impact the health or performance of services. When diagnostics are enabled for event logs, information can be streamed directly to Azure Monitor, where it can be analyzed to identify issues, monitor compliance, and maintain security. This capability is crucial for administrators and developers who need insights into the functioning of their applications and services running on Azure. While data collection is also relevant for other types, such as the usage metrics of web applications and performance metrics from container workloads or virtual machine health, those typically gather data through different diagnostic settings that focus on various performance indicators, metrics, or usage analytics rather than specifically event logging. Therefore, diagnostics are particularly vital for event logs, as they encapsulate detailed records that allow for deeper analysis of incidents and operational events.