Microsoft AI-200 Practice Test 14
Question 130
At Aspen Manufacturing, 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. Changes must respect customer tenant boundaries and required availability targets. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor missing filters, authorization failures and cross-tenant query patterns.
- Monitor cache hit rate, stale entries and memory utilization.
- Monitor lock contention, stampede frequency and failed refreshes.
- Monitor lease ownership churn, processing lag and change feed failures.
Explanation
Correct Answer
B:
It currently bypasses Redis and stores no expiration for cacheable responses. Monitor cache hit rate, stale entries and memory utilization. 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.
C:
“Monitor lock contention, stampede frequency and failed refreshes.” monitors this signal: Every worker observes the cache miss simultaneously and no coordination exists. 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. Monitor cache hit rate, stale entries and memory utilization. A cache key must distinguish inputs, tenant scope and model version, while expiry prevents stale responses from becoming permanent answers.
D:
“Monitor lease ownership churn, processing lag and change feed failures.” monitors this signal: 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. Monitor cache hit rate, stale entries and memory utilization. A cache key must distinguish inputs, tenant scope and model version, while expiry prevents stale responses from becoming permanent answers.
Question 131
At Redwood Banking, an AI application retrieves one stored embedding document by its known id but performs a cross-partition SQL query for every request. Evidence: The SDK already has both the item id and its exact partition key value. The objective is to use efficient point reads for known Cosmos DB document identities. Preserve end-to-end correlation and avoid copying sensitive production data. Which controlled pilot most directly validates the proposed approach?
- Create disposable test items with short TTL and disabled expiration variants.
- Measure RU charge for a safe point read versus an equivalent cross-partition query.
- Query a fixed benchmark of benign text vectors with candidate metrics in a test container.
- Query a sanitized staging dataset with normal and quote-containing identifier strings.
Explanation
Correct Answer
B:
The SDK already has both the item id and its exact partition key value. Measure RU charge for a safe point read versus an equivalent cross-partition query.
Incorrect Answers
A:
“Create disposable test items with short TTL and disabled expiration variants.” tests a proposed change for the condition: The container has TTL disabled and application cleanup jobs miss archived records. This question instead requires an action that can use efficient point reads for known Cosmos DB document identities. The SDK already has both the item id and its exact partition key value. Measure RU charge for a safe point read versus an equivalent cross-partition query.
C:
“Query a fixed benchmark of benign text vectors with candidate metrics in a test container.” tests a proposed change for the condition: The index similarity function differs from the metric recommended for the chosen embedding model. This question instead requires an action that can use efficient point reads for known Cosmos DB document identities. The SDK already has both the item id and its exact partition key value. Measure RU charge for a safe point read versus an equivalent cross-partition query.
D:
“Query a sanitized staging dataset with normal and quote-containing identifier strings.” tests a proposed change for the 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 use efficient point reads for known Cosmos DB document identities. The SDK already has both the item id and its exact partition key value. Measure RU charge for a safe point read versus an equivalent cross-partition query.
Question 132
At Sapphire Energy, 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. Preserve end-to-end correlation and avoid copying sensitive production data. Which controlled pilot most directly validates the proposed approach?
- Query a synthetic log record containing a nested modelId and statusCode property.
- Send one synthetic tracked request through a staging API and queue worker.
- Run a read-only query against staged requests with known slow dependency calls.
- Launch a staging container with no shared App Configuration connection string.
Explanation
Correct Answer
C:
Request and dependency telemetry share an operation correlation ID. Run a read-only query against staged requests with known slow dependency calls.
Incorrect Answers
A:
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.
B:
“Send one synthetic tracked request through a staging API and queue worker.” tests a proposed change for the condition: The applications generate spans but do not propagate W3C trace context across message boundaries. 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. Run a read-only query against staged requests with known slow dependency calls.
D:
“Launch a staging container with no shared App Configuration connection string.” tests a proposed change for the condition: The workload supports managed identity and endpoint-based configuration loading. 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. Run a read-only query against staged requests with known slow dependency calls.
Question 133
At Crescent Logistics, a document ingestion service sends independent jobs to one worker pool but the architect proposes publishing every job to a topic with multiple subscriptions. Evidence: Only one competing consumer group needs each job, and duplicate fan-out would waste inference compute. The objective is to choose the messaging pattern that matches competing consumers rather than broadcast subscribers. Changes must respect customer tenant boundaries and required availability targets. 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.
- Update the receiver to validate and handle the chosen CloudEvents schema instead of assuming the old event layout.
- Send a scheduled Service Bus message for the specified UTC enqueue time.
- Persist an idempotency key and check it atomically before applying the external operation.
Explanation
Correct Answer
A:
Only one competing consumer group needs each job, and duplicate fan-out would waste inference compute. Use a Service Bus queue for competing workers when each work item should be processed once by one consumer.
Incorrect Answers
B:
“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 choose the messaging pattern that matches competing consumers rather than broadcast subscribers. Only one competing consumer group needs each job, and duplicate fan-out would waste inference compute. Use a Service Bus queue for competing workers when each work item should be processed once by one consumer.
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 choose the messaging pattern that matches competing consumers rather than broadcast subscribers. Only one competing consumer group needs each job, and duplicate fan-out would waste inference compute. Use a Service Bus queue for competing workers when each work item should be processed once by one consumer.
D:
“Persist an idempotency key and check it atomically before applying the external operation.” is a design or implementation response to the condition: A model metering function adds the same usage event twice when a background retry occurs. This question instead requires an action that can choose the messaging pattern that matches competing consumers rather than broadcast subscribers. Only one competing consumer group needs each job, and duplicate fan-out would waste inference compute. Use a Service Bus queue for competing workers when each work item should be processed once by one consumer.
Question 134
At Juniper Analytics, a custom container stores a production API credential in a plain App Service configuration value. Evidence: The application can use managed identity and the secret already exists in Azure Key Vault. The objective is to reference sensitive values through a supported secret mechanism with least privilege. Preserve end-to-end correlation and avoid copying sensitive production data. Which acceptance result most strongly demonstrates the requirement is met?
- Confirm the correct content digest is available and regional pull latency is within target.
- Verify the app retrieves the intended secret without a copied literal credential in configuration.
- Verify each slot connects only to its designated test service while image content remains identical.
- Verify completed executions persist output and retries do not duplicate committed work.
Explanation
Correct Answer
B:
The application can use managed identity and the secret already exists in Azure Key Vault. Verify the app retrieves the intended secret without a copied literal credential in configuration.
Incorrect Answers
A:
“Confirm the correct content digest is available and regional pull latency is within target.” validates an outcome in a case where the evidence is: Its Premium registry has no replica in the region where new workloads are starting. This question instead requires an action that can reference sensitive values through a supported secret mechanism with least privilege. The application can use managed identity and the secret already exists in Azure Key Vault. Verify the app retrieves the intended secret without a copied literal credential in configuration.
C:
“Verify each slot connects only to its designated test service while image content remains identical.” validates an outcome in a case where the evidence is: 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 reference sensitive values through a supported secret mechanism with least privilege. The application can use managed identity and the secret already exists in Azure Key Vault. Verify the app retrieves the intended secret without a copied literal credential in configuration.
D:
“Verify completed executions persist output and retries do not duplicate committed work.” validates an outcome in a case where the evidence is: The workflow is short-lived and triggered by queue events, not interactive requests. This question instead requires an action that can reference sensitive values through a supported secret mechanism with least privilege. The application can use managed identity and the secret already exists in Azure Key Vault. Verify the app retrieves the intended secret without a copied literal credential in configuration.
Question 135
At Crescent Logistics, 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. Preserve end-to-end correlation and avoid copying sensitive production data. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor data-plane RBAC drift, credential fallback and unauthorized key creation.
- Monitor flag changes, unexpected audience targeting and rollout failure metrics.
- Monitor inaccessible references, vault rotation and config provider failures.
- Monitor malformed JSON events and schema field name drift.
Explanation
Correct Answer
C:
The consuming app identity can be authorized to both App Configuration and Key Vault. Monitor inaccessible references, vault rotation and config provider failures.
Incorrect Answers
A:
“Monitor data-plane RBAC drift, credential fallback and unauthorized key creation.” monitors this signal: The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. 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. Monitor inaccessible references, vault rotation and config provider failures.
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:
“Monitor malformed JSON events and schema field name drift.” monitors this signal: The relevant correlation key is nested inside JSON rather than a top-level column. 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. Monitor inaccessible references, vault rotation and config provider failures.
Question 136
At Clearwater Partners, an ingestion job writes metadata before embedding generation finishes, exposing documents with empty vectors. Evidence: The database stores document status and embeddings in related rows without a reliable completion boundary. The objective is to prevent partially ingested documents from appearing as searchable content. Only authorized Azure subscriptions and synthetic test data may be used. Which acceptance result most strongly demonstrates the requirement is met?
- Verify tenant filtering is correct and query cost improves under realistic selectivity.
- Confirm unready documents remain hidden and a retry safely completes the record.
- Verify planner estimates and index choices improve on representative retrieval queries.
- Verify permitted commands work securely and prohibited operations are denied.
Explanation
Correct Answer
B:
The database stores document status and embeddings in related rows without a reliable completion boundary. Confirm unready documents remain hidden and a retry safely completes the record.
Incorrect Answers
A:
“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 prevent partially ingested documents from appearing as searchable content. The database stores document status and embeddings in related rows without a reliable completion boundary. Confirm unready documents remain hidden and a retry safely completes the record.
C:
“Verify planner estimates and index choices improve on representative retrieval queries.” validates an outcome in a case where the evidence is: Planner statistics are stale after bulk insert and the plan estimates row counts incorrectly. This question instead requires an action that can prevent partially ingested documents from appearing as searchable content. The database stores document status and embeddings in related rows without a reliable completion boundary. Confirm unready documents remain hidden and a retry safely completes the record.
D:
“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 prevent partially ingested documents from appearing as searchable content. The database stores document status and embeddings in related rows without a reliable completion boundary. Confirm unready documents remain hidden and a retry safely completes the record.
Question 137
At Redwood Banking, 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. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which controlled pilot most directly validates the proposed approach?
- Return controlled 5xx responses from a staging webhook to exhaust its retry window.
- Defer a synthetic job, deliver its prerequisite and retrieve the deferred message.
- Force a harmless database write failure after receiving a synthetic locked message.
- Run a benign test invocation that reads and writes an object in a sandbox container.
Explanation
Correct Answer
A:
The subscription has a delivery retry policy but dead-letter storage was never configured. Return controlled 5xx responses from a staging webhook to exhaust its retry window.
Incorrect Answers
B:
Service Bus deferral and dead-lettering operate on brokered messages. Event Grid delivery failures require subscription retry policy and a configured dead-letter destination that can be monitored and replayed.
C:
“Force a harmless database write failure after receiving a synthetic locked message.” tests a proposed change for 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 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. Return controlled 5xx responses from a staging webhook to exhaust its retry window.
D:
“Run a benign test invocation that reads and writes an object in a sandbox container.” tests a proposed change for the condition: The function uses a modern supported runtime and can obtain scoped storage identity permissions. 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. Return controlled 5xx responses from a staging webhook to exhaust its retry window.
Question 138
At Blue Ridge Technology, a model deployment breaks after a credential rotates because its configuration pins a deleted secret version. Evidence: The application reference includes a specific version that no longer matches the managed rotation policy. The objective is to use secret versions intentionally and test rotation compatibility. Preserve end-to-end correlation and avoid copying sensitive production data. Which implementation or configuration choice best meets the stated requirement?
- Enable supported purge protection and document recovery of soft-deleted secrets under change control.
- Use the Azure Identity credential chain and App Configuration endpoint with minimal role assignments.
- Choose a versionless reference for approved automatic latest-version retrieval or a coordinated pinned-version rollout.
- Use summarize with bin(timestamp, 5m) and appropriate role and failure filters.
Explanation
Correct Answer
C:
The application reference includes a specific version that no longer matches the managed rotation policy. Choose a versionless reference for approved automatic latest-version retrieval or a coordinated pinned-version rollout.
Incorrect Answers
A:
“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 use secret versions intentionally and test rotation compatibility. The application reference includes a specific version that no longer matches the managed rotation policy. Choose a versionless reference for approved automatic latest-version retrieval or a coordinated pinned-version rollout.
B:
“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 use secret versions intentionally and test rotation compatibility. The application reference includes a specific version that no longer matches the managed rotation policy. Choose a versionless reference for approved automatic latest-version retrieval or a coordinated pinned-version rollout.
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 use secret versions intentionally and test rotation compatibility. The application reference includes a specific version that no longer matches the managed rotation policy. Choose a versionless reference for approved automatic latest-version retrieval or a coordinated pinned-version rollout.
Question 139
At Marigold Retail, a function handler manually embeds a storage account key to read documents despite supported Azure Storage bindings. Evidence: The function uses a modern supported runtime and can obtain scoped storage identity permissions. The objective is to use supported input and output bindings without distributing hard-coded storage keys. Only authorized Azure subscriptions and synthetic test data may be used. Which implementation or configuration choice best meets the stated requirement?
- Configure the Event Grid trigger and subscription for the correct resource event types.
- Choose a supported scaling plan and cap concurrency or split long work into queues appropriately.
- Use bounded exponential backoff with jitter and appropriate lock renewal or retry settlement.
- Configure appropriate storage bindings with identity-backed connections and restricted container access.
Explanation
Correct Answer
D:
The function uses a modern supported runtime and can obtain scoped storage identity permissions. Configure appropriate storage bindings with identity-backed connections and restricted container access.
Incorrect Answers
A:
“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 use supported input and output bindings without distributing hard-coded storage keys. The function uses a modern supported runtime and can obtain scoped storage identity permissions. Configure appropriate storage bindings with identity-backed connections and restricted container access.
B:
Concurrency and scale settings control how many Functions instances or invocations run; they do not replace manually embedded storage account keys. Supported storage input/output bindings and scoped identities handle that data access.
C:
“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 use supported input and output bindings without distributing hard-coded storage keys. The function uses a modern supported runtime and can obtain scoped storage identity permissions. Configure appropriate storage bindings with identity-backed connections and restricted container access.
Question 140
At Atlas Support, an Azure Function processes messages from Service Bus but completes them even when database output fails. Evidence: The trigger configuration retries and message settlement must align with actual successful work. The objective is to use correct Service Bus trigger completion and retry behavior for durable processing. Changes must respect customer tenant boundaries and required availability targets. Which implementation or configuration choice best meets the stated requirement?
- Persist an idempotency key and check it atomically before applying the external operation.
- Configure appropriate storage bindings with identity-backed connections and restricted container access.
- Define a supported SQL filter rule matching the translation event property and remove unintended catch-all filters.
- Design the function to report failures correctly so the trigger retries or dead-letters according to policy.
Explanation
Correct Answer
D:
The trigger configuration retries and message settlement must align with actual successful work. Design the function to report failures correctly so the trigger retries or dead-letters according to policy.
Incorrect Answers
A:
Idempotency guards repeated business side effects when a function runs more than once; it does not by itself control when a Service Bus message is completed or dead-lettered. Settlement must occur only after successful downstream work, with retry/failure handling configured.
B:
A Functions storage binding simplifies storage I/O and avoids embedded keys. It does not decide whether an unsuccessful Service Bus-triggered message should be retried rather than completed; settlement must reflect committed work.
C:
“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 use correct Service Bus trigger completion and retry behavior for durable processing. The trigger configuration retries and message settlement must align with actual successful work. Design the function to report failures correctly so the trigger retries or dead-letters according to policy.