Microsoft Azure Infrastructure and Deployment (legacy) — Question 16

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?

Answer options

Correct answer: C

Explanation

The correct answer is C, the AzurePerformanceDiagnostics extension, which is specifically designed for monitoring performance metrics and logs for Azure virtual machines. Options A and D do not focus on the specific needs for monitoring VM metrics and logs, and option B is unrelated to virtual machine monitoring.