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?
Correct Answer: B
The Linux diagnostic extension helps a user monitor the health of a Linux VM running on Microsoft Azure. It has the following collection and capabilities:
- Metrics
- Syslog
- Files
A: Azure HDInsight is a managed, full-spectrum, open-source analytics service in the cloud for enterprises. You can use open-source frameworks such as Hadoop, Apache Spark, Apache Hive, LLAP, Apache Kafka, Apache Storm, R, and more.
C: Azure Performance Diagnostics VM Extension is used for Windows VM only.
D: Azure Analysis Services is a fully managed platform as a service (PaaS) that provides enterprise-grade data models in the cloud.
Not correct. Answer is B. it is linux server accordingly Linux Diagnostic Extension should be used which download the Diagnostic Extension (LAD) agent on Linux server.
Cool, but probably there is a trick with LAD version?
Question refers to LAD 3.0, However this article refers to v 4.0 version.
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux?tabs=azcli
no. It's actually in the link you provided, "Important
For information about version 3.x, see Use the Linux diagnostic extension 3.0 to monitor metrics and logs. For information about version 2.3 and earlier, see Monitor the performance and diagnostic data of a Linux VM."
so LAD version doesn't matter.
B is the right answer!
To monitor the metrics and logs of a Linux virtual machine in Azure, you can use the Linux Diagnostic Extension (LAD) 3.0. Therefore, the correct answer is:
B. Linux Diagnostic Extension (LAD) 3.0
LAD is a solution provided by Microsoft to collect diagnostic data, logs, and metrics from Linux virtual machines running in Azure. LAD can be used to monitor key performance indicators (KPIs) such as CPU, memory, and disk usage, as well as collect system logs and custom logs.
Option A, Azure HDInsight, is a cloud-based service that provides Apache Hadoop and Spark clusters for big data processing. Option C, the AzurePerformanceDiagnostics extension, is not a valid Azure service or feature. Option D, Azure Analysis Services, is a PaaS offering that provides enterprise-grade analytics and BI services in the cloud. It is not designed for monitoring Linux virtual machines.
Answer B: Here's why...
Some of the feature in "the AzurePerformanceDiagnostics extension" do not work for Linux VMs: (https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/performance-diagnostics#select-an-analysis-scenario-to-run)
Where as the "Linux Diagnostic Extension (LAD) 3.0" doc mentions the question's two requirements Metrics and Logs in the first two sentances of the intoduction of this article:
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux-v3
I Luv Honey Because it is B
For sure B
the Linux diagnostic extension helps a user monitor the health of a Linux VM running on Microsoft Azure, In summary is used to monitor metrics and logs of Linux VM. It has the following collection and capabilities:
New in LAD 4.0
This extension works with both Azure deployment models (Azure Resource Manager and classic).
You can enable this extension for your VM and virtual machine scale set by using the Azure PowerShell cmdlets, Azure CLI scripts, Azure Resource Manager templates (ARM templates), or the Azure portal.
Answer B: Here's why...
Some of the feature in "the AzurePerformanceDiagnostics extension" do not work for Linux VMs: (https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/performance-diagnostics#select-an-analysis-scenario-to-run)
Where as the "Linux Diagnostic Extension (LAD) 3.0" doc mentions the question's two requirements Metrics and Logs in the first two sentances of the intoduction of this article:
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux-v3
Use the Linux diagnostic extension 4.0 to monitor metrics and logs:
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux?tabs=azcli
Azure Performance Diagnostics VM Extension is for Windows:
https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/performance-diagnostics-vm-extension
Important
For information about version 3.x, see Use the Linux diagnostic extension 3.0 to monitor metrics and logs. For information about version 2.3 and earlier, see Monitor the performance and diagnostic data of a Linux VM.
Ref: https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux?tabs=azcli
Azure Diagnostics extension overview
https://docs.microsoft.com/en-us/azure/azure-monitor/agents/diagnostics-extension-overview
Answer is B but question is outdated :
https://docs.microsoft.com/en-us/azure/azure-monitor/agents/agents-overview
Azure Monitor recently launched a new agent, the Azure Monitor agent, that provides all capabilities necessary to collect guest operating system monitoring data. While there are multiple legacy agents that exist due to the consolidation of Azure Monitor and Log Analytics, each with their unique capabilities with some overlap, we recommend that you use the new agent that aims to consolidate features from all existing agents, and provide additional benefits. Learn More
The Azure Monitor agent is meant to replace the Log Analytics agent, Azure Diagnostic extension and Telegraf agent for both Windows and Linux machines.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
mlantonis
Highly Voted 3 years, 9 months agofedztedz
Highly Voted 4 years, 3 months agoRRRSSS
3 years, 8 months agojimmyli
3 years, 7 months agoSanin
3 years, 9 months ago[Removed]
Most Recent 5 months, 4 weeks agotashakori
11 months, 3 weeks agoMazinger
2 years agokenneth12
2 years, 3 months agoEmnCours
2 years, 6 months agoNotMeAnyWay
2 years, 7 months agoLazylinux
2 years, 8 months agomanalshowaei
2 years, 8 months agoAzurefox79
2 years, 9 months agoNotMeAnyWay
2 years, 7 months agoMikeyNg756
2 years, 10 months agoalbergd
2 years, 12 months agoG_unit_19
3 years agoEleChie
3 years, 1 month agonever4baby777
3 years, 1 month agoJuli98
3 years, 1 month agoMozbius_
3 years ago