Microsoft Azure Architect Design (AZ-301) Practice Exam

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

Prepare for the Microsoft Azure Architect Design (AZ-301) Exam with interactive quizzes featuring flashcards and multiple-choice questions, each packed with hints and explanations to ace your certification test!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which solution is recommended to save event logs from Azure virtual machines?

  1. Azure VM Diagnostics Extension

  2. Azure Monitor

  3. Azure Log Analytics

  4. Event Log Subscriptions

The correct answer is: Azure VM Diagnostics Extension

The Azure VM Diagnostics Extension is the most suitable solution for saving event logs from Azure virtual machines. This extension is specifically designed to provide monitoring capabilities for virtual machines, allowing you to collect diagnostic data such as performance counters, event logs, and crash dumps. By using the VM Diagnostics Extension, you can gather critical logs directly from the virtual machine, which include information about the operating system and applications. This data can then be sent to Azure Storage or Azure Monitor, enabling administrators to analyze performance and diagnose issues effectively. This solution is particularly beneficial for scenarios where detailed control and specific data collection from the virtual machine environment is required. It seamlessly integrates with Azure services and offers flexibility for various logging and monitoring needs, making it an essential tool for handling event log data. While the other options provide valuable capabilities, they serve different purposes. Azure Monitor and Azure Log Analytics, for example, are broader platforms for monitoring and analyzing data across Azure resources but depend on tools like the VM Diagnostics Extension to gather specific logs from VMs. Event Log Subscriptions are useful for collecting logs from multiple Windows machines but do not directly integrate with Azure as seamlessly for virtual machines as the Azure VM Diagnostics Extension does.