AI-200 practice question · Secure, Monitor, and Troubleshoot Azure Solutions
A team runs a custom document ingestion pipeline as a containerized job that chunks files, generates embeddings, and…
A team runs a custom document ingestion pipeline as a containerized job that chunks files, generates embeddings, and writes them to a search index. They want dashboards and alerts that show how many documents each run processes, what share of them fail, and how long each document takes to process. What should they do?
- AInstrument the pipeline code with OpenTelemetry counter and histogram instruments exported to Application Insights, then chart and alert on those metrics.
- BConfigure an Application Insights standard availability test that calls the pipeline's endpoint every five minutes and alerts when a response fails.
- CRely on the platform metrics that the hosting service emits automatically, such as CPU and memory usage, to infer document throughput and failures.
- DEnable diagnostic export of the subscription's Azure Activity log and query it for entries recorded for each document the pipeline processes.
Show the answer and explanation
Correct answer: A) Instrument the pipeline code with OpenTelemetry counter and histogram instruments exported to Application Insights, then chart and alert on those metrics.
Business-level health signals such as documents processed, failure rate, and per-document latency must come from custom metrics emitted by the pipeline's own code, for example OpenTelemetry instruments exported to Application Insights. Availability tests, platform metrics, and the Activity log don't capture that application-level detail.
Why each option is right or wrong
- A) Correct. Application-specific measurements require manual instrumentation. Counters can track documents processed and failed, and a histogram can record per-document processing time, which Azure Monitor aggregates into min, max, average, sum, and count. You can then chart these custom metrics and set alerts on them.
- B) Incorrect. An availability test only checks whether an endpoint responds. It can't report how many documents were processed, how many failed, or how long each one took.
- C) Incorrect. Platform metrics describe resource usage, not application-level events. CPU and memory figures can't reliably show per-document counts, failure rates, or processing times.
- D) Incorrect. The Activity log records control-plane operations on Azure resources, such as creating or updating them. It doesn't record the application's own per-document processing.
- Exam domain
- Secure, Monitor, and Troubleshoot Azure Solutions · 25% of AI-200
- Question type
- Multiple choice (one answer)
Related AI-200 questions
- An Azure Cosmos DB for NoSQL account has key-based authentication disabled, and all applications connect by using…Secure, Monitor, and Troubleshoot Azure Solutions
- A company uses Microsoft Entra ID authentication with an Azure AI Content Safety resource.Secure, Monitor, and Troubleshoot Azure Solutions
- During an outage of an AI-enabled application, the on-call engineer must quickly find out whether a specific Azure…Secure, Monitor, and Troubleshoot Azure Solutions
- An API hosted in Azure Container Apps calls an Azure OpenAI resource in Microsoft Foundry.Secure, Monitor, and Troubleshoot Azure Solutions
All 60 free AI-200 questions by domain · 15 sample questions on one page
Practise the full AI-200 exam
This question is one of a small free sample from the CertRidge AI-200 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.