Microsoft AI-200 Practice Test 6
Question 50
At Riverbend Health, a release process deploys the latest tag and unexpectedly runs a different container than the one that passed testing. Evidence: The mutable tag was reassigned to a newer image after release approval. The objective is to pin deployment to the approved tested image rather than a moving tag. Validate in a disposable environment before applying production changes. Which controlled pilot most directly validates the proposed approach?
- Deploy a synthetic versioned image pinned to its sha256 digest in a test service.
- Swap a harmless updated staging version into a nonproduction environment and simulate a failed acceptance check.
- Submit one signed test image and one unsigned test image to the staging gate.
- Make one permitted request from a sibling test app and one prohibited internet request.
Explanation
Correct Answer
A:
The mutable tag was reassigned to a newer image after release approval. Deploy a synthetic versioned image pinned to its sha256 digest in a test service.
Incorrect Answers
B:
“Swap a harmless updated staging version into a nonproduction environment and simulate a failed acceptance check.” tests a proposed change for the condition: The team has a healthy staging slot with a previously verified container image. This question instead requires an action that can pin deployment to the approved tested image rather than a moving tag. The mutable tag was reassigned to a newer image after release approval. Deploy a synthetic versioned image pinned to its sha256 digest in a test service.
C:
“Submit one signed test image and one unsigned test image to the staging gate.” tests a proposed change for the condition: An engineer can push an image directly to the registry without required provenance checks. This question instead requires an action that can pin deployment to the approved tested image rather than a moving tag. The mutable tag was reassigned to a newer image after release approval. Deploy a synthetic versioned image pinned to its sha256 digest in a test service.
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 pin deployment to the approved tested image rather than a moving tag. The mutable tag was reassigned to a newer image after release approval. Deploy a synthetic versioned image pinned to its sha256 digest in a test service.
Question 51
Aspen Manufacturing is reviewing an Azure AI workload: An operations team wants to see whether model serving errors rose during a fifteen-minute rollout. The business goal is to aggregate telemetry into meaningful time windows for trend analysis. A change is being evaluated before rollout. The team has documented application and data boundaries. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which implementation or configuration choice best meets the stated requirement?
- Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.
- Use supported parse_json or dynamic-field access and convert fields to the required type.
- Enable supported purge protection and document recovery of soft-deleted secrets under change control.
- Use summarize with bin(timestamp, 5m) and appropriate role and failure filters.
Explanation
Correct Answer
D:
The current results lack time bucketing and cannot reveal when an issue began. Use summarize with bin(timestamp, 5m) and appropriate role and failure filters.
Incorrect Answers
A:
“Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.” is a design or implementation response to the condition: A retrieval API adds a custom OpenTelemetry attribute containing raw document text to every span. This question instead requires an action that can aggregate telemetry into meaningful time windows for trend analysis. The current results lack time bucketing and cannot reveal when an issue began. Use summarize with bin(timestamp, 5m) and appropriate role and failure filters.
B:
Parsing dynamic JSON fields extracts values from telemetry; it does not group errors into time windows. KQL summarize with bin(TimeGenerated, 5m) produces the requested service-level trend.
C:
“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 aggregate telemetry into meaningful time windows for trend analysis. The current results lack time bucketing and cannot reveal when an issue began. Use summarize with bin(timestamp, 5m) and appropriate role and failure filters.
Question 52
At Lighthouse Systems, 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. Preserve end-to-end correlation and avoid copying sensitive production data. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect function plan, worker process count, execution timeout and per-instance saturation metrics.
- Inspect retry policy, event identity and deduplication or transactional sink strategy.
- Inspect binding settings, handler exception path, auto-complete behavior and dead-letter policies.
- Inspect event subjects, event type and current advanced or subject filters.
Explanation
Correct Answer
C:
The trigger configuration retries and message settlement must align with actual successful work. Inspect binding settings, handler exception path, auto-complete behavior and dead-letter policies.
Incorrect Answers
A:
“Inspect function plan, worker process count, execution timeout and per-instance saturation metrics.” is a diagnostic step for the reported condition: Telemetry shows request queueing and memory pressure rather than an upstream service outage. 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. Inspect binding settings, handler exception path, auto-complete behavior and dead-letter policies.
B:
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.
D:
“Inspect event subjects, event type and current advanced or subject filters.” is a diagnostic step for the reported condition: The subscription has no subject filter and triggers expensive embedding for unrelated images. 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. Inspect binding settings, handler exception path, auto-complete behavior and dead-letter policies.
Question 53
At Crescent Logistics, a topic carries events for many document types but the translation worker should only receive language jobs. Evidence: The worker subscription has no rule and receives irrelevant indexing and billing events. The objective is to route topic events by documented message properties to intended subscribers. Only authorized Azure subscriptions and synthetic test data may be used. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor delivery failures, dead-letter growth and aged event retries.
- Monitor queue depth, lock-loss errors and accidental extra consumers.
- Monitor repeated event IDs, stale locks and duplicate side effects.
- Monitor filter rule drift and unprocessed matching messages.
Explanation
Correct Answer
D:
The worker subscription has no rule and receives irrelevant indexing and billing events. Monitor filter rule drift and unprocessed matching messages. Service Bus SQL subscription filters route messages by declared properties; a catch-all rule permits unrelated event types.
Incorrect Answers
A:
“Monitor delivery failures, dead-letter growth and aged event retries.” monitors this signal: The subscription has a delivery retry policy but dead-letter storage was never configured. This question instead requires an action that can route topic events by documented message properties to intended subscribers. The worker subscription has no rule and receives irrelevant indexing and billing events. Monitor filter rule drift and unprocessed matching messages. Service Bus SQL subscription filters route messages by declared properties; a catch-all rule permits unrelated event types.
B:
“Monitor queue depth, lock-loss errors and accidental extra consumers.” monitors this signal: Only one competing consumer group needs each job, and duplicate fan-out would waste inference compute. This question instead requires an action that can route topic events by documented message properties to intended subscribers. The worker subscription has no rule and receives irrelevant indexing and billing events. Monitor filter rule drift and unprocessed matching messages. Service Bus SQL subscription filters route messages by declared properties; a catch-all rule permits unrelated event types.
C:
“Monitor repeated event IDs, stale locks and duplicate side effects.” monitors this signal: 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 route topic events by documented message properties to intended subscribers. The worker subscription has no rule and receives irrelevant indexing and billing events. Monitor filter rule drift and unprocessed matching messages. Service Bus SQL subscription filters route messages by declared properties; a catch-all rule permits unrelated event types.
Question 54
At Seabright Media, a consumer writes vector updates twice when the Cosmos DB change feed replays a batch after a worker crash. Evidence: Change feed delivery and retries require consumers to tolerate at-least-once processing. The objective is to make downstream embedding writes idempotent despite retries. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which acceptance result most strongly demonstrates the requirement is met?
- Verify only the authorized tenant's matching documents can appear in results.
- Verify relevant semantic neighbors rank ahead of unrelated vectors with acceptable recall.
- Verify replay leaves exactly one current output record and correct updated version.
- Verify throughput and tail query latency meet target without connection or storage bottlenecks.
Explanation
Correct Answer
C:
Change feed delivery and retries require consumers to tolerate at-least-once processing. Verify replay leaves exactly one current output record and correct updated version.
Incorrect Answers
A:
“Verify only the authorized tenant's matching documents can appear in results.” validates an outcome in a case where the evidence is: The query applies semantic similarity without enforcing the caller's tenant partition and metadata scope. This question instead requires an action that can make downstream embedding writes idempotent despite retries. Change feed delivery and retries require consumers to tolerate at-least-once processing. Verify replay leaves exactly one current output record and correct updated version.
B:
“Verify relevant semantic neighbors rank ahead of unrelated vectors with acceptable recall.” validates an outcome in a case where the evidence is: The index similarity function differs from the metric recommended for the chosen embedding model. This question instead requires an action that can make downstream embedding writes idempotent despite retries. Change feed delivery and retries require consumers to tolerate at-least-once processing. Verify replay leaves exactly one current output record and correct updated version.
D:
“Verify throughput and tail query latency meet target without connection or storage bottlenecks.” validates an outcome in a case where the evidence is: Its Flexible Server compute tier and IOPS are smaller than measured workload requirements. This question instead requires an action that can make downstream embedding writes idempotent despite retries. Change feed delivery and retries require consumers to tolerate at-least-once processing. Verify replay leaves exactly one current output record and correct updated version.
Question 55
At Summit Finance, an Azure Blob Storage event endpoint receives changes for every blob although it needs only a documents prefix. Evidence: The subscription has no subject filter and triggers expensive embedding for unrelated images. The objective is to narrow an Event Grid subscription to the relevant resource subject path. Validate in a disposable environment before applying production changes. Which controlled pilot most directly validates the proposed approach?
- Defer a synthetic job, deliver its prerequisite and retrieve the deferred message.
- Return controlled 5xx responses from a staging webhook to exhaust its retry window.
- Invoke a staging function using only its deployed identity against a synthetic secret.
- Create harmless test blobs in both included and excluded prefixes.
Explanation
Correct Answer
D:
The subscription has no subject filter and triggers expensive embedding for unrelated images. Create harmless test blobs in both included and excluded prefixes.
Incorrect Answers
A:
Service Bus message deferral and dead-lettering govern brokered-message processing, not which Event Grid resource subjects a subscription receives. Apply the appropriate Event Grid subject-begins-with filter.
B:
“Return controlled 5xx responses from a staging webhook to exhaust its retry window.” tests a proposed change for the condition: The subscription has a delivery retry policy but dead-letter storage was never configured. This question instead requires an action that can narrow an Event Grid subscription to the relevant resource subject path. The subscription has no subject filter and triggers expensive embedding for unrelated images. Create harmless test blobs in both included and excluded prefixes.
C:
“Invoke a staging function using only its deployed identity against a synthetic secret.” tests a proposed change for the condition: Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. This question instead requires an action that can narrow an Event Grid subscription to the relevant resource subject path. The subscription has no subject filter and triggers expensive embedding for unrelated images. Create harmless test blobs in both included and excluded prefixes.
Question 56
At Juniper Analytics, after a short TTL expires, hundreds of incoming requests recompute the same expensive embedding at once. Evidence: Every worker observes the cache miss simultaneously and no coordination exists. The objective is to avoid bursty duplicate computation on popular cache keys. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which acceptance result most strongly demonstrates the requirement is met?
- Verify only bounded recomputations occur and clients receive valid results.
- Verify subsequent reads return the new content rather than a stale cached answer.
- Verify second request avoids repeated work and expired entries are recomputed correctly.
- Confirm recall at k and latency meet agreed acceptance thresholds across tenant filters.
Explanation
Correct Answer
A:
Every worker observes the cache miss simultaneously and no coordination exists. Verify only bounded recomputations occur and clients receive valid results.
Incorrect Answers
B:
“Verify subsequent reads return the new content rather than a stale cached answer.” validates an outcome in a case where the evidence is: Its Redis cache persists until a long TTL and does not react to content version changes. This question instead requires an action that can avoid bursty duplicate computation on popular cache keys. Every worker observes the cache miss simultaneously and no coordination exists. Verify only bounded recomputations occur and clients receive valid results.
C:
“Verify second request avoids repeated work and expired entries are recomputed correctly.” validates an outcome in a case where the evidence is: It currently bypasses Redis and stores no expiration for cacheable responses. This question instead requires an action that can avoid bursty duplicate computation on popular cache keys. Every worker observes the cache miss simultaneously and no coordination exists. Verify only bounded recomputations occur and clients receive valid results.
D:
“Confirm recall at k and latency meet agreed acceptance thresholds across tenant filters.” validates an outcome in a case where the evidence is: The team optimized latency but never measured recall against a labeled search baseline. This question instead requires an action that can avoid bursty duplicate computation on popular cache keys. Every worker observes the cache miss simultaneously and no coordination exists. Verify only bounded recomputations occur and clients receive valid results.
Question 57
At Sapphire Energy, a retrieval query returns embedding rows but ignores document publication status in a related metadata table. Evidence: The vector table and document ACL table are normalized with a shared document_id. The objective is to ensure RAG retrieval obeys document metadata and authorization joins. Only authorized Azure subscriptions and synthetic test data may be used. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect pgvector column definition, incoming array size and embedding model version.
- Inspect connection count, pooler settings, function concurrency and server max_connections.
- Inspect foreign keys, join predicates, publication flags and query plan.
- Inspect vector property data types, policy dimensions, similarity metric, and model output shape.
Explanation
Correct Answer
C:
The vector table and document ACL table are normalized with a shared document_id. Inspect foreign keys, join predicates, publication flags and query plan.
Incorrect Answers
A:
“Inspect pgvector column definition, incoming array size and embedding model version.” is a diagnostic step for the reported condition: The database column is declared as vector(1536) and reject mismatched input. This question instead requires an action that can ensure RAG retrieval obeys document metadata and authorization joins. The vector table and document ACL table are normalized with a shared document_id. Inspect foreign keys, join predicates, publication flags and query plan.
B:
“Inspect connection count, pooler settings, function concurrency and server max_connections.” is a diagnostic step for the reported condition: The database sees many idle connections and connection setup dominates API latency. This question instead requires an action that can ensure RAG retrieval obeys document metadata and authorization joins. The vector table and document ACL table are normalized with a shared document_id. Inspect foreign keys, join predicates, publication flags and query plan.
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 ensure RAG retrieval obeys document metadata and authorization joins. The vector table and document ACL table are normalized with a shared document_id. Inspect foreign keys, join predicates, publication flags and query plan.
Question 58
At Orion Commerce, 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. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect secret expiry metadata, Event Grid event subscription, endpoint reachability and audit logs.
- Inspect the container identity assignment, Key Vault data-plane role and SDK credential chain.
- Inspect sampling rules, exception telemetry, sampling correlation and ingestion volume.
- Inspect refresh registration, cache expiration and sentinel update order.
Explanation
Correct Answer
D:
The SDK refresh provider observes no sentinel key and the keys update at different moments. Inspect refresh registration, cache expiration and sentinel update order.
Incorrect Answers
A:
Key Vault rotation notifications alert handlers to expiring secrets, whereas the problem is partially refreshed App Configuration values. Update a sentinel after related keys change and use the SDK refresh provider to consume a coherent set.
B:
“Inspect the container identity assignment, Key Vault data-plane role and SDK credential chain.” is a diagnostic step for the reported condition: The workload supports managed identity and the secret is stored in Azure Key Vault. 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. Inspect refresh registration, cache expiration and sentinel update order.
C:
“Inspect sampling rules, exception telemetry, sampling correlation and ingestion volume.” is a diagnostic step for the reported condition: The exporter captures all success events without sampling and does not retain error context. 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. Inspect refresh registration, cache expiration and sentinel update order.
Question 59
At Seabright Media, 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. Validate in a disposable environment before applying production changes. Which acceptance result most strongly demonstrates the requirement is met?
- Verify completed executions persist output and retries do not duplicate committed work.
- Verify the intended namespace reaches the API and the unrelated namespace cannot.
- Confirm observed revision handling matches assigned weights within reasonable sample variation.
- Verify each slot connects only to its designated test service while image content remains identical.
Explanation
Correct Answer
C:
The Container App is configured for single-revision mode and routes all ingress to the active revision. Confirm observed revision handling matches assigned weights within reasonable sample variation.
Incorrect Answers
A:
“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 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. Confirm observed revision handling matches assigned weights within reasonable sample variation.
B:
“Verify the intended namespace reaches the API and the unrelated namespace cannot.” validates an outcome in a case where the evidence is: The Service type and network policies do not enforce the desired cluster-internal caller boundary. 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. Confirm observed revision handling matches assigned weights within reasonable sample variation.
D:
“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 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. Confirm observed revision handling matches assigned weights within reasonable sample variation.
Question 60
At Lighthouse Systems, a deployment pipeline accepts images by tag although a signed build pipeline is required. Evidence: An engineer can push an image directly to the registry without required provenance checks. The objective is to allow promotion only of artifacts that satisfy an approved signing and validation policy. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect the application's managed identity, Key Vault permissions, and secret reference resolution status.
- Compare manifest digest, registry access logs, and available build provenance or signature evidence.
- Inspect application configuration precedence, container environment variables, and deployment slot settings.
- Inspect startup, readiness, and liveness probe endpoints and their failure thresholds.
Explanation
Correct Answer
B:
An engineer can push an image directly to the registry without required provenance checks. Compare manifest digest, registry access logs, and available build provenance or signature evidence.
Incorrect Answers
A:
App Service Key Vault references secure runtime secrets. They do not prove that a promoted registry artifact has an approved origin; verify its signing or attestation and immutable digest before deployment.
C:
Different App Service staging settings can change runtime behavior but cannot prove a container image is signed and untampered. ACR artifact provenance and signature validation must protect the promotion decision.
D:
“Inspect startup, readiness, and liveness probe endpoints and their failure thresholds.” is a diagnostic step for the reported condition: A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. This question instead requires an action that can allow promotion only of artifacts that satisfy an approved signing and validation policy. An engineer can push an image directly to the registry without required provenance checks. Compare manifest digest, registry access logs, and available build provenance or signature evidence.