AZ-400 Implement an instrumentation strategy Practice Question
You are designing an instrumentation strategy for a microservices application deployed to Azure Kubernetes Service (AKS) using Azure Pipelines. The application emits custom metrics using OpenTelemetry. You need to ensure that all pipeline-related events (build, release, and test results) are correlated with application telemetry to enable end-to-end traceability. What should you do?
⚠ Common exam trap
The trap is confusing 'co-locating logs' (Option B) with 'correlating telemetry' — without a shared correlation ID propagated into spans, you cannot join pipeline events to application traces.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Set a unique Correlation ID in the pipeline variables and pass it to the application's OpenTelemetry instrumentation as a span attribute.
To correlate pipeline events with application telemetry, you must propagate a shared identifier from the pipeline into the application's telemetry. Setting a unique Correlation ID in pipeline variables and passing it as an OpenTelemetry span attribute (D) lets Application Insights and pipeline logs join on that ID, enabling true end-to-end traceability.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Configure Application Insights to ingest pipeline telemetry via a custom exporter.
Why it's wrong here
Application Insights does not natively ingest Azure Pipelines execution data, and a custom exporter would still require manual mapping of pipeline stages/runs to application spans. This approach fails to provide a reliable correlation mechanism because pipeline telemetry and application telemetry remain in separate schemas without a shared unique context.
- ✗
Store pipeline logs in an Azure Log Analytics workspace and query them together with application metrics.
Why it's wrong here
Storing pipeline logs in a Log Analytics workspace allows centralized querying, but without a shared Correlation ID you cannot deterministically join pipeline logs to application metrics. Queries based on timestamps alone are fragile and cannot reconstruct a single end-to-end transaction across the pipeline and running service.
- ✗
Use Azure Pipelines' Checks feature to enforce deployment gates based on application metrics.
Why it's wrong here
Azure Pipelines Checks are an approval/gating mechanism that can block deployments based on metrics, but they do not establish any linkage between pipeline execution and application telemetry. Using Checks does not add tracing context or a correlation identifier, so it cannot solve the instrumentation strategy.
- ✓
Set a unique Correlation ID in the pipeline variables and pass it to the application's OpenTelemetry instrumentation as a span attribute.
Why this is correct
Setting a unique Correlation ID in pipeline variables and passing it into the application's OpenTelemetry instrumentation as a span attribute creates a shared context for all telemetry emitted during that pipeline run. This allows you to query Application Insights for every span and log associated with a specific build/deployment, enabling end-to-end traceability from pipeline to application.
Visual reference
Go deeper
Related to this question
Learn chapter
Designing a Build Pipeline
Key term
Anthos
Anthos is a Google Cloud platform that lets you run applications consistently across different computing environments, like on-premises data centers and multiple public clouds.
Key term
Telemetry
Telemetry is the automatic collection, transmission, and measurement of data from remote sources to a central system for analysis and monitoring.
About these practice questions
This AZ-400 question is part of Courseiva's 696-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Microsoft exam blueprint
This AZ-400 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-400 exam.