Microsoft AI-200 Practice Test 13
Question 120
At Crownridge Consulting, an AKS application pod uses a static client secret to connect to Azure Key Vault. Evidence: The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. The objective is to authenticate workload pods to Azure resources without long-lived embedded credentials. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect AKS OIDC configuration, Kubernetes service account annotation, and federated credential subject.
- Inspect Container Apps HTTP concurrency rule, min/max replicas, and scale-controller logs.
- Inspect Service type, selectors, ingress objects, network policy selectors, and CNI policy support.
- Inspect slot health checks, deployment history, and configuration settings marked sticky.
Explanation
Correct Answer
A:
The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. Inspect AKS OIDC configuration, Kubernetes service account annotation, and federated credential subject.
Incorrect Answers
B:
“Inspect Container Apps HTTP concurrency rule, min/max replicas, and scale-controller logs.” is a diagnostic step for the reported condition: The app has no tuned HTTP scale rule and the maximum replica count is too low. This question instead requires an action that can authenticate workload pods to Azure resources without long-lived embedded credentials. The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. Inspect AKS OIDC configuration, Kubernetes service account annotation, and federated credential subject.
C:
“Inspect Service type, selectors, ingress objects, network policy selectors, and CNI policy support.” is a diagnostic step for the reported condition: The Service type and network policies do not enforce the desired cluster-internal caller boundary. This question instead requires an action that can authenticate workload pods to Azure resources without long-lived embedded credentials. The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. Inspect AKS OIDC configuration, Kubernetes service account annotation, and federated credential subject.
D:
“Inspect slot health checks, deployment history, and configuration settings marked sticky.” is a diagnostic step for the reported condition: The team has a healthy staging slot with a previously verified container image. This question instead requires an action that can authenticate workload pods to Azure resources without long-lived embedded credentials. The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. Inspect AKS OIDC configuration, Kubernetes service account annotation, and federated credential subject.
Question 121
At Seabright Media, a Redis vector search returns semantically close responses from projects outside the caller's authorized scope. Evidence: The index includes tenant metadata but the query filters only the vector distance. The objective is to combine vector nearest-neighbor retrieval with explicit metadata predicates. Validate in a disposable environment before applying production changes. Which controlled pilot most directly validates the proposed approach?
- Connect with an authorized test identity and reject an unauthenticated or plaintext test client.
- Query a test index with cross-tenant similar embeddings using restricted credentials.
- Simulate many simultaneous requests immediately after a synthetic hot key expires.
- Insert a harmless test embedding of the documented dimension into a staging container.
Explanation
Correct Answer
B:
The index includes tenant metadata but the query filters only the vector distance. Query a test index with cross-tenant similar embeddings using restricted credentials.
Incorrect Answers
A:
“Connect with an authorized test identity and reject an unauthenticated or plaintext test client.” tests a proposed change for the condition: The environment requires encrypted transport and scoped client credentials. This question instead requires an action that can combine vector nearest-neighbor retrieval with explicit metadata predicates. The index includes tenant metadata but the query filters only the vector distance. Query a test index with cross-tenant similar embeddings using restricted credentials.
C:
Preventing a Redis cache stampede reduces duplicate computation after cache expiry, but it cannot stop vector retrieval from returning another tenant's records. Apply authorized metadata predicates to the similarity search.
D:
“Insert a harmless test embedding of the documented dimension into a staging container.” tests a proposed change for the condition: The container vector policy was created for a fixed dimension count and the new vectors do not match. This question instead requires an action that can combine vector nearest-neighbor retrieval with explicit metadata predicates. The index includes tenant metadata but the query filters only the vector distance. Query a test index with cross-tenant similar embeddings using restricted credentials.
Question 122
At Atlas Support, a request passes through a Python API, Service Bus, and an embedding worker but monitoring displays disconnected traces. Evidence: The applications generate spans but do not propagate W3C trace context across message boundaries. The objective is to reconstruct end-to-end distributed request paths with propagated context. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect event timestamps, timezone assumptions and selected aggregation interval.
- Inspect instrumentation, traceparent headers, producer message properties and consumer span linking.
- Inspect available table schema, time filter and relevant role dimensions.
- Inspect refresh registration, cache expiration and sentinel update order.
Explanation
Correct Answer
B:
The applications generate spans but do not propagate W3C trace context across message boundaries. Inspect instrumentation, traceparent headers, producer message properties and consumer span linking. A traceparent passed through message metadata correlates HTTP and worker spans; without propagation the operation appears fragmented.
Incorrect Answers
A:
Time-binned log counts show temporal activity but do not link the HTTP request span to the queue-worker span. Propagate traceparent through message metadata to preserve that relationship.
C:
“Inspect available table schema, time filter and relevant role dimensions.” is a diagnostic step for the reported condition: Logs have cloud_RoleName, timestamp, success or exception fields in queryable telemetry tables. This question instead requires an action that can reconstruct end-to-end distributed request paths with propagated context. The applications generate spans but do not propagate W3C trace context across message boundaries. Inspect instrumentation, traceparent headers, producer message properties and consumer span linking. A traceparent passed through message metadata correlates HTTP and worker spans; without propagation the operation appears fragmented.
D:
“Inspect refresh registration, cache expiration and sentinel update order.” is a diagnostic step for the reported condition: The SDK refresh provider observes no sentinel key and the keys update at different moments. This question instead requires an action that can reconstruct end-to-end distributed request paths with propagated context. The applications generate spans but do not propagate W3C trace context across message boundaries. Inspect instrumentation, traceparent headers, producer message properties and consumer span linking. A traceparent passed through message metadata correlates HTTP and worker spans; without propagation the operation appears fragmented.
Question 123
At Juniper Analytics, 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. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect retry policy, TTL, endpoint response behavior and dead-letter destination.
- Inspect delivery count, exception categories, and dead-letter reason metadata.
- Inspect application properties on published events and active subscription rule filters.
- Inspect NCRONTAB format, timezone support on the hosting plan and last-trigger logs.
Explanation
Correct Answer
C:
The worker subscription has no rule and receives irrelevant indexing and billing events. Inspect application properties on published events and active subscription rule filters. Service Bus SQL subscription filters route messages by declared properties; a catch-all rule permits unrelated event types.
Incorrect Answers
A:
“Inspect retry policy, TTL, endpoint response behavior and dead-letter destination.” is a diagnostic step for the reported condition: The subscription has a delivery retry policy but dead-letter storage was never configured. This question instead requires an action that can route topic events by documented message properties to intended subscribers. The worker subscription has no rule and receives irrelevant indexing and billing events. Inspect application properties on published events and active subscription rule filters. Service Bus SQL subscription filters route messages by declared properties; a catch-all rule permits unrelated event types.
B:
“Inspect delivery count, exception categories, and dead-letter reason metadata.” is a diagnostic step for the reported condition: The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. 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. Inspect application properties on published events and active subscription rule filters. Service Bus SQL subscription filters route messages by declared properties; a catch-all rule permits unrelated event types.
D:
“Inspect NCRONTAB format, timezone support on the hosting plan and last-trigger logs.” is a diagnostic step for the reported condition: The host interprets schedules with specific UTC and configuration semantics. This question instead requires an action that can route topic events by documented message properties to intended subscribers. The worker subscription has no rule and receives irrelevant indexing and billing events. Inspect application properties on published events and active subscription rule filters. Service Bus SQL subscription filters route messages by declared properties; a catch-all rule permits unrelated event types.
Question 124
At Cedar Cloud, an internal vector processing endpoint is reachable publicly even though only sibling workloads should call it. Evidence: The Container App ingress configuration is external and the environment has no intended public API for the worker. The objective is to constrain ingress scope to the internal application environment. Validate in a disposable environment before applying production changes. Which acceptance result most strongly demonstrates the requirement is met?
- Verify traffic is withheld until readiness succeeds and a genuine deadlock triggers liveness recovery.
- Verify application and system logs contain correlation details and correct timestamps.
- Confirm authorized internal requests work while the external path is not exposed.
- Verify the resulting child image references the new base digest and has passed required checks.
Explanation
Correct Answer
C:
The Container App ingress configuration is external and the environment has no intended public API for the worker. Confirm authorized internal requests work while the external path is not exposed.
Incorrect Answers
A:
“Verify traffic is withheld until readiness succeeds and a genuine deadlock triggers liveness recovery.” validates an outcome in a case where the evidence is: 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 constrain ingress scope to the internal application environment. The Container App ingress configuration is external and the environment has no intended public API for the worker. Confirm authorized internal requests work while the external path is not exposed.
B:
“Verify application and system logs contain correlation details and correct timestamps.” validates an outcome in a case where the evidence is: The environment's diagnostic destination is misconfigured and system logs show image pull failures. This question instead requires an action that can constrain ingress scope to the internal application environment. The Container App ingress configuration is external and the environment has no intended public API for the worker. Confirm authorized internal requests work while the external path is not exposed.
D:
“Verify the resulting child image references the new base digest and has passed required checks.” validates an outcome in a case where the evidence is: The pipeline rebuilds only when developers push code and never tracks upstream base image updates. This question instead requires an action that can constrain ingress scope to the internal application environment. The Container App ingress configuration is external and the environment has no intended public API for the worker. Confirm authorized internal requests work while the external path is not exposed.
Question 125
At Crownridge Consulting, a Python search API builds Cosmos SQL strings by concatenating an untrusted customer query into WHERE clauses. Evidence: Users can enter quotation marks and unexpectedly alter query predicates. The objective is to execute safe predictable Cosmos queries without interpolating untrusted values. Only authorized Azure subscriptions and synthetic test data may be used. Which implementation or configuration choice best meets the stated requirement?
- Use supported session consistency with proper session-token handling for read-your-writes where required.
- Use Cosmos SDK parameterized SQL queries and enforce authorization separately from user input.
- 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.
Explanation
Correct Answer
B:
Users can enter quotation marks and unexpectedly alter query predicates. Use Cosmos SDK parameterized SQL queries and enforce authorization separately from user input.
Incorrect Answers
A:
“Use supported session consistency with proper session-token handling for read-your-writes where required.” is a design or implementation response to the condition: The application does not retain session tokens and assumes eventual consistency provides read-your-writes. This question instead requires an action that can execute safe predictable Cosmos queries without interpolating untrusted values. Users can enter quotation marks and unexpectedly alter query predicates. Use Cosmos SDK parameterized SQL queries and enforce authorization separately from user input.
C:
“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 execute safe predictable Cosmos queries without interpolating untrusted values. Users can enter quotation marks and unexpectedly alter query predicates. Use Cosmos SDK parameterized SQL queries and enforce authorization separately from user input.
D:
“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 execute safe predictable Cosmos queries without interpolating untrusted values. Users can enter quotation marks and unexpectedly alter query predicates. Use Cosmos SDK parameterized SQL queries and enforce authorization separately from user input.
Question 126
Orion Commerce is reviewing an Azure AI workload: A RAG backend tries to create a pgvector index but gets a missing type error. The business goal is to enable supported vector data types and functions before ingesting embeddings. A change is being evaluated before rollout. The team has documented application and data boundaries. Only authorized Azure subscriptions and synthetic test data may be used. Which implementation or configuration choice best meets the stated requirement?
- Add a suitable structured index and design query/index strategy for tenant-constrained nearest neighbors.
- Allowlist and create the supported vector extension in the intended database under change control.
- Join vector candidates to authorized metadata using parameterized filters and appropriate indexes.
- Choose an appropriate autoscale or provisioned RU strategy and optimize expensive operations first.
Explanation
Correct Answer
B:
The extension is not enabled or allowlisted for the chosen server configuration. Allowlist and create the supported vector extension in the intended database under change control.
Incorrect Answers
A:
“Add a suitable structured index and design query/index strategy for tenant-constrained nearest neighbors.” is a design or implementation response to the condition: A policy search backend requires both nearest embedding and department-specific metadata filters. This question instead requires an action that can enable supported vector data types and functions before ingesting embeddings. The extension is not enabled or allowlisted for the chosen server configuration. Allowlist and create the supported vector extension in the intended database under change control.
C:
“Join vector candidates to authorized metadata using parameterized filters and appropriate indexes.” is a design or implementation response to the condition: A chatbot retrieves a high-scoring embedding from a document that an editor has marked unpublished. This question instead requires an action that can enable supported vector data types and functions before ingesting embeddings. The extension is not enabled or allowlisted for the chosen server configuration. Allowlist and create the supported vector extension in the intended database under change control.
D:
“Choose an appropriate autoscale or provisioned RU strategy and optimize expensive operations first.” is a design or implementation response to the condition: Provisioned RU capacity and partition distribution are below the write and query demand. This question instead requires an action that can enable supported vector data types and functions before ingesting embeddings. The extension is not enabled or allowlisted for the chosen server configuration. Allowlist and create the supported vector extension in the intended database under change control.
Question 127
At Juniper Analytics, 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. Validate in a disposable environment before applying production changes. 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 ACR Task trigger for supported base-image updates with tests before promotion.
- Enable supported ACR geo-replication in the required regions under one registry namespace.
- Configure supported Dapr pub/sub components and subscription routes with required credentials or identity.
Explanation
Correct Answer
B:
The pipeline rebuilds only when developers push code and never tracks upstream base image updates. Configure an ACR Task trigger for supported base-image updates with tests before promotion.
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 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. Configure an ACR Task trigger for supported base-image updates with tests before promotion.
C:
“Enable supported ACR geo-replication in the required regions under one registry namespace.” is a design or implementation response to the condition: Its Premium registry has no replica in the region where new workloads are starting. 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. Configure an ACR Task trigger for supported base-image updates with tests before promotion.
D:
“Configure supported Dapr pub/sub components and subscription routes with required credentials or identity.” is a design or implementation response to the condition: Two independently deployed Container Apps need event notification without hardcoding broker SDKs into every service. 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. Configure an ACR Task trigger for supported base-image updates with tests before promotion.
Question 128
At Blue Ridge Technology, an SDK-based AI service authenticates to a Cosmos DB endpoint with a primary account key that many developers know. Evidence: The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. The objective is to prefer scoped token credentials instead of shared database secrets. Validate in a disposable environment before applying production changes. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor mislabeled key values and unexpected cross-environment feature settings.
- Monitor old pinned versions, disabled versions and rotation failure alerts.
- Monitor data-plane RBAC drift, credential fallback and unauthorized key creation.
- Monitor p95/p99 regression and low-sample misleading thresholds.
Explanation
Correct Answer
C:
The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. Monitor data-plane RBAC drift, credential fallback and unauthorized key creation.
Incorrect Answers
A:
App Configuration labels choose environment-specific settings. They do not replace a shared Cosmos DB key with scoped token-based authentication; use managed identity with the appropriate data-plane RBAC roles.
B:
“Monitor old pinned versions, disabled versions and rotation failure alerts.” monitors this signal: The application reference includes a specific version that no longer matches the managed rotation policy. This question instead requires an action that can prefer scoped token credentials instead of shared database secrets. The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. Monitor data-plane RBAC drift, credential fallback and unauthorized key creation.
D:
“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 prefer scoped token credentials instead of shared database secrets. The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. Monitor data-plane RBAC drift, credential fallback and unauthorized key creation.
Question 129
At BrightPath Engineering, 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. Validate in a disposable environment before applying production changes. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor missed schedules, clock drift and duplicate scheduling attempts.
- Monitor unexpected event subscriptions and filter condition drift.
- Monitor dead-letter volume, age and replay approvals.
- Monitor token acquisition errors, configuration overrides and role assignment changes.
Explanation
Correct Answer
C:
The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. Monitor dead-letter volume, age and replay approvals.
Incorrect Answers
A:
“Monitor missed schedules, clock drift and duplicate scheduling attempts.” monitors this signal: 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 isolate unrecoverable messages without losing audit evidence. The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. Monitor dead-letter volume, age and replay approvals.
B:
“Monitor unexpected event subscriptions and filter condition drift.” monitors this signal: The subscription has no subject filter and triggers expensive embedding for unrelated images. 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. Monitor dead-letter volume, age and replay approvals.
D:
“Monitor token acquisition errors, configuration overrides and role assignment changes.” monitors this signal: Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. 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. Monitor dead-letter volume, age and replay approvals.
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.