100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 780
A containerized AI API generates logs but the trace export points to an incorrect Azure Monitor resource. After rollout the observed failure is: Staging receives production trace events after an otherwise successful deployment. What best explains it?
- The middleware was not instrumented to create its own span.
- The production exporter is configured with the staging telemetry connection string.
- The sampling strategy is inconsistent across related services or drops essential context.
- The application logs the raw secret response or an exception containing the secret.
Explanation
Correct Answer
B:The production exporter is configured with the staging telemetry connection string. The described symptom and this root cause fit together. Azure Monitor exporters route telemetry based on their configured destination.
Incorrect Answers
A:The middleware was not instrumented to create its own span. Here, the production exporter is configured with the staging telemetry connection string.
C:The sampling strategy is inconsistent across related services or drops essential context. Here, the production exporter is configured with the staging telemetry connection string.
D:The application logs the raw secret response or an exception containing the secret. Here, the production exporter is configured with the staging telemetry connection string.
Question 781
An incident analyst needs to compare inference error counts before and after a rollout using KQL. Which architecture most directly addresses the required outcome?
- Emit structured log severity and fields through the configured telemetry pipeline.
- Attach relevant span status and exception metadata to the failed dependency operation.
- Store the credential in Key Vault and resolve it through the Function identity.
- Use time-window filters and a version dimension for a controlled pre/post comparison.
Explanation
Correct Answer
D:Use time-window filters and a version dimension for a controlled pre/post comparison. It directly addresses the architecture in this case. Comparing releases requires clear time boundaries and version attribution.
Incorrect Answers
A:Emit structured log severity and fields through the configured telemetry pipeline. Structured logging enables reliable KQL predicates on severity and other dimensions. Instead, use time-window filters and a version dimension for a controlled pre/post comparison.
B:Attach relevant span status and exception metadata to the failed dependency operation. OpenTelemetry span status and recorded exceptions help isolate failed operations. Instead, use time-window filters and a version dimension for a controlled pre/post comparison.
C:Store the credential in Key Vault and resolve it through the Function identity. External secret storage alone does not guarantee running clients reload rotated values. Instead, use time-window filters and a version dimension for a controlled pre/post comparison.
Question 782
An incident analyst needs to compare inference error counts before and after a rollout using KQL. The team has selected this architecture: Use time-window filters and a version dimension for a controlled pre/post comparison. Which action correctly implements it?
- Create KQL predicates for the rollout interval and group by modelVersion with counted failures.
- Set error status and record a sanitized exception on the failing dependency span.
- Send a synthetic trace-tagged request and inspect Azure Monitor for its corresponding service and dependency spans.
- Set the model threshold key in App Configuration and reference it through the deployed client SDK.
Explanation
Correct Answer
A:Create KQL predicates for the rollout interval and group by modelVersion with counted failures. This is the actionable setup step for the selected design. Comparing releases requires clear time boundaries and version attribution.
Incorrect Answers
B:Set error status and record a sanitized exception on the failing dependency span. Instead, create KQL predicates for the rollout interval and group by modelVersion with counted failures.
C:Send a synthetic trace-tagged request and inspect Azure Monitor for its corresponding service and dependency spans. Instead, create KQL predicates for the rollout interval and group by modelVersion with counted failures.
D:Set the model threshold key in App Configuration and reference it through the deployed client SDK. Instead, create KQL predicates for the rollout interval and group by modelVersion with counted failures.
Question 783
An incident analyst needs to compare inference error counts before and after a rollout using KQL. After configuring the solution, which measurable result would demonstrate success?
- The query shows retries rise after database dependency durations increase.
- The output distinguishes failure counts for old and new model versions across defined windows.
- The request trace shows separate timing for the model and database dependency calls.
- The service resolves normal settings and secret references without exposing raw secrets in configuration exports.
Explanation
Correct Answer
B:The output distinguishes failure counts for old and new model versions across defined windows. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Comparing releases requires clear time boundaries and version attribution.
Incorrect Answers
A:The query shows retries rise after database dependency durations increase. Here, the output distinguishes failure counts for old and new model versions across defined windows.
C:The request trace shows separate timing for the model and database dependency calls. Here, the output distinguishes failure counts for old and new model versions across defined windows.
D:The service resolves normal settings and secret references without exposing raw secrets in configuration exports. Here, the output distinguishes failure counts for old and new model versions across defined windows.
Question 784
An incident analyst needs to compare inference error counts before and after a rollout using KQL. During a trial, the team sees this problem: A dashboard reports a blended error count without identifying the rollout version. Which cause is most consistent?
- The pipeline did not measure or report queue waiting time separately.
- The application has no child spans or dependency instrumentation.
- The query omitted deployment-version dimensions or the proper time split.
- The password was stored as an ordinary App Configuration string instead of a Key Vault reference.
Explanation
Correct Answer
C:The query omitted deployment-version dimensions or the proper time split. The described symptom and this root cause fit together. Comparing releases requires clear time boundaries and version attribution.
Incorrect Answers
A:The pipeline did not measure or report queue waiting time separately. Here, the query omitted deployment-version dimensions or the proper time split.
B:The application has no child spans or dependency instrumentation. Here, the query omitted deployment-version dimensions or the proper time split.
D:The password was stored as an ordinary App Configuration string instead of a Key Vault reference. Here, the query omitted deployment-version dimensions or the proper time split.
Question 785
A slow service request needs to be traced through a newly introduced middleware component. What primary technical approach is best justified by these constraints?
- Create a middleware OpenTelemetry span as a child of the request span.
- Emit a safe model-version attribute and aggregate failure telemetry by that dimension.
- Instrument the services with OpenTelemetry spans and propagate distributed trace context.
- Use Key Vault secret versions to manage credential changes and deployment validation.
Explanation
Correct Answer
A:Create a middleware OpenTelemetry span as a child of the request span. It directly addresses the architecture in this case. Specific spans expose the contribution of middleware operations to end-to-end latency.
Incorrect Answers
B:Emit a safe model-version attribute and aggregate failure telemetry by that dimension. Operational dimensions must be emitted to group failures by deployed model version. Instead, create a middleware OpenTelemetry span as a child of the request span.
C:Instrument the services with OpenTelemetry spans and propagate distributed trace context. Distributed tracing relies on propagating trace context across asynchronous boundaries. Instead, create a middleware OpenTelemetry span as a child of the request span.
D:Use Key Vault secret versions to manage credential changes and deployment validation. A versioned or cached secret reference can remain stale unless updated or refreshed. Instead, create a middleware OpenTelemetry span as a child of the request span.
Question 786
A slow service request needs to be traced through a newly introduced middleware component. After deciding to create a middleware OpenTelemetry span as a child of the request span, what configuration is most relevant?
- Filter the target exception table using contains or another suitable case-insensitive KQL operator.
- Wrap the middleware execution in a named span and propagate the current context.
- Summarize total=count() and failures=countif(success==false) by bin(TimeGenerated,5m), then compute their ratio.
- Construct SecretClient with DefaultAzureCredential rather than manually handling bearer tokens.
Explanation
Correct Answer
B:Wrap the middleware execution in a named span and propagate the current context. This is the actionable setup step for the selected design. Specific spans expose the contribution of middleware operations to end-to-end latency.
Incorrect Answers
A:Filter the target exception table using contains or another suitable case-insensitive KQL operator. Here, wrap the middleware execution in a named span and propagate the current context.
C:Summarize total=count() and failures=countif(success==false) by bin(TimeGenerated,5m), then compute their ratio. Here, wrap the middleware execution in a named span and propagate the current context.
D:Construct SecretClient with DefaultAzureCredential rather than manually handling bearer tokens. Here, wrap the middleware execution in a named span and propagate the current context.
Question 787
A slow service request needs to be traced through a newly introduced middleware component. Which validation result is the strongest evidence that the intended behavior works?
- Trace volume drops while representative request paths remain analyzable.
- The output lists the five highest-traffic routes from the chosen time range.
- The trace contains a middleware child span with its measured latency.
- The audit record identifies who changed the flag and when, separately from app logs.
Explanation
Correct Answer
C:The trace contains a middleware child span with its measured latency. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Specific spans expose the contribution of middleware operations to end-to-end latency.
Incorrect Answers
A:Trace volume drops while representative request paths remain analyzable. Here, the trace contains a middleware child span with its measured latency.
B:The output lists the five highest-traffic routes from the chosen time range. Here, the trace contains a middleware child span with its measured latency.
D:The audit record identifies who changed the flag and when, separately from app logs. Here, the trace contains a middleware child span with its measured latency.
Question 788
A slow service request needs to be traced through a newly introduced middleware component. Production telemetry shows: Total request duration increases but the new middleware is invisible in traces. Which underlying issue should be investigated first?
- The query fails to join or filter using the common correlation key.
- The pipeline did not measure or report queue waiting time separately.
- Feature targeting context is inconsistent or lacks a stable identifier across instances.
- The middleware was not instrumented to create its own span.
Explanation
Correct Answer
D:The middleware was not instrumented to create its own span. The described symptom and this root cause fit together. Specific spans expose the contribution of middleware operations to end-to-end latency.
Incorrect Answers
A:The query fails to join or filter using the common correlation key. Here, the middleware was not instrumented to create its own span.
B:The pipeline did not measure or report queue waiting time separately. Here, the middleware was not instrumented to create its own span.
C:Feature targeting context is inconsistent or lacks a stable identifier across instances. Here, the middleware was not instrumented to create its own span.
Question 789
An Azure Monitor query must find exceptions that contain a particular error code without treating case differences as separate incidents. Which design decision should the team make first?
- Calculate error rate from failed request count divided by total request count in each time bin.
- Use an appropriate case-insensitive KQL text predicate on the selected exception field.
- Use correlated dependency telemetry and group failures by dependency target.
- Use App Configuration private networking with application network access and identity controls.
Explanation
Correct Answer
B:Use an appropriate case-insensitive KQL text predicate on the selected exception field. It directly addresses the architecture in this case. KQL offers different text operators for case-sensitive and case-insensitive matching.
Incorrect Answers
A:Calculate error rate from failed request count divided by total request count in each time bin. Failure rate is a ratio, not a raw error-count metric. Instead, use an appropriate case-insensitive KQL text predicate on the selected exception field.
C:Use correlated dependency telemetry and group failures by dependency target. Dependency telemetry shows which external service call fails within a request. Instead, use an appropriate case-insensitive KQL text predicate on the selected exception field.
D:Use App Configuration private networking with application network access and identity controls. Private endpoints require working network routes and DNS as well as application authorization. Instead, use an appropriate case-insensitive KQL text predicate on the selected exception field.
Question 790
An Azure Monitor query must find exceptions that contain a particular error code without treating case differences as separate incidents. Which concrete setup step puts this selected approach into operation: Use an appropriate case-insensitive KQL text predicate on the selected exception field.
- Group the relevant duration metric by bin(TimeGenerated, 1m) or a suitable short interval.
- Join the two telemetry tables on the stable correlation identifier and constrain the time range.
- Filter the target exception table using contains or another suitable case-insensitive KQL operator.
- Create a SecretClient for the Key Vault URI using DefaultAzureCredential and enable the workload's identity.
Explanation
Correct Answer
C:Filter the target exception table using contains or another suitable case-insensitive KQL operator. This is the actionable setup step for the selected design. KQL offers different text operators for case-sensitive and case-insensitive matching.
Incorrect Answers
A:Group the relevant duration metric by bin(TimeGenerated, 1m) or a suitable short interval. Instead, filter the target exception table using contains or another suitable case-insensitive KQL operator.
B:Join the two telemetry tables on the stable correlation identifier and constrain the time range. Instead, filter the target exception table using contains or another suitable case-insensitive KQL operator.
D:Create a SecretClient for the Key Vault URI using DefaultAzureCredential and enable the workload's identity. Instead, filter the target exception table using contains or another suitable case-insensitive KQL operator.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests