1. A developer is instrumenting a multi-step Azure AI application that calls Azure OpenAI, performs a vector search, and then calls a secondary classification model. They need every step to appear as a linked span in a single distributed trace visible in Application Insights. Which SDK feature should they use?
- A. Azure Monitor Diagnostic Settings with the 'AllLogs' category enabled
- B. The OpenTelemetry-based tracing support in the Azure AI Inference SDK, configured with an OTLP exporter pointing to the Application Insights connection string✓ Correct
- C. Azure AI Foundry's built-in evaluation runner, configured in 'trace' mode
- D. The Azure OpenAI content filter audit log, exported to a Log Analytics workspace
Explanation
The Azure AI Inference SDK exposes OpenTelemetry-compatible tracing that creates spans for each AI call. By configuring an OTLP exporter (or the Azure Monitor OpenTelemetry distro) with the Application Insights connection string, all spans from all steps are correlated into a single distributed trace viewable in Application Insights. Option A (Diagnostic Settings) captures platform-level logs, not application-level spans for multi-step traces. Option C (evaluation runner) is for offline quality measurement, not real-time distributed tracing. Option D (audit log) records content filter decisions, not application span data.