AZ-104 exam dumps

AZ-104 practice question 259 of 289

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

AZ-104 Question 259

Select 2

You are the Azure Administrator for an e-commerce application consisting of multiple Windows and Linux VMs, a single storage account, and an Azure virtual network. You plan to use Azure Monitor Insights to gather and interpret performance metrics from all these resources in a single dashboard. Which two actions must you take to achieve this goal? (Choose two.)

  1. A

    Enable VM insights for each virtual machine and set them to the same Log Analytics workspace

  2. B

    Enable and configure diagnostic settings for your storage account to send logs to the same Log Analytics workspace

  3. C

    Deploy an App Service environment in the same region

  4. D

    Configure the firewall to block outbound ports for all VMs

Show answer and explanation

Correct answers: A, B

Explanation

Azure Monitor Insights uses Log Analytics workspaces to consolidate logs and metrics across multiple resources. By enabling VM insights on each virtual machine and configuring diagnostic settings on the storage account, all relevant telemetry can be directed to the same workspace. This setup provides a unified view of performance and usage information in the Azure Monitor Insights dashboards.

  • A. Correct.

    Enabling VM insights for each virtual machine and directing them to a single Log Analytics workspace ensures that performance metrics and logs can be collected and analyzed centrally in Azure Monitor Insights.

  • B. Correct.

    Enabling diagnostic settings for the storage account to send logs and metrics to the same Log Analytics workspace ensures that you can track storage-related performance metrics in the same location.

  • C. Incorrect.

    Deploying an App Service environment in the same region is unrelated to consolidating monitoring data for existing VMs, storage accounts, or virtual networks.

  • D. Incorrect.

    Blocking outbound ports on all VMs would restrict data flow and prevent effective monitoring data collection.

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