Developing AI Cloud Solutions on Azure AI-200 Practice Test 54
Question 530
An HTTP request calls a vector retrieval service and model gateway, but the tracing dashboard shows each service as unrelated transactions. After the planned remediation, which verification result is specific to this issue?
- The gateway, retrieval and inference spans share a trace ID with valid parent relationships
- The output includes a separate correctly calculated P95 latency per service
- A single trace links message publication and worker processing spans
- A failed gateway request appears alongside its matching downstream dependency span
Explanation
Correct Answer
A:The gateway, retrieval and inference spans share a trace ID with valid parent relationships. This directly verifies that the required change, Propagate W3C trace context across HTTP and messaging boundaries using OpenTelemetry SDKs, produced the specified outcome.
Incorrect Answers
B:The output includes a separate correctly calculated P95 latency per service. This does not establish the required control: the gateway, retrieval and inference spans share a trace ID with valid parent relationships.
C:A single trace links message publication and worker processing spans. The decisive condition here is different: the gateway, retrieval and inference spans share a trace ID with valid parent relationships.
D:A failed gateway request appears alongside its matching downstream dependency span. In this question, the gateway, retrieval and inference spans share a trace ID with valid parent relationships.
Question 531
An HTTP request calls a vector retrieval service and model gateway, but the tracing dashboard shows each service as unrelated transactions. Which proposed solution would address the actual failure?
- Propagate W3C trace context across HTTP and messaging boundaries using OpenTelemetry SDKs
- Use a KQL where time filter followed by summarize count() by result code
- Configure span attributes and processors to exclude or redact sensitive payload fields
- Generate a new unrelated trace ID independently at every hop
Explanation
Correct Answer
A:Propagate W3C trace context across HTTP and messaging boundaries using OpenTelemetry SDKs. Distributed trace context connects spans from multiple services into one end-to-end trace. Evidence: the gateway, retrieval and inference spans share a trace ID with valid parent relationships.
Incorrect Answers
B:Use a KQL where time filter followed by summarize count() by result code. The decisive condition here is different: propagate W3C trace context across HTTP and messaging boundaries using OpenTelemetry SDKs.
C:Configure span attributes and processors to exclude or redact sensitive payload fields. In this question, propagate W3C trace context across HTTP and messaging boundaries using OpenTelemetry SDKs.
D:Disconnected IDs prevent assembling the request's causal path. This does not establish the required control: propagate W3C trace context across HTTP and messaging boundaries using OpenTelemetry SDKs.
Question 532
An HTTP request calls a vector retrieval service and model gateway, but the tracing dashboard shows each service as unrelated transactions. A team instead suggests: "Generate a new unrelated trace ID independently at every hop." What important requirement remains unmet?
- Disconnected IDs prevent assembling the request's causal path
- High-cardinality sensitive names harm cost and privacy
- Hidden retries obscure transient dependency instability
- Distributed trace context connects spans from multiple services into one end-to-end trace
Explanation
Correct Answer
A:Disconnected IDs prevent assembling the request's causal path. The proposal Generate a new unrelated trace ID independently at every hop cannot meet the requirement; Propagate W3C trace context across HTTP and messaging boundaries using OpenTelemetry SDKs is the targeted remediation.
Incorrect Answers
B:High-cardinality sensitive names harm cost and privacy. In this question, disconnected IDs prevent assembling the request's causal path.
C:Hidden retries obscure transient dependency instability. This does not establish the required control: disconnected IDs prevent assembling the request's causal path.
D:Distributed trace context connects spans from multiple services into one end-to-end trace. The decisive condition here is different: disconnected IDs prevent assembling the request's causal path.
Question 533
A Python AI API's OpenTelemetry traces contain customer prompts and authentication headers by default. A reviewer recommends: Configure span attributes and processors to exclude or redact sensitive payload fields. What is the key mechanism behind this approach?
- Numeric conversion avoids incorrect lexicographic comparisons on status values
- Trace status and exception recording distinguish failed operations from completed ones
- Observability instrumentation must not emit secrets or personal data unnecessarily
- KQL dynamic parsing makes nested structured properties accessible to predicates
Explanation
Correct Answer
C:Observability instrumentation must not emit secrets or personal data unnecessarily. This is the behavior that makes Configure span attributes and processors to exclude or redact sensitive payload fields appropriate for the given scenario.
Incorrect Answers
A:Numeric conversion avoids incorrect lexicographic comparisons on status values. In this question, observability instrumentation must not emit secrets or personal data unnecessarily.
B:Trace status and exception recording distinguish failed operations from completed ones. This does not establish the required control: observability instrumentation must not emit secrets or personal data unnecessarily.
D:KQL dynamic parsing makes nested structured properties accessible to predicates. In this question, observability instrumentation must not emit secrets or personal data unnecessarily.
Question 534
A Python AI API's OpenTelemetry traces contain customer prompts and authentication headers by default. A team instead suggests: "Capture complete prompt bodies and bearer tokens on every span." Which risk would the review team identify in the shortcut?
- Unsorted take returns arbitrary matching rows
- Unbounded raw rows do not provide the requested per-code counts
- Observability instrumentation must not emit secrets or personal data unnecessarily
- Sensitive telemetry values expand data exposure to tracing readers
Explanation
Correct Answer
D:Sensitive telemetry values expand data exposure to tracing readers. The proposal Capture complete prompt bodies and bearer tokens on every span cannot meet the requirement; Configure span attributes and processors to exclude or redact sensitive payload fields is the targeted remediation.
Incorrect Answers
A:Unsorted take returns arbitrary matching rows. This does not establish the required control: sensitive telemetry values expand data exposure to tracing readers.
B:Unbounded raw rows do not provide the requested per-code counts. The decisive condition here is different: sensitive telemetry values expand data exposure to tracing readers.
C:Observability instrumentation must not emit secrets or personal data unnecessarily. In this question, sensitive telemetry values expand data exposure to tracing readers.
Question 535
A Python AI API's OpenTelemetry traces contain customer prompts and authentication headers by default. After the planned remediation, which test result would demonstrate the requirement is satisfied?
- The gateway, retrieval and inference spans share a trace ID with valid parent relationships
- Exported test spans preserve latency and error context but contain no secrets
- The output includes a separate correctly calculated P95 latency per service
- The query returns the exact nested fields from representative test records
Explanation
Correct Answer
B:Exported test spans preserve latency and error context but contain no secrets. This directly verifies that the required change, Configure span attributes and processors to exclude or redact sensitive payload fields, produced the specified outcome.
Incorrect Answers
A:The gateway, retrieval and inference spans share a trace ID with valid parent relationships. The decisive condition here is different: exported test spans preserve latency and error context but contain no secrets.
C:The output includes a separate correctly calculated P95 latency per service. This does not establish the required control: exported test spans preserve latency and error context but contain no secrets.
D:The query returns the exact nested fields from representative test records. The decisive condition here is different: exported test spans preserve latency and error context but contain no secrets.
Question 536
A Python AI API's OpenTelemetry traces contain customer prompts and authentication headers by default. Which implementation most directly satisfies the requirement?
- Configure span attributes and processors to exclude or redact sensitive payload fields
- Capture complete prompt bodies and bearer tokens on every span
- Convert or parse result codes to integers and use a numeric 500–599 predicate
- Configure the Azure Monitor exporter or collector endpoint, credentials and network egress
Explanation
Correct Answer
A:Configure span attributes and processors to exclude or redact sensitive payload fields. Observability instrumentation must not emit secrets or personal data unnecessarily. Evidence: exported test spans preserve latency and error context but contain no secrets.
Incorrect Answers
B:Sensitive telemetry values expand data exposure to tracing readers. This does not establish the required control: configure span attributes and processors to exclude or redact sensitive payload fields.
C:Convert or parse result codes to integers and use a numeric 500–599 predicate. The decisive condition here is different: configure span attributes and processors to exclude or redact sensitive payload fields.
D:Configure the Azure Monitor exporter or collector endpoint, credentials and network egress. In this question, configure span attributes and processors to exclude or redact sensitive payload fields.
Question 537
A high-volume embedding service generates so many traces that telemetry ingestion costs become prohibitive. A team instead suggests: "Disable all traces globally to reduce cost." What is the decisive flaw in that proposal?
- Trace sampling can bound high-cardinality telemetry volume without stopping monitoring
- Complete removal of tracing prevents distributed root-cause investigation
- Start logs do not establish downstream success
- Unsorted take returns arbitrary matching rows
Explanation
Correct Answer
B:Complete removal of tracing prevents distributed root-cause investigation. The proposal Disable all traces globally to reduce cost cannot meet the requirement; Use a deliberate sampling policy while retaining critical error coverage and service-level metrics is the targeted remediation.
Incorrect Answers
A:Trace sampling can bound high-cardinality telemetry volume without stopping monitoring. This does not establish the required control: complete removal of tracing prevents distributed root-cause investigation.
C:Start logs do not establish downstream success. In this question, complete removal of tracing prevents distributed root-cause investigation.
D:Unsorted take returns arbitrary matching rows. This does not establish the required control: complete removal of tracing prevents distributed root-cause investigation.
Question 538
A high-volume embedding service generates so many traces that telemetry ingestion costs become prohibitive. After the planned remediation, what observable outcome would validate the solution?
- Exported test spans preserve latency and error context but contain no secrets
- Trace waterfall shows database query span duration within its parent request
- Trace volume drops under normal load while error and latency investigations remain possible
- A single trace links message publication and worker processing spans
Explanation
Correct Answer
C:Trace volume drops under normal load while error and latency investigations remain possible. This directly verifies that the required change, Use a deliberate sampling policy while retaining critical error coverage and service-level metrics, produced the specified outcome.
Incorrect Answers
A:Exported test spans preserve latency and error context but contain no secrets. The decisive condition here is different: trace volume drops under normal load while error and latency investigations remain possible.
B:Trace waterfall shows database query span duration within its parent request. In this question, trace volume drops under normal load while error and latency investigations remain possible.
D:A single trace links message publication and worker processing spans. The decisive condition here is different: trace volume drops under normal load while error and latency investigations remain possible.
Question 539
A high-volume embedding service generates so many traces that telemetry ingestion costs become prohibitive. What is the most defensible next technical step?
- Convert or parse result codes to integers and use a numeric 500–599 predicate
- Filter by timestamp and indexed columns first before applying costly parsing and join stages
- Disable all traces globally to reduce cost
- Use a deliberate sampling policy while retaining critical error coverage and service-level metrics
Explanation
Correct Answer
D:Use a deliberate sampling policy while retaining critical error coverage and service-level metrics. Trace sampling can bound high-cardinality telemetry volume without stopping monitoring. Evidence: trace volume drops under normal load while error and latency investigations remain possible.
Incorrect Answers
A:Convert or parse result codes to integers and use a numeric 500–599 predicate. In this question, use a deliberate sampling policy while retaining critical error coverage and service-level metrics.
B:Filter by timestamp and indexed columns first before applying costly parsing and join stages. This does not establish the required control: use a deliberate sampling policy while retaining critical error coverage and service-level metrics.
C:Complete removal of tracing prevents distributed root-cause investigation. The decisive condition here is different: use a deliberate sampling policy while retaining critical error coverage and service-level metrics.
Question 540
A high-volume embedding service generates so many traces that telemetry ingestion costs become prohibitive. A reviewer recommends: Use a deliberate sampling policy while retaining critical error coverage and service-level metrics. What is the key mechanism behind this approach?
- KQL top and projection select the highest latency records and required fields
- Trace sampling can bound high-cardinality telemetry volume without stopping monitoring
- Asynchronous message propagation needs explicit or library-supported trace context transfer
- A keyed join connects related operations across telemetry sources
Explanation
Correct Answer
B:Trace sampling can bound high-cardinality telemetry volume without stopping monitoring. This is the behavior that makes Use a deliberate sampling policy while retaining critical error coverage and service-level metrics appropriate for the given scenario.
Incorrect Answers
A:KQL top and projection select the highest latency records and required fields. This does not establish the required control: trace sampling can bound high-cardinality telemetry volume without stopping monitoring.
C:Asynchronous message propagation needs explicit or library-supported trace context transfer. In this question, trace sampling can bound high-cardinality telemetry volume without stopping monitoring.
D:A keyed join connects related operations across telemetry sources. This does not establish the required control: trace sampling can bound high-cardinality telemetry volume without stopping monitoring.