AZ-400 exam dumps

AZ-400 practice question 283 of 306

Designing and Implementing Microsoft DevOps Solutions. Professional level, Microsoft. Free question with the correct answer and a full explanation.

AZ-400 Question 283

Single answer

You are tasked with configuring telemetry for a microservices application deployed across multiple Azure resources. One microservice runs in an Azure Kubernetes Service (AKS) cluster, a legacy component runs on a standalone Azure Virtual Machine (VM), and the application uses Azure Storage for logs and data. You need to collect real-time performance metrics, container health, and storage insights in a unified Azure Monitor workspace with minimal overhead. Which of the following approaches should you implement?

  1. A

    Use only Container Insights for the AKS cluster and rely on default Azure Monitor metrics for both the VM and Azure Storage.

  2. B

    Enable Container Insights for the AKS cluster, VM Insights for the VM, Storage Insights for the Azure Storage accounts, and Application Insights for application-level telemetry in the containerized microservice.

  3. C

    Use VM Insights as the single monitoring solution for all resources and configure custom log ingestion from Azure Storage.

  4. D

    Set up a single Azure Monitor Log Analytics workspace without Container Insights or VM Insights, relying solely on custom log queries for real-time telemetry.

Show answer and explanation

Correct answer: B

Explanation

Azure Monitor offers specialized capabilities for different resource types. Container Insights focuses on container-level telemetry within AKS, VM Insights provides detailed performance metrics for virtual machines, and Storage Insights reveals storage capacity and request metrics in Azure Storage. Application Insights, meanwhile, is essential for application code-level telemetry and distributed tracing. By combining these tools, you achieve complete observability across all components. For more details, refer to Microsoft� official documentation on 'Azure Monitor for containers,' 'Azure Monitor for VMs,' and 'Azure Monitor for Storage,' as well as 'Application Insights' for in-depth application monitoring.

  • A. Incorrect.

    Incorrect: Container Insights will provide container-level metrics, but relying solely on default Azure Monitor metrics for both the VM and Azure Storage is insufficient. VM Insights and Storage Insights are specifically designed to manage in-depth performance and capacity data for VMs and storage resources, respectively.

  • B. Correct.

    Correct: Container Insights is optimal for AKS container telemetry (CPU, memory, container restarts, etc.), VM Insights provides detailed metrics on the standalone VM (CPU utilization, disk usage, etc.), Storage Insights surfaces capacity and request metrics for Azure Storage accounts, and Application Insights adds application-level tracing and performance monitoring within the containerized service. This combination offers comprehensive observability across all resources.

  • C. Incorrect.

    Incorrect: VM Insights alone does not capture container-level telemetry on AKS, nor does it provide built-in storage metrics. Custom logs from Azure Storage is a workaround but can be cumbersome and does not offer the same depth of insights as native storage monitoring capabilities.

  • D. Incorrect.

    Incorrect: While a single Log Analytics workspace can aggregate data, omitting Container Insights and VM Insights means losing out on specialized monitoring for containers and VMs. Relying solely on custom log queries complicates real-time performance monitoring and alerting.

Timed practice exam

Take a AZ-400 practice test under exam conditions

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

Start timed exam