Monitor Metrics and Logs of Azure Linux Virtual Machine | AZ-300 Exam

Monitor Metrics and Logs of Azure Linux Virtual Machine

Question

You have an Azure subscription named Subscription1. You deploy a Linux virtual machine named VM1 to Subscription1.

You need to monitor the metrics and the logs of VM1.

What should you use?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A

You can use extensions to configure diagnostics on your VMs to collect additional metric data.

The basic host metrics are available, but to see more granular and VM-specific metrics, you need to install the Azure diagnostics extension on the VM. The Azure diagnostics extension allows additional monitoring and diagnostics data to be retrieved from the VM.

https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-monitoring

To monitor the metrics and logs of a Linux virtual machine in Azure, you should use the Linux Diagnostic Extension (LAD) 3.0.

Explanation:

The Linux Diagnostic Extension (LAD) 3.0 is a monitoring agent that collects diagnostic data from a Linux VM running on Azure. It can collect various performance metrics, such as CPU usage, memory usage, disk I/O, and network traffic. It can also collect system logs and custom application logs.

The AzurePerformanceDiagnostics extension is used to collect performance data from Azure virtual machines. It can be used for both Windows and Linux VMs, but it requires additional configuration and setup. It is not the best option for monitoring a single Linux VM.

Azure Analysis Services is a cloud-based analytics service that provides insights into data through data modeling and data visualization. It is not related to monitoring virtual machines.

Azure HDInsight is a fully-managed cloud service that makes it easy to process big data using popular open-source frameworks such as Hadoop, Spark, and Hive. It is not related to monitoring virtual machines.

Therefore, the correct answer is B. Linux Diagnostic Extension (LAD) 3.0.