Microsoft AI-200 Practice Test 50
Question 490
Cobalt Research is reviewing an Azure AI workload: A developer builds a fast vector L2 index yet the application consistently orders results by cosine distance. The business goal is to match PostgreSQL vector index operator class to the query distance operator. A change is being evaluated before rollout. The team has documented application and data boundaries. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which implementation or configuration choice best meets the stated requirement?
- Write document and vector metadata atomically or publish search eligibility only after verified completion.
- Scale the appropriate server resources after eliminating avoidable query and index overhead.
- Create or select an index with vector_cosine_ops and use the matching distance operator.
- Enable container or per-item TTL with approved expiration windows and explicit exceptions.
Explanation
Correct Answer
C:
The mismatch keeps the query from using the intended nearest-neighbor index plan. Create or select an index with vector_cosine_ops and use the matching distance operator.
Incorrect Answers
A:
“Write document and vector metadata atomically or publish search eligibility only after verified completion.” is a design or implementation response to the condition: The database stores document status and embeddings in related rows without a reliable completion boundary. This question instead requires an action that can match PostgreSQL vector index operator class to the query distance operator. The mismatch keeps the query from using the intended nearest-neighbor index plan. Create or select an index with vector_cosine_ops and use the matching distance operator.
B:
“Scale the appropriate server resources after eliminating avoidable query and index overhead.” is a design or implementation response to the condition: A PostgreSQL instance running vector indexing begins swapping and can no longer meet semantic search latency goals. This question instead requires an action that can match PostgreSQL vector index operator class to the query distance operator. The mismatch keeps the query from using the intended nearest-neighbor index plan. Create or select an index with vector_cosine_ops and use the matching distance operator.
D:
“Enable container or per-item TTL with approved expiration windows and explicit exceptions.” is a design or implementation response to the condition: The container has TTL disabled and application cleanup jobs miss archived records. This question instead requires an action that can match PostgreSQL vector index operator class to the query distance operator. The mismatch keeps the query from using the intended nearest-neighbor index plan. Create or select an index with vector_cosine_ops and use the matching distance operator.
Question 491
At Summit Finance, a private web app cannot pull its container from Azure Container Registry after its registry administrator account was disabled. Evidence: The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. The objective is to allow registry image pulls without storing a registry password. Changes must respect customer tenant boundaries and required availability targets. Which controlled pilot most directly validates the proposed approach?
- Use a synthetic Key Vault secret in a nonproduction slot and refresh the app configuration.
- Deploy a harmless test image to a staging app using the managed identity rather than username and password.
- Add a nonproduction regional replica and pull the same versioned image from local workloads.
- Make one permitted request from a sibling test app and one prohibited internet request.
Explanation
Correct Answer
B:
The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. Deploy a harmless test image to a staging app using the managed identity rather than username and password.
Incorrect Answers
A:
An App Service Key Vault reference supplies secrets to a running app, not authorization to download a container image. Registry pulls need the app identity granted the appropriate ACR repository pull permissions.
C:
“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 allow registry image pulls without storing a registry password. The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. Deploy a harmless test image to a staging app using the managed identity rather than username and password.
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 allow registry image pulls without storing a registry password. The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. Deploy a harmless test image to a staging app using the managed identity rather than username and password.
Question 492
At Redwood Banking, after a short TTL expires, hundreds of incoming requests recompute the same expensive embedding at once. Evidence: Every worker observes the cache miss simultaneously and no coordination exists. The objective is to avoid bursty duplicate computation on popular cache keys. Preserve end-to-end correlation and avoid copying sensitive production data. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor vector index build errors, memory footprint and query latency.
- Monitor evictions, fragmentation and frequently missed large entries.
- Monitor normalized RU consumption, throttling and autoscale ceilings.
- Monitor lock contention, stampede frequency and failed refreshes.
Explanation
Correct Answer
D:
Every worker observes the cache miss simultaneously and no coordination exists. Monitor lock contention, stampede frequency and failed refreshes.
Incorrect Answers
A:
“Monitor vector index build errors, memory footprint and query latency.” monitors this signal: The service requires a supported Redis search/vector index with consistent embedding dimensions. This question instead requires an action that can avoid bursty duplicate computation on popular cache keys. Every worker observes the cache miss simultaneously and no coordination exists. Monitor lock contention, stampede frequency and failed refreshes.
B:
“Monitor evictions, fragmentation and frequently missed large entries.” monitors this signal: Its max memory is saturated and eviction policy does not match cache workload priorities. This question instead requires an action that can avoid bursty duplicate computation on popular cache keys. Every worker observes the cache miss simultaneously and no coordination exists. Monitor lock contention, stampede frequency and failed refreshes.
C:
“Monitor normalized RU consumption, throttling and autoscale ceilings.” monitors this signal: Provisioned RU capacity and partition distribution are below the write and query demand. This question instead requires an action that can avoid bursty duplicate computation on popular cache keys. Every worker observes the cache miss simultaneously and no coordination exists. Monitor lock contention, stampede frequency and failed refreshes.
Question 493
At Northwind Learning, 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. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor p95/p99 regression and low-sample misleading thresholds.
- Monitor gaps between event windows and sudden error-rate changes.
- Monitor missed rotation notifications, repeated failures and expired credential use.
- Monitor newly introduced high-cardinality or secret-bearing telemetry fields.
Explanation
Correct Answer
D:
The organization needs troubleshooting context but prohibits exporting raw sensitive data. Monitor newly introduced high-cardinality or secret-bearing telemetry fields.
Incorrect Answers
A:
“Monitor p95/p99 regression and low-sample misleading thresholds.” monitors this signal: 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. Monitor newly introduced high-cardinality or secret-bearing telemetry fields.
B:
“Monitor gaps between event windows and sudden error-rate changes.” monitors this signal: The current results lack time bucketing and cannot reveal when an issue began. 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. Monitor newly introduced high-cardinality or secret-bearing telemetry fields.
C:
“Monitor missed rotation notifications, repeated failures and expired credential use.” monitors this signal: 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. Monitor newly introduced high-cardinality or secret-bearing telemetry fields.
Question 494
Blue Ridge Technology is reviewing an Azure AI workload: An AI gateway makes repeated identical embedding calls and needs a short-lived shared cache. The business goal is to cache safe repeated computations without treating cached values as permanent truth. A change is being evaluated before rollout. The team has documented application and data boundaries. Validate in a disposable environment before applying production changes. Which implementation or configuration choice best meets the stated requirement?
- Create a supported Redis vector search index with correct vector field type and distance metric.
- Persist authoritative user data in a durable database and populate Redis from that source.
- Implement cache-aside lookup with a bounded TTL and version-aware key names.
- Exclude large unused body fields from indexing while preserving needed metadata indexes.
Explanation
Correct Answer
C:
It currently bypasses Redis and stores no expiration for cacheable responses. Implement cache-aside lookup with a bounded TTL and version-aware key names.
Incorrect Answers
A:
“Create a supported Redis vector search index with correct vector field type and distance metric.” is a design or implementation response to the condition: The service requires a supported Redis search/vector index with consistent embedding dimensions. This question instead requires an action that can cache safe repeated computations without treating cached values as permanent truth. It currently bypasses Redis and stores no expiration for cacheable responses. Implement cache-aside lookup with a bounded TTL and version-aware key names.
B:
“Persist authoritative user data in a durable database and populate Redis from that source.” is a design or implementation response to the condition: The configured eviction policy can discard keys when memory pressure rises. This question instead requires an action that can cache safe repeated computations without treating cached values as permanent truth. It currently bypasses Redis and stores no expiration for cacheable responses. Implement cache-aside lookup with a bounded TTL and version-aware key names.
D:
“Exclude large unused body fields from indexing while preserving needed metadata indexes.” is a design or implementation response to the condition: Default indexing captures unused large properties and increases write RU costs. This question instead requires an action that can cache safe repeated computations without treating cached values as permanent truth. It currently bypasses Redis and stores no expiration for cacheable responses. Implement cache-aside lookup with a bounded TTL and version-aware key names.
Question 495
At Juniper Analytics, a billing assistant writes the only copy of user preferences to an eviction-prone Redis cache. Evidence: The configured eviction policy can discard keys when memory pressure rises. The objective is to keep authoritative records in durable storage while treating Redis as reconstructible cache. Only authorized Azure subscriptions and synthetic test data may be used. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor lock contention, stampede frequency and failed refreshes.
- Monitor cache misses, source reload failures and unexpected authoritative-data gaps.
- Monitor evictions, fragmentation and frequently missed large entries.
- Monitor rejected queries, database privilege drift and suspicious syntax patterns.
Explanation
Correct Answer
B:
The configured eviction policy can discard keys when memory pressure rises. Monitor cache misses, source reload failures and unexpected authoritative-data gaps.
Incorrect Answers
A:
“Monitor lock contention, stampede frequency and failed refreshes.” monitors this signal: Every worker observes the cache miss simultaneously and no coordination exists. This question instead requires an action that can keep authoritative records in durable storage while treating Redis as reconstructible cache. The configured eviction policy can discard keys when memory pressure rises. Monitor cache misses, source reload failures and unexpected authoritative-data gaps.
C:
“Monitor evictions, fragmentation and frequently missed large entries.” monitors this signal: Its max memory is saturated and eviction policy does not match cache workload priorities. This question instead requires an action that can keep authoritative records in durable storage while treating Redis as reconstructible cache. The configured eviction policy can discard keys when memory pressure rises. Monitor cache misses, source reload failures and unexpected authoritative-data gaps.
D:
“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 keep authoritative records in durable storage while treating Redis as reconstructible cache. The configured eviction policy can discard keys when memory pressure rises. Monitor cache misses, source reload failures and unexpected authoritative-data gaps.
Question 496
BrightPath Engineering is reviewing an Azure AI workload: A containerized AI API must use different retrieval limits in testing and production while sharing one image. The business goal is to resolve the correct app configuration values by environment without copying application binaries. A change is being evaluated before rollout. The team has documented application and data boundaries. Only authorized Azure subscriptions and synthetic test data may be used. Which implementation or configuration choice best meets the stated requirement?
- Assign an appropriate Key Vault data role at the narrowest required scope under the configured model.
- Configure the supported private endpoint DNS zone link and application networking integration.
- Propagate W3C trace context through message metadata and instrument HTTP and worker spans using OpenTelemetry.
- Configure Azure App Configuration key selection with explicit environment labels and sensible defaults.
Explanation
Correct Answer
D:
The team created labeled keys yet the SDK filter does not select the requested environment label. Configure Azure App Configuration key selection with explicit environment labels and sensible defaults.
Incorrect Answers
A:
“Assign an appropriate Key Vault data role at the narrowest required scope under the configured model.” is a design or implementation response to the condition: The vault is configured to use the Azure RBAC permission model for data-plane authorization. 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. Configure Azure App Configuration key selection with explicit environment labels and sensible defaults.
B:
“Configure the supported private endpoint DNS zone link and application networking integration.” is a design or implementation response to the condition: An isolated application can obtain an Entra token but DNS resolves its vault name to an unreachable public address. 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. Configure Azure App Configuration key selection with explicit environment labels and sensible defaults.
C:
“Propagate W3C trace context through message metadata and instrument HTTP and worker spans using OpenTelemetry.” is a design or implementation response to the condition: The applications generate spans but do not propagate W3C trace context across message boundaries. 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. Configure Azure App Configuration key selection with explicit environment labels and sensible defaults.
Question 497
At BrightPath Engineering, a document embedding worker has a growing Service Bus queue while most Container App replicas are idle. Evidence: Its scale rule tracks HTTP requests instead of queue length and the scaler cannot authenticate to the broker. The objective is to use an event-driven queue scaler with correct authentication and checkpoint behavior. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which acceptance result most strongly demonstrates the requirement is met?
- Verify allowed resource operations succeed and unrelated resource access is denied.
- Confirm messages drain as replicas scale and idle replicas contract without duplicate side effects.
- Verify application and system logs contain correlation details and correct timestamps.
- Verify the deployed digest matches the signed-off artifact despite later tag movement.
Explanation
Correct Answer
B:
Its scale rule tracks HTTP requests instead of queue length and the scaler cannot authenticate to the broker. Confirm messages drain as replicas scale and idle replicas contract without duplicate side effects.
Incorrect Answers
A:
“Verify allowed resource operations succeed and unrelated resource access is denied.” validates an outcome in a case where the evidence is: The managed identity exists but lacks data-plane permission on the target resource. This question instead requires an action that can use an event-driven queue scaler with correct authentication and checkpoint behavior. Its scale rule tracks HTTP requests instead of queue length and the scaler cannot authenticate to the broker. Confirm messages drain as replicas scale and idle replicas contract without duplicate side effects.
C:
“Verify application and system logs contain correlation details and correct timestamps.” validates an outcome in a case where the evidence is: The environment's diagnostic destination is misconfigured and system logs show image pull failures. This question instead requires an action that can use an event-driven queue scaler with correct authentication and checkpoint behavior. Its scale rule tracks HTTP requests instead of queue length and the scaler cannot authenticate to the broker. Confirm messages drain as replicas scale and idle replicas contract without duplicate side effects.
D:
“Verify the deployed digest matches the signed-off artifact despite later tag movement.” validates an outcome in a case where the evidence is: The mutable tag was reassigned to a newer image after release approval. This question instead requires an action that can use an event-driven queue scaler with correct authentication and checkpoint behavior. Its scale rule tracks HTTP requests instead of queue length and the scaler cannot authenticate to the broker. Confirm messages drain as replicas scale and idle replicas contract without duplicate side effects.
Question 498
At Riverbend Health, a high-volume API sends millions of near-identical request traces and telemetry cost grows while rare failures are hard to find. Evidence: The exporter captures all success events without sampling and does not retain error context. The objective is to reduce telemetry cost without losing actionable diagnostics. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which acceptance result most strongly demonstrates the requirement is met?
- Verify correlated parent/child or linked spans show the full operation across services.
- Verify representative successes are sampled while critical failures and trace context remain visible.
- Verify filtering matches the intended JSON property rather than arbitrary text substrings.
- Verify allowed keys load through its identity and unrelated store access is denied.
Explanation
Correct Answer
B:
The exporter captures all success events without sampling and does not retain error context. Verify representative successes are sampled while critical failures and trace context remain visible.
Incorrect Answers
A:
“Verify correlated parent/child or linked spans show the full operation across services.” validates an outcome in a case where the evidence is: The applications generate spans but do not propagate W3C trace context across message boundaries. This question instead requires an action that can reduce telemetry cost without losing actionable diagnostics. The exporter captures all success events without sampling and does not retain error context. Verify representative successes are sampled while critical failures and trace context remain visible.
C:
“Verify filtering matches the intended JSON property rather than arbitrary text substrings.” validates an outcome in a case where the evidence is: The relevant correlation key is nested inside JSON rather than a top-level column. This question instead requires an action that can reduce telemetry cost without losing actionable diagnostics. The exporter captures all success events without sampling and does not retain error context. Verify representative successes are sampled while critical failures and trace context remain visible.
D:
“Verify allowed keys load through its identity and unrelated store access is denied.” validates an outcome in a case where the evidence is: The workload supports managed identity and endpoint-based configuration loading. This question instead requires an action that can reduce telemetry cost without losing actionable diagnostics. The exporter captures all success events without sampling and does not retain error context. Verify representative successes are sampled while critical failures and trace context remain visible.
Question 499
At Blue Ridge Technology, a Python search API builds Cosmos SQL strings by concatenating an untrusted customer query into WHERE clauses. Evidence: Users can enter quotation marks and unexpectedly alter query predicates. The objective is to execute safe predictable Cosmos queries without interpolating untrusted values. Changes must respect customer tenant boundaries and required availability targets. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor query metrics, write RU, and index transformation progress.
- Monitor query failures, unexpected full scans, and input validation alerts.
- Monitor dimension mismatch exceptions and indexed field schema drift.
- Monitor rejected queries, database privilege drift and suspicious syntax patterns.
Explanation
Correct Answer
B:
Users can enter quotation marks and unexpectedly alter query predicates. Monitor query failures, unexpected full scans, and input validation alerts.
Incorrect Answers
A:
“Monitor query metrics, write RU, and index transformation progress.” monitors this signal: Default indexing captures unused large properties and increases write RU costs. This question instead requires an action that can execute safe predictable Cosmos queries without interpolating untrusted values. Users can enter quotation marks and unexpectedly alter query predicates. Monitor query failures, unexpected full scans, and input validation alerts.
C:
“Monitor dimension mismatch exceptions and indexed field schema drift.” monitors this signal: The container vector policy was created for a fixed dimension count and the new vectors do not match. This question instead requires an action that can execute safe predictable Cosmos queries without interpolating untrusted values. Users can enter quotation marks and unexpectedly alter query predicates. Monitor query failures, unexpected full scans, and input validation alerts.
D:
“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 execute safe predictable Cosmos queries without interpolating untrusted values. Users can enter quotation marks and unexpectedly alter query predicates. Monitor query failures, unexpected full scans, and input validation alerts.
Question 500
At Harbor Technology, a back-office model evaluation must run at a future approved time rather than immediately when the request is received. Evidence: The producer has an exact due time but currently places the job on an ordinary active queue. The objective is to schedule delayed work in the messaging layer with explicit timing behavior. Only authorized Azure subscriptions and synthetic test data may be used. Which controlled pilot most directly validates the proposed approach?
- Return controlled 5xx responses from a staging webhook to exhaust its retry window.
- Force a synthetic 429 response from a staging dependency during message processing.
- Schedule a harmless test job for a short future interval and observe visibility before due time.
- Run a benign test invocation that reads and writes an object in a sandbox container.
Explanation
Correct Answer
C:
The producer has an exact due time but currently places the job on an ordinary active queue. Schedule a harmless test job for a short future interval and observe visibility before due time. Scheduled enqueue delays message availability until the selected due time; placing a job on an active queue offers no equivalent delivery-time control.
Incorrect Answers
A:
“Return controlled 5xx responses from a staging webhook to exhaust its retry window.” tests a proposed change for the condition: The subscription has a delivery retry policy but dead-letter storage was never configured. This question instead requires an action that can schedule delayed work in the messaging layer with explicit timing behavior. The producer has an exact due time but currently places the job on an ordinary active queue. Schedule a harmless test job for a short future interval and observe visibility before due time. Scheduled enqueue delays message availability until the selected due time; placing a job on an active queue offers no equivalent delivery-time control.
B:
“Force a synthetic 429 response from a staging dependency during message processing.” tests a proposed change for the condition: The service returns 429 and includes retry guidance while the queue consumer has no backoff. This question instead requires an action that can schedule delayed work in the messaging layer with explicit timing behavior. The producer has an exact due time but currently places the job on an ordinary active queue. Schedule a harmless test job for a short future interval and observe visibility before due time. Scheduled enqueue delays message availability until the selected due time; placing a job on an active queue offers no equivalent delivery-time control.
D:
“Run a benign test invocation that reads and writes an object in a sandbox container.” tests a proposed change for the condition: The function uses a modern supported runtime and can obtain scoped storage identity permissions. This question instead requires an action that can schedule delayed work in the messaging layer with explicit timing behavior. The producer has an exact due time but currently places the job on an ordinary active queue. Schedule a harmless test job for a short future interval and observe visibility before due time. Scheduled enqueue delays message availability until the selected due time; placing a job on an active queue offers no equivalent delivery-time control.