What should you do?

Posted by: Pdfprep Category: AZ-204 Tags: , ,

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 as part 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 . Create a new SpanContext with the TraceRags value set to the customer ID for the signed in user.
B . On the current SpanContext, set the Traceld to the customer ID for the signed in user.
C . Add the customer ID for the signed in user to the CorrelationContext in the web application.
D . Set the header Ocp-Apim-Trace to the customer ID for the signed in user.

Answer: D

Leave a Reply

Your email address will not be published.