AZ-400 Implement an instrumentation strategy Practice Question
Your team uses Azure DevOps for CI/CD. You need to ensure that every build publishes telemetry to Application Insights, including build duration, test pass rate, and deployment frequency. Which approach should you use?
⚠ Common exam trap
Watch out — candidates often assume Azure DevOps has a built-in 'telemetry publish' command or dashboard that directly sends data to Application Insights, but in reality, you must use the Analytics OData endpoint as an intermediary to extract and forward pipeline telemetry.
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
✓
Use the Azure DevOps Analytics OData endpoint to query pipeline telemetry and send to Application Insights via a release task.
The Azure DevOps Analytics OData endpoint provides a standardized, queryable interface to pipeline telemetry data (build duration, test pass rate, deployment frequency). By using a release task to query this endpoint and forward the data to Application Insights, you can instrument your CI/CD pipeline to send custom telemetry without relying on manual scripting or unsupported commands. This approach aligns with the 'Implement an instrumentation strategy' domain by leveraging Azure DevOps Analytics and Application Insights integration.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Call the Azure DevOps REST API from a custom script in the pipeline to capture telemetry.
Why it's wrong here
While you can use REST APIs to pull pipeline run details, it requires custom code to handle pagination, authentication, and data transformation, and it doesn't provide the pre-aggregated performance metrics that Analytics does. The Analytics OData endpoint is the supported, scalable way to query telemetry.
- ✗
Run the Azure DevOps CLI command 'az devops telemetry publish' in a build task.
Why it's wrong here
The Azure DevOps CLI has commands for managing boards, repos, pipelines, and artifacts, but there is no 'az devops telemetry publish' command. Telemetry ingestion into Application Insights is done via the Application Insights SDK or HTTP API, not through the DevOps CLI.
- ✗
Use the built-in 'Pipeline Telemetry' dashboard in Azure DevOps.
Why it's wrong here
Azure DevOps provides built-in Analytics widgets and dashboards with pre-defined pipeline charts, but there is no dedicated 'Pipeline Telemetry' dashboard that can be customized or exported to Application Insights. You cannot stream raw telemetry to your own monitoring solution from these stock views.
- ✓
Use the Azure DevOps Analytics OData endpoint to query pipeline telemetry and send to Application Insights via a release task.
Why this is correct
The Analytics Service exposes pipeline run, test, and work item data as OData entities, allowing you to run rich queries. You can then use a release pipeline task (e.g., a PowerShell script) to call the OData endpoint, transform the results, and send them to Application Insights using its TrackEvent or TrackMetric APIs for custom monitoring and alerting. This is the recommended integration path.
Visual reference
Go deeper
Related to this question
Learn chapter
Introduction to DevOps and Azure DevOps
Key term
Pipeline
A pipeline is an automated series of steps that takes code from development to production, ensuring quality and speed.
Key term
Azure DevOps
Azure DevOps is a Microsoft service that provides development tools for planning, building, testing, and deploying software applications using automated pipelines and collaboration features.
About these practice questions
This AZ-400 question is part of Courseiva's 823-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 by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.