Microsoft AI-200 Practice Test 22
Question 210
At Mosaic Robotics, a recommendation service performs semantic matching on embeddings but ranks near-identical texts poorly. Evidence: The index similarity function differs from the metric recommended for the chosen embedding model. The objective is to align vector scoring and index policy with model semantics. Only authorized Azure subscriptions and synthetic test data may be used. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect processor name, monitored container, lease container, checkpoint state and logs.
- Inspect vector query predicates, partition keys, tenant identity mapping and authorization tests.
- Inspect embedding normalization, distance function and sample nearest-neighbor results.
- Inspect representative query set, exact top-k baselines and ANN index scan parameters.
Explanation
Correct Answer
C:
The index similarity function differs from the metric recommended for the chosen embedding model. Inspect embedding normalization, distance function and sample nearest-neighbor results.
Incorrect Answers
A:
“Inspect processor name, monitored container, lease container, checkpoint state and logs.” is a diagnostic step for the reported condition: The change feed processor relies on a shared lease container and correct start position. This question instead requires an action that can align vector scoring and index policy with model semantics. The index similarity function differs from the metric recommended for the chosen embedding model. Inspect embedding normalization, distance function and sample nearest-neighbor results.
B:
“Inspect vector query predicates, partition keys, tenant identity mapping and authorization tests.” is a diagnostic step for the reported condition: The query applies semantic similarity without enforcing the caller's tenant partition and metadata scope. This question instead requires an action that can align vector scoring and index policy with model semantics. The index similarity function differs from the metric recommended for the chosen embedding model. Inspect embedding normalization, distance function and sample nearest-neighbor results.
D:
“Inspect representative query set, exact top-k baselines and ANN index scan parameters.” is a diagnostic step for the reported condition: The team optimized latency but never measured recall against a labeled search baseline. This question instead requires an action that can align vector scoring and index policy with model semantics. The index similarity function differs from the metric recommended for the chosen embedding model. Inspect embedding normalization, distance function and sample nearest-neighbor results.
Question 211
At Orion Commerce, an upload handler function does not run after blob events although the Function App is deployed. Evidence: The Event Grid event subscription points to an outdated function endpoint and event type. The objective is to connect supported storage events to the correct Azure Functions trigger. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which acceptance result most strongly demonstrates the requirement is met?
- Verify data moves through the intended bindings while no literal account key is present.
- Verify one authorized event reaches the function with correct blob subject metadata.
- Verify approved requests succeed and unauthorized requests are rejected without leaking response data.
- Verify the original work resumes without unauthorized dead-letter replay or duplicate completion.
Explanation
Correct Answer
B:
The Event Grid event subscription points to an outdated function endpoint and event type. Verify one authorized event reaches the function with correct blob subject metadata.
Incorrect Answers
A:
“Verify data moves through the intended bindings while no literal account key is present.” validates an outcome in a case where the evidence is: The function uses a modern supported runtime and can obtain scoped storage identity permissions. This question instead requires an action that can connect supported storage events to the correct Azure Functions trigger. The Event Grid event subscription points to an outdated function endpoint and event type. Verify one authorized event reaches the function with correct blob subject metadata.
C:
“Verify approved requests succeed and unauthorized requests are rejected without leaking response data.” validates an outcome in a case where the evidence is: The application should require an approved client identity before invoking the function. This question instead requires an action that can connect supported storage events to the correct Azure Functions trigger. The Event Grid event subscription points to an outdated function endpoint and event type. Verify one authorized event reaches the function with correct blob subject metadata.
D:
“Verify the original work resumes without unauthorized dead-letter replay or duplicate completion.” validates an outcome in a case where the evidence is: The job is not malformed and should be resumed by sequence number when the prerequisite is ready. This question instead requires an action that can connect supported storage events to the correct Azure Functions trigger. The Event Grid event subscription points to an outdated function endpoint and event type. Verify one authorized event reaches the function with correct blob subject metadata.
Question 212
At Atlas Support, an engineer needs to find which Azure Function deployment has the most failed invocations in the last hour. Evidence: Logs have cloud_RoleName, timestamp, success or exception fields in queryable telemetry tables. The objective is to use KQL aggregation to locate the highest error volume by service. Only authorized Azure subscriptions and synthetic test data may be used. Which implementation or configuration choice best meets the stated requirement?
- Propagate W3C trace context through message metadata and instrument HTTP and worker spans using OpenTelemetry.
- Filter the correct telemetry table by time and failure then summarize count by cloud role.
- Attach stable operation context to messages and record enqueue wait and processing duration as separate spans or metrics.
- 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:
“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.
C:
“Attach stable operation context to messages and record enqueue wait and processing duration as separate spans or metrics.” is a design or implementation response to the condition: Time spent waiting in Service Bus is not captured in the same operation trace. This question instead requires an action that can 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 213
At Riverbend Health, a worker hammers a downstream Azure service during throttling and rapidly requeues every message. Evidence: The service returns 429 and includes retry guidance while the queue consumer has no backoff. The objective is to recover from transient failures without amplification and unnecessary duplicate work. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which implementation or configuration choice best meets the stated requirement?
- Use bounded exponential backoff with jitter and appropriate lock renewal or retry settlement.
- Define a supported SQL filter rule matching the translation event property and remove unintended catch-all filters.
- Update the receiver to validate and handle the chosen CloudEvents schema instead of assuming the old event layout.
- Configure appropriate storage bindings with identity-backed connections and restricted container access.
Explanation
Correct Answer
A:
The service returns 429 and includes retry guidance while the queue consumer has no backoff. Use bounded exponential backoff with jitter and appropriate lock renewal or retry settlement.
Incorrect Answers
B:
“Define a supported SQL filter rule matching the translation event property and remove unintended catch-all filters.” is a design or implementation response to the condition: The worker subscription has no rule and receives irrelevant indexing and billing events. This question instead requires an action that can recover from transient failures without amplification and unnecessary duplicate work. The service returns 429 and includes retry guidance while the queue consumer has no backoff. Use bounded exponential backoff with jitter and appropriate lock renewal or retry settlement.
C:
“Update the receiver to validate and handle the chosen CloudEvents schema instead of assuming the old event layout.” is a design or implementation response to the condition: The Python function expects the older Event Grid event wrapper and reads nonexistent fields. This question instead requires an action that can recover from transient failures without amplification and unnecessary duplicate work. The service returns 429 and includes retry guidance while the queue consumer has no backoff. Use bounded exponential backoff with jitter and appropriate lock renewal or retry settlement.
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 recover from transient failures without amplification and unnecessary duplicate work. The service returns 429 and includes retry guidance while the queue consumer has no backoff. Use bounded exponential backoff with jitter and appropriate lock renewal or retry settlement.
Question 214
At Aspen Manufacturing, an AKS application pod uses a static client secret to connect to Azure Key Vault. Evidence: The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. The objective is to authenticate workload pods to Azure resources without long-lived embedded credentials. Changes must respect customer tenant boundaries and required availability targets. Which controlled pilot most directly validates the proposed approach?
- Run a disposable pod with the assigned service account and request an innocuous Key Vault secret.
- Create a staging revision and send tagged synthetic requests through the ingress URL.
- Deploy a harmless replacement image to a sandbox namespace and watch rollout events.
- Add a nonproduction regional replica and pull the same versioned image from local workloads.
Explanation
Correct Answer
A:
The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. Run a disposable pod with the assigned service account and request an innocuous Key Vault secret.
Incorrect Answers
B:
“Create a staging revision and send tagged synthetic requests through the ingress URL.” tests a proposed change for 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 authenticate workload pods to Azure resources without long-lived embedded credentials. The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. Run a disposable pod with the assigned service account and request an innocuous Key Vault secret.
C:
“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 authenticate workload pods to Azure resources without long-lived embedded credentials. The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. Run a disposable pod with the assigned service account and request an innocuous Key Vault secret.
D:
“Add a nonproduction regional replica and pull the same versioned image from local workloads.” tests a proposed change for the condition: Its Premium registry has no replica in the region where new workloads are starting. This question instead requires an action that can authenticate workload pods to Azure resources without long-lived embedded credentials. The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. Run a disposable pod with the assigned service account and request an innocuous Key Vault secret.
Question 215
Cedar Cloud is reviewing an Azure AI workload: A compliance subscriber needs only messages marked reviewRequired while a topic receives all document events. The business goal is to route topic events by documented message properties to intended subscribers. 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?
- Use Service Bus sessions keyed by conversation or aggregate identity with session-aware receivers.
- Use bounded exponential backoff with jitter and appropriate lock renewal or retry settlement.
- Enable managed identity and assign the precise Key Vault secret read role to the function.
- Define a supported SQL filter rule matching the translation event property and remove unintended catch-all filters.
Explanation
Correct Answer
D:
The worker subscription has no rule and receives irrelevant indexing and billing events. Define a supported SQL filter rule matching the translation event property and remove unintended catch-all filters.
Incorrect Answers
A:
“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 route topic events by documented message properties to intended subscribers. The worker subscription has no rule and receives irrelevant indexing and billing events. Define a supported SQL filter rule matching the translation event property and remove unintended catch-all filters.
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 route topic events by documented message properties to intended subscribers. The worker subscription has no rule and receives irrelevant indexing and billing events. Define a supported SQL filter rule matching the translation event property and remove unintended catch-all filters.
C:
“Enable managed identity and assign the precise Key Vault secret read role to the function.” is a design or implementation response to the condition: Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. This question instead requires an action that can route topic events by documented message properties to intended subscribers. The worker subscription has no rule and receives irrelevant indexing and billing events. Define a supported SQL filter rule matching the translation event property and remove unintended catch-all filters.
Question 216
At Crownridge Consulting, a retrieval API repeatedly computes identical expensive query embeddings even though results are reusable for minutes. Evidence: It currently bypasses Redis and stores no expiration for cacheable responses. The objective is to cache safe repeated computations without treating cached values as permanent truth. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which controlled pilot most directly validates the proposed approach?
- Query a test index with cross-tenant similar embeddings using restricted credentials.
- Connect with an authorized test identity and reject an unauthenticated or plaintext test client.
- Update several synthetic records while two nonproduction processor instances are running.
- Issue the same harmless query twice and compare cache miss and hit behavior in staging.
Explanation
Correct Answer
D:
It currently bypasses Redis and stores no expiration for cacheable responses. Issue the same harmless query twice and compare cache miss and hit behavior in staging. A cache key must distinguish inputs, tenant scope and model version, while expiry prevents stale responses from becoming permanent answers.
Incorrect Answers
A:
Metadata filters restrict which vector-search records a tenant may retrieve. They do not reuse identical embeddings or expire cached computation results; a scoped Redis cache key and TTL address that workload.
B:
“Connect with an authorized test identity and reject an unauthenticated or plaintext test client.” tests a proposed change for the condition: The environment requires encrypted transport and scoped client credentials. 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. Issue the same harmless query twice and compare cache miss and hit behavior in staging. A cache key must distinguish inputs, tenant scope and model version, while expiry prevents stale responses from becoming permanent answers.
C:
“Update several synthetic records while two nonproduction processor instances are running.” tests a proposed change for the condition: The change feed processor relies on a shared lease container and correct start position. 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. Issue the same harmless query twice and compare cache miss and hit behavior in staging. A cache key must distinguish inputs, tenant scope and model version, while expiry prevents stale responses from becoming permanent answers.
Question 217
At Orion Commerce, 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. Changes must respect customer tenant boundaries and required availability targets. Which acceptance result most strongly demonstrates the requirement is met?
- Verify slow request records match the expected downstream dependency without accidental many-to-many inflation.
- Verify each role's failure count matches source events and the time window is correct.
- Verify filtering matches the intended JSON property rather than arbitrary text substrings.
- Verify enabled testers receive the feature and other users continue on the stable path.
Explanation
Correct Answer
A:
Request and dependency telemetry share an operation correlation ID. Verify slow request records match the expected downstream dependency without accidental many-to-many inflation.
Incorrect Answers
B:
“Verify each role's failure count matches source events and the time window is correct.” validates an outcome in a case where the evidence is: Logs have cloud_RoleName, timestamp, success or exception fields in queryable telemetry tables. 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. Verify slow request records match the expected downstream dependency without accidental many-to-many inflation.
C:
Parsing KQL dynamic JSON extracts nested fields but does not correlate requests with downstream dependency durations. Join requests and dependencies using operation IDs, preserving the timestamps and duration fields needed to locate latency.
D:
“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 correlate request latency with downstream dependency timing using KQL. Request and dependency telemetry share an operation correlation ID. Verify slow request records match the expected downstream dependency without accidental many-to-many inflation.
Question 218
Pine Valley Public Services is reviewing an Azure AI workload: A custom Python webhook accepts ordinary JSON posts but Event Grid subscription setup remains pending. The business goal is to complete Event Grid webhook subscription validation before accepting operational events. 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?
- 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.
- Send a scheduled Service Bus message for the specified UTC enqueue time.
- Define a supported schedule in the correct time standard and document daylight-saving behavior.
Explanation
Correct Answer
B:
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 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.
C:
“Send a scheduled Service Bus message for the specified UTC enqueue time.” is a design or implementation response to the condition: The producer has an exact due time but currently places the job on an ordinary active queue. 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 219
At Mosaic Robotics, a team needs to evaluate a new AI inference container on only 5 percent of requests without replacing its stable version. Evidence: The Container App is configured for single-revision mode and routes all ingress to the active revision. The objective is to use revision traffic splitting for a low-risk canary rollout. Preserve end-to-end correlation and avoid copying sensitive production data. Which implementation or configuration choice best meets the stated requirement?
- Switch to multiple-revision mode and assign explicit 95/5 traffic weights to stable and canary revisions.
- Configure an Azure Service Bus KEDA scale rule using a supported managed identity and queue-length thresholds.
- Apply a versioned Deployment manifest with appropriate rolling-update strategy and pinned image.
- Reference the approved content digest in the deployment manifest and keep an auditable tag-to-digest record.
Explanation
Correct Answer
A:
The Container App is configured for single-revision mode and routes all ingress to the active revision. Switch to multiple-revision mode and assign explicit 95/5 traffic weights to stable and canary revisions.
Incorrect Answers
B:
“Configure an Azure Service Bus KEDA scale rule using a supported managed identity and queue-length thresholds.” is a design or implementation response to the condition: 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 revision traffic splitting for a low-risk canary rollout. The Container App is configured for single-revision mode and routes all ingress to the active revision. Switch to multiple-revision mode and assign explicit 95/5 traffic weights to stable and canary revisions.
C:
“Apply a versioned Deployment manifest with appropriate rolling-update strategy and pinned image.” is a design or implementation response to the condition: An operations team wants an AKS-hosted AI endpoint upgraded consistently across multiple worker nodes. This question instead requires an action that can use revision traffic splitting for a low-risk canary rollout. The Container App is configured for single-revision mode and routes all ingress to the active revision. Switch to multiple-revision mode and assign explicit 95/5 traffic weights to stable and canary revisions.
D:
“Reference the approved content digest in the deployment manifest and keep an auditable tag-to-digest record.” is a design or implementation response to the condition: The mutable tag was reassigned to a newer image after release approval. This question instead requires an action that can use revision traffic splitting for a low-risk canary rollout. The Container App is configured for single-revision mode and routes all ingress to the active revision. Switch to multiple-revision mode and assign explicit 95/5 traffic weights to stable and canary revisions.
Question 220
At Seabright Media, an AI processing pipeline must notify indexing, billing and audit services when a document finishes processing. Evidence: Each independent service requires its own durable copy of the event. The objective is to fan out one event to multiple independent consumers with separate delivery state. Preserve end-to-end correlation and avoid copying sensitive production data. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor subscription backlog, filters and expired messages.
- Monitor missed schedules, clock drift and duplicate scheduling attempts.
- Monitor retry delay, throttle recurrence and processing age.
- Monitor invocation failures, lock losses and poison-message count.
Explanation
Correct Answer
A:
Each independent service requires its own durable copy of the event. Monitor subscription backlog, filters and expired messages.
Incorrect Answers
B:
Scheduling one Service Bus message for later delivery does not create independent durable copies for multiple consumers. Topics with separate subscriptions provide fan-out and consumer-specific delivery state.
C:
“Monitor retry delay, throttle recurrence and processing age.” monitors this signal: The service returns 429 and includes retry guidance while the queue consumer has no backoff. This question instead requires an action that can fan out one event to multiple independent consumers with separate delivery state. Each independent service requires its own durable copy of the event. Monitor subscription backlog, filters and expired messages.
D:
“Monitor invocation failures, lock losses and poison-message count.” monitors this signal: The trigger configuration retries and message settlement must align with actual successful work. This question instead requires an action that can fan out one event to multiple independent consumers with separate delivery state. Each independent service requires its own durable copy of the event. Monitor subscription backlog, filters and expired messages.