‹ All AI-103 questions

AI-103 Practice Question 5: Agent Tracing Latency

Microsoft Azure AI Apps and Agents Developer Associate (AI-103) · Test 1 · question 5 of 10

Implement generative AI and agentic solutionsmedium

A prompt agent in production has four tools attached, and one of those tools calls a second internal service of its own. Over the past week its 95th-percentile response time has climbed from three seconds to twenty-two, but only on some conversations; most still return promptly. The team can reproduce nothing locally and needs to see, for one specific slow conversation, the order in which the model calls and tool invocations actually ran and how long each one took, including the nested call.

What should they set up?

Select one answer
Show answer and explanation

Answer:

  • B. Enable tracing on the Foundry project and inspect the spans captured for the slow runs in Application Insights

Tracing is the Foundry observability feature built for this question; Microsoft frames it as answering "Which step introduced an error or latency spike?". A trace captures an agent run's user inputs and outputs, tool usage including tool calls and results, token consumption, and time signals such as duration and latency. Its building blocks are spans, each recording start and end times and attributes, and spans nest, so you see the full call stack and sequence of operations, exactly what is needed when a tool invokes another service. Traces are exported to the Application Insights resource connected to the project, and tracing is generally available for prompt and hosted agents.

- A is wrong because service metrics dashboards are aggregate. They confirm that latency rose across the population, which the team already knows, but cannot show which step inside one particular conversation stalled, and here most conversations are fine. - C is wrong because evaluations measure response *quality* against a dataset, scoring things like groundedness and relevance. They report nothing about per-step timing in a live production run, and a slow answer can be a perfectly good answer. - D is wrong because guardrails are safety and security controls. Their intervention points scan content for risks such as harmful material or prompt attacks and then block it; they are not a performance instrument, and for agents the only supported action is annotate and block.

Reference: Agent tracing overview - Microsoft Foundry

Practice Test 1 ›

Study guides for AI-103

AI engineer roadmap 2026: skills, certs and the orderAI engineer roadmap for 2026: skills to learn in order, AI engineer vs ML engineer, which certifications fit each stage, and what to skip.
AI-200 exam guide: Azure AI Cloud Developer AssociateAI-200 replaced AZ-204: what the Azure AI Cloud Developer exam tests, how it differs from AI-103, price in USD and INR, format and how to prepare.
How AI Is Changing Software Jobs: Where to PrepareHow AI is changing software jobs: what history shows, the evidence on junior developers, what Klarna learned, new AI roles and five domains to prepare for.
AI-901 exam guide: Azure AI Fundamentals after AI-900AI-901 replaced AI-900: learn what changed, how much Python and Microsoft Foundry you need, exam costs in India, and how to prepare.
Best AI certifications 2026: AWS, Google, Microsoft, ClaudeThe best AI certifications in 2026 from AWS, Google, Microsoft, Claude and Databricks, by level, with price, status and which one to take first.
Microsoft AI certification path 2026: which exam firstMicrosoft AI certification path for 2026 - AI-901, AB-730, AI-103, AI-200, AI-300, AB-100, AI-500 and GH-300 by role, and which exam to take first.
AI-103 Certification Guide: What Changed From AI-102The AI-103 certification replaced AI-102 in 2026. Exam format, cost, the five skill domains, what changed and how to prepare, with free practice questions.
What Is RAG? How Retrieval-Augmented Generation WorksWhat RAG is and how it works: chunking, embeddings, vector search, hybrid search, reranking, GraphRAG and agentic RAG on AWS, Google and Azure.
Prompt engineering vs RAG vs fine-tuningWhen to use prompt engineering, retrieval-augmented generation, fine-tuning or continued pre-training, compared on cost, freshness, hallucination and privacy.