Question 50
One distributed trace includes the HTTP request but not the Service Bus send operation that initiated its background job. Which implementation BEST meets the requirement?
Explanation
Correct Answer
Messaging instrumentation makes the asynchronous handoff visible in the trace timeline.
Incorrect Answers
Add a database dependency span around the query with suitable attributes: child spans expose individual dependency timing within an end-to-end request.
Model batch processing with appropriate span links or separate contexts for the incoming messages: independent message parents should not be falsely represented as one single ancestor.
Extract the incoming message trace context for each independently processed message: reusing stale context misattributes a message to the wrong business operation.





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