Question 290
A Python API sends outgoing HTTP calls without injecting context, so downstream traces cannot be matched to the incoming request. What is the MOST appropriate next step?
Explanation
Correct Answer
Client instrumentation carries the active trace into downstream service requests.
Incorrect Answers
Propagate tracing context through broker message properties and extract it on receive: propagate tracing context through broker message properties and extract it on receive: asynchronous boundaries need explicit propagation to correlate producer and consumer spans.
Record the exception and error status on the active OpenTelemetry span: record the exception and error status on the active OpenTelemetry span: span events and status connect a failure to the exact traced operation; Instrument the outgoing HTTP client to propagate OpenTelemetry trace context.
Configure the gateway to preserve and forward W3C traceparent and tracestate headers: configure the gateway to preserve and forward W3C traceparent and tracestate headers: traceparent context links work performed in different services into one distributed trace.





Developing AI Cloud Solutions on Azure (AI-200) Practice Tests