AZ-400 exam dumps

AZ-400 practice question 39 of 306

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

AZ-400 Question 39

Select 2

You are a DevOps engineer for a microservices-based e-commerce platform running on Azure Kubernetes Service (AKS). You need to design and implement a monitoring strategy to track operational metrics such as CPU usage, memory consumption, and response times. You want an end-to-end solution that includes custom metrics, real-time alerting, and querying capabilities for troubleshooting. Which two actions should you take as part of your monitoring design?

  1. A

    Use Kusto Query Language (KQL) in Azure Monitor Logs to create custom metrics that reflect application-specific needs.

  2. B

    Rely exclusively on default out-of-the-box metrics from AKS without configuring additional queries or analytics.

  3. C

    Build a separate continuous integration pipeline solely to capture metrics for each code commit.

  4. D

    Configure Azure Monitor Alerts to automatically notify the team when CPU usage or response times exceed defined thresholds.

Show answer and explanation

Correct answers: A, D

Explanation

In Azure DevOps and Azure Monitor, the recommended approach for robust monitoring involves leveraging both out-of-the-box metrics and custom metrics derived from logs and traces. KQL queries allow you to transform log data into actionable metrics. Configuring alerts in Azure Monitor ensures prompt notifications when thresholds are breached, enabling proactive remediation. For more guidance, consult Microsoft� Azure Monitor documentation on creating custom metrics and alerts.

  • A. Correct.

    Option 1 is CORRECT. Using KQL queries in Azure Monitor Logs to create custom metrics allows you to derive insights from log data that aren�t covered by basic platform metrics alone. This is a recommended approach for fine-tuning your monitoring strategy and tailoring metrics to your specific workload demands.

  • B. Incorrect.

    Option 2 is INCORRECT. Relying only on the default AKS metrics limits visibility into application-specific performance. You need more granular and custom metrics to proactively detect issues and respond quickly.

  • C. Incorrect.

    Option 3 is INCORRECT. While continuous integration pipelines are essential for building and testing code, merely creating a separate pipeline to capture metrics does not fulfill the requirement of designing robust, real-time monitoring strategies. Operational metrics should be captured continuously in production, not just at commit time.

  • D. Correct.

    Option 4 is CORRECT. Azure Monitor Alerts can be configured on specific thresholds to automatically notify the operations team when critical resource utilization or response times exceed acceptable levels, ensuring a prompt response.

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