Microsoft AI-200 Practice Test 35
Question 340
At Aspen Manufacturing, 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. Validate in a disposable environment before applying production changes. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect retry policy, TTL, endpoint response behavior and dead-letter destination.
- Inspect MessageId generation, duplicate detection window and worker output keys.
- Inspect receiver settlement mode, lock duration, handler exception logic and database commit order.
- Inspect HTTP trigger auth level, platform authentication and API gateway policies.
Explanation
Correct Answer
C:
If the database transaction fails afterward the work is lost because the message was already removed. Inspect receiver settlement mode, lock duration, handler exception logic and database commit order.
Incorrect Answers
A:
“Inspect retry policy, TTL, endpoint response behavior and dead-letter destination.” is a diagnostic step for the reported condition: The subscription has a delivery retry policy but dead-letter storage was never configured. This question instead requires an action that can complete locked Service Bus messages only after successful durable processing. If the database transaction fails afterward the work is lost because the message was already removed. Inspect receiver settlement mode, lock duration, handler exception logic and database commit order.
B:
“Inspect MessageId generation, duplicate detection window and worker output keys.” is a diagnostic step for the reported condition: 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. If the database transaction fails afterward the work is lost because the message was already removed. Inspect receiver settlement mode, lock duration, handler exception logic and database commit order.
D:
“Inspect HTTP trigger auth level, platform authentication and API gateway policies.” is a diagnostic step for the reported condition: The application should require an approved client identity before invoking the function. This question instead requires an action that can complete locked Service Bus messages only after successful durable processing. If the database transaction fails afterward the work is lost because the message was already removed. Inspect receiver settlement mode, lock duration, handler exception logic and database commit order.
Question 341
At Mosaic Robotics, a Redis vector search returns semantically close responses from projects outside the caller's authorized scope. Evidence: The index includes tenant metadata but the query filters only the vector distance. The objective is to combine vector nearest-neighbor retrieval with explicit metadata predicates. Preserve end-to-end correlation and avoid copying sensitive production data. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect cache key composition, input versions, expiration needs and data sensitivity.
- Inspect cache-miss concurrency, eviction timestamps and backend call spikes.
- Inspect filter syntax, index schema and tenant identity constraints.
- Inspect vector property data types, policy dimensions, similarity metric, and model output shape.
Explanation
Correct Answer
C:
The index includes tenant metadata but the query filters only the vector distance. Inspect filter syntax, index schema and tenant identity constraints.
Incorrect Answers
A:
“Inspect cache key composition, input versions, expiration needs and data sensitivity.” is a diagnostic step for the reported condition: It currently bypasses Redis and stores no expiration for cacheable responses. This question instead requires an action that can combine vector nearest-neighbor retrieval with explicit metadata predicates. The index includes tenant metadata but the query filters only the vector distance. Inspect filter syntax, index schema and tenant identity constraints.
B:
Preventing a Redis cache stampede reduces duplicate computation after cache expiry, but it cannot stop vector retrieval from returning another tenant's records. Apply authorized metadata predicates to the similarity search.
D:
“Inspect vector property data types, policy dimensions, similarity metric, and model output shape.” is a diagnostic step for the reported 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 combine vector nearest-neighbor retrieval with explicit metadata predicates. The index includes tenant metadata but the query filters only the vector distance. Inspect filter syntax, index schema and tenant identity constraints.
Question 342
At Blue Ridge Technology, a RAG database performs poorly during batch embedding updates while CPU and memory are saturated. Evidence: Its Flexible Server compute tier and IOPS are smaller than measured workload requirements. The objective is to right-size compute, memory and storage performance for vector operations. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which acceptance result most strongly demonstrates the requirement is met?
- Verify throughput and tail query latency meet target without connection or storage bottlenecks.
- Confirm inputs are treated as values and no unauthorized rows or errors occur.
- Verify tenant filtering is correct and query cost improves under realistic selectivity.
- Confirm search treats provided terms as values and access boundaries are unchanged.
Explanation
Correct Answer
A:
Its Flexible Server compute tier and IOPS are smaller than measured workload requirements. Verify throughput and tail query latency meet target without connection or storage bottlenecks.
Incorrect Answers
B:
“Confirm inputs are treated as values and no unauthorized rows or errors occur.” validates an outcome in a case where the evidence is: Malformed input can change SQL syntax and the service account can read more rows than necessary. This question instead requires an action that can right-size compute, memory and storage performance for vector operations. Its Flexible Server compute tier and IOPS are smaller than measured workload requirements. Verify throughput and tail query latency meet target without connection or storage bottlenecks.
C:
“Verify tenant filtering is correct and query cost improves under realistic selectivity.” validates an outcome in a case where the evidence is: The database has a vector index but no useful plan for the frequent structured tenant predicate. This question instead requires an action that can right-size compute, memory and storage performance for vector operations. Its Flexible Server compute tier and IOPS are smaller than measured workload requirements. Verify throughput and tail query latency meet target without connection or storage bottlenecks.
D:
“Confirm search treats provided terms as values and access boundaries are unchanged.” validates an outcome in a case where the evidence is: Users can enter quotation marks and unexpectedly alter query predicates. This question instead requires an action that can right-size compute, memory and storage performance for vector operations. Its Flexible Server compute tier and IOPS are smaller than measured workload requirements. Verify throughput and tail query latency meet target without connection or storage bottlenecks.
Question 343
Clearwater Partners is reviewing an Azure AI workload: A Function App logs dynamic metadata including queue type and AI model revision that dashboards must filter. The business goal is to extract and filter nested log attributes correctly in KQL. 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?
- Use summarize with bin(timestamp, 5m) and appropriate role and failure filters.
- Use supported parse_json or dynamic-field access and convert fields to the required type.
- Attach stable operation context to messages and record enqueue wait and processing duration as separate spans or metrics.
- Choose a versionless reference for approved automatic latest-version retrieval or a coordinated pinned-version rollout.
Explanation
Correct Answer
B:
The relevant correlation key is nested inside JSON rather than a top-level column. Use supported parse_json or dynamic-field access and convert fields to the required type.
Incorrect Answers
A:
“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 extract and filter nested log attributes correctly in KQL. The relevant correlation key is nested inside JSON rather than a top-level column. Use supported parse_json or dynamic-field access and convert fields to the required type.
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 extract and filter nested log attributes correctly in KQL. The relevant correlation key is nested inside JSON rather than a top-level column. Use supported parse_json or dynamic-field access and convert fields to the required type.
D:
“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 extract and filter nested log attributes correctly in KQL. The relevant correlation key is nested inside JSON rather than a top-level column. Use supported parse_json or dynamic-field access and convert fields to the required type.
Question 344
At Atlas Support, an event destination is temporarily unavailable and change notifications disappear from the processing audit trail. Evidence: The subscription has a delivery retry policy but dead-letter storage was never configured. The objective is to make event-delivery failures observable and recoverable under defined retry limits. Validate in a disposable environment before applying production changes. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect retry policy, TTL, endpoint response behavior and dead-letter destination.
- Inspect MessageId generation, duplicate detection window and worker output keys.
- Inspect scheduling timestamps, clock handling, cancellation requirements and queue settings.
- Inspect NCRONTAB format, timezone support on the hosting plan and last-trigger logs.
Explanation
Correct Answer
A:
The subscription has a delivery retry policy but dead-letter storage was never configured. Inspect retry policy, TTL, endpoint response behavior and dead-letter destination.
Incorrect Answers
B:
“Inspect MessageId generation, duplicate detection window and worker output keys.” is a diagnostic step for the reported condition: The first send may have succeeded and a second identical command could duplicate work. This question instead requires an action that can make event-delivery failures observable and recoverable under defined retry limits. The subscription has a delivery retry policy but dead-letter storage was never configured. Inspect retry policy, TTL, endpoint response behavior and dead-letter destination.
C:
“Inspect scheduling timestamps, clock handling, cancellation requirements and queue settings.” is a diagnostic step for the reported 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 make event-delivery failures observable and recoverable under defined retry limits. The subscription has a delivery retry policy but dead-letter storage was never configured. Inspect retry policy, TTL, endpoint response behavior and dead-letter destination.
D:
“Inspect NCRONTAB format, timezone support on the hosting plan and last-trigger logs.” is a diagnostic step for the reported condition: The host interprets schedules with specific UTC and configuration semantics. This question instead requires an action that can make event-delivery failures observable and recoverable under defined retry limits. The subscription has a delivery retry policy but dead-letter storage was never configured. Inspect retry policy, TTL, endpoint response behavior and dead-letter destination.
Question 345
At Crownridge Consulting, a new Container Apps revision repeatedly crashes but dashboard queries mix its logs with the stable revision. Evidence: The log records include revision identifiers that are not used in the investigation. The objective is to trace errors to the exact Container Apps revision responsible. Changes must respect customer tenant boundaries and required availability targets. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor error-rate spikes and absence of telemetry for a role.
- Monitor missing correlation IDs and dependency latency outliers.
- Monitor permission model changes and broad secret officer assignments.
- Monitor revision failure rates and log collection gaps during canaries.
Explanation
Correct Answer
D:
The log records include revision identifiers that are not used in the investigation. Monitor revision failure rates and log collection gaps during canaries.
Incorrect Answers
A:
“Monitor error-rate spikes and absence of telemetry for a role.” monitors this signal: Logs have cloud_RoleName, timestamp, success or exception fields in queryable telemetry tables. This question instead requires an action that can trace errors to the exact Container Apps revision responsible. The log records include revision identifiers that are not used in the investigation. Monitor revision failure rates and log collection gaps during canaries.
B:
“Monitor missing correlation IDs and dependency latency outliers.” monitors this signal: Request and dependency telemetry share an operation correlation ID. This question instead requires an action that can trace errors to the exact Container Apps revision responsible. The log records include revision identifiers that are not used in the investigation. Monitor revision failure rates and log collection gaps during canaries.
C:
“Monitor permission model changes and broad secret officer assignments.” monitors this signal: The vault is configured to use the Azure RBAC permission model for data-plane authorization. This question instead requires an action that can trace errors to the exact Container Apps revision responsible. The log records include revision identifiers that are not used in the investigation. Monitor revision failure rates and log collection gaps during canaries.
Question 346
At Marigold Retail, 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. Changes must respect customer tenant boundaries and required availability targets. Which controlled pilot most directly validates the proposed approach?
- Make one permitted request from a sibling test app and one prohibited internet request.
- Run a disposable pod with the assigned service account and request an innocuous Key Vault secret.
- Add a nonproduction regional replica and pull the same versioned image from local workloads.
- Create a staging revision and send tagged synthetic requests through the ingress URL.
Explanation
Correct Answer
D:
The Container App is configured for single-revision mode and routes all ingress to the active revision. Create a staging revision and send tagged synthetic requests through the ingress URL.
Incorrect Answers
A:
“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 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. Create a staging revision and send tagged synthetic requests through the ingress URL.
B:
“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 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. Create a staging revision and send tagged synthetic requests through the ingress URL.
C:
“Add a nonproduction regional replica and pull the same versioned image from local workloads.” tests a proposed change for the condition: Its Premium registry has no replica in the region where new workloads are starting. This question instead requires an action that can 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. Create a staging revision and send tagged synthetic requests through the ingress URL.
Question 347
At Aspen Manufacturing, an SDK-based AI service authenticates to a Cosmos DB endpoint with a primary account key that many developers know. Evidence: The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. The objective is to prefer scoped token credentials instead of shared database secrets. Changes must respect customer tenant boundaries and required availability targets. Which acceptance result most strongly demonstrates the requirement is met?
- Verify the rotation workflow receives the correct secret identifier and logs the approved outcome.
- Verify permitted reads succeed without account keys and unauthorized access is denied.
- Verify the app observes a consistent new set after refresh rather than a partial update.
- Verify each role's failure count matches source events and the time window is correct.
Explanation
Correct Answer
B:
The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. Verify permitted reads succeed without account keys and unauthorized access is denied.
Incorrect Answers
A:
“Verify the rotation workflow receives the correct secret identifier and logs the approved outcome.” validates an outcome in a case where the evidence is: A Key Vault event is supported but no subscription has been configured for near-expiration events. This question instead requires an action that can prefer scoped token credentials instead of shared database secrets. The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. Verify permitted reads succeed without account keys and unauthorized access is denied.
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 prefer scoped token credentials instead of shared database secrets. The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. Verify permitted reads succeed without account keys and unauthorized access is denied.
D:
“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 prefer scoped token credentials instead of shared database secrets. The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. Verify permitted reads succeed without account keys and unauthorized access is denied.
Question 348
At Orion Commerce, a low-latency semantic cache stores embeddings as plain strings and cannot execute nearest-neighbor queries. Evidence: The service requires a supported Redis search/vector index with consistent embedding dimensions. The objective is to enable vector similarity retrieval in the managed Redis service. Validate in a disposable environment before applying production changes. Which acceptance result most strongly demonstrates the requirement is met?
- Verify nearest results match the expected test embeddings and dimension checks hold.
- Verify cache loss does not cause permanent loss of required records.
- Verify permitted commands work securely and prohibited operations are denied.
- Verify vector operators execute successfully and the extension version meets application requirements.
Explanation
Correct Answer
A:
The service requires a supported Redis search/vector index with consistent embedding dimensions. Verify nearest results match the expected test embeddings and dimension checks hold. Nearest-neighbor search needs a supported vector index and a field dimension matching the embedding model; plain string storage is not an index.
Incorrect Answers
B:
Ensuring a cache is not the sole system of record protects durable application data. It does not turn plain embedding strings into a vector search index with similarity operators.
C:
“Verify permitted commands work securely and prohibited operations are denied.” validates an outcome in a case where the evidence is: The environment requires encrypted transport and scoped client credentials. This question instead requires an action that can enable vector similarity retrieval in the managed Redis service. The service requires a supported Redis search/vector index with consistent embedding dimensions. Verify nearest results match the expected test embeddings and dimension checks hold. Nearest-neighbor search needs a supported vector index and a field dimension matching the embedding model; plain string storage is not an index.
D:
“Verify vector operators execute successfully and the extension version meets application requirements.” validates an outcome in a case where the evidence is: The extension is not enabled or allowlisted for the chosen server configuration. This question instead requires an action that can enable vector similarity retrieval in the managed Redis service. The service requires a supported Redis search/vector index with consistent embedding dimensions. Verify nearest results match the expected test embeddings and dimension checks hold. Nearest-neighbor search needs a supported vector index and a field dimension matching the embedding model; plain string storage is not an index.
Question 349
At Cedar Cloud, a secret reaches its expiration window but the responsible function never receives rotation reminders. Evidence: A Key Vault event is supported but no subscription has been configured for near-expiration events. The objective is to trigger controlled rotation workflows using supported event notification and ownership. Only authorized Azure subscriptions and synthetic test data may be used. 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 rotation workflow receives the correct secret identifier and logs the approved outcome.
- Verify allowed keys load through its identity and unrelated store access is denied.
- Verify filtering matches the intended JSON property rather than arbitrary text substrings.
Explanation
Correct Answer
B:
A Key Vault event is supported but no subscription has been configured for near-expiration events. Verify the rotation workflow receives the correct secret identifier and logs the approved outcome.
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 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. Verify the rotation workflow receives the correct secret identifier and logs the approved outcome.
C:
“Verify allowed keys load through its identity and unrelated store access is denied.” validates an outcome in a case where the evidence is: The workload supports managed identity and endpoint-based configuration loading. This question instead requires an action that can 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. Verify the rotation workflow receives the correct secret identifier and logs the approved outcome.
D:
“Verify filtering matches the intended JSON property rather than arbitrary text substrings.” validates an outcome in a case where the evidence is: The relevant correlation key is nested inside JSON rather than a top-level column. This question instead requires an action that can 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. Verify the rotation workflow receives the correct secret identifier and logs the approved outcome.
Question 350
At Orion Commerce, hundreds of short-lived Azure Functions executions open a fresh PostgreSQL connection each request and exhaust server limits. Evidence: The database sees many idle connections and connection setup dominates API latency. The objective is to limit backend connection counts while sustaining bursty application throughput. Preserve end-to-end correlation and avoid copying sensitive production data. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect index DDL and EXPLAIN plan for the actual cosine distance ORDER BY.
- Inspect SQL text generation, parameter support, and role grants for the application.
- Inspect connection count, pooler settings, function concurrency and server max_connections.
- Inspect Redis endpoint scheme, client TLS mode and role or access policy configuration.
Explanation
Correct Answer
C:
The database sees many idle connections and connection setup dominates API latency. Inspect connection count, pooler settings, function concurrency and server max_connections.
Incorrect Answers
A:
“Inspect index DDL and EXPLAIN plan for the actual cosine distance ORDER BY.” is a diagnostic step for the reported condition: The mismatch keeps the query from using the intended nearest-neighbor index plan. This question instead requires an action that can limit backend connection counts while sustaining bursty application throughput. The database sees many idle connections and connection setup dominates API latency. Inspect connection count, pooler settings, function concurrency and server max_connections.
B:
“Inspect SQL text generation, parameter support, and role grants for the application.” is a diagnostic step for the reported condition: Malformed input can change SQL syntax and the service account can read more rows than necessary. This question instead requires an action that can limit backend connection counts while sustaining bursty application throughput. The database sees many idle connections and connection setup dominates API latency. Inspect connection count, pooler settings, function concurrency and server max_connections.
D:
“Inspect Redis endpoint scheme, client TLS mode and role or access policy configuration.” is a diagnostic step for the reported condition: The environment requires encrypted transport and scoped client credentials. This question instead requires an action that can limit backend connection counts while sustaining bursty application throughput. The database sees many idle connections and connection setup dominates API latency. Inspect connection count, pooler settings, function concurrency and server max_connections.