Microsoft AI-200 Practice Test 4
Question 30
At Northwind Learning, a Cosmos container stores large text payloads, but queries filter only metadata fields. Evidence: Default indexing captures unused large properties and increases write RU costs. The objective is to optimize index policy for actual filter and sort requirements. Only authorized Azure subscriptions and synthetic test data may be used. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor lease ownership churn, processing lag and change feed failures.
- Monitor stale-read symptoms and consistency-related RU or latency changes.
- Monitor query metrics, write RU, and index transformation progress.
- Monitor stranded pending documents and repeated ingest failures.
Explanation
Correct Answer
C:
Default indexing captures unused large properties and increases write RU costs. Monitor query metrics, write RU, and index transformation progress.
Incorrect Answers
A:
“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 optimize index policy for actual filter and sort requirements. Default indexing captures unused large properties and increases write RU costs. Monitor query metrics, write RU, and index transformation progress.
B:
Cosmos DB consistency levels govern read visibility across sessions or replicas; they do not reduce write RU spent indexing large fields that no query uses. Adjust included and excluded indexing paths to actual filter and sort patterns.
D:
“Monitor stranded pending documents and repeated ingest failures.” monitors this signal: The database stores document status and embeddings in related rows without a reliable completion boundary. This question instead requires an action that can optimize index policy for actual filter and sort requirements. Default indexing captures unused large properties and increases write RU costs. Monitor query metrics, write RU, and index transformation progress.
Question 31
At Northwind Learning, an AKS model server accepts TCP connections before it finishes loading its embedding model and clients receive errors. Evidence: A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. The objective is to route traffic only after application readiness while retaining separate restart detection. Preserve end-to-end correlation and avoid copying sensitive production data. Which controlled pilot most directly validates the proposed approach?
- Make one permitted request from a sibling test app and one prohibited internet request.
- From two disposable namespaces, attempt an authorized and a denied HTTP request.
- Use a synthetic Key Vault secret in a nonproduction slot and refresh the app configuration.
- Deploy a test pod with delayed readiness and send harmless requests through its Service.
Explanation
Correct Answer
D:
A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Deploy a test pod with delayed readiness and send harmless requests through its Service.
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 route traffic only after application readiness while retaining separate restart detection. A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Deploy a test pod with delayed readiness and send harmless requests through its Service.
B:
“From two disposable namespaces, attempt an authorized and a denied HTTP request.” tests a proposed change for the condition: The Service type and network policies do not enforce the desired cluster-internal caller boundary. This question instead requires an action that can route traffic only after application readiness while retaining separate restart detection. A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Deploy a test pod with delayed readiness and send harmless requests through its Service.
C:
“Use a synthetic Key Vault secret in a nonproduction slot and refresh the app configuration.” tests a proposed change for the condition: The application can use managed identity and the secret already exists in Azure Key Vault. This question instead requires an action that can route traffic only after application readiness while retaining separate restart detection. A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Deploy a test pod with delayed readiness and send harmless requests through its Service.
Question 32
At Crownridge Consulting, a web-based retrieval service behaves differently between staging and production despite using the same container digest. Evidence: Its model endpoint and database settings were baked into the Docker image rather than injected per environment. The objective is to separate environment configuration from reusable container artifact bytes. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which acceptance result most strongly demonstrates the requirement is met?
- 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.
- Confirm the hosting probe reaches the intended listener without port translation errors.
- Confirm observed revision handling matches assigned weights within reasonable sample variation.
Explanation
Correct Answer
B:
Its model endpoint and database settings were baked into the Docker image rather than injected per environment. Verify each slot connects only to its designated test service while image content remains identical.
Incorrect Answers
A:
Key Vault references help resolve secrets, but they do not separate a model endpoint or database setting baked into a reusable image. App Service deployment settings must supply distinct staging and production values without rebuilding the container.
C:
“Confirm the hosting probe reaches the intended listener without port translation errors.” validates an outcome in a case where the evidence is: The application listens on an internal port different from the one expected by the hosting configuration. This question instead requires an action that can separate environment configuration from reusable container artifact bytes. Its model endpoint and database settings were baked into the Docker image rather than injected per environment. Verify each slot connects only to its designated test service while image content remains identical.
D:
“Confirm observed revision handling matches assigned weights within reasonable sample variation.” validates an outcome in a case where the evidence is: 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 separate environment configuration from reusable container artifact bytes. Its model endpoint and database settings were baked into the Docker image rather than injected per environment. Verify each slot connects only to its designated test service while image content remains identical.
Question 33
At Orion Commerce, a private web app cannot pull its container from Azure Container Registry after its registry administrator account was disabled. Evidence: The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. The objective is to allow registry image pulls without storing a registry password. Preserve end-to-end correlation and avoid copying sensitive production data. Which implementation or configuration choice best meets the stated requirement?
- Deploy to a staging slot, validate health, and use a controlled slot swap with rollback procedures.
- Configure an App Service Key Vault reference backed by a narrowly authorized managed identity.
- Define distinct readiness and liveness checks with suitable startup allowances for model load time.
- Grant the application's managed identity appropriate registry pull rights and configure managed identity-based registry authentication.
Explanation
Correct Answer
D:
The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. Grant the application's managed identity appropriate registry pull rights and configure managed identity-based registry authentication.
Incorrect Answers
A:
“Deploy to a staging slot, validate health, and use a controlled slot swap with rollback procedures.” is a design or implementation response to the condition: A release manager wants to undo a faulty model API deployment while keeping production connection strings unchanged. This question instead requires an action that can allow registry image pulls without storing a registry password. The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. Grant the application's managed identity appropriate registry pull rights and configure managed identity-based registry authentication.
B:
An App Service Key Vault reference supplies secrets to a running app, not authorization to download a container image. Registry pulls need the app identity granted the appropriate ACR repository pull permissions.
C:
“Define distinct readiness and liveness checks with suitable startup allowances for model load time.” is a design or implementation response to the condition: An image search pod needs 40 seconds to load its index but Kubernetes routes user requests immediately. This question instead requires an action that can allow registry image pulls without storing a registry password. The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. Grant the application's managed identity appropriate registry pull rights and configure managed identity-based registry authentication.
Question 34
At Orion Commerce, a semantic cache begins evicting highly reused entries during peak demand. Evidence: Its max memory is saturated and eviction policy does not match cache workload priorities. The objective is to choose predictable memory and eviction behavior for transient AI response data. Changes must respect customer tenant boundaries and required availability targets. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor evictions, fragmentation and frequently missed large entries.
- Monitor missing filters, authorization failures and cross-tenant query patterns.
- Monitor lock contention, stampede frequency and failed refreshes.
- Monitor retrieval precision/recall shifts after index and embedding model changes.
Explanation
Correct Answer
A:
Its max memory is saturated and eviction policy does not match cache workload priorities. Monitor evictions, fragmentation and frequently missed large entries.
Incorrect Answers
B:
“Monitor missing filters, authorization failures and cross-tenant query patterns.” monitors this signal: The index includes tenant metadata but the query filters only the vector distance. This question instead requires an action that can choose predictable memory and eviction behavior for transient AI response data. Its max memory is saturated and eviction policy does not match cache workload priorities. Monitor evictions, fragmentation and frequently missed large entries.
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 choose predictable memory and eviction behavior for transient AI response data. Its max memory is saturated and eviction policy does not match cache workload priorities. Monitor evictions, fragmentation and frequently missed large entries.
D:
“Monitor retrieval precision/recall shifts after index and embedding model changes.” monitors this signal: The team optimized latency but never measured recall against a labeled search baseline. This question instead requires an action that can choose predictable memory and eviction behavior for transient AI response data. Its max memory is saturated and eviction policy does not match cache workload priorities. Monitor evictions, fragmentation and frequently missed large entries.
Question 35
At Sapphire Energy, a multi-region application deployment in Azure Container Apps downloads large images slowly from a remote registry region. Evidence: Its Premium registry has no replica in the region where new workloads are starting. The objective is to reduce regional image pull latency and improve registry availability without duplicating release identities. Only authorized Azure subscriptions and synthetic test data may be used. Which implementation or configuration choice best meets the stated requirement?
- Configure the correct custom-container port and bind the application to all container interfaces.
- Enable supported ACR geo-replication in the required regions under one registry namespace.
- Deploy to a staging slot, validate health, and use a controlled slot swap with rollback procedures.
- Configure approved Log Analytics ingestion for the environment and instrument application diagnostics.
Explanation
Correct Answer
B:
Its Premium registry has no replica in the region where new workloads are starting. Enable supported ACR geo-replication in the required regions under one registry namespace.
Incorrect Answers
A:
Fixing an App Service container listener port can restore HTTP health checks, but it does not bring an Azure Container Registry image closer to a remote deployment. A regional ACR replica addresses large-image pull locality and availability.
C:
“Deploy to a staging slot, validate health, and use a controlled slot swap with rollback procedures.” is a design or implementation response to the condition: A release manager wants to undo a faulty model API deployment while keeping production connection strings unchanged. This question instead requires an action that can reduce regional image pull latency and improve registry availability without duplicating release identities. Its Premium registry has no replica in the region where new workloads are starting. Enable supported ACR geo-replication in the required regions under one registry namespace.
D:
“Configure approved Log Analytics ingestion for the environment and instrument application diagnostics.” is a design or implementation response to the condition: The environment's diagnostic destination is misconfigured and system logs show image pull failures. This question instead requires an action that can reduce regional image pull latency and improve registry availability without duplicating release identities. Its Premium registry has no replica in the region where new workloads are starting. Enable supported ACR geo-replication in the required regions under one registry namespace.
Question 36
At Redwood Banking, a Python inference image contains an outdated base layer even though application source code has not changed. Evidence: The pipeline rebuilds only when developers push code and never tracks upstream base image updates. The objective is to rebuild and test dependent images when their approved base image changes. Only authorized Azure subscriptions and synthetic test data may be used. Which controlled pilot most directly validates the proposed approach?
- Deploy a harmless test image to a staging app using the managed identity rather than username and password.
- Publish an approved nonproduction base-image revision and observe a dependent task build.
- Use a synthetic Key Vault secret in a nonproduction slot and refresh the app configuration.
- Make one permitted request from a sibling test app and one prohibited internet request.
Explanation
Correct Answer
B:
The pipeline rebuilds only when developers push code and never tracks upstream base image updates. Publish an approved nonproduction base-image revision and observe a dependent task build.
Incorrect Answers
A:
“Deploy a harmless test image to a staging app using the managed identity rather than username and password.” tests a proposed change for the condition: The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. This question instead requires an action that can rebuild and test dependent images when their approved base image changes. The pipeline rebuilds only when developers push code and never tracks upstream base image updates. Publish an approved nonproduction base-image revision and observe a dependent task build.
C:
“Use a synthetic Key Vault secret in a nonproduction slot and refresh the app configuration.” tests a proposed change for the condition: The application can use managed identity and the secret already exists in Azure Key Vault. This question instead requires an action that can rebuild and test dependent images when their approved base image changes. The pipeline rebuilds only when developers push code and never tracks upstream base image updates. Publish an approved nonproduction base-image revision and observe a dependent task build.
D:
“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 rebuild and test dependent images when their approved base image changes. The pipeline rebuilds only when developers push code and never tracks upstream base image updates. Publish an approved nonproduction base-image revision and observe a dependent task build.
Question 37
At Northwind Learning, 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. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which acceptance result most strongly demonstrates the requirement is met?
- Verify replay leaves exactly one current output record and correct updated version.
- Confirm RU usage and load spread are balanced and scoped point queries remain efficient.
- Verify latency and 429 rate meet the test SLO with reasonable capacity cost.
- Verify only bounded recomputations occur and clients receive valid results.
Explanation
Correct Answer
B:
The partition key uses a shared constant for nearly all writes rather than a high-cardinality conversation identifier. Confirm RU usage and load spread are balanced and scoped point queries remain efficient.
Incorrect Answers
A:
“Verify replay leaves exactly one current output record and correct updated version.” validates an outcome in a case where the evidence is: Change feed delivery and retries require consumers to tolerate at-least-once processing. 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. Confirm RU usage and load spread are balanced and scoped point queries remain efficient.
C:
“Verify latency and 429 rate meet the test SLO with reasonable capacity cost.” validates an outcome in a case where the evidence is: Provisioned RU capacity and partition distribution are below the write and query demand. 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. Confirm RU usage and load spread are balanced and scoped point queries remain efficient.
D:
“Verify only bounded recomputations occur and clients receive valid results.” validates an outcome in a case where the evidence is: Every worker observes the cache miss simultaneously and no coordination exists. 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. Confirm RU usage and load spread are balanced and scoped point queries remain efficient.
Question 38
At Blue Ridge Technology, events for one customer conversation must be applied in order even as workers scale horizontally. Evidence: Parallel consumers receive updates out of order and session affinity is not configured. The objective is to preserve per-entity message ordering without serializing all customer traffic globally. Validate in a disposable environment before applying production changes. Which controlled pilot most directly validates the proposed approach?
- Schedule a harmless test job for a short future interval and observe visibility before due time.
- Publish ordered synthetic updates for two different sessions under concurrent workers.
- Create a staging Event Grid subscription pointing to the test webhook and handle its validation event.
- Create a short-run harmless staging timer schedule to confirm expected firing times.
Explanation
Correct Answer
B:
Parallel consumers receive updates out of order and session affinity is not configured. Publish ordered synthetic updates for two different sessions under concurrent workers.
Incorrect Answers
A:
“Schedule a harmless test job for a short future interval and observe visibility before due time.” tests a proposed change for 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 preserve per-entity message ordering without serializing all customer traffic globally. Parallel consumers receive updates out of order and session affinity is not configured. Publish ordered synthetic updates for two different sessions under concurrent workers.
C:
“Create a staging Event Grid subscription pointing to the test webhook and handle its validation event.” tests a proposed change for the condition: The webhook ignores the subscription validation event and never returns the expected validation response. This question instead requires an action that can preserve per-entity message ordering without serializing all customer traffic globally. Parallel consumers receive updates out of order and session affinity is not configured. Publish ordered synthetic updates for two different sessions under concurrent workers.
D:
“Create a short-run harmless staging timer schedule to confirm expected firing times.” tests a proposed change for the condition: The host interprets schedules with specific UTC and configuration semantics. This question instead requires an action that can preserve per-entity message ordering without serializing all customer traffic globally. Parallel consumers receive updates out of order and session affinity is not configured. Publish ordered synthetic updates for two different sessions under concurrent workers.
Question 39
At Harbor Technology, an AI ingestion queue retries malformed JSON indefinitely and blocks healthy work from progressing. Evidence: The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. The objective is to isolate unrecoverable messages without losing audit evidence. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which implementation or configuration choice best meets the stated requirement?
- Define a supported SQL filter rule matching the translation event property and remove unintended catch-all filters.
- Use a Service Bus queue for competing workers when each work item should be processed once by one consumer.
- Configure the Event Grid trigger and subscription for the correct resource event types.
- Configure maximum delivery handling and explicitly dead-letter permanent validation failures with reason details.
Explanation
Correct Answer
D:
The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. Configure maximum delivery handling and explicitly dead-letter permanent validation failures with reason details.
Incorrect Answers
A:
“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 isolate unrecoverable messages without losing audit evidence. The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. Configure maximum delivery handling and explicitly dead-letter permanent validation failures with reason details.
B:
“Use a Service Bus queue for competing workers when each work item should be processed once by one consumer.” is a design or implementation response to the condition: Only one competing consumer group needs each job, and duplicate fan-out would waste inference compute. This question instead requires an action that can isolate unrecoverable messages without losing audit evidence. The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. Configure maximum delivery handling and explicitly dead-letter permanent validation failures with reason details.
C:
“Configure the Event Grid trigger and subscription for the correct resource event types.” is a design or implementation response to the condition: A serverless thumbnail pipeline stopped responding to storage updates after its function name changed. This question instead requires an action that can isolate unrecoverable messages without losing audit evidence. The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. Configure maximum delivery handling and explicitly dead-letter permanent validation failures with reason details.
Question 40
Northwind Learning is reviewing an Azure AI workload: A semantic response cache needs to find similar questions rather than exact identical key strings. The business goal is to enable vector similarity retrieval in the managed Redis service. 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?
- Implement cache-aside lookup with a bounded TTL and version-aware key names.
- Invalidate affected cache keys or use versioned namespaces whenever source documents change.
- Create a supported Redis vector search index with correct vector field type and distance metric.
- Build an HNSW index with the appropriate vector_cosine_ops operator class where supported.
Explanation
Correct Answer
C:
The service requires a supported Redis search/vector index with consistent embedding dimensions. Create a supported Redis vector search index with correct vector field type and distance metric.
Incorrect Answers
A:
“Implement cache-aside lookup with a bounded TTL and version-aware key names.” is a design or implementation response to the condition: It currently bypasses Redis and stores no expiration for cacheable responses. 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. Create a supported Redis vector search index with correct vector field type and distance metric.
B:
“Invalidate affected cache keys or use versioned namespaces whenever source documents change.” is a design or implementation response to the condition: A human editor corrects a confidential knowledge article but AI responses keep reading the previous cached chunk. 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. Create a supported Redis vector search index with correct vector field type and distance metric.
D:
“Build an HNSW index with the appropriate vector_cosine_ops operator class where supported.” is a design or implementation response to the condition: The vector column has no suitable approximate nearest neighbor index for the cosine operator. 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. Create a supported Redis vector search index with correct vector field type and distance metric.