Microsoft AI-200 Practice Test 43
Question 420
At Atlas Support, a semantic search API queries pgvector cosine distance across millions of rows with unacceptable latency. Evidence: The vector column has no suitable approximate nearest neighbor index for the cosine operator. The objective is to accelerate vector nearest-neighbor queries using a compatible index. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor stranded pending documents and repeated ingest failures.
- Monitor rejected queries, database privilege drift and suspicious syntax patterns.
- Monitor cache misses, source reload failures and unexpected authoritative-data gaps.
- Monitor index build health, write overhead and query plan regressions.
Explanation
Correct Answer
D:
The vector column has no suitable approximate nearest neighbor index for the cosine operator. Monitor index build health, write overhead and query plan regressions. An ANN index must use an operator class compatible with the query similarity metric; a mismatched class cannot serve the intended cosine access path.
Incorrect Answers
A:
“Monitor stranded pending documents and repeated ingest failures.” monitors this signal: The database stores document status and embeddings in related rows without a reliable completion boundary. This question instead requires an action that can accelerate vector nearest-neighbor queries using a compatible index. The vector column has no suitable approximate nearest neighbor index for the cosine operator. Monitor index build health, write overhead and query plan regressions. An ANN index must use an operator class compatible with the query similarity metric; a mismatched class cannot serve the intended cosine access path.
B:
“Monitor rejected queries, database privilege drift and suspicious syntax patterns.” monitors this signal: Malformed input can change SQL syntax and the service account can read more rows than necessary. This question instead requires an action that can accelerate vector nearest-neighbor queries using a compatible index. The vector column has no suitable approximate nearest neighbor index for the cosine operator. Monitor index build health, write overhead and query plan regressions. An ANN index must use an operator class compatible with the query similarity metric; a mismatched class cannot serve the intended cosine access path.
C:
“Monitor cache misses, source reload failures and unexpected authoritative-data gaps.” monitors this signal: The configured eviction policy can discard keys when memory pressure rises. This question instead requires an action that can accelerate vector nearest-neighbor queries using a compatible index. The vector column has no suitable approximate nearest neighbor index for the cosine operator. Monitor index build health, write overhead and query plan regressions. An ANN index must use an operator class compatible with the query similarity metric; a mismatched class cannot serve the intended cosine access path.
Question 421
At Cedar Cloud, a single configuration key means different feature settings in development and production but the app always receives the default value. Evidence: The team created labeled keys yet the SDK filter does not select the requested environment label. The objective is to resolve the correct app configuration values by environment without copying application binaries. Validate in a disposable environment before applying production changes. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor purge attempts, deleted-object inventory and retention exceptions.
- Monitor data-plane RBAC drift, credential fallback and unauthorized key creation.
- Monitor mislabeled key values and unexpected cross-environment feature settings.
- Monitor newly introduced high-cardinality or secret-bearing telemetry fields.
Explanation
Correct Answer
C:
The team created labeled keys yet the SDK filter does not select the requested environment label. Monitor mislabeled key values and unexpected cross-environment feature settings.
Incorrect Answers
A:
“Monitor purge attempts, deleted-object inventory and retention exceptions.” monitors this signal: The vault supports soft-delete retention and purge protection but neither is documented in recovery procedures. This question instead requires an action that can resolve the correct app configuration values by environment without copying application binaries. The team created labeled keys yet the SDK filter does not select the requested environment label. Monitor mislabeled key values and unexpected cross-environment feature settings.
B:
Managed identity changes how the SDK authenticates, not which environment label is selected for an App Configuration key. Set the correct label filter to retrieve staging or production values.
D:
“Monitor newly introduced high-cardinality or secret-bearing telemetry fields.” monitors this signal: The organization needs troubleshooting context but prohibits exporting raw sensitive data. This question instead requires an action that can resolve the correct app configuration values by environment without copying application binaries. The team created labeled keys yet the SDK filter does not select the requested environment label. Monitor mislabeled key values and unexpected cross-environment feature settings.
Question 422
At Lighthouse Systems, an application emits structured diagnostic payloads in a dynamic customDimensions field but analysts filter it as plain text. Evidence: The relevant correlation key is nested inside JSON rather than a top-level column. The objective is to extract and filter nested log attributes correctly in KQL. Changes must respect customer tenant boundaries and required availability targets. Which implementation or configuration choice best meets the stated requirement?
- Attach stable operation context to messages and record enqueue wait and processing duration as separate spans or metrics.
- Use KQL percentile or percentiles aggregation for p95 and p99 by service and time window.
- Use supported parse_json or dynamic-field access and convert fields to the required type.
- Create a scoped Key Vault event subscription for near-expiry or version-new events with approved rotation handling.
Explanation
Correct Answer
C:
The relevant correlation key is nested inside JSON rather than a top-level column. Use supported parse_json or dynamic-field access and convert fields to the required type.
Incorrect Answers
A:
“Attach stable operation context to messages and record enqueue wait and processing duration as separate spans or metrics.” is a design or implementation response to the condition: Time spent waiting in Service Bus is not captured in the same operation trace. This question instead requires an action that can extract and filter nested log attributes correctly in KQL. The relevant correlation key is nested inside JSON rather than a top-level column. Use supported parse_json or dynamic-field access and convert fields to the required type.
B:
“Use KQL percentile or percentiles aggregation for p95 and p99 by service and time window.” is a design or implementation response to the condition: Telemetry has request duration samples with a heavy tail. This question instead requires an action that can extract and filter nested log attributes correctly in KQL. The relevant correlation key is nested inside JSON rather than a top-level column. Use supported parse_json or dynamic-field access and convert fields to the required type.
D:
“Create a scoped Key Vault event subscription for near-expiry or version-new events with approved rotation handling.” is a design or implementation response to the condition: A Key Vault event is supported but no subscription has been configured for near-expiration events. This question instead requires an action that can extract and filter nested log attributes correctly in KQL. The relevant correlation key is nested inside JSON rather than a top-level column. Use supported parse_json or dynamic-field access and convert fields to the required type.
Question 423
At Marigold Retail, a container host with no public internet route cannot resolve its private registry to a reachable address. Evidence: The ACR private endpoint exists but the VNet is not linked to the necessary private DNS zone. The objective is to use a private registry network path without re-enabling public access. Only authorized Azure subscriptions and synthetic test data may be used. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect container startup logs, listener bind address, and configured port environment or platform settings.
- Inspect ACR Task triggers, base image dependencies, and recent task run logs.
- Inspect private endpoint approval, relevant private DNS zone links, registry resolution, and firewall routing.
- Inspect startup, readiness, and liveness probe endpoints and their failure thresholds.
Explanation
Correct Answer
C:
The ACR private endpoint exists but the VNet is not linked to the necessary private DNS zone. Inspect private endpoint approval, relevant private DNS zone links, registry resolution, and firewall routing.
Incorrect Answers
A:
“Inspect container startup logs, listener bind address, and configured port environment or platform settings.” is a diagnostic step for the reported condition: The application listens on an internal port different from the one expected by the hosting configuration. This question instead requires an action that can use a private registry network path without re-enabling public access. The ACR private endpoint exists but the VNet is not linked to the necessary private DNS zone. Inspect private endpoint approval, relevant private DNS zone links, registry resolution, and firewall routing.
B:
“Inspect ACR Task triggers, base image dependencies, and recent task run logs.” is a diagnostic step for the reported condition: The pipeline rebuilds only when developers push code and never tracks upstream base image updates. This question instead requires an action that can use a private registry network path without re-enabling public access. The ACR private endpoint exists but the VNet is not linked to the necessary private DNS zone. Inspect private endpoint approval, relevant private DNS zone links, registry resolution, and firewall routing.
D:
“Inspect startup, readiness, and liveness probe endpoints and their failure thresholds.” is a diagnostic step for the reported condition: A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. This question instead requires an action that can use a private registry network path without re-enabling public access. The ACR private endpoint exists but the VNet is not linked to the necessary private DNS zone. Inspect private endpoint approval, relevant private DNS zone links, registry resolution, and firewall routing.
Question 424
At Redwood Banking, an Azure Function processes messages from Service Bus but completes them even when database output fails. Evidence: The trigger configuration retries and message settlement must align with actual successful work. The objective is to use correct Service Bus trigger completion and retry behavior for durable processing. Only authorized Azure subscriptions and synthetic test data may be used. Which acceptance result most strongly demonstrates the requirement is met?
- Verify the function succeeds in Azure while unrelated secrets are inaccessible.
- Verify data moves through the intended bindings while no literal account key is present.
- Verify each session's updates are applied sequentially while separate sessions process concurrently.
- Verify successful work is completed once and permanent failures reach the DLQ without data loss.
Explanation
Correct Answer
D:
The trigger configuration retries and message settlement must align with actual successful work. Verify successful work is completed once and permanent failures reach the DLQ without data loss.
Incorrect Answers
A:
“Verify the function succeeds in Azure while unrelated secrets are inaccessible.” validates an outcome in a case where the evidence is: Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. This question instead requires an action that can use correct Service Bus trigger completion and retry behavior for durable processing. The trigger configuration retries and message settlement must align with actual successful work. Verify successful work is completed once and permanent failures reach the DLQ without data loss.
B:
A Functions storage binding simplifies storage I/O and avoids embedded keys. It does not decide whether an unsuccessful Service Bus-triggered message should be retried rather than completed; settlement must reflect committed work.
C:
“Verify each session's updates are applied sequentially while separate sessions process concurrently.” validates an outcome in a case where the evidence is: Parallel consumers receive updates out of order and session affinity is not configured. This question instead requires an action that can use correct Service Bus trigger completion and retry behavior for durable processing. The trigger configuration retries and message settlement must align with actual successful work. Verify successful work is completed once and permanent failures reach the DLQ without data loss.
Question 425
At Crownridge Consulting, an Azure Function works on a developer laptop but fails to read Key Vault after deployment. Evidence: Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. The objective is to use deployed managed identity credentials and explicit function environment settings. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor scale controller events, memory exhaustion and trigger backlog.
- Monitor schedule drift, missed runs and repeated executions.
- Monitor token acquisition errors, configuration overrides and role assignment changes.
- Monitor subscription backlog, filters and expired messages.
Explanation
Correct Answer
C:
Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. Monitor token acquisition errors, configuration overrides and role assignment changes.
Incorrect Answers
A:
“Monitor scale controller events, memory exhaustion and trigger backlog.” monitors this signal: Telemetry shows request queueing and memory pressure rather than an upstream service outage. This question instead requires an action that can use deployed managed identity credentials and explicit function environment settings. Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. Monitor token acquisition errors, configuration overrides and role assignment changes.
B:
“Monitor schedule drift, missed runs and repeated executions.” monitors this signal: The host interprets schedules with specific UTC and configuration semantics. This question instead requires an action that can use deployed managed identity credentials and explicit function environment settings. Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. Monitor token acquisition errors, configuration overrides and role assignment changes.
D:
“Monitor subscription backlog, filters and expired messages.” monitors this signal: Each independent service requires its own durable copy of the event. This question instead requires an action that can use deployed managed identity credentials and explicit function environment settings. Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. Monitor token acquisition errors, configuration overrides and role assignment changes.
Question 426
At Sapphire Energy, a telemetry exporter records full user prompts and database connection strings in span attributes. Evidence: The organization needs troubleshooting context but prohibits exporting raw sensitive data. The objective is to collect useful spans without leaking secrets or customer content. Changes must respect customer tenant boundaries and required availability targets. Which implementation or configuration choice best meets the stated requirement?
- Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.
- Filter the correct telemetry table by time and failure then summarize count by cloud role.
- Use KQL percentile or percentiles aggregation for p95 and p99 by service and time window.
- Create a scoped Key Vault event subscription for near-expiry or version-new events with approved rotation handling.
Explanation
Correct Answer
A:
The organization needs troubleshooting context but prohibits exporting raw sensitive data. Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.
Incorrect Answers
B:
“Filter the correct telemetry table by time and failure then summarize count by cloud role.” is a design or implementation response to the condition: Logs have cloud_RoleName, timestamp, success or exception fields in queryable telemetry tables. This question instead requires an action that can collect useful spans without leaking secrets or customer content. The organization needs troubleshooting context but prohibits exporting raw sensitive data. Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.
C:
“Use KQL percentile or percentiles aggregation for p95 and p99 by service and time window.” is a design or implementation response to the condition: Telemetry has request duration samples with a heavy tail. This question instead requires an action that can collect useful spans without leaking secrets or customer content. The organization needs troubleshooting context but prohibits exporting raw sensitive data. Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.
D:
“Create a scoped Key Vault event subscription for near-expiry or version-new events with approved rotation handling.” is a design or implementation response to the condition: A Key Vault event is supported but no subscription has been configured for near-expiration events. This question instead requires an action that can collect useful spans without leaking secrets or customer content. The organization needs troubleshooting context but prohibits exporting raw sensitive data. Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.
Question 427
At Blue Ridge Technology, a release process deploys the latest tag and unexpectedly runs a different container than the one that passed testing. Evidence: The mutable tag was reassigned to a newer image after release approval. The objective is to pin deployment to the approved tested image rather than a moving tag. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor failing ACR Task runs, stale deployed digests, and skipped source triggers.
- Monitor swap failures, warm-up errors, and configuration leakage between slots.
- Monitor digest drift, unauthorized retags, and provenance mismatches.
- Monitor probe-related restarts, unready endpoints, and warm-up latency.
Explanation
Correct Answer
C:
The mutable tag was reassigned to a newer image after release approval. Monitor digest drift, unauthorized retags, and provenance mismatches.
Incorrect Answers
A:
“Monitor failing ACR Task runs, stale deployed digests, and skipped source triggers.” monitors this signal: The pipeline rebuilds only when developers push code and never tracks upstream base image updates. This question instead requires an action that can pin deployment to the approved tested image rather than a moving tag. The mutable tag was reassigned to a newer image after release approval. Monitor digest drift, unauthorized retags, and provenance mismatches.
B:
“Monitor swap failures, warm-up errors, and configuration leakage between slots.” monitors this signal: The team has a healthy staging slot with a previously verified container image. This question instead requires an action that can pin deployment to the approved tested image rather than a moving tag. The mutable tag was reassigned to a newer image after release approval. Monitor digest drift, unauthorized retags, and provenance mismatches.
D:
“Monitor probe-related restarts, unready endpoints, and warm-up latency.” monitors this signal: A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. This question instead requires an action that can pin deployment to the approved tested image rather than a moving tag. The mutable tag was reassigned to a newer image after release approval. Monitor digest drift, unauthorized retags, and provenance mismatches.
Question 428
At Orion Commerce, a monitoring report uses average processing time and misses rare extremely slow inference calls. Evidence: Telemetry has request duration samples with a heavy tail. The objective is to measure tail latency rather than relying only on mean request duration. Preserve end-to-end correlation and avoid copying sensitive production data. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor gaps between event windows and sudden error-rate changes.
- Monitor malformed JSON events and schema field name drift.
- Monitor p95/p99 regression and low-sample misleading thresholds.
- Monitor permission model changes and broad secret officer assignments.
Explanation
Correct Answer
C:
Telemetry has request duration samples with a heavy tail. Monitor p95/p99 regression and low-sample misleading thresholds. p95 and p99 expose slow requests hidden by a mean, provided the time window and sample population are comparable.
Incorrect Answers
A:
KQL time bins organize events into intervals; binning alone cannot show tail latency within those intervals. Aggregate durations with percentile or percentiles for p95 and p99.
B:
“Monitor malformed JSON events and schema field name drift.” monitors this signal: The relevant correlation key is nested inside JSON rather than a top-level column. This question instead requires an action that can measure tail latency rather than relying only on mean request duration. Telemetry has request duration samples with a heavy tail. Monitor p95/p99 regression and low-sample misleading thresholds. p95 and p99 expose slow requests hidden by a mean, provided the time window and sample population are comparable.
D:
“Monitor permission model changes and broad secret officer assignments.” monitors this signal: The vault is configured to use the Azure RBAC permission model for data-plane authorization. This question instead requires an action that can measure tail latency rather than relying only on mean request duration. Telemetry has request duration samples with a heavy tail. Monitor p95/p99 regression and low-sample misleading thresholds. p95 and p99 expose slow requests hidden by a mean, provided the time window and sample population are comparable.
Question 429
At BrightPath Engineering, a production rollout of an AI gateway introduces response errors and must be rolled back without rebuilding its image. Evidence: The team has a healthy staging slot with a previously verified container image. The objective is to use staged promotion and controlled rollback for a container-hosted service. Preserve end-to-end correlation and avoid copying sensitive production data. Which controlled pilot most directly validates the proposed approach?
- Deploy a synthetic versioned image pinned to its sha256 digest in a test service.
- Add a nonproduction regional replica and pull the same versioned image from local workloads.
- Swap a harmless updated staging version into a nonproduction environment and simulate a failed acceptance check.
- Make one permitted request from a sibling test app and one prohibited internet request.
Explanation
Correct Answer
C:
The team has a healthy staging slot with a previously verified container image. Swap a harmless updated staging version into a nonproduction environment and simulate a failed acceptance check.
Incorrect Answers
A:
“Deploy a synthetic versioned image pinned to its sha256 digest in a test service.” tests a proposed change for the condition: The mutable tag was reassigned to a newer image after release approval. This question instead requires an action that can use staged promotion and controlled rollback for a container-hosted service. The team has a healthy staging slot with a previously verified container image. Swap a harmless updated staging version into a nonproduction environment and simulate a failed acceptance check.
B:
“Add a nonproduction regional replica and pull the same versioned image from local workloads.” tests a proposed change for the condition: Its Premium registry has no replica in the region where new workloads are starting. This question instead requires an action that can use staged promotion and controlled rollback for a container-hosted service. The team has a healthy staging slot with a previously verified container image. Swap a harmless updated staging version into a nonproduction environment and simulate a failed acceptance check.
D:
“Make one permitted request from a sibling test app and one prohibited internet request.” tests a proposed change for the condition: The Container App ingress configuration is external and the environment has no intended public API for the worker. This question instead requires an action that can use staged promotion and controlled rollback for a container-hosted service. The team has a healthy staging slot with a previously verified container image. Swap a harmless updated staging version into a nonproduction environment and simulate a failed acceptance check.
Question 430
At Blue Ridge Technology, a once-per-message batch transformer is deployed as a continuously running HTTP app with no work at idle. Evidence: The workflow is short-lived and triggered by queue events, not interactive requests. The objective is to run bounded event-triggered tasks using a suitable Container Apps execution mode. Only authorized Azure subscriptions and synthetic test data may be used. Which controlled pilot most directly validates the proposed approach?
- Trigger a harmless failed startup in an isolated revision and query expected log records.
- From two disposable namespaces, attempt an authorized and a denied HTTP request.
- Enqueue synthetic work and observe a single job execution with an idempotency marker.
- Add a nonproduction regional replica and pull the same versioned image from local workloads.
Explanation
Correct Answer
C:
The workflow is short-lived and triggered by queue events, not interactive requests. Enqueue synthetic work and observe a single job execution with an idempotency marker.
Incorrect Answers
A:
“Trigger a harmless failed startup in an isolated revision and query expected log records.” tests a proposed change for the condition: The environment's diagnostic destination is misconfigured and system logs show image pull failures. This question instead requires an action that can run bounded event-triggered tasks using a suitable Container Apps execution mode. The workflow is short-lived and triggered by queue events, not interactive requests. Enqueue synthetic work and observe a single job execution with an idempotency marker.
B:
An AKS NetworkPolicy restricts access between pods and services, but it does not turn an idle HTTP container into a bounded event-triggered job. Container Apps Jobs provide queue/event-driven execution with completion semantics.
D:
“Add a nonproduction regional replica and pull the same versioned image from local workloads.” tests a proposed change for the condition: Its Premium registry has no replica in the region where new workloads are starting. This question instead requires an action that can run bounded event-triggered tasks using a suitable Container Apps execution mode. The workflow is short-lived and triggered by queue events, not interactive requests. Enqueue synthetic work and observe a single job execution with an idempotency marker.