Microsoft AI-200 Practice Test 25
Question 240
At Summit Finance, an external webhook endpoint never activates as an Event Grid event subscription destination. Evidence: The webhook ignores the subscription validation event and never returns the expected validation response. The objective is to complete Event Grid webhook subscription validation before accepting operational events. Changes must respect customer tenant boundaries and required availability targets. Which acceptance result most strongly demonstrates the requirement is met?
- Verify the original work resumes without unauthorized dead-letter replay or duplicate completion.
- Verify the subscription becomes active and subsequent synthetic events reach the endpoint.
- Verify only one consumer holds and completes the queued job while other workers can process other jobs.
- Verify the operation is recorded once even though multiple function invocations occur.
Explanation
Correct Answer
B:
The webhook ignores the subscription validation event and never returns the expected validation response. Verify the subscription becomes active and subsequent synthetic events reach the endpoint.
Incorrect Answers
A:
“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 complete Event Grid webhook subscription validation before accepting operational events. The webhook ignores the subscription validation event and never returns the expected validation response. Verify the subscription becomes active and subsequent synthetic events reach the endpoint.
C:
“Verify only one consumer holds and completes the queued job while other workers can process other jobs.” validates an outcome in a case where the evidence is: Only one competing consumer group needs each job, and duplicate fan-out would waste inference compute. This question instead requires an action that can complete Event Grid webhook subscription validation before accepting operational events. The webhook ignores the subscription validation event and never returns the expected validation response. Verify the subscription becomes active and subsequent synthetic events reach the endpoint.
D:
“Verify the operation is recorded once even though multiple function invocations occur.” validates an outcome in a case where the evidence is: The trigger can invoke the handler more than once, and the side effect lacks an idempotency identifier. 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. Verify the subscription becomes active and subsequent synthetic events reach the endpoint.
Question 241
Blue Ridge Technology is reviewing an Azure AI workload: A user changes retrieval preferences but an immediate follow-up message reads an older profile value. The business goal is to select the least costly consistency level meeting session visibility requirements. 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 deterministic sink IDs and version checks before committing processed embeddings.
- Choose a stable high-cardinality partition key aligned to dominant conversation access patterns.
- Right-size cache capacity and choose a supported LRU/LFU/TTL-aware eviction policy appropriate to the workload.
- Use supported session consistency with proper session-token handling for read-your-writes where required.
Explanation
Correct Answer
D:
The application does not retain session tokens and assumes eventual consistency provides read-your-writes. Use supported session consistency with proper session-token handling for read-your-writes where required.
Incorrect Answers
A:
“Use deterministic sink IDs and version checks before committing processed embeddings.” is a design or implementation response to the condition: An updated knowledge article gets indexed twice after processor failover and changes search ranking. This question instead requires an action that can select the least costly consistency level meeting session visibility requirements. The application does not retain session tokens and assumes eventual consistency provides read-your-writes. Use supported session consistency with proper session-token handling for read-your-writes where required.
B:
“Choose a stable high-cardinality partition key aligned to dominant conversation access patterns.” is a design or implementation response to the condition: The partition key uses a shared constant for nearly all writes rather than a high-cardinality conversation identifier. This question instead requires an action that can select the least costly consistency level meeting session visibility requirements. The application does not retain session tokens and assumes eventual consistency provides read-your-writes. Use supported session consistency with proper session-token handling for read-your-writes where required.
C:
“Right-size cache capacity and choose a supported LRU/LFU/TTL-aware eviction policy appropriate to the workload.” is a design or implementation response to the condition: Its max memory is saturated and eviction policy does not match cache workload priorities. This question instead requires an action that can select the least costly consistency level meeting session visibility requirements. The application does not retain session tokens and assumes eventual consistency provides read-your-writes. Use supported session consistency with proper session-token handling for read-your-writes where required.
Question 242
At Crownridge Consulting, a pgvector table has an HNSW index with a vector_l2_ops class but queries sort by cosine distance. Evidence: The mismatch keeps the query from using the intended nearest-neighbor index plan. The objective is to match PostgreSQL vector index operator class to the query distance operator. Preserve end-to-end correlation and avoid copying sensitive production data. Which implementation or configuration choice best meets the stated requirement?
- Load representative embeddings before creating or rebuilding the IVFFlat index and tune lists/probes.
- Run a hybrid query with supported full-text search and vector ranking merged under tenant filters.
- Configure a common lease container and stable processor identity with correct change feed mode.
- Create or select an index with vector_cosine_ops and use the matching distance operator.
Explanation
Correct Answer
D:
The mismatch keeps the query from using the intended nearest-neighbor index plan. Create or select an index with vector_cosine_ops and use the matching distance operator.
Incorrect Answers
A:
“Load representative embeddings before creating or rebuilding the IVFFlat index and tune lists/probes.” is a design or implementation response to the condition: The approximate index requires suitable data distribution and tuning for list count and probes. This question instead requires an action that can match PostgreSQL vector index operator class to the query distance operator. The mismatch keeps the query from using the intended nearest-neighbor index plan. Create or select an index with vector_cosine_ops and use the matching distance operator.
B:
“Run a hybrid query with supported full-text search and vector ranking merged under tenant filters.” is a design or implementation response to the condition: A hardware troubleshooting chatbot cannot reliably retrieve a ticket by its exact error code using embeddings alone. This question instead requires an action that can match PostgreSQL vector index operator class to the query distance operator. The mismatch keeps the query from using the intended nearest-neighbor index plan. Create or select an index with vector_cosine_ops and use the matching distance operator.
C:
“Configure a common lease container and stable processor identity with correct change feed mode.” is a design or implementation response to the condition: A catalog ingestion service adds a second processor replica and duplicate subscriptions cause gaps and replays. This question instead requires an action that can match PostgreSQL vector index operator class to the query distance operator. The mismatch keeps the query from using the intended nearest-neighbor index plan. Create or select an index with vector_cosine_ops and use the matching distance operator.
Question 243
At Orion Commerce, a chat history store distributes thousands of conversations across Cosmos DB for NoSQL but a single logical partition consumes most RU capacity. Evidence: The partition key uses a shared constant for nearly all writes rather than a high-cardinality conversation identifier. The objective is to avoid hot logical partitions while preserving efficient queries. Validate in a disposable environment before applying production changes. Which implementation or configuration choice best meets the stated requirement?
- Choose a stable high-cardinality partition key aligned to dominant conversation access patterns.
- Use deterministic sink IDs and version checks before committing processed embeddings.
- Enable container or per-item TTL with approved expiration windows and explicit exceptions.
- Apply required tenant and document-class filters in the Redis vector query alongside KNN ranking.
Explanation
Correct Answer
A:
The partition key uses a shared constant for nearly all writes rather than a high-cardinality conversation identifier. Choose a stable high-cardinality partition key aligned to dominant conversation access patterns.
Incorrect Answers
B:
“Use deterministic sink IDs and version checks before committing processed embeddings.” is a design or implementation response to the condition: An updated knowledge article gets indexed twice after processor failover and changes search ranking. This question instead requires an action that can avoid hot logical partitions while preserving efficient queries. The partition key uses a shared constant for nearly all writes rather than a high-cardinality conversation identifier. Choose a stable high-cardinality partition key aligned to dominant conversation access patterns.
C:
“Enable container or per-item TTL with approved expiration windows and explicit exceptions.” is a design or implementation response to the condition: The container has TTL disabled and application cleanup jobs miss archived records. This question instead requires an action that can avoid hot logical partitions while preserving efficient queries. The partition key uses a shared constant for nearly all writes rather than a high-cardinality conversation identifier. Choose a stable high-cardinality partition key aligned to dominant conversation access patterns.
D:
“Apply required tenant and document-class filters in the Redis vector query alongside KNN ranking.” is a design or implementation response to the condition: A chatbot uses Redis nearest-neighbor search for a multi-customer knowledge base and must isolate results. This question instead requires an action that can avoid hot logical partitions while preserving efficient queries. The partition key uses a shared constant for nearly all writes rather than a high-cardinality conversation identifier. Choose a stable high-cardinality partition key aligned to dominant conversation access patterns.
Question 244
At Lighthouse Systems, a policy-answer service serves old snippets after documents are updated in its authoritative database. Evidence: Its Redis cache persists until a long TTL and does not react to content version changes. The objective is to remove or version stale cached results after authoritative data modifications. Only authorized Azure subscriptions and synthetic test data may be used. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect filter syntax, index schema and tenant identity constraints.
- Inspect durability, failover behavior, key eviction settings and source-of-truth design.
- Inspect sample queries with exact identifiers and paraphrases, FTS index and vector index paths.
- Inspect cache keys, update events, TTL and consistency requirements.
Explanation
Correct Answer
D:
Its Redis cache persists until a long TTL and does not react to content version changes. Inspect cache keys, update events, TTL and consistency requirements.
Incorrect Answers
A:
“Inspect filter syntax, index schema and tenant identity constraints.” is a diagnostic step for the reported condition: The index includes tenant metadata but the query filters only the vector distance. This question instead requires an action that can remove or version stale cached results after authoritative data modifications. Its Redis cache persists until a long TTL and does not react to content version changes. Inspect cache keys, update events, TTL and consistency requirements.
B:
“Inspect durability, failover behavior, key eviction settings and source-of-truth design.” is a diagnostic step for the reported condition: The configured eviction policy can discard keys when memory pressure rises. This question instead requires an action that can remove or version stale cached results after authoritative data modifications. Its Redis cache persists until a long TTL and does not react to content version changes. Inspect cache keys, update events, TTL and consistency requirements.
C:
“Inspect sample queries with exact identifiers and paraphrases, FTS index and vector index paths.” is a diagnostic step for the reported condition: Pure vector matching often misses rare identifiers while full-text search alone fails paraphrases. This question instead requires an action that can remove or version stale cached results after authoritative data modifications. Its Redis cache persists until a long TTL and does not react to content version changes. Inspect cache keys, update events, TTL and consistency requirements.
Question 245
At Summit Finance, 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. Preserve end-to-end correlation and avoid copying sensitive production data. Which implementation or configuration choice best meets the stated requirement?
- Use a Key Vault reference in App Configuration and grant the runtime identity secret retrieval permission.
- Register a sentinel key for refresh and update it only after related config values are published.
- Configure Azure App Configuration key selection with explicit environment labels and sensible defaults.
- Filter the correct telemetry table by time and failure then summarize count by cloud role.
Explanation
Correct Answer
B:
The SDK refresh provider observes no sentinel key and the keys update at different moments. Register a sentinel key for refresh and update it only after related config values are published.
Incorrect Answers
A:
“Use a Key Vault reference in App Configuration and grant the runtime identity secret retrieval permission.” is a design or implementation response to the condition: A team centralizes API endpoint settings but wants credential values protected outside App Configuration. 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. Register a sentinel key for refresh and update it only after related config values are published.
C:
“Configure Azure App Configuration key selection with explicit environment labels and sensible defaults.” is a design or implementation response to the condition: The team created labeled keys yet the SDK filter does not select the requested environment label. 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. Register a sentinel key for refresh and update it only after related config values are published.
D:
“Filter the correct telemetry table by time and failure then summarize count by cloud role.” is a design or implementation response to the condition: Logs have cloud_RoleName, timestamp, success or exception fields in queryable telemetry tables. 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. Register a sentinel key for refresh and update it only after related config values are published.
Question 246
At Clearwater Partners, 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. Changes must respect customer tenant boundaries and required availability targets. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor missing correlation IDs and dependency latency outliers.
- Monitor long queue wait, orphaned correlation IDs and retry-induced latency.
- Monitor refresh failures, stale config age and sentinel version changes.
- Monitor error-rate spikes and absence of telemetry for a role.
Explanation
Correct Answer
D:
Logs have cloud_RoleName, timestamp, success or exception fields in queryable telemetry tables. Monitor error-rate spikes and absence of telemetry for a role.
Incorrect Answers
A:
“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 use KQL aggregation to locate the highest error volume by service. Logs have cloud_RoleName, timestamp, success or exception fields in queryable telemetry tables. Monitor error-rate spikes and absence of telemetry for a role.
B:
“Monitor long queue wait, orphaned correlation IDs and retry-induced latency.” monitors this signal: 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. Monitor error-rate spikes and absence of telemetry for a role.
C:
“Monitor refresh failures, stale config age and sentinel version changes.” monitors this signal: The SDK refresh provider observes no sentinel key and the keys update at different moments. 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. Monitor error-rate spikes and absence of telemetry for a role.
Question 247
At Marigold Retail, a backend Redis client connects over an unencrypted legacy endpoint with a shared password. Evidence: The environment requires encrypted transport and scoped client credentials. The objective is to secure application-to-cache connections with supported authentication and TLS. Preserve end-to-end correlation and avoid copying sensitive production data. Which controlled pilot most directly validates the proposed approach?
- Connect with an authorized test identity and reject an unauthenticated or plaintext test client.
- Simulate many simultaneous requests immediately after a synthetic hot key expires.
- Replay a benign working-set distribution under candidate memory limits in staging.
- Query a sanitized staging dataset with normal and quote-containing identifier strings.
Explanation
Correct Answer
A:
The environment requires encrypted transport and scoped client credentials. Connect with an authorized test identity and reject an unauthenticated or plaintext test client.
Incorrect Answers
B:
“Simulate many simultaneous requests immediately after a synthetic hot key expires.” tests a proposed change for the condition: Every worker observes the cache miss simultaneously and no coordination exists. This question instead requires an action that can secure application-to-cache connections with supported authentication and TLS. The environment requires encrypted transport and scoped client credentials. Connect with an authorized test identity and reject an unauthenticated or plaintext test client.
C:
“Replay a benign working-set distribution under candidate memory limits in staging.” tests a proposed change for the condition: Its max memory is saturated and eviction policy does not match cache workload priorities. This question instead requires an action that can secure application-to-cache connections with supported authentication and TLS. The environment requires encrypted transport and scoped client credentials. Connect with an authorized test identity and reject an unauthenticated or plaintext test client.
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 secure application-to-cache connections with supported authentication and TLS. The environment requires encrypted transport and scoped client credentials. Connect with an authorized test identity and reject an unauthenticated or plaintext test client.
Question 248
At Crownridge Consulting, a serverless AI summarization API exposes an HTTP route with an unintended anonymous authorization level. Evidence: The application should require an approved client identity before invoking the function. The objective is to protect an Azure Functions HTTP endpoint with the intended authentication boundary. Changes must respect customer tenant boundaries and required availability targets. Which controlled pilot most directly validates the proposed approach?
- Run a benign test invocation that reads and writes an object in a sandbox container.
- Force a harmless retry of a synthetic event after the downstream sink commits.
- Defer a synthetic job, deliver its prerequisite and retrieve the deferred message.
- Call the staging route with a valid test identity and an unauthenticated request.
Explanation
Correct Answer
D:
The application should require an approved client identity before invoking the function. Call the staging route with a valid test identity and an unauthenticated request.
Incorrect Answers
A:
“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 protect an Azure Functions HTTP endpoint with the intended authentication boundary. The application should require an approved client identity before invoking the function. Call the staging route with a valid test identity and an unauthenticated request.
B:
“Force a harmless retry of a synthetic event after the downstream sink commits.” tests a proposed change for the condition: The trigger can invoke the handler more than once, and the side effect lacks an idempotency identifier. This question instead requires an action that can protect an Azure Functions HTTP endpoint with the intended authentication boundary. The application should require an approved client identity before invoking the function. Call the staging route with a valid test identity and an unauthenticated request.
C:
“Defer a synthetic job, deliver its prerequisite and retrieve the deferred message.” tests a proposed change for the condition: 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 protect an Azure Functions HTTP endpoint with the intended authentication boundary. The application should require an approved client identity before invoking the function. Call the staging route with a valid test identity and an unauthenticated request.
Question 249
At Juniper Analytics, an application emits structured diagnostic payloads in a dynamic customDimensions field but analysts filter it as plain text. Evidence: The relevant correlation key is nested inside JSON rather than a top-level column. The objective is to extract and filter nested log attributes correctly in KQL. Only authorized Azure subscriptions and synthetic test data may be used. Which acceptance result most strongly demonstrates the requirement is met?
- Verify filtering matches the intended JSON property rather than arbitrary text substrings.
- Verify representative successes are sampled while critical failures and trace context remain visible.
- Verify bucket timestamps and counts align with known events and UTC boundaries.
- Verify enabled testers receive the feature and other users continue on the stable path.
Explanation
Correct Answer
A:
The relevant correlation key is nested inside JSON rather than a top-level column. Verify filtering matches the intended JSON property rather than arbitrary text substrings.
Incorrect Answers
B:
“Verify representative successes are sampled while critical failures and trace context remain visible.” validates an outcome in a case where the evidence is: The exporter captures all success events without sampling and does not retain error context. 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. Verify filtering matches the intended JSON property rather than arbitrary text substrings.
C:
“Verify bucket timestamps and counts align with known events and UTC boundaries.” validates an outcome in a case where the evidence is: The current results lack time bucketing and cannot reveal when an issue began. 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. Verify filtering matches the intended JSON property rather than arbitrary text substrings.
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 extract and filter nested log attributes correctly in KQL. The relevant correlation key is nested inside JSON rather than a top-level column. Verify filtering matches the intended JSON property rather than arbitrary text substrings.
Question 250
At Aspen Manufacturing, a high-volume API sends millions of near-identical request traces and telemetry cost grows while rare failures are hard to find. Evidence: The exporter captures all success events without sampling and does not retain error context. The objective is to reduce telemetry cost without losing actionable diagnostics. Preserve end-to-end correlation and avoid copying sensitive production data. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor p95/p99 regression and low-sample misleading thresholds.
- Monitor revision failure rates and log collection gaps during canaries.
- Monitor ingestion volume, dropped errors and adaptive sampling bias.
- Monitor missed rotation notifications, repeated failures and expired credential use.
Explanation
Correct Answer
C:
The exporter captures all success events without sampling and does not retain error context. Monitor ingestion volume, dropped errors and adaptive sampling bias.
Incorrect Answers
A:
“Monitor p95/p99 regression and low-sample misleading thresholds.” monitors this signal: Telemetry has request duration samples with a heavy tail. This question instead requires an action that can reduce telemetry cost without losing actionable diagnostics. The exporter captures all success events without sampling and does not retain error context. Monitor ingestion volume, dropped errors and adaptive sampling bias.
B:
Container Apps revision logs identify failures by deployment revision, not whether Application Insights sampling has hidden important distributed traces. Tune sampling and trace collection while retaining diagnostic coverage and cost visibility.
D:
“Monitor missed rotation notifications, repeated failures and expired credential use.” monitors this signal: A Key Vault event is supported but no subscription has been configured for near-expiration events. This question instead requires an action that can reduce telemetry cost without losing actionable diagnostics. The exporter captures all success events without sampling and does not retain error context. Monitor ingestion volume, dropped errors and adaptive sampling bias.