Microsoft AI-200 Practice Test 55
Question 540
Harbor Technology is reviewing an Azure AI workload: An AI evaluation pipeline needs automatically expiring intermediate records but legal-hold items must remain. The business goal is to apply consistent item lifetime semantics to temporary Cosmos data. A change is being evaluated before rollout. The team has documented application and data boundaries. Changes must respect customer tenant boundaries and required availability targets. Which implementation or configuration choice best meets the stated requirement?
- Create a compatible vector policy or migrate to a newly indexed field matching the selected model.
- Use deterministic sink IDs and version checks before committing processed embeddings.
- Implement cache-aside lookup with a bounded TTL and version-aware key names.
- Enable container or per-item TTL with approved expiration windows and explicit exceptions.
Explanation
Correct Answer
D:
The container has TTL disabled and application cleanup jobs miss archived records. Enable container or per-item TTL with approved expiration windows and explicit exceptions.
Incorrect Answers
A:
“Create a compatible vector policy or migrate to a newly indexed field matching the selected model.” is a design or implementation response to the condition: 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 apply consistent item lifetime semantics to temporary Cosmos data. The container has TTL disabled and application cleanup jobs miss archived records. Enable container or per-item TTL with approved expiration windows and explicit exceptions.
B:
“Use deterministic sink IDs and version checks before committing processed embeddings.” is a design or implementation response to the condition: An updated knowledge article gets indexed twice after processor failover and changes search ranking. This question instead requires an action that can apply consistent item lifetime semantics to temporary Cosmos data. The container has TTL disabled and application cleanup jobs miss archived records. Enable container or per-item TTL with approved expiration windows and explicit exceptions.
C:
“Implement cache-aside lookup with a bounded TTL and version-aware key names.” is a design or implementation response to the condition: It currently bypasses Redis and stores no expiration for cacheable responses. This question instead requires an action that can apply consistent item lifetime semantics to temporary Cosmos data. The container has TTL disabled and application cleanup jobs miss archived records. Enable container or per-item TTL with approved expiration windows and explicit exceptions.
Question 541
At Atlas Support, a retried Azure Function invokes an external billing operation twice after a timeout. Evidence: The trigger can invoke the handler more than once, and the side effect lacks an idempotency identifier. The objective is to make non-idempotent downstream operations safe under trigger retries. Preserve end-to-end correlation and avoid copying sensitive production data. Which controlled pilot most directly validates the proposed approach?
- Run a benign test invocation that reads and writes an object in a sandbox container.
- Force a harmless retry of a synthetic event after the downstream sink commits.
- Inject a staging message that causes a transient database failure before eventually succeeding.
- Publish a harmless job and run two test consumers against the same staging queue.
Explanation
Correct Answer
B:
The trigger can invoke the handler more than once, and the side effect lacks an idempotency identifier. Force a harmless retry of a synthetic event after the downstream sink commits.
Incorrect Answers
A:
Azure Functions storage bindings remove manual storage-key handling; they do not make a retried billing operation idempotent. An operation identifier and deduplication or transaction guard are needed to prevent duplicate downstream writes.
C:
“Inject a staging message that causes a transient database failure before eventually succeeding.” tests a proposed change for the condition: The trigger configuration retries and message settlement must align with actual successful work. This question instead requires an action that can make non-idempotent downstream operations safe under trigger retries. The trigger can invoke the handler more than once, and the side effect lacks an idempotency identifier. Force a harmless retry of a synthetic event after the downstream sink commits.
D:
“Publish a harmless job and run two test consumers against the same staging queue.” tests a proposed change for the condition: Only one competing consumer group needs each job, and duplicate fan-out would waste inference compute. This question instead requires an action that can make non-idempotent downstream operations safe under trigger retries. The trigger can invoke the handler more than once, and the side effect lacks an idempotency identifier. Force a harmless retry of a synthetic event after the downstream sink commits.
Question 542
Mosaic Robotics is reviewing an Azure AI workload: An extraction worker should react to uploads under /knowledge/ but not /backups/ in the same storage account. The business goal is to narrow an Event Grid subscription to the relevant resource subject path. A change is being evaluated before rollout. The team has documented application and data boundaries. Preserve end-to-end correlation and avoid copying sensitive production data. Which implementation or configuration choice best meets the stated requirement?
- Configure maximum delivery handling and explicitly dead-letter permanent validation failures with reason details.
- Use PeekLock processing and call Complete only after the output is persisted successfully.
- Persist an idempotency key and check it atomically before applying the external operation.
- Configure a correct subject-begins-with filter for the intended container or path.
Explanation
Correct Answer
D:
The subscription has no subject filter and triggers expensive embedding for unrelated images. Configure a correct subject-begins-with filter for the intended container or path.
Incorrect Answers
A:
“Configure maximum delivery handling and explicitly dead-letter permanent validation failures with reason details.” is a design or implementation response to the condition: The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. This question instead requires an action that can narrow an Event Grid subscription to the relevant resource subject path. The subscription has no subject filter and triggers expensive embedding for unrelated images. Configure a correct subject-begins-with filter for the intended container or path.
B:
“Use PeekLock processing and call Complete only after the output is persisted successfully.” is a design or implementation response to the condition: If the database transaction fails afterward the work is lost because the message was already removed. This question instead requires an action that can narrow an Event Grid subscription to the relevant resource subject path. The subscription has no subject filter and triggers expensive embedding for unrelated images. Configure a correct subject-begins-with filter for the intended container or path.
C:
“Persist an idempotency key and check it atomically before applying the external operation.” is a design or implementation response to the condition: A model metering function adds the same usage event twice when a background retry occurs. This question instead requires an action that can narrow an Event Grid subscription to the relevant resource subject path. The subscription has no subject filter and triggers expensive embedding for unrelated images. Configure a correct subject-begins-with filter for the intended container or path.
Question 543
Cobalt Research is reviewing an Azure AI workload: A new Azure event pipeline sends CloudEvents but the legacy webhook parser looks only for eventType. The business goal is to parse the configured CloudEvents envelope and required event metadata correctly. A change is being evaluated before rollout. The team has documented application and data boundaries. Changes must respect customer tenant boundaries and required availability targets. Which implementation or configuration choice best meets the stated requirement?
- Update the receiver to validate and handle the chosen CloudEvents schema instead of assuming the old event layout.
- Use Service Bus sessions keyed by conversation or aggregate identity with session-aware receivers.
- Configure maximum delivery handling and explicitly dead-letter permanent validation failures with reason details.
- Configure appropriate storage bindings with identity-backed connections and restricted container access.
Explanation
Correct Answer
A:
The Python function expects the older Event Grid event wrapper and reads nonexistent fields. Update the receiver to validate and handle the chosen CloudEvents schema instead of assuming the old event layout.
Incorrect Answers
B:
“Use Service Bus sessions keyed by conversation or aggregate identity with session-aware receivers.” is a design or implementation response to the condition: A chat pipeline must process one conversation's edits in sequence while other conversations run in parallel. This question instead requires an action that can parse the configured CloudEvents envelope and required event metadata correctly. The Python function expects the older Event Grid event wrapper and reads nonexistent fields. Update the receiver to validate and handle the chosen CloudEvents schema instead of assuming the old event layout.
C:
“Configure maximum delivery handling and explicitly dead-letter permanent validation failures with reason details.” is a design or implementation response to the condition: The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. This question instead requires an action that can parse the configured CloudEvents envelope and required event metadata correctly. The Python function expects the older Event Grid event wrapper and reads nonexistent fields. Update the receiver to validate and handle the chosen CloudEvents schema instead of assuming the old event layout.
D:
“Configure appropriate storage bindings with identity-backed connections and restricted container access.” is a design or implementation response to the condition: The function uses a modern supported runtime and can obtain scoped storage identity permissions. This question instead requires an action that can parse the configured CloudEvents envelope and required event metadata correctly. The Python function expects the older Event Grid event wrapper and reads nonexistent fields. Update the receiver to validate and handle the chosen CloudEvents schema instead of assuming the old event layout.
Question 544
At Cobalt Research, a Container App cannot read an Azure data service because its container image expects a developer's local secret. Evidence: The managed identity exists but lacks data-plane permission on the target resource. The objective is to provide short-lived service authorization without bundled credentials. Preserve end-to-end correlation and avoid copying sensitive production data. Which controlled pilot most directly validates the proposed approach?
- Run a staging request using the app identity with all local developer credentials removed.
- Deploy a harmless replacement image to a sandbox namespace and watch rollout events.
- Deploy a test pod with delayed readiness and send harmless requests through its Service.
- Use a synthetic Key Vault secret in a nonproduction slot and refresh the app configuration.
Explanation
Correct Answer
A:
The managed identity exists but lacks data-plane permission on the target resource. Run a staging request using the app identity with all local developer credentials removed.
Incorrect Answers
B:
“Deploy a harmless replacement image to a sandbox namespace and watch rollout events.” tests a proposed change for the condition: The cluster requires repeatable rollout history, desired replica management, and readiness assurance. This question instead requires an action that can provide short-lived service authorization without bundled credentials. The managed identity exists but lacks data-plane permission on the target resource. Run a staging request using the app identity with all local developer credentials removed.
C:
“Deploy a test pod with delayed readiness and send harmless requests through its Service.” tests a proposed change for the 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 provide short-lived service authorization without bundled credentials. The managed identity exists but lacks data-plane permission on the target resource. Run a staging request using the app identity with all local developer credentials removed.
D:
“Use a synthetic Key Vault secret in a nonproduction slot and refresh the app configuration.” tests a proposed change for the condition: The application can use managed identity and the secret already exists in Azure Key Vault. This question instead requires an action that can provide short-lived service authorization without bundled credentials. The managed identity exists but lacks data-plane permission on the target resource. Run a staging request using the app identity with all local developer credentials removed.
Question 545
At Juniper Analytics, a deployment pipeline accepts images by tag although a signed build pipeline is required. Evidence: An engineer can push an image directly to the registry without required provenance checks. The objective is to allow promotion only of artifacts that satisfy an approved signing and validation policy. 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.
- Swap a harmless updated staging version into a nonproduction environment and simulate a failed acceptance check.
- Run a disposable pod with the assigned service account and request an innocuous Key Vault secret.
- Submit one signed test image and one unsigned test image to the staging gate.
Explanation
Correct Answer
D:
An engineer can push an image directly to the registry without required provenance checks. Submit one signed test image and one unsigned test image to the staging gate.
Incorrect Answers
A:
App Service Key Vault references secure runtime secrets. They do not prove that a promoted registry artifact has an approved origin; verify its signing or attestation and immutable digest before deployment.
B:
“Swap a harmless updated staging version into a nonproduction environment and simulate a failed acceptance check.” tests a proposed change for the condition: The team has a healthy staging slot with a previously verified container image. This question instead requires an action that can allow promotion only of artifacts that satisfy an approved signing and validation policy. An engineer can push an image directly to the registry without required provenance checks. Submit one signed test image and one unsigned test image to the staging gate.
C:
“Run a disposable pod with the assigned service account and request an innocuous Key Vault secret.” tests a proposed change for the condition: The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. This question instead requires an action that can allow promotion only of artifacts that satisfy an approved signing and validation policy. An engineer can push an image directly to the registry without required provenance checks. Submit one signed test image and one unsigned test image to the staging gate.
Question 546
At Mosaic Robotics, an AKS model server accepts TCP connections before it finishes loading its embedding model and clients receive errors. Evidence: A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. The objective is to route traffic only after application readiness while retaining separate restart detection. Validate in a disposable environment before applying production changes. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor exposed LoadBalancer Services, policy coverage, and changes to namespace labels.
- Monitor federation failures, service account drift, and excessive Azure role grants.
- Monitor probe-related restarts, unready endpoints, and warm-up latency.
- Monitor app settings drift, accidental environment crossover, and stale deployments.
Explanation
Correct Answer
C:
A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Monitor probe-related restarts, unready endpoints, and warm-up latency.
Incorrect Answers
A:
“Monitor exposed LoadBalancer Services, policy coverage, and changes to namespace labels.” monitors this signal: The Service type and network policies do not enforce the desired cluster-internal caller boundary. This question instead requires an action that can route traffic only after application readiness while retaining separate restart detection. A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Monitor probe-related restarts, unready endpoints, and warm-up latency.
B:
“Monitor federation failures, service account drift, and excessive Azure role grants.” monitors this signal: The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. This question instead requires an action that can route traffic only after application readiness while retaining separate restart detection. A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Monitor probe-related restarts, unready endpoints, and warm-up latency.
D:
“Monitor app settings drift, accidental environment crossover, and stale deployments.” monitors this signal: Its model endpoint and database settings were baked into the Docker image rather than injected per environment. This question instead requires an action that can route traffic only after application readiness while retaining separate restart detection. A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Monitor probe-related restarts, unready endpoints, and warm-up latency.
Question 547
At BrightPath Engineering, a multi-region application deployment in Azure Container Apps downloads large images slowly from a remote registry region. Evidence: Its Premium registry has no replica in the region where new workloads are starting. The objective is to reduce regional image pull latency and improve registry availability without duplicating release identities. Validate in a disposable environment before applying production changes. 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.
- Review registry tier, deployment region, and pull timing by geography.
- Inspect the application's managed identity, Key Vault permissions, and secret reference resolution status.
- Inspect revision mode, labels, active revision weights, and ingress configuration.
Explanation
Correct Answer
B:
Its Premium registry has no replica in the region where new workloads are starting. Review registry tier, deployment region, and pull timing by geography.
Incorrect Answers
A:
Fixing an App Service container listener port can restore HTTP health checks, but it does not bring an Azure Container Registry image closer to a remote deployment. A regional ACR replica addresses large-image pull locality and availability.
C:
“Inspect the application's managed identity, Key Vault permissions, and secret reference resolution status.” is a diagnostic step for the reported condition: The application can use managed identity and the secret already exists in Azure Key Vault. This question instead requires an action that can reduce regional image pull latency and improve registry availability without duplicating release identities. Its Premium registry has no replica in the region where new workloads are starting. Review registry tier, deployment region, and pull timing by geography.
D:
“Inspect revision mode, labels, active revision weights, and ingress configuration.” is a diagnostic step for the reported condition: The Container App is configured for single-revision mode and routes all ingress to the active revision. This question instead requires an action that can reduce regional image pull latency and improve registry availability without duplicating release identities. Its Premium registry has no replica in the region where new workloads are starting. Review registry tier, deployment region, and pull timing by geography.
Question 548
At Atlas Support, a queue worker acknowledges a message before writing its embedding result to a database. Evidence: If the database transaction fails afterward the work is lost because the message was already removed. The objective is to complete locked Service Bus messages only after successful durable processing. Changes must respect customer tenant boundaries and required availability targets. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor duplicate IDs, retry storms and duplicate sink mutations.
- Monitor lock expirations, abandoned deliveries and uncommitted work.
- Monitor dead-letter volume, age and replay approvals.
- Monitor token acquisition errors, configuration overrides and role assignment changes.
Explanation
Correct Answer
B:
For PeekLock processing, the worker should complete the Service Bus message only after the embedding result is durably written. Monitor lock expiration, abandoned or redelivered messages and unsuccessful database commits, and correlate each completed message with the persisted result. Use idempotent downstream writes because a lost lock or settlement retry can lead to repeated processing even when the source message is not intentionally deleted.
Incorrect Answers
A:
“Monitor duplicate IDs, retry storms and duplicate sink mutations.” monitors this signal: The first send may have succeeded and a second identical command could duplicate work. This question instead requires an action that can complete locked Service Bus messages only after successful durable processing. For PeekLock processing, the worker should complete the Service Bus message only after the embedding result is durably written. Monitor lock expiration, abandoned or redelivered messages and unsuccessful database commits, and correlate each completed message with the persisted result. Use idempotent downstream writes because a lost lock or settlement retry can lead to repeated processing even when the source message is not intentionally deleted.
C:
The dead-letter queue reveals messages that could not be processed successfully after retries or explicit rejection. It does not by itself detect the original loss mechanism: a worker that acknowledged the message before its database write failed may leave no message to dead-letter. Monitor the lock, completion and durable-write boundary, with dead-letter trends as complementary exception evidence.
D:
“Monitor token acquisition errors, configuration overrides and role assignment changes.” monitors this signal: Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. This question instead requires an action that can complete locked Service Bus messages only after successful durable processing. For PeekLock processing, the worker should complete the Service Bus message only after the embedding result is durably written. Monitor lock expiration, abandoned or redelivered messages and unsuccessful database commits, and correlate each completed message with the persisted result. Use idempotent downstream writes because a lost lock or settlement retry can lead to repeated processing even when the source message is not intentionally deleted.
Question 549
At Atlas Support, a custom container stores a production API credential in a plain App Service configuration value. Evidence: The application can use managed identity and the secret already exists in Azure Key Vault. The objective is to reference sensitive values through a supported secret mechanism with least privilege. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which controlled pilot most directly validates the proposed approach?
- Resolve and pull a harmless image from a test workload in the isolated VNet.
- Start the image in a staging App Service and send a harmless HTTP health request.
- Use a synthetic Key Vault secret in a nonproduction slot and refresh the app configuration.
- Make one permitted request from a sibling test app and one prohibited internet request.
Explanation
Correct Answer
C:
The application can use managed identity and the secret already exists in Azure Key Vault. Use a synthetic Key Vault secret in a nonproduction slot and refresh the app configuration.
Incorrect Answers
A:
“Resolve and pull a harmless image from a test workload in the isolated VNet.” tests a proposed change for the condition: The ACR private endpoint exists but the VNet is not linked to the necessary private DNS zone. This question instead requires an action that can reference sensitive values through a supported secret mechanism with least privilege. The application can use managed identity and the secret already exists in Azure Key Vault. Use a synthetic Key Vault secret in a nonproduction slot and refresh the app configuration.
B:
“Start the image in a staging App Service and send a harmless HTTP health request.” tests a proposed change for the 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 reference sensitive values through a supported secret mechanism with least privilege. The application can use managed identity and the secret already exists in Azure Key Vault. Use a synthetic Key Vault secret in a nonproduction slot and refresh the app configuration.
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 reference sensitive values through a supported secret mechanism with least privilege. The application can use managed identity and the secret already exists in Azure Key Vault. Use a synthetic Key Vault secret in a nonproduction slot and refresh the app configuration.
Question 550
At Aspen Manufacturing, events for one customer conversation must be applied in order even as workers scale horizontally. Evidence: Parallel consumers receive updates out of order and session affinity is not configured. The objective is to preserve per-entity message ordering without serializing all customer traffic globally. Changes must respect customer tenant boundaries and required availability targets. Which implementation or configuration choice best meets the stated requirement?
- Configure a correct subject-begins-with filter for the intended container or path.
- Use PeekLock processing and call Complete only after the output is persisted successfully.
- Configure the Event Grid trigger and subscription for the correct resource event types.
- Use Service Bus sessions keyed by conversation or aggregate identity with session-aware receivers.
Explanation
Correct Answer
D:
Parallel consumers receive updates out of order and session affinity is not configured. Use Service Bus sessions keyed by conversation or aggregate identity with session-aware receivers.
Incorrect Answers
A:
“Configure a correct subject-begins-with filter for the intended container or path.” is a design or implementation response to the condition: An extraction worker should react to uploads under /knowledge/ but not /backups/ in the same storage account. This question instead requires an action that can preserve per-entity message ordering without serializing all customer traffic globally. Parallel consumers receive updates out of order and session affinity is not configured. Use Service Bus sessions keyed by conversation or aggregate identity with session-aware receivers.
B:
“Use PeekLock processing and call Complete only after the output is persisted successfully.” is a design or implementation response to the condition: If the database transaction fails afterward the work is lost because the message was already removed. This question instead requires an action that can preserve per-entity message ordering without serializing all customer traffic globally. Parallel consumers receive updates out of order and session affinity is not configured. Use Service Bus sessions keyed by conversation or aggregate identity with session-aware receivers.
C:
“Configure the Event Grid trigger and subscription for the correct resource event types.” is a design or implementation response to the condition: A serverless thumbnail pipeline stopped responding to storage updates after its function name changed. This question instead requires an action that can preserve per-entity message ordering without serializing all customer traffic globally. Parallel consumers receive updates out of order and session affinity is not configured. Use Service Bus sessions keyed by conversation or aggregate identity with session-aware receivers.