What should you do?

You are developing a web application that runs as an Azure Web App. The web application stores data in Azure SQL Database and stores files in an Azure Storage account. The web application makes HTTP requests to external services aspart of normal operations.
The web application is instrumented with Application Insights. The external services are OpenTelemetry compliant.
You need to ensure that the customer ID of the signed in user is associated with all operations throughout the overall system.
What should you do?
A. Add the customer ID for the signed in user to the CorrelationContext in the web application
B. On the current SpanContext, set the TraceId to the customer ID for the signed in user
C. Set the header Ocp-Apim-Trace to the customer ID for the signed in user
D. Create a new SpanContext with the TraceFlags value set to the customer ID for the signed in user

Microsoft AZ-204: Developing Solutions for Microsoft Azure

Free dumps for AZ-204 in PDF format also you can read online.

High quality AZ-204 PDF and software. VALID exam to help you pass.

microsoft-exams

One thought on “What should you do?

  1. I think the answer is B. The link in the answer is broken, and I couldn’t find documentation on anything called CorrelationContext or Ocp-Apim-Trace.

    SpanContext is an OpenTelemetry thing, and TraceId makes more sense than TraceFlags.
    https://opentelemetry.io/docs/reference/specification/trace/api/#spancontext

    I hate this question. It took me forever to research and the answer isn’t even in the MS docuementation. Why are they testing on this? So frustrating.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.