ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 200 - AZ-204 discussion

Report
Export

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.
Add the customer ID for the signed in user to the CorrelationContext in the web application
Answers
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
Answers
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
Answers
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
Answers
D.
Create a new SpanContext with the TraceFlags value set to the customer ID for the signed in user
Suggested answer: A

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/app/correlation

asked 02/10/2024
Mark Anthony Acorda
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first