AZ-104 exam dumps

AZ-104 practice question 261 of 289

Microsoft Certified: Azure Administrator Associate. Associate level, Microsoft. Free question with the correct answer and a full explanation.

AZ-104 Question 261

Single answer

A company is migrating their on-premises environment to Azure and has created multiple Windows and Linux VMs, used Azure Storage accounts to store application data, and configured virtual networks to manage traffic. They want to proactively monitor performance and diagnose potential issues from a centralized location. After enabling Azure Monitor Insights, which of the following actions must be taken to ensure that metrics and logs for all these resources can be viewed in a single pane?

  1. A

    Enable Azure Monitor for all resources at the subscription level with no additional configuration needed

  2. B

    Set up a single Log Analytics workspace, configure diagnostic settings for each resource, and route logs and metrics to that workspace

  3. C

    Install the Azure Diagnostics extension only on Linux VMs; Windows VMs automatically send metrics to Azure Monitor without further configuration

  4. D

    No additional configuration is needed if Resource Health is enabled for each resource group

Show answer and explanation

Correct answer: B

Explanation

To obtain unified visibility into performance metrics and logs for virtual machines, storage accounts, and networks, you must configure diagnostic settings and direct the data to a single Log Analytics workspace. This approach allows Azure Monitor Insights to capture and analyze all telemetry data in one central location.

  • A. Incorrect.

    While Azure Monitor can be enabled at the subscription level, you still need diagnostic settings and log routing for detailed metrics and logs

  • B. Correct.

    Setting up a single Log Analytics workspace and configuring diagnostic settings ensures consistent and centralized gathering of metrics and logs for VMs, storage accounts, and networks

  • C. Incorrect.

    Windows VMs also require diagnostic settings or extensions to be properly configured to collect in-depth telemetry, so this statement is incomplete

  • D. Incorrect.

    Resource Health focuses on availability status rather than comprehensive performance metrics and logs, so additional diagnostic configuration is still required

Timed practice exam

Take a AZ-104 practice test under exam conditions

60 questions in 60 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam