Microsoft AI-200 Practice Test 56
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.
Question 551
At Crownridge Consulting, a consumer writes vector updates twice when the Cosmos DB change feed replays a batch after a worker crash. Evidence: Change feed delivery and retries require consumers to tolerate at-least-once processing. The objective is to make downstream embedding writes idempotent despite retries. Preserve end-to-end correlation and avoid copying sensitive production data. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor point-read failure rate, 429 responses, and unexpected cross-partition queries.
- Monitor replay frequency, version conflicts, and duplicate side effects.
- Monitor query metrics, write RU, and index transformation progress.
- Monitor corpus drift, search recall and vacuum/reindex maintenance.
Explanation
Correct Answer
B:
Change feed delivery and retries require consumers to tolerate at-least-once processing. Monitor replay frequency, version conflicts, and duplicate side effects.
Incorrect Answers
A:
A Cosmos DB point read reduces RU for a known partition key and item ID. It does not stop change-feed replays from triggering duplicate embedding writes; the consumer needs a stable idempotency key and deduplicated commits.
C:
“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 make downstream embedding writes idempotent despite retries. Change feed delivery and retries require consumers to tolerate at-least-once processing. Monitor replay frequency, version conflicts, and duplicate side effects.
D:
“Monitor corpus drift, search recall and vacuum/reindex maintenance.” monitors this signal: The approximate index requires suitable data distribution and tuning for list count and probes. This question instead requires an action that can make downstream embedding writes idempotent despite retries. Change feed delivery and retries require consumers to tolerate at-least-once processing. Monitor replay frequency, version conflicts, and duplicate side effects.
Question 552
Sapphire Energy is reviewing an Azure AI workload: An enterprise API credential must be rotated before expiration using an auditable event-driven process. The business goal is to trigger controlled rotation workflows using supported event notification and ownership. 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 managed identity token credentials with appropriate Cosmos data-plane role at a narrow scope.
- Enable supported purge protection and document recovery of soft-deleted secrets under change control.
- Create a scoped Key Vault event subscription for near-expiry or version-new events with approved rotation handling.
- Use summarize with bin(timestamp, 5m) and appropriate role and failure filters.
Explanation
Correct Answer
C:
A Key Vault event is supported but no subscription has been configured for near-expiration events. Create a scoped Key Vault event subscription for near-expiry or version-new events with approved rotation handling.
Incorrect Answers
A:
“Configure managed identity token credentials with appropriate Cosmos data-plane role at a narrow scope.” is a design or implementation response to the condition: A Container App needs to write records to one Cosmos container but currently stores a powerful account key. This question instead requires an action that can trigger controlled rotation workflows using supported event notification and ownership. A Key Vault event is supported but no subscription has been configured for near-expiration events. Create a scoped Key Vault event subscription for near-expiry or version-new events with approved rotation handling.
B:
“Enable supported purge protection and document recovery of soft-deleted secrets under change control.” is a design or implementation response to the condition: The vault supports soft-delete retention and purge protection but neither is documented in recovery procedures. This question instead requires an action that can trigger controlled rotation workflows using supported event notification and ownership. A Key Vault event is supported but no subscription has been configured for near-expiration events. Create a scoped Key Vault event subscription for near-expiry or version-new events with approved rotation handling.
D:
“Use summarize with bin(timestamp, 5m) and appropriate role and failure filters.” is a design or implementation response to the condition: An operations team wants to see whether model serving errors rose during a fifteen-minute rollout. This question instead requires an action that can trigger controlled rotation workflows using supported event notification and ownership. A Key Vault event is supported but no subscription has been configured for near-expiration events. Create a scoped Key Vault event subscription for near-expiry or version-new events with approved rotation handling.
Question 553
At Northwind Learning, an application changes several configuration keys but running instances keep inconsistent snapshots until they restart. Evidence: The SDK refresh provider observes no sentinel key and the keys update at different moments. The objective is to refresh logically related configuration changes coherently without constant remote polling. Changes must respect customer tenant boundaries and required availability targets. Which controlled pilot most directly validates the proposed approach?
- Run a benign item read through the app identity and try an unauthorized container read.
- Generate an authorized test expiration event for a disposable secret or simulate an equivalent event.
- Run a read-only KQL query over test events placed in separate five-minute windows.
- Change two harmless staging settings followed by their sentinel and invoke configuration refresh.
Explanation
Correct Answer
D:
The SDK refresh provider observes no sentinel key and the keys update at different moments. Change two harmless staging settings followed by their sentinel and invoke configuration refresh.
Incorrect Answers
A:
“Run a benign item read through the app identity and try an unauthorized container read.” tests a proposed change for the condition: The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. This question instead requires an action that can refresh logically related configuration changes coherently without constant remote polling. The SDK refresh provider observes no sentinel key and the keys update at different moments. Change two harmless staging settings followed by their sentinel and invoke configuration refresh.
B:
Key Vault rotation notifications alert handlers to expiring secrets, whereas the problem is partially refreshed App Configuration values. Update a sentinel after related keys change and use the SDK refresh provider to consume a coherent set.
C:
“Run a read-only KQL query over test events placed in separate five-minute windows.” tests a proposed change for the condition: The current results lack time bucketing and cannot reveal when an issue began. This question instead requires an action that can refresh logically related configuration changes coherently without constant remote polling. The SDK refresh provider observes no sentinel key and the keys update at different moments. Change two harmless staging settings followed by their sentinel and invoke configuration refresh.
Question 554
At Harbor Technology, an Azure-hosted Python function assembles a PostgreSQL query by concatenating a user-provided document identifier. Evidence: Malformed input can change SQL syntax and the service account can read more rows than necessary. The objective is to use parameterized database queries with narrow table permissions. Changes must respect customer tenant boundaries and required availability targets. Which controlled pilot most directly validates the proposed approach?
- Compare latency and recall for a fixed test corpus before and after the indexed query.
- Query a sanitized staging dataset with normal and quote-containing identifier strings.
- Run bounded ingestion and retrieval benchmarks on a resized nonproduction server.
- Crash a disposable worker after writing a test item but before its lease checkpoint.
Explanation
Correct Answer
B:
Malformed input can change SQL syntax and the service account can read more rows than necessary. Query a sanitized staging dataset with normal and quote-containing identifier strings.
Incorrect Answers
A:
“Compare latency and recall for a fixed test corpus before and after the indexed query.” tests a proposed change for the condition: The vector column has no suitable approximate nearest neighbor index for the cosine operator. This question instead requires an action that can use parameterized database queries with narrow table permissions. Malformed input can change SQL syntax and the service account can read more rows than necessary. Query a sanitized staging dataset with normal and quote-containing identifier strings.
C:
“Run bounded ingestion and retrieval benchmarks on a resized nonproduction server.” tests a proposed change for the condition: Its Flexible Server compute tier and IOPS are smaller than measured workload requirements. This question instead requires an action that can use parameterized database queries with narrow table permissions. Malformed input can change SQL syntax and the service account can read more rows than necessary. Query a sanitized staging dataset with normal and quote-containing identifier strings.
D:
“Crash a disposable worker after writing a test item but before its lease checkpoint.” tests a proposed change for the condition: Change feed delivery and retries require consumers to tolerate at-least-once processing. This question instead requires an action that can use parameterized database queries with narrow table permissions. Malformed input can change SQL syntax and the service account can read more rows than necessary. Query a sanitized staging dataset with normal and quote-containing identifier strings.
Question 555
At Marigold Retail, a scheduled Container Apps task restarts repeatedly but application stderr is missing from the operations dashboard. Evidence: The environment's diagnostic destination is misconfigured and system logs show image pull failures. The objective is to capture application and system telemetry needed for troubleshooting Container Apps. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor exposed LoadBalancer Services, policy coverage, and changes to namespace labels.
- Monitor missing log ingestion, restart counts, and diagnostic pipeline drift.
- Monitor failed executions, queue backlog, and repeated job runs.
- Monitor unresolved secret references, revoked identity permissions, and version changes.
Explanation
Correct Answer
B:
The environment's diagnostic destination is misconfigured and system logs show image pull failures. Monitor missing log ingestion, restart counts, and diagnostic pipeline drift.
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 capture application and system telemetry needed for troubleshooting Container Apps. The environment's diagnostic destination is misconfigured and system logs show image pull failures. Monitor missing log ingestion, restart counts, and diagnostic pipeline drift.
C:
“Monitor failed executions, queue backlog, and repeated job runs.” monitors this signal: The workflow is short-lived and triggered by queue events, not interactive requests. This question instead requires an action that can capture application and system telemetry needed for troubleshooting Container Apps. The environment's diagnostic destination is misconfigured and system logs show image pull failures. Monitor missing log ingestion, restart counts, and diagnostic pipeline drift.
D:
App Service Key Vault references diagnose runtime secret resolution; they do not restore missing application/system logs from Container Apps. Configure the Container Apps environment diagnostic destination and inspect image-pull and revision telemetry.
Question 556
At Cedar Cloud, a troubleshooting query shows slow API requests but cannot associate each request with its slow PostgreSQL dependency span. Evidence: Request and dependency telemetry share an operation correlation ID. The objective is to correlate request latency with downstream dependency timing using KQL. Only authorized Azure subscriptions and synthetic test data may be used. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect operation_Id values, request and dependency tables and timestamp windows.
- Inspect event timestamps, timezone assumptions and selected aggregation interval.
- Inspect active span attributes, baggage propagation and exporter filtering rules.
- Inspect refresh registration, cache expiration and sentinel update order.
Explanation
Correct Answer
A:
Request and dependency telemetry share an operation correlation ID. Inspect operation_Id values, request and dependency tables and timestamp windows.
Incorrect Answers
B:
“Inspect event timestamps, timezone assumptions and selected aggregation interval.” is a diagnostic step for the reported condition: The current results lack time bucketing and cannot reveal when an issue began. This question instead requires an action that can correlate request latency with downstream dependency timing using KQL. Request and dependency telemetry share an operation correlation ID. Inspect operation_Id values, request and dependency tables and timestamp windows.
C:
“Inspect active span attributes, baggage propagation and exporter filtering rules.” is a diagnostic step for the reported condition: The organization needs troubleshooting context but prohibits exporting raw sensitive data. This question instead requires an action that can correlate request latency with downstream dependency timing using KQL. Request and dependency telemetry share an operation correlation ID. Inspect operation_Id values, request and dependency tables and timestamp windows.
D:
“Inspect refresh registration, cache expiration and sentinel update order.” is a diagnostic step for the reported condition: The SDK refresh provider observes no sentinel key and the keys update at different moments. This question instead requires an action that can correlate request latency with downstream dependency timing using KQL. Request and dependency telemetry share an operation correlation ID. Inspect operation_Id values, request and dependency tables and timestamp windows.
Question 557
Orion Commerce is reviewing an Azure AI workload: A background embedding pipeline needs zero-idle workers to scale when new documents arrive on a queue. The business goal is to use an event-driven queue scaler with correct authentication and checkpoint behavior. 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?
- Configure an Azure Service Bus KEDA scale rule using a supported managed identity and queue-length thresholds.
- Configure Entra workload identity federation mapping the correct namespace/service account to a scoped Azure identity.
- Switch to multiple-revision mode and assign explicit 95/5 traffic weights to stable and canary revisions.
- Link the required private DNS zones to the consuming VNet and configure a supported registry private endpoint path.
Explanation
Correct Answer
A:
Its scale rule tracks HTTP requests instead of queue length and the scaler cannot authenticate to the broker. Configure an Azure Service Bus KEDA scale rule using a supported managed identity and queue-length thresholds.
Incorrect Answers
B:
“Configure Entra workload identity federation mapping the correct namespace/service account to a scoped Azure identity.” is a design or implementation response to the condition: A multi-tenant Kubernetes cluster must let only one namespace's worker query a private storage account. 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. Configure an Azure Service Bus KEDA scale rule using a supported managed identity and queue-length thresholds.
C:
“Switch to multiple-revision mode and assign explicit 95/5 traffic weights to stable and canary revisions.” is a design or implementation response to the 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 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. Configure an Azure Service Bus KEDA scale rule using a supported managed identity and queue-length thresholds.
D:
“Link the required private DNS zones to the consuming VNet and configure a supported registry private endpoint path.” is a design or implementation response to 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 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. Configure an Azure Service Bus KEDA scale rule using a supported managed identity and queue-length thresholds.
Question 558
Harbor Technology is reviewing an Azure AI workload: A monitoring dashboard needs to compare exception counts across two AI worker applications. The business goal is to use KQL aggregation to locate the highest error volume by service. 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 scoped Key Vault event subscription for near-expiry or version-new events with approved rotation handling.
- Filter the correct telemetry table by time and failure then summarize count by cloud role.
- Propagate W3C trace context through message metadata and instrument HTTP and worker spans using OpenTelemetry.
- Store a supported feature flag in Azure App Configuration with explicit targeting and fallback.
Explanation
Correct Answer
B:
Logs have cloud_RoleName, timestamp, success or exception fields in queryable telemetry tables. Filter the correct telemetry table by time and failure then summarize count by cloud role.
Incorrect Answers
A:
“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 use KQL aggregation to locate the highest error volume by service. Logs have cloud_RoleName, timestamp, success or exception fields in queryable telemetry tables. Filter the correct telemetry table by time and failure then summarize count by cloud role.
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 use KQL aggregation to locate the highest error volume by service. Logs have cloud_RoleName, timestamp, success or exception fields in queryable telemetry tables. Filter the correct telemetry table by time and failure then summarize count by cloud role.
D:
“Store a supported feature flag in Azure App Configuration with explicit targeting and fallback.” is a design or implementation response to the condition: A chatbot must turn a new summarization feature on for beta users without re-deploying its API. This question instead requires an action that can use KQL aggregation to locate the highest error volume by service. Logs have cloud_RoleName, timestamp, success or exception fields in queryable telemetry tables. Filter the correct telemetry table by time and failure then summarize count by cloud role.
Question 559
At Redwood Banking, 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. Validate in a disposable environment before applying production changes. Which implementation or configuration choice best meets the stated requirement?
- Configure Azure App Configuration key selection with explicit environment labels and sensible defaults.
- Store a supported feature flag in Azure App Configuration with explicit targeting and fallback.
- Use a Key Vault reference in App Configuration and grant the runtime identity secret retrieval permission.
- Use supported parse_json or dynamic-field access and convert fields to the required type.
Explanation
Correct Answer
C:
The consuming app identity can be authorized to both App Configuration and Key Vault. Use a Key Vault reference in App Configuration and grant the runtime identity secret retrieval permission.
Incorrect Answers
A:
App Configuration labels distinguish environment-specific values, but they cannot turn a literal application password into a protected secret. A Key Vault reference keeps secret material under vault access policy and rotation.
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.
D:
“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 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. Use a Key Vault reference in App Configuration and grant the runtime identity secret retrieval permission.
Question 560
At Clearwater Partners, an AKS deployment uses a mutable image and manual pod deletion to update a retrieval API. Evidence: The cluster requires repeatable rollout history, desired replica management, and readiness assurance. The objective is to deploy container updates declaratively with a Kubernetes Deployment manifest. Only authorized Azure subscriptions and synthetic test data may be used. Which implementation or configuration choice best meets the stated requirement?
- Assign a least-privilege managed identity role and use Azure Identity credentials from the app.
- Apply a versioned Deployment manifest with appropriate rolling-update strategy and pinned image.
- Configure supported Dapr pub/sub components and subscription routes with required credentials or identity.
- Grant the application's managed identity appropriate registry pull rights and configure managed identity-based registry authentication.
Explanation
Correct Answer
B:
The cluster requires repeatable rollout history, desired replica management, and readiness assurance. Apply a versioned Deployment manifest with appropriate rolling-update strategy and pinned image.
Incorrect Answers
A:
“Assign a least-privilege managed identity role and use Azure Identity credentials from the app.” is a design or implementation response to the condition: An Azure Container App needs to access Cosmos DB without storing a service key in its image. This question instead requires an action that can deploy container updates declaratively with a Kubernetes Deployment manifest. The cluster requires repeatable rollout history, desired replica management, and readiness assurance. Apply a versioned Deployment manifest with appropriate rolling-update strategy and pinned image.
C:
“Configure supported Dapr pub/sub components and subscription routes with required credentials or identity.” is a design or implementation response to the condition: Two independently deployed Container Apps need event notification without hardcoding broker SDKs into every service. This question instead requires an action that can deploy container updates declaratively with a Kubernetes Deployment manifest. The cluster requires repeatable rollout history, desired replica management, and readiness assurance. Apply a versioned Deployment manifest with appropriate rolling-update strategy and pinned image.
D:
“Grant the application's managed identity appropriate registry pull rights and configure managed identity-based registry authentication.” is a design or implementation response to the condition: The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. This question instead requires an action that can deploy container updates declaratively with a Kubernetes Deployment manifest. The cluster requires repeatable rollout history, desired replica management, and readiness assurance. Apply a versioned Deployment manifest with appropriate rolling-update strategy and pinned image.