You create an Azure virtual machine named VM1 in a resource group named RG1.
You discover that VM1 performs slower than expected.
You need to capture a network trace on VM1.
What should you do?
Click on the arrows to vote for the correct answer
A. B. C. D.C
The performance diagnostics tool helps you troubleshoot performance issues that can affect a Windows or Linux virtual machine (VM). Supported troubleshooting scenarios include quick checks on known issues and best practices, and complex problems that involve slow VM performance or high usage of CPU, disk space, or memory.
Advanced performance analysis, included in the performance diagnostics tool, includes all checks in the performance analysis, and collects one or more of the traces, as listed in the following sections. Use this scenario to troubleshoot complex issues that require additional traces. Running this scenario for longer periods will increase the overall size of diagnostics output, depending on the size of the VM and the trace options that are selected.
https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/performance-diagnosticsThe correct answer is A. From the VM1 blade, configure Connection troubleshoot.
Explanation: If you discover that a virtual machine in Azure is performing slower than expected, you may need to capture a network trace to diagnose the root cause. In Azure, you can capture a network trace on a virtual machine using the Connection troubleshoot feature.
To capture a network trace on a virtual machine in Azure, follow these steps:
Option B, configuring performance counters, can be useful for monitoring the performance of a virtual machine, but it will not capture a network trace.
Option C, installing performance diagnostics and running advanced performance analysis, is not necessary to capture a network trace and will not help diagnose network-related issues.
Option D, configuring the log level of the diagnostic agent, is not directly related to capturing a network trace and will not help diagnose network-related issues.