Microsoft Azure Architect Technologies (2020, legacy) — Question 5

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: D

Explanation

The AzurePerformanceDiagnostics extension is specifically designed to collect performance metrics and diagnostics logs for Azure virtual machines, making it the correct choice for monitoring VM1. The other options, such as Azure HDInsight and Azure Analysis Services, serve different purposes related to data processing and analytics rather than direct VM monitoring.