Microsoft AI-200 Practice Test 52
Question 510
At Sapphire Energy, an external webhook endpoint never activates as an Event Grid event subscription destination. Evidence: The webhook ignores the subscription validation event and never returns the expected validation response. The objective is to complete Event Grid webhook subscription validation before accepting operational events. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which implementation or configuration choice best meets the stated requirement?
- Use a Service Bus queue for competing workers when each work item should be processed once by one consumer.
- Use bounded exponential backoff with jitter and appropriate lock renewal or retry settlement.
- Implement the supported validation handshake or use an appropriate managed Azure event trigger.
- Define a supported schedule in the correct time standard and document daylight-saving behavior.
Explanation
Correct Answer
C:
The webhook ignores the subscription validation event and never returns the expected validation response. Implement the supported validation handshake or use an appropriate managed Azure event trigger.
Incorrect Answers
A:
“Use a Service Bus queue for competing workers when each work item should be processed once by one consumer.” is a design or implementation response to 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 complete Event Grid webhook subscription validation before accepting operational events. The webhook ignores the subscription validation event and never returns the expected validation response. Implement the supported validation handshake or use an appropriate managed Azure event trigger.
B:
“Use bounded exponential backoff with jitter and appropriate lock renewal or retry settlement.” is a design or implementation response to 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 complete Event Grid webhook subscription validation before accepting operational events. The webhook ignores the subscription validation event and never returns the expected validation response. Implement the supported validation handshake or use an appropriate managed Azure event trigger.
D:
“Define a supported schedule in the correct time standard and document daylight-saving behavior.” is a design or implementation response to the condition: An AI cache cleanup function must run every night at a stable UTC time rather than an assumed local offset. This question instead requires an action that can complete Event Grid webhook subscription validation before accepting operational events. The webhook ignores the subscription validation event and never returns the expected validation response. Implement the supported validation handshake or use an appropriate managed Azure event trigger.
Question 511
At BrightPath Engineering, an Azure Container App needs a private API key but the developer added it to a checked-in environment file. Evidence: The workload supports managed identity and the secret is stored in Azure Key Vault. The objective is to retrieve required secrets through authorized identities without embedding secret values in code. Preserve end-to-end correlation and avoid copying sensitive production data. Which acceptance result most strongly demonstrates the requirement is met?
- Verify the app observes a consistent new set after refresh rather than a partial update.
- Verify the intended secret is accessible and unrelated secrets or vaults are denied.
- Verify enabled testers receive the feature and other users continue on the stable path.
- Verify correlated parent/child or linked spans show the full operation across services.
Explanation
Correct Answer
B:
The workload supports managed identity and the secret is stored in Azure Key Vault. Verify the intended secret is accessible and unrelated secrets or vaults are denied.
Incorrect Answers
A:
“Verify the app observes a consistent new set after refresh rather than a partial update.” validates an outcome in a case where the evidence is: The SDK refresh provider observes no sentinel key and the keys update at different moments. This question instead requires an action that can retrieve required secrets through authorized identities without embedding secret values in code. The workload supports managed identity and the secret is stored in Azure Key Vault. Verify the intended secret is accessible and unrelated secrets or vaults are denied.
C:
“Verify enabled testers receive the feature and other users continue on the stable path.” validates an outcome in a case where the evidence is: The application uses hard-coded booleans in source and requires a rebuild for every rollout. This question instead requires an action that can retrieve required secrets through authorized identities without embedding secret values in code. The workload supports managed identity and the secret is stored in Azure Key Vault. Verify the intended secret is accessible and unrelated secrets or vaults are denied.
D:
“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 retrieve required secrets through authorized identities without embedding secret values in code. The workload supports managed identity and the secret is stored in Azure Key Vault. Verify the intended secret is accessible and unrelated secrets or vaults are denied.
Question 512
At Redwood Banking, a policy-answer service serves old snippets after documents are updated in its authoritative database. Evidence: Its Redis cache persists until a long TTL and does not react to content version changes. The objective is to remove or version stale cached results after authoritative data modifications. Changes must respect customer tenant boundaries and required availability targets. Which acceptance result most strongly demonstrates the requirement is met?
- Verify subsequent reads return the new content rather than a stale cached answer.
- Verify permitted commands work securely and prohibited operations are denied.
- Verify second request avoids repeated work and expired entries are recomputed correctly.
- Verify upserts and similarity queries succeed with the expected vector dimensionality.
Explanation
Correct Answer
A:
Its Redis cache persists until a long TTL and does not react to content version changes. Verify subsequent reads return the new content rather than a stale cached answer.
Incorrect Answers
B:
Redis TLS and authorization protect the cache connection. They do not invalidate old cached policy snippets after an authoritative update; key versioning or explicit invalidation must prevent stale reads.
C:
“Verify second request avoids repeated work and expired entries are recomputed correctly.” validates an outcome in a case where the evidence is: It currently bypasses Redis and stores no expiration for cacheable responses. This question instead requires an action that can remove or version stale cached results after authoritative data modifications. Its Redis cache persists until a long TTL and does not react to content version changes. Verify subsequent reads return the new content rather than a stale cached answer.
D:
“Verify upserts and similarity queries succeed with the expected vector dimensionality.” validates an outcome in a case where the evidence is: 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 remove or version stale cached results after authoritative data modifications. Its Redis cache persists until a long TTL and does not react to content version changes. Verify subsequent reads return the new content rather than a stale cached answer.
Question 513
At Crownridge Consulting, an Event Grid handler fails after the subscription switches event schema to CloudEvents v1.0. Evidence: The Python function expects the older Event Grid event wrapper and reads nonexistent fields. The objective is to parse the configured CloudEvents envelope and required event metadata correctly. Validate in a disposable environment before applying production changes. Which implementation or configuration choice best meets the stated requirement?
- Use bounded exponential backoff with jitter and appropriate lock renewal or retry settlement.
- Update the receiver to validate and handle the chosen CloudEvents schema instead of assuming the old event layout.
- 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
B:
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
A:
“Use bounded exponential backoff with jitter and appropriate lock renewal or retry settlement.” is a design or implementation response to 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 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 514
At Harbor Technology, app Configuration contains a literal connection password although the service supports Key Vault references. Evidence: The consuming app identity can be authorized to both App Configuration and Key Vault. The objective is to keep centralized configuration while resolving secrets at the correct protected resource. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which acceptance result most strongly demonstrates the requirement is met?
- Verify no password literal is stored in App Configuration and the app resolves the approved Key Vault value.
- Verify enabled testers receive the feature and other users continue on the stable path.
- Verify the app observes a consistent new set after refresh rather than a partial update.
- Verify slow request records match the expected downstream dependency without accidental many-to-many inflation.
Explanation
Correct Answer
A:
The consuming app identity can be authorized to both App Configuration and Key Vault. Verify no password literal is stored in App Configuration and the app resolves the approved Key Vault value.
Incorrect Answers
B:
App Configuration feature flags control targeted rollout of a feature; they do not remove an embedded connection password. Store a Key Vault reference in App Configuration and authorize the consuming app to resolve that secret from Key Vault.
C:
“Verify the app observes a consistent new set after refresh rather than a partial update.” validates an outcome in a case where the evidence is: The SDK refresh provider observes no sentinel key and the keys update at different moments. This question instead requires an action that can keep centralized configuration while resolving secrets at the correct protected resource. The consuming app identity can be authorized to both App Configuration and Key Vault. Verify no password literal is stored in App Configuration and the app resolves the approved Key Vault value.
D:
“Verify slow request records match the expected downstream dependency without accidental many-to-many inflation.” validates an outcome in a case where the evidence is: Request and dependency telemetry share an operation correlation ID. This question instead requires an action that can keep centralized configuration while resolving secrets at the correct protected resource. The consuming app identity can be authorized to both App Configuration and Key Vault. Verify no password literal is stored in App Configuration and the app resolves the approved Key Vault value.
Question 515
At Northwind Learning, a microservice publishes embedding-ready events but its downstream indexer receives none. Evidence: The Dapr pub/sub component references an incorrect topic and lacks authorized broker access. The objective is to bind reliable application events to Dapr component and topic configuration. Validate in a disposable environment before applying production changes. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect Container Apps HTTP concurrency rule, min/max replicas, and scale-controller logs.
- Inspect AKS OIDC configuration, Kubernetes service account annotation, and federated credential subject.
- Inspect the Dapr sidecar, component YAML, subscription topic names, and broker connectivity.
- Inspect application configuration precedence, container environment variables, and deployment slot settings.
Explanation
Correct Answer
C:
The Dapr pub/sub component references an incorrect topic and lacks authorized broker access. Inspect the Dapr sidecar, component YAML, subscription topic names, and broker connectivity.
Incorrect Answers
A:
“Inspect Container Apps HTTP concurrency rule, min/max replicas, and scale-controller logs.” is a diagnostic step for the reported condition: The app has no tuned HTTP scale rule and the maximum replica count is too low. This question instead requires an action that can bind reliable application events to Dapr component and topic configuration. The Dapr pub/sub component references an incorrect topic and lacks authorized broker access. Inspect the Dapr sidecar, component YAML, subscription topic names, and broker connectivity.
B:
“Inspect AKS OIDC configuration, Kubernetes service account annotation, and federated credential subject.” is a diagnostic step for the reported condition: The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. This question instead requires an action that can bind reliable application events to Dapr component and topic configuration. The Dapr pub/sub component references an incorrect topic and lacks authorized broker access. Inspect the Dapr sidecar, component YAML, subscription topic names, and broker connectivity.
D:
“Inspect application configuration precedence, container environment variables, and deployment slot settings.” is a diagnostic step for the reported condition: 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 bind reliable application events to Dapr component and topic configuration. The Dapr pub/sub component references an incorrect topic and lacks authorized broker access. Inspect the Dapr sidecar, component YAML, subscription topic names, and broker connectivity.
Question 516
At Harbor Technology, 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. Changes must respect customer tenant boundaries and required availability targets. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect queue depth, KEDA scaler metadata, identity permissions, and scale events.
- Inspect AKS OIDC configuration, Kubernetes service account annotation, and federated credential subject.
- Inspect Service type, selectors, ingress objects, network policy selectors, and CNI policy support.
- Inspect private endpoint approval, relevant private DNS zone links, registry resolution, and firewall routing.
Explanation
Correct Answer
A:
Its scale rule tracks HTTP requests instead of queue length and the scaler cannot authenticate to the broker. Inspect queue depth, KEDA scaler metadata, identity permissions, and scale events.
Incorrect Answers
B:
“Inspect AKS OIDC configuration, Kubernetes service account annotation, and federated credential subject.” is a diagnostic step for the reported condition: The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. 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. Inspect queue depth, KEDA scaler metadata, identity permissions, and scale events.
C:
“Inspect Service type, selectors, ingress objects, network policy selectors, and CNI policy support.” is a diagnostic step for the reported condition: The Service type and network policies do not enforce the desired cluster-internal caller boundary. 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. Inspect queue depth, KEDA scaler metadata, identity permissions, and scale events.
D:
“Inspect private endpoint approval, relevant private DNS zone links, registry resolution, and firewall routing.” is a diagnostic step for the reported 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 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. Inspect queue depth, KEDA scaler metadata, identity permissions, and scale events.
Question 517
Crownridge Consulting is reviewing an Azure AI workload: An app developer adds a vault access policy but secret reads still fail because the vault uses Azure RBAC. The business goal is to apply permissions in the active Key Vault authorization model. 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.
- Choose a versionless reference for approved automatic latest-version retrieval or a coordinated pinned-version rollout.
- Register a sentinel key for refresh and update it only after related config values are published.
- Filter Log Analytics or console logs by revision and correlate startup failures with its image digest.
Explanation
Correct Answer
A:
The vault is configured to use the Azure RBAC permission model for data-plane authorization. Assign an appropriate Key Vault data role at the narrowest required scope under the configured model.
Incorrect Answers
B:
“Choose a versionless reference for approved automatic latest-version retrieval or a coordinated pinned-version rollout.” is a design or implementation response to the condition: The application reference includes a specific version that no longer matches the managed rotation policy. This question instead requires an action that can apply permissions in the active Key Vault authorization model. The vault is configured to use the Azure RBAC permission model for data-plane authorization. Assign an appropriate Key Vault data role at the narrowest required scope under the configured model.
C:
“Register a sentinel key for refresh and update it only after related config values are published.” is a design or implementation response to the condition: A long-running model service must adopt a new ranking threshold set without downtime or inconsistent partial settings. This question instead requires an action that can apply permissions in the active Key Vault authorization model. The vault is configured to use the Azure RBAC permission model for data-plane authorization. Assign an appropriate Key Vault data role at the narrowest required scope under the configured model.
D:
“Filter Log Analytics or console logs by revision and correlate startup failures with its image digest.” is a design or implementation response to the condition: An Azure Container App canary has failing requests while pooled dashboard metrics hide its isolated errors. This question instead requires an action that can apply permissions in the active Key Vault authorization model. The vault is configured to use the Azure RBAC permission model for data-plane authorization. Assign an appropriate Key Vault data role at the narrowest required scope under the configured model.
Question 518
At Aspen Manufacturing, 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. Validate in a disposable environment before applying production changes. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor DNS zone link drift, private endpoint health, and public access settings.
- Monitor failing ACR Task runs, stale deployed digests, and skipped source triggers.
- Monitor unresolved secret references, revoked identity permissions, and version changes.
- Monitor stuck messages, scaling failures, and message completion latency.
Explanation
Correct Answer
A:
The ACR private endpoint exists but the VNet is not linked to the necessary private DNS zone. Monitor DNS zone link drift, private endpoint health, and public access settings.
Incorrect Answers
B:
“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 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. Monitor DNS zone link drift, private endpoint health, and public access settings.
C:
Resolving an application secret from Key Vault is an identity and secret-configuration concern. The failed ACR image pull is caused by private-registry DNS and network reachability; the VNet needs the matching private DNS link and endpoint path.
D:
“Monitor stuck messages, scaling failures, and message completion latency.” monitors this signal: Its scale rule tracks HTTP requests instead of queue length and the scaler cannot authenticate to the broker. 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. Monitor DNS zone link drift, private endpoint health, and public access settings.
Question 519
Atlas Support is reviewing an Azure AI workload: A production service loses a shared credential after a cleanup job deletes its Key Vault secret. The business goal is to protect critical secret lifecycle against accidental or malicious deletion. 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?
- Use the Azure Identity credential chain and App Configuration endpoint with minimal role assignments.
- Register a sentinel key for refresh and update it only after related config values are published.
- Use supported parse_json or dynamic-field access and convert fields to the required type.
- Enable supported purge protection and document recovery of soft-deleted secrets under change control.
Explanation
Correct Answer
D:
The vault supports soft-delete retention and purge protection but neither is documented in recovery procedures. Enable supported purge protection and document recovery of soft-deleted secrets under change control.
Incorrect Answers
A:
“Use the Azure Identity credential chain and App Configuration endpoint with minimal role assignments.” is a design or implementation response to the condition: A private AKS worker needs model routing configuration without mounting a broad App Configuration access key. This question instead requires an action that can protect critical secret lifecycle against accidental or malicious deletion. The vault supports soft-delete retention and purge protection but neither is documented in recovery procedures. Enable supported purge protection and document recovery of soft-deleted secrets under change control.
B:
“Register a sentinel key for refresh and update it only after related config values are published.” is a design or implementation response to the condition: A long-running model service must adopt a new ranking threshold set without downtime or inconsistent partial settings. This question instead requires an action that can protect critical secret lifecycle against accidental or malicious deletion. The vault supports soft-delete retention and purge protection but neither is documented in recovery procedures. Enable supported purge protection and document recovery of soft-deleted secrets under change control.
C:
“Use supported parse_json or dynamic-field access and convert fields to the required type.” is a design or implementation response to the condition: A Function App logs dynamic metadata including queue type and AI model revision that dashboards must filter. This question instead requires an action that can protect critical secret lifecycle against accidental or malicious deletion. The vault supports soft-delete retention and purge protection but neither is documented in recovery procedures. Enable supported purge protection and document recovery of soft-deleted secrets under change control.
Question 520
At Riverbend Health, a multi-region client reads a just-updated chat setting and sometimes receives an older value on another request. Evidence: The application does not retain session tokens and assumes eventual consistency provides read-your-writes. The objective is to select the least costly consistency level meeting session visibility requirements. Only authorized Azure subscriptions and synthetic test data may be used. Which acceptance result most strongly demonstrates the requirement is met?
- Confirm the client observes its writes within the defined session while cross-session guarantees are not overstated.
- Verify replay leaves exactly one current output record and correct updated version.
- Verify the correct item version is returned with lower request cost and proper tenant boundary.
- Verify throughput improves without exhausting server connections or leaking sessions.
Explanation
Correct Answer
A:
The application does not retain session tokens and assumes eventual consistency provides read-your-writes. Confirm the client observes its writes within the defined session while cross-session guarantees are not overstated.
Incorrect Answers
B:
“Verify replay leaves exactly one current output record and correct updated version.” validates an outcome in a case where the evidence is: Change feed delivery and retries require consumers to tolerate at-least-once processing. This question instead requires an action that can select the least costly consistency level meeting session visibility requirements. The application does not retain session tokens and assumes eventual consistency provides read-your-writes. Confirm the client observes its writes within the defined session while cross-session guarantees are not overstated.
C:
“Verify the correct item version is returned with lower request cost and proper tenant boundary.” validates an outcome in a case where the evidence is: The SDK already has both the item id and its exact partition key value. This question instead requires an action that can select the least costly consistency level meeting session visibility requirements. The application does not retain session tokens and assumes eventual consistency provides read-your-writes. Confirm the client observes its writes within the defined session while cross-session guarantees are not overstated.
D:
“Verify throughput improves without exhausting server connections or leaking sessions.” validates an outcome in a case where the evidence is: The database sees many idle connections and connection setup dominates API latency. This question instead requires an action that can select the least costly consistency level meeting session visibility requirements. The application does not retain session tokens and assumes eventual consistency provides read-your-writes. Confirm the client observes its writes within the defined session while cross-session guarantees are not overstated.