100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 180
A team needs to diagnose failing requests between a frontend pod and an internal model service on AKS. After rollout the observed failure is: Name resolution succeeds but traffic to a ready pod times out only from the frontend namespace. What best explains it?
- The Deployment references a wrong ConfigMap name or key.
- The scaler authentication credential or role assignment does not permit reading queue metrics.
- The deployment image URI points to the wrong registry or repository.
- A Kubernetes NetworkPolicy or other network path blocks the required traffic.
Explanation
Correct Answer
D:A Kubernetes NetworkPolicy or other network path blocks the required traffic. The described symptom and this root cause fit together. DNS resolution and network transport are separate, so successful DNS with timed-out connections suggests a connectivity control.
Incorrect Answers
A:The Deployment references a wrong ConfigMap name or key. Here, a Kubernetes NetworkPolicy or other network path blocks the required traffic.
B:The scaler authentication credential or role assignment does not permit reading queue metrics. Here, a Kubernetes NetworkPolicy or other network path blocks the required traffic.
C:The deployment image URI points to the wrong registry or repository. Here, a Kubernetes NetworkPolicy or other network path blocks the required traffic.
Question 181
An AKS deployment shows CrashLoopBackOff after a container image upgrade while old pods worked. Which architecture most directly addresses the required outcome?
- Use the supported Container Apps HTTP scaling rule tied to concurrent request demand.
- Use pod event history and previous container logs to isolate startup failures.
- Use an event-driven Container Apps job backed by a supported KEDA trigger.
- Retain a known-good immutable image digest and redeploy it to the App Service.
Explanation
Correct Answer
B:Use pod event history and previous container logs to isolate startup failures. It directly addresses the architecture in this case. CrashLoopBackOff indicates repeated process failure; prior container logs reveal why it exited.
Incorrect Answers
A:Use the supported Container Apps HTTP scaling rule tied to concurrent request demand. HTTP scaling targets request demand rather than a CPU utilization metric. Instead, use pod event history and previous container logs to isolate startup failures.
C:Use an event-driven Container Apps job backed by a supported KEDA trigger. Event-driven jobs require an operational KEDA event trigger to launch executions. Instead, use pod event history and previous container logs to isolate startup failures.
D:Retain a known-good immutable image digest and redeploy it to the App Service. Reusing a tag does not guarantee retrieval of the historical image; a digest can identify it. Instead, use pod event history and previous container logs to isolate startup failures.
Question 182
An AKS deployment shows CrashLoopBackOff after a container image upgrade while old pods worked. The team has selected this architecture: Use pod event history and previous container logs to isolate startup failures. Which action correctly implements it?
- Apply a Deployment YAML specifying replicas three and an image reachable by the cluster.
- Grant the appropriate pull permission to the AKS kubelet identity for the target registry.
- Inspect kubectl logs --previous and the Deployment's changed environment and command fields.
- Create and run an ACR Task against the Dockerfile with the base-image trigger enabled.
Explanation
Correct Answer
C:Inspect kubectl logs --previous and the Deployment's changed environment and command fields. This is the actionable setup step for the selected design. CrashLoopBackOff indicates repeated process failure; prior container logs reveal why it exited.
Incorrect Answers
A:Apply a Deployment YAML specifying replicas three and an image reachable by the cluster. Instead, inspect kubectl logs --previous and the Deployment's changed environment and command fields.
B:Grant the appropriate pull permission to the AKS kubelet identity for the target registry. Instead, inspect kubectl logs --previous and the Deployment's changed environment and command fields.
D:Create and run an ACR Task against the Dockerfile with the base-image trigger enabled. Instead, inspect kubectl logs --previous and the Deployment's changed environment and command fields.
Question 183
An AKS deployment shows CrashLoopBackOff after a container image upgrade while old pods worked. After configuring the solution, which measurable result would demonstrate success?
- All new requests go to the known-good revision after the routing update.
- A request following a long idle period reaches a ready replica without a cold-start scale-from-zero.
- The historical release digest remains resolvable after subsequent releases.
- The previous-container logs identify the process exit immediately before restart.
Explanation
Correct Answer
D:The previous-container logs identify the process exit immediately before restart. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. CrashLoopBackOff indicates repeated process failure; prior container logs reveal why it exited.
Incorrect Answers
A:All new requests go to the known-good revision after the routing update. Here, the previous-container logs identify the process exit immediately before restart.
B:A request following a long idle period reaches a ready replica without a cold-start scale-from-zero. Here, the previous-container logs identify the process exit immediately before restart.
C:The historical release digest remains resolvable after subsequent releases. Here, the previous-container logs identify the process exit immediately before restart.
Question 184
An AKS deployment shows CrashLoopBackOff after a container image upgrade while old pods worked. During a trial, the team sees this problem: The container exits with an import error before the HTTP listener starts. Which cause is most consistent?
- The new image is missing a required runtime dependency or importable module.
- The minimum replica count was left at zero for an app expected to remain warm.
- The update strategy or maxUnavailable setting permits too many simultaneous unavailable replicas.
- The ACR Task base-image trigger was disabled or its base dependency had not been established by an initial run.
Explanation
Correct Answer
A:The new image is missing a required runtime dependency or importable module. The described symptom and this root cause fit together. CrashLoopBackOff indicates repeated process failure; prior container logs reveal why it exited.
Incorrect Answers
B:The minimum replica count was left at zero for an app expected to remain warm. Here, the new image is missing a required runtime dependency or importable module.
C:The update strategy or maxUnavailable setting permits too many simultaneous unavailable replicas. Here, the new image is missing a required runtime dependency or importable module.
D:The ACR Task base-image trigger was disabled or its base dependency had not been established by an initial run. Here, the new image is missing a required runtime dependency or importable module.
Question 185
A recommendation API stores per-customer conversations in Azure Cosmos DB for NoSQL and must query a single customer's records efficiently. What primary technical approach is best justified by these constraints?
- Use separate logical lease namespaces or lease containers for independent change feed processor groups.
- Use query metrics and RequestCharge measurements to identify expensive query patterns.
- Choose a partition key aligned with the customer identifier used in most requests.
- Treat Redis as a cache and retain the authoritative data in the primary durable store.
Explanation
Correct Answer
C:Choose a partition key aligned with the customer identifier used in most requests. It directly addresses the architecture in this case. Partition-aware queries avoid unnecessary fan-out when the application knows the partition value.
Incorrect Answers
A:Use separate logical lease namespaces or lease containers for independent change feed processor groups. Independent change feed processor groups need separate lease coordination when both must process all changes. Instead, choose a partition key aligned with the customer identifier used in most requests.
B:Use query metrics and RequestCharge measurements to identify expensive query patterns. Cosmos DB RU consumption depends on the executed query and partition/index selection. Instead, choose a partition key aligned with the customer identifier used in most requests.
D:Treat Redis as a cache and retain the authoritative data in the primary durable store. Caches should not substitute for durable authoritative storage when loss is unacceptable. Instead, choose a partition key aligned with the customer identifier used in most requests.
Question 186
A recommendation API stores per-customer conversations in Azure Cosmos DB for NoSQL and must query a single customer's records efficiently. After deciding to choose a partition key aligned with the customer identifier used in most requests, what configuration is most relevant?
- Filter on the correct tenantId while ordering bounded results by VectorDistance on the embedding property.
- Configure the Cosmos DB SDK retry policy and right-size throughput for peak request charges.
- Enable the supported vector extension and declare an embedding column with a fixed vector dimension.
- Define the container partition key as the immutable customerId property and pass that key in point operations.
Explanation
Correct Answer
D:Define the container partition key as the immutable customerId property and pass that key in point operations. This is the actionable setup step for the selected design. Partition-aware queries avoid unnecessary fan-out when the application knows the partition value.
Incorrect Answers
A:Filter on the correct tenantId while ordering bounded results by VectorDistance on the embedding property. Instead, define the container partition key as the immutable customerId property and pass that key in point operations.
B:Configure the Cosmos DB SDK retry policy and right-size throughput for peak request charges. Instead, define the container partition key as the immutable customerId property and pass that key in point operations.
C:Enable the supported vector extension and declare an embedding column with a fixed vector dimension. Instead, define the container partition key as the immutable customerId property and pass that key in point operations.
Question 187
A recommendation API stores per-customer conversations in Azure Cosmos DB for NoSQL and must query a single customer's records efficiently. Which validation result is the strongest evidence that the intended behavior works?
- A query scoped to one customer shows limited cross-partition activity and acceptable RU consumption.
- New or updated items trigger the callback and persist the expected transformed record.
- Repeated top-K vector queries return deterministic exact nearest neighbors from the collection.
- Identical questions from different tenants resolve to different cache entries.
Explanation
Correct Answer
A:A query scoped to one customer shows limited cross-partition activity and acceptable RU consumption. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Partition-aware queries avoid unnecessary fan-out when the application knows the partition value.
Incorrect Answers
B:New or updated items trigger the callback and persist the expected transformed record. Here, a query scoped to one customer shows limited cross-partition activity and acceptable RU consumption.
C:Repeated top-K vector queries return deterministic exact nearest neighbors from the collection. Here, a query scoped to one customer shows limited cross-partition activity and acceptable RU consumption.
D:Identical questions from different tenants resolve to different cache entries. Here, a query scoped to one customer shows limited cross-partition activity and acceptable RU consumption.
Question 188
A recommendation API stores per-customer conversations in Azure Cosmos DB for NoSQL and must query a single customer's records efficiently. Production telemetry shows: Most customer lookups become expensive fan-out queries across many logical partitions. Which underlying issue should be investigated first?
- The client stops after the initial query page and ignores continuation state.
- The container partition key is unrelated to the customer lookup pattern.
- The vector query omitted or misapplied the tenant filter.
- The new model emits vectors with different dimensions than the existing column.
Explanation
Correct Answer
B:The container partition key is unrelated to the customer lookup pattern. The described symptom and this root cause fit together. Partition-aware queries avoid unnecessary fan-out when the application knows the partition value.
Incorrect Answers
A:The client stops after the initial query page and ignores continuation state. Here, the container partition key is unrelated to the customer lookup pattern.
C:The vector query omitted or misapplied the tenant filter. Here, the container partition key is unrelated to the customer lookup pattern.
D:The new model emits vectors with different dimensions than the existing column. Here, the container partition key is unrelated to the customer lookup pattern.
Question 189
An AI service wants to retrieve one Cosmos DB document when it already knows both the item ID and its partition key. Which design decision should the team make first?
- Use query metrics and RequestCharge measurements to identify expensive query patterns.
- Combine the tenant predicate with vector similarity ordering in the Cosmos DB NoSQL query.
- Design a hybrid workflow that combines lexical filtering or full-text search with vector candidates.
- Use the Cosmos DB SDK point read operation rather than a SQL query across the container.
Explanation
Correct Answer
D:Use the Cosmos DB SDK point read operation rather than a SQL query across the container. It directly addresses the architecture in this case. Cosmos DB point reads require both the item identifier and its partition key.
Incorrect Answers
A:Use query metrics and RequestCharge measurements to identify expensive query patterns. Cosmos DB RU consumption depends on the executed query and partition/index selection. Instead, use the Cosmos DB SDK point read operation rather than a SQL query across the container.
B:Combine the tenant predicate with vector similarity ordering in the Cosmos DB NoSQL query. Vector ranking does not itself enforce tenant isolation or metadata filtering. Instead, use the Cosmos DB SDK point read operation rather than a SQL query across the container.
C:Design a hybrid workflow that combines lexical filtering or full-text search with vector candidates. Hybrid retrieval can combine lexical and semantic evidence for different query types. Instead, use the Cosmos DB SDK point read operation rather than a SQL query across the container.
Question 190
An AI service wants to retrieve one Cosmos DB document when it already knows both the item ID and its partition key. Which concrete setup step puts this selected approach into operation: Use the Cosmos DB SDK point read operation rather than a SQL query across the container.
- Call read_item with the exact item ID and corresponding partition key value.
- Supply the expected ETag in an If-Match conditional replace request.
- Define the container partition key as the immutable customerId property and pass that key in point operations.
- Implement cache-aside fallback to the source database on a Redis miss or transient outage.
Explanation
Correct Answer
A:Call read_item with the exact item ID and corresponding partition key value. This is the actionable setup step for the selected design. Cosmos DB point reads require both the item identifier and its partition key.
Incorrect Answers
B:Supply the expected ETag in an If-Match conditional replace request. Here, call read_item with the exact item ID and corresponding partition key value.
C:Define the container partition key as the immutable customerId property and pass that key in point operations. Here, call read_item with the exact item ID and corresponding partition key value.
D:Implement cache-aside fallback to the source database on a Redis miss or transient outage. Here, call read_item with the exact item ID and corresponding partition key value.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests