Pass Microsoft AI-200 Exam in First Attempt Guaranteed!
Get 100% Latest Exam Questions, Accurate & Verified Answers!
30 Days Free Updates, Instant Download!
Microsoft AI-200 Practice Test 23
Question 220
A worker receives a Service Bus message in PeekLock mode, then crashes before completing it; the operator incorrectly assumes it was removed. Which TWO choices together identify the recommended action and a meaningful success test?
Explanation
Correct Answers
Make the handler idempotent and complete messages only after durable work succeeds, renewing locks for long processing. The diagnostic evidence is: Delivery history shows the same message reappears after its lock expires without settlement.
A deliberate crash causes safe redelivery and one logical output record. The diagnostic evidence is: Delivery history shows the same message reappears after its lock expires without settlement.
Incorrect Answers
Publish a well-defined custom Event Grid event using a supported topic or namespace mechanism with schema and identity controls. The diagnostic evidence is: Delivery history shows the same message reappears after its lock expires without settlement. Make the handler idempotent and complete messages only after durable work succeeds, renewing locks for long processing.
Subscribe to the appropriate Event Grid storage events and deliver them to an authenticated function or event handler. The diagnostic evidence is: Delivery history shows the same message reappears after its lock expires without settlement. Make the handler idempotent and complete messages only after durable work succeeds, renewing locks for long processing.
A deliberately failed test event appears in the designated dead-letter storage for controlled replay. The diagnostic evidence is: Delivery history shows the same message reappears after its lock expires without settlement. Make the handler idempotent and complete messages only after durable work succeeds, renewing locks for long processing.
Question 221
Each uploaded transcript should initiate one bounded processing task, but the current Container Apps service requires a manual start. What should the Azure developer recommend FIRST in this situation?
Explanation
Correct Answer
Configure a Container Apps event-driven Job with a supported scale trigger and idempotent processing. The case reports: Each uploaded transcript should initiate one bounded processing task, but the current Container Apps service requires a manual start.
Incorrect Answers
Move the password to a protected Kubernetes Secret or supported external secret provider and use the ConfigMap only for non-secret settings. The case reports: Each uploaded transcript should initiate one bounded processing task, but the current Container Apps service requires a manual start. Configure a Container Apps event-driven Job with a supported scale trigger and idempotent processing.
Tune Container Apps min and max replica settings and a supported event-driven scaling rule for the backing queue. The case reports: Each uploaded transcript should initiate one bounded processing task, but the current Container Apps service requires a manual start. Configure a Container Apps event-driven Job with a supported scale trigger and idempotent processing.
Configure a readiness probe that reflects actual dependency readiness and verify deployment rollout settings. The case reports: Each uploaded transcript should initiate one bounded processing task, but the current Container Apps service requires a manual start. Configure a Container Apps event-driven Job with a supported scale trigger and idempotent processing.
Question 222
A container build passes a database password through a Dockerfile ARG and leaves its value exposed in image build history. Which recorded observation would most clearly support the suspected issue?
Explanation
Correct Answer
The built image history includes an argument value matching the application's database credential. Build-time secrets must not be persisted in container layers or exposed in image metadata.
Incorrect Answers
The registry has manual builds but no scheduled task runs during the required compliance window. Build-time secrets must not be persisted in container layers or exposed in image metadata. The built image history includes an argument value matching the application's database credential.
Role assignments grant broad registry modification rights to a read-only deployment principal. Build-time secrets must not be persisted in container layers or exposed in image metadata. The built image history includes an argument value matching the application's database credential.
Two manually built images carry the same release label but have different package inventories. Build-time secrets must not be persisted in container layers or exposed in image metadata. The built image history includes an argument value matching the application's database credential.
Question 223
A serverless backend stores a long-lived PostgreSQL administrator password in source code to authenticate every query. What is the BEST next action for the specific Azure environment described?
Explanation
Correct Answer
Use a supported Microsoft Entra authentication or managed identity pattern with minimum database privileges and secure pooling.
Incorrect Answers
Measure CPU, memory, storage IOPS, connection activity, and query plans before selecting a compute or indexing scale adjustment. Use a supported Microsoft Entra authentication or managed identity pattern with minimum database privileges and secure pooling.
Check documented index dimension limits and choose a compatible embedding, dimensionality reduction, or supported index approach. Use a supported Microsoft Entra authentication or managed identity pattern with minimum database privileges and secure pooling.
Use an appropriate transaction and referential constraints to commit related relational and vector records atomically. Use a supported Microsoft Entra authentication or managed identity pattern with minimum database privileges and secure pooling.
Question 224
An AI service secret was accessed unexpectedly, but the security team has no record of which principal requested it. What concept is most relevant to understanding the decision?
Explanation
Correct Answer
Secret storage security includes evidence of use, not only whether reads are allowed.
Incorrect Answers
App Configuration centralizes settings; Key Vault remains the appropriate service for protected secret values. Secret storage security includes evidence of use, not only whether reads are allowed.
Configuration services should be accessed by scoped workload identity where supported. Secret storage security includes evidence of use, not only whether reads are allowed.
External secret-store integration must combine workload identity, retrieval permissions, and lifecycle management. Secret storage security includes evidence of use, not only whether reads are allowed.
Question 225
A RAG service runs a full-collection query over many tenants to retrieve a single customer's recent feedback and consumes excessive Request Units. Which TWO choices together identify the recommended action and a meaningful success test?
Explanation
Correct Answers
A tenant-scoped query returns the same authorized items with lower measured RU usage. Use an appropriate tenant partition key and a scoped query predicate or point-read pattern for customer-specific retrieval.
Use an appropriate tenant partition key and a scoped query predicate or point-read pattern for customer-specific retrieval. A tenant-scoped query returns the same authorized items with lower measured RU usage.
Incorrect Answers
A valid index is created for the selected dimensions and a controlled nearest-neighbor query succeeds. A tenant-scoped query returns the same authorized items with lower measured RU usage.
Evaluate autoscale throughput settings, partition distribution, and retry handling against observed request patterns. Use an appropriate tenant partition key and a scoped query predicate or point-read pattern for customer-specific retrieval.
Choose a supported diskANN vector index for the relevant path and validate approximate recall and RU trade-offs. Use an appropriate tenant partition key and a scoped query predicate or point-read pattern for customer-specific retrieval.
Question 226
A Functions app update requires a quick rollback plan, but the team assumes every hosting plan supports identical deployment-slot behavior. What evidence should be examined to narrow the cause?
Explanation
Correct Answer
The environment's plan does not provide the slot capability expected by the release script. Serverless deployment features and limits depend on the selected Functions hosting plan.
Incorrect Answers
Invocation completes successfully while writes appear in an unexpected destination container. Serverless deployment features and limits depend on the selected Functions hosting plan. The environment's plan does not provide the slot capability expected by the release script.
Application Insights shows execution durations approaching the configured function timeout. Serverless deployment features and limits depend on the selected Functions hosting plan. The environment's plan does not provide the slot capability expected by the release script.
The monolithic function loses progress after restarts and must repeat expensive completed steps. Serverless deployment features and limits depend on the selected Functions hosting plan. The environment's plan does not provide the slot capability expected by the release script.
Question 227
A function uses a long-lived storage account connection string and a compliance policy forbids embedded keys. Which design change MOST directly addresses the organization's stated security requirement?
Explanation
Correct Answer
Configure supported identity-based storage connection settings and grant the function identity only required data roles. The case reports: A function uses a long-lived storage account connection string and a compliance policy forbids embedded keys.
Incorrect Answers
Mark environment-specific connection settings appropriately and verify swap behavior on the supported hosting configuration. The case reports: A function uses a long-lived storage account connection string and a compliance policy forbids embedded keys. Configure supported identity-based storage connection settings and grant the function identity only required data roles.
Repair the required host storage configuration using a supported connection or identity-based setup and verify permissions. The case reports: A function uses a long-lived storage account connection string and a compliance policy forbids embedded keys. Configure supported identity-based storage connection settings and grant the function identity only required data roles.
Configure supported retry and poison or dead-letter handling while logging the source event and sanitized error. The case reports: A function uses a long-lived storage account connection string and a compliance policy forbids embedded keys. Configure supported identity-based storage connection settings and grant the function identity only required data roles.
Question 228
A custom Python API listens on port 5000 in its container but Azure App Service repeatedly reports that the container did not respond to HTTP pings. Which security principle best explains why the proposed response fits the case?
Explanation
Correct Answer
Container hosting requires agreement between the application's listener and the platform's ingress configuration.
Incorrect Answers
Scheduled image builds are independent of commits and base-image change triggers. Container hosting requires agreement between the application's listener and the platform's ingress configuration.
Central image builds make provenance easier to validate, though pinning and scanning are still needed. Container hosting requires agreement between the application's listener and the platform's ingress configuration.
Least privilege in a shared registry should align identities to required repositories and operations. Container hosting requires agreement between the application's listener and the platform's ingress configuration.
Question 229
A vector metadata service should be reachable by other AKS pods only, but its Kubernetes Service exposes an internet-facing load balancer. Which implementation choice most directly resolves this service problem?
Explanation
Correct Answer
Use an internal ClusterIP Service and route only the authorized in-cluster consumers to it. The case reports: A vector metadata service should be reachable by other AKS pods only, but its Kubernetes Service exposes an internet-facing load balancer.
Incorrect Answers
Move the password to a protected Kubernetes Secret or supported external secret provider and use the ConfigMap only for non-secret settings. The case reports: A vector metadata service should be reachable by other AKS pods only, but its Kubernetes Service exposes an internet-facing load balancer. Use an internal ClusterIP Service and route only the authorized in-cluster consumers to it.
Apply a supported AKS network-policy engine and explicit allowed ingress and egress paths for selected pods. The case reports: A vector metadata service should be reachable by other AKS pods only, but its Kubernetes Service exposes an internet-facing load balancer. Use an internal ClusterIP Service and route only the authorized in-cluster consumers to it.
Use an Azure Container Apps Job with a scheduled trigger and explicit execution completion behavior. The case reports: A vector metadata service should be reachable by other AKS pods only, but its Kubernetes Service exposes an internet-facing load balancer. Use an internal ClusterIP Service and route only the authorized in-cluster consumers to it.
Question 230
An embeddings service uses VectorDistance in a query without a result limit and its Request Unit consumption spikes with corpus size. What is the BEST next action for the specific Azure environment described?
Explanation
Correct Answer
Add an appropriate SELECT TOP N limit, partition and metadata filters where justified, and benchmark the query. The case reports: An embeddings service uses VectorDistance in a query without a result limit and its Request Unit consumption spikes with corpus size.
Incorrect Answers
Use an appropriate tenant partition key and a scoped query predicate or point-read pattern for customer-specific retrieval. The case reports: An embeddings service uses VectorDistance in a query without a result limit and its Request Unit consumption spikes with corpus size. Add an appropriate SELECT TOP N limit, partition and metadata filters where justified, and benchmark the query.
Use SDK-supported parameterized queries with an explicit partition scope and validate authorized inputs. The case reports: An embeddings service uses VectorDistance in a query without a result limit and its Request Unit consumption spikes with corpus size. Add an appropriate SELECT TOP N limit, partition and metadata filters where justified, and benchmark the query.
Choose a supported diskANN vector index for the relevant path and validate approximate recall and RU trade-offs. The case reports: An embeddings service uses VectorDistance in a query without a result limit and its Request Unit consumption spikes with corpus size. Add an appropriate SELECT TOP N limit, partition and metadata filters where justified, and benchmark the query.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests
- Microsoft AI-200 Practice Test 21 - 10 Questions (Last Reviewed 13-Nov-2026)
- Microsoft AI-200 Practice Test 22 - 10 Questions (Last Reviewed 12-Nov-2026)
- Microsoft AI-200 Practice Test 23 - 10 Questions (Last Reviewed 11-Nov-2026)
- Microsoft AI-200 Practice Test 24 - 10 Questions (Last Reviewed 10-Nov-2026)
- Microsoft AI-200 Practice Test 25 - 10 Questions (Last Reviewed 09-Nov-2026)
