exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 4 question 9 discussion

Actual exam question from Microsoft's AZ-300
Question #: 9
Topic #: 4
[All AZ-300 Questions]

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?

  • A. the AzurePerformanceDiagnostics extension
  • B. Linux Diagnostic Extension (LAD) 3.0
  • C. Azure Analysis Services
  • D. Azure HDInsight
Show Suggested Answer Hide Answer
Suggested Answer: 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.
References:
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-monitoring

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Jt909
Highly Voted 5 years, 6 months ago
to me it's B Linux Diagnostic Extension LAD 3.0 - source https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux
upvoted 48 times
JatinA
5 years, 6 months ago
Yes, it appears to be B.
upvoted 9 times
tartar
4 years, 9 months ago
B is ok
upvoted 1 times
...
...
praveen97
4 years, 11 months ago
I see both A and B are correct. I have tried installing Performance Diagnostics in my Linux VM and I am able to install it successfully. Also, as per the below article, Performance Diagnostics supports both Windows VM and Linux VM's. https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/performance-diagnostics#supported-operating-systems
upvoted 2 times
...
...
d9753250
Highly Voted 5 years, 5 months ago
Yes B, A only works on Windows computers.
upvoted 6 times
tubadc
5 years, 5 months ago
it works for linux too https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/performance-diagnostics
upvoted 5 times
tubadc
5 years, 5 months ago
maybe you are right it's confusing, the extension is only for windows https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/performance-diagnostics-vm-extension but the Azure performance diagnostic service works in most VMs, so probably is B
upvoted 1 times
...
lalaala
5 years, 4 months ago
lol. no it doesn't.. https://docs.microsoft.com/en-us/azure/azure-monitor/platform/diagnostics-extension-overview?toc=/azure/virtual-machines/extensions/toc.json, https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux
upvoted 1 times
...
...
...
azurecert2021
Most Recent 4 years, 5 months ago
B is correct Azure Performance Diagnostics VM Extension helps collect performance diagnostic data from Windows VMs. The extension performs analysis, and provides a report of findings and recommendations to identify and resolve performance issues on the virtual machine. This extension installs a troubleshooting tool called PerfInsights. whereas Linux diagnostics extension (LAD) Data Source Description Syslog Events sent to the Linux event logging system. Performance counters Numerical values measuring performance of different aspects of operating system and workloads. Log files Entries sent to a file based log. LAD writes data to tables in Azure Storage. It supports the sinks in the following table. Event hubs :- Use Azure Event Hubs to send data outside of Azure. Azure Storage blobs:- Write to data to blobs in Azure Storage in addition to tables. Azure Monitor Metrics:- Install the Telegraf agent in addition to LAD. See Collect custom metrics for a Linux VM with the InfluxData Telegraf agent.
upvoted 1 times
...
azurehunter
4 years, 7 months ago
Correct answer is B. A is incorrect. The "Azure Performance Diagnostics" extension is part of Performance Diagnostics tool, and it is only for Windows; for Linux, the tool "PerfInsights" is used to run on Linux VM once to collect the metrics. The most important point is that the performance diagnostics tool is used to run once to collect the statistics, not for continuous monitoring.
upvoted 1 times
...
BOC
4 years, 9 months ago
B is correct for LINUX VM - Linux Diagnostic Extension LAD 3.0
upvoted 1 times
...
studdent
4 years, 9 months ago
i had this question on az-104. i hope to not see it again. the extension is not clearly defined
upvoted 1 times
...
SStar
4 years, 9 months ago
Friends,What is the right answer .Option A or Option B
upvoted 1 times
...
Kamal_SriLanka
4 years, 10 months ago
B is the Right Answer A is only for Windows.
upvoted 1 times
...
macco455
4 years, 10 months ago
A&B will work. But I would go with B since its designed for Linux specifically.
upvoted 1 times
...
ercank
4 years, 10 months ago
It is B. When I look at the deployment templates of Linux and Windows Diagnostic extension: - Linux: "publisher": "Microsoft.Azure.Diagnostics", "type": "LinuxDiagnostic", -Windows:"publisher": "Microsoft.Azure.Performance.Diagnostics", "type": "AzurePerformanceDiagnostics", so this is definetly B because AzurePerformanceDiagnostics is only for Windows
upvoted 3 times
...
poohtt
4 years, 11 months ago
Both A and B are correct. Azure Diagnostics extension for Windows is WAD, for Linux is LAD. I have some concerns about B, because it contains specific version 3.0
upvoted 1 times
...
CristianoRosa
4 years, 11 months ago
You can use Linux Diagnostic Extension to monitor metrics and logs: https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux However you can also use Performance diagnostics to collect logs and metrics (CPU, disk space, or memory) and it suports Linux as well: https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/performance-diagnostics So for me options A and B, both are correct.
upvoted 1 times
...
CristianoRosa
4 years, 11 months ago
You can use Linux Diagnostic Extension to monitor metrics and logs: https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux However you can also use Performance diagnostics to collect logs and metrics (CPU, disk space, or memory) and it suports Linuxa as well: https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/performance-diagnostics So for me options A and B, both are correct.
upvoted 1 times
...
gboyega
4 years, 11 months ago
B is the correct Answer
upvoted 4 times
...
DeveshSolanki
4 years, 11 months ago
ANS-B. Linux Diagnostic Extension (LAD) 3.0
upvoted 2 times
...
[Removed]
4 years, 11 months ago
The question is asking on how to collect the _log_ data of the linux VM. I think the question refers to the logs collected by the syslogd running on the VM. To collect this kind of data one would require the "Log Analytics agent" installed on the machine. Maybe the question is just outdated? https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-sources-syslog
upvoted 1 times
...
ArulLivingston
5 years ago
AzurePerformanceDiagnostics extension is for Windows. https://docs.microsoft.com/en-us/azure/azure-monitor/platform/diagnostics-extension-overview. Questions is for Linux so Answer should be B https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux
upvoted 3 times
denkes
5 years ago
Agree, Version 3.0 is also mentioned on ArulLivingston's provided Link. There are different "extensions" available. WAD - Windows diagnostics extension LAD - Linux diagnostics extension Windows extension: https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/features-windows Linux extension: https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/features-linux
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...