AZ-400 exam dumps

AZ-400 practice question 285 of 306

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

AZ-400 Question 285

Select 3

You are a DevOps engineer for an organization that hosts a microservices-based application in Azure. You have an AKS cluster running containerized workloads, several VMs running legacy services, and multiple Azure Storage accounts for data. You need to configure telemetry gathering to monitor container performance, VM usage, and application-level metrics, as well as track storage analytics. You decide to leverage Azure Monitor with Application Insights, VM Insights, Container Insights, and Storage Insights. Which three configuration steps should you implement to gather telemetry in near real-time across all these resources?

  1. A
    1. Create or select a Log Analytics workspace and enable Container Insights for your AKS cluster and VM Insights for your VMs, pointing them to that workspace.
  2. B
    1. Deploy the Azure Monitor agent on each Storage account to capture telemetry events in real-time.
  3. C
    1. Enable the Azure Network Watcher extension on each VM and configure Packet Capture to route container logs to Azure Monitor.
  4. D
    1. Implement Application Insights for your microservices by integrating the relevant SDK or enabling auto-instrumentation, and connect them to your Log Analytics workspace for unified analysis.
  5. E
    1. Configure diagnostic settings on your Storage accounts to send metrics and logs to the Log Analytics workspace, enabling Storage Insights.
Show answer and explanation

Correct answers: A, D, E

Explanation

By leveraging a Log Analytics workspace, you can enable VM Insights and Container Insights to collect OS- and container-level telemetry. Application Insights uses instrumentation to capture application performance data, and Storage Insights is enabled through diagnostic settings for each storage account, sending logs and metrics to the same workspace. Following Azure Monitor best practices (https://learn.microsoft.com/azure/azure-monitor/), these steps ensure a centralized, near real-time view of the health and performance of all your Azure resources.

  • A. Correct.

    Option 1 is correct. To use VM Insights and Container Insights, you need a Log Analytics workspace. Configuring both AKS and your VMs to point to this workspace allows Azure Monitor to gather performance data for containers and OS-level metrics from VMs.

  • B. Incorrect.

    Option 2 is incorrect. Azure Storage does not use an agent-based approach for telemetry collection. Instead, you configure diagnostics and metrics at the account level, not by installing a separate agent on the storage resource.

  • C. Incorrect.

    Option 3 is incorrect. Azure Network Watcher with Packet Capture is typically used for network diagnostics, not container log collection. While Network Watcher is valuable for network-level monitoring, it doesn't replace Container Insights for application container telemetry.

  • D. Correct.

    Option 4 is correct. Application Insights can be integrated via SDK or auto-instrumentation for your microservices. This captures application-level telemetry (such as requests, exceptions, dependencies) and can be streamed to the same workspace for consolidated analysis.

  • E. Correct.

    Option 5 is correct. For Storage Insights, you configure diagnostic settings on each Azure Storage account, sending metrics and logs to the Log Analytics workspace. This approach gathers data on transactions, capacity, and other key storage metrics in near real-time.

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