Microsoft AI-200 Dumps
Microsoft AI-200 Practice Test 22
Question 210
Fictional Azure AI cloud-backend case: A PostgreSQL semantic retrieval query uses cosine distance while the HNSW index was built with an incompatible operator class. Select TWO complementary answers: the appropriate response AND the observation that would demonstrate its effect.
Explanation
Correct Answers
To verify the selected action, inspect EXPLAIN output and search latency to confirm the intended index supports the selected distance operator. That evidence is tied to the response to build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query.
This is the action half of the pair: Build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query. The result should be checked by asking the team to inspect EXPLAIN output and search latency to confirm the intended index supports the selected distance operator.
Incorrect Answers
The suggested check to restart a test deployment and verify the identity pulls the approved image without stored registry credentials measures a different outcome. For the action to build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query, the relevant evidence is to inspect EXPLAIN output and search latency to confirm the intended index supports the selected distance operator.
The response in this case is to build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query. Testing by asking the team to rotate a nonproduction credential and verify running workers recover without manual rebuilds would not verify it; the needed check is to inspect EXPLAIN output and search latency to confirm the intended index supports the selected distance operator.
The suggested test to resend the same event within the configured detection window and confirm only one business side effect occurs concerns a different effect. The outcome that matters for the action to build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query is established by checking whether the team can inspect EXPLAIN output and search latency to confirm the intended index supports the selected distance operator.
Question 211
Fictional Azure AI cloud-backend case: A healthcare RAG query returns semantically relevant passages from other patients because pgvector retrieval is not constrained by patient authorization. Which implementation choice BEST meets the specific requirement?
Explanation
Correct Answer
The right step is to enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy. Verify the result by asking reviewers to test with two patient identities and confirm no unauthorized rows enter retrieval context.
Incorrect Answers
The option would continue the existing risk by trying to retrieve embeddings across all patients then ask the model to suppress private content. The required step is to enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy.
The action to increase the top-k result count without filtering patient scope could be relevant elsewhere, but it does not solve this case. The appropriate response is to enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy.
The present condition is that a healthcare RAG query returns semantically relevant passages from other patients because pgvector retrieval is not constrained by patient authorization. The suggested action to hide patient identifiers from the response while still passing their text to the model does not establish the needed result; the team should enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy.
Question 212
Fictional Azure AI cloud-backend case: A healthcare RAG query returns semantically relevant passages from other patients because pgvector retrieval is not constrained by patient authorization. Which shortcut MOST DIRECTLY expresses the technical or operational mistake in this case?
Explanation
Correct Answer
Given that a healthcare RAG query returns semantically relevant passages from other patients because pgvector retrieval is not constrained by patient authorization, the assumption to retrieve embeddings across all patients then ask the model to suppress private content creates the identified risk. The safer response is to enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy.
Incorrect Answers
The proposed shortcut to keep the token in source control because the vault itself encrypts secrets is not tied to the defining failure. The more direct mistake for this case is to retrieve embeddings across all patients then ask the model to suppress private content.
The stated condition is that a healthcare RAG query returns semantically relevant passages from other patients because pgvector retrieval is not constrained by patient authorization. The alternative assumption to share every cache key globally because the backend model is the same differs from the actual shortcut to retrieve embeddings across all patients then ask the model to suppress private content.
For the current case, the risk arises from trying to retrieve embeddings across all patients then ask the model to suppress private content. The offered alternative to use only the arithmetic average and ignore long-tail responses addresses another concern.
Question 213
Fictional Azure AI cloud-backend case: A healthcare RAG query returns semantically relevant passages from other patients because pgvector retrieval is not constrained by patient authorization. The first implementation did not meet its acceptance criteria. Which corrective step is MOST appropriate?
Explanation
Correct Answer
The case calls for the team to enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy. The result should be demonstrated by asking reviewers to test with two patient identities and confirm no unauthorized rows enter retrieval context.
Incorrect Answers
The action to hide patient identifiers from the response while still passing their text to the model addresses a different issue. The case requires the team to enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy.
The proposed step to increase the top-k result count without filtering patient scope does not address the condition where a healthcare RAG query returns semantically relevant passages from other patients because pgvector retrieval is not constrained by patient authorization.
The unsafe shortcut is to retrieve embeddings across all patients then ask the model to suppress private content. It cannot substitute for the action to enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy.
Question 214
Fictional Azure AI cloud-backend case: A healthcare RAG query returns semantically relevant passages from other patients because pgvector retrieval is not constrained by patient authorization. Which release-gate practice would BEST reduce recurrence of this failure?
Explanation
Correct Answer
The proposed action—Require a documented implementation check to: Enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy—addresses the stated gap. Confirm it by checking whether the team can test with two patient identities and confirm no unauthorized rows enter retrieval context.
Incorrect Answers
This option focuses on the proposed action to standardize this unrelated change: Increase the top-k result count without filtering patient scope rather than the documented requirement. The relevant step is to enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy.
The option would continue the existing risk by trying to standardize the shortcut: Retrieve embeddings across all patients then ask the model to suppress private content. The required step is to enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy.
The present condition is that a healthcare RAG query returns semantically relevant passages from other patients because pgvector retrieval is not constrained by patient authorization. The suggested action to standardize this unrelated change: Hide patient identifiers from the response while still passing their text to the model does not establish the needed result; the team should enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy.
Question 215
Fictional Azure AI cloud-backend case: A healthcare RAG query returns semantically relevant passages from other patients because pgvector retrieval is not constrained by patient authorization. Select TWO complementary answers: the appropriate response AND the observation that would demonstrate its effect.
Explanation
Correct Answers
The selected check—test with two patient identities and confirm no unauthorized rows enter retrieval context—demonstrates the result of the authorized action to enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy.
The team should enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy. This meets the need described here: a healthcare RAG query returns semantically relevant passages from other patients because pgvector retrieval is not constrained by patient authorization. Check the outcome by asking reviewers to test with two patient identities and confirm no unauthorized rows enter retrieval context.
Incorrect Answers
The response in this case is to enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy. Testing by asking the team to query both environments and verify each resolves the expected labeled threshold value would not verify it; the needed check is to test with two patient identities and confirm no unauthorized rows enter retrieval context.
This alternative checks simulate a crash between commit and settlement and confirm repeated delivery does not duplicate the business record, not the outcome of the chosen intervention. To verify the action to enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy, reviewers should test with two patient identities and confirm no unauthorized rows enter retrieval context.
Reviewers cannot infer success of the action to enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy merely by inspect the deployed image and app startup configuration to confirm the credential is absent from image layers and runtime calls succeed. They need to test with two patient identities and confirm no unauthorized rows enter retrieval context.
Question 216
Fictional Azure AI cloud-backend case: A bursty Azure Functions application creates a new PostgreSQL connection per token request, exhausting server connection slots. Which implementation choice BEST meets the specific requirement?
Explanation
Correct Answer
The right step is to introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency. Verify the result by asking reviewers to load-test concurrent requests and check active connections, error rate, and transaction correctness.
Incorrect Answers
The action to disable connection monitoring so the exhaustion error is less visible could be relevant elsewhere, but it does not solve this case. The appropriate response is to introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency.
Choosing to raise the client request rate while continuing to open unbounded connections would preserve the original failure. For this case, the team needs to introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency.
The proposed step to recreate the server on every request to obtain fresh connections does not address the condition where a bursty Azure Functions application creates a new PostgreSQL connection per token request, exhausting server connection slots.
Question 217
Fictional Azure AI cloud-backend case: A bursty Azure Functions application creates a new PostgreSQL connection per token request, exhausting server connection slots. Which shortcut MOST DIRECTLY expresses the technical or operational mistake in this case?
Explanation
Correct Answer
Given that a bursty Azure Functions application creates a new PostgreSQL connection per token request, exhausting server connection slots, the assumption to raise the client request rate while continuing to open unbounded connections creates the identified risk. The safer response is to introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency.
Incorrect Answers
The stated condition is that a bursty Azure Functions application creates a new PostgreSQL connection per token request, exhausting server connection slots. The alternative assumption to treat ordinary cache eviction as permanent deletion of the only file copy differs from the actual shortcut to raise the client request rate while continuing to open unbounded connections.
For the current case, the risk arises from trying to raise the client request rate while continuing to open unbounded connections. The offered alternative to assume API CPU measurements identify the exact failing SQL operation addresses another concern.
The proposed alternative to pin the original secret version indefinitely and disable freshness checks could create a risk, but it is not the one shown here. The recorded mistake is to raise the client request rate while continuing to open unbounded connections.
Question 218
Fictional Azure AI cloud-backend case: A bursty Azure Functions application creates a new PostgreSQL connection per token request, exhausting server connection slots. The first implementation did not meet its acceptance criteria. Which corrective step is MOST appropriate?
Explanation
Correct Answer
Given that a bursty Azure Functions application creates a new PostgreSQL connection per token request, exhausting server connection slots, the team should introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency. A matching check is to load-test concurrent requests and check active connections, error rate, and transaction correctness.
Incorrect Answers
The proposed step to disable connection monitoring so the exhaustion error is less visible does not address the condition where a bursty Azure Functions application creates a new PostgreSQL connection per token request, exhausting server connection slots.
The unsafe shortcut is to raise the client request rate while continuing to open unbounded connections. It cannot substitute for the action to introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency.
This proposal—Recreate the server on every request to obtain fresh connections—does not settle the stated gap: a bursty Azure Functions application creates a new PostgreSQL connection per token request, exhausting server connection slots.
Question 219
Fictional Azure AI cloud-backend case: A bursty Azure Functions application creates a new PostgreSQL connection per token request, exhausting server connection slots. Which release-gate practice would BEST reduce recurrence of this failure?
Explanation
Correct Answer
The most direct response is to require a documented implementation check to: Introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency. To establish that it worked, load-test concurrent requests and check active connections, error rate, and transaction correctness.
Incorrect Answers
The action to standardize this unrelated change: Disable connection monitoring so the exhaustion error is less visible could be relevant elsewhere, but it does not solve this case. The appropriate response is to introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency.
The present condition is that a bursty Azure Functions application creates a new PostgreSQL connection per token request, exhausting server connection slots. The suggested action to standardize this unrelated change: Recreate the server on every request to obtain fresh connections does not establish the needed result; the team should introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency.
The proposed shortcut to standardize the shortcut: Raise the client request rate while continuing to open unbounded connections does not resolve the case where a bursty Azure Functions application creates a new PostgreSQL connection per token request, exhausting server connection slots. The needed response is to introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency.
Question 220
Fictional Azure AI cloud-backend case: A bursty Azure Functions application creates a new PostgreSQL connection per token request, exhausting server connection slots. Select TWO complementary answers: the appropriate response AND the observation that would demonstrate its effect.
Explanation
Correct Answers
To verify the selected action, load-test concurrent requests and check active connections, error rate, and transaction correctness. That evidence is tied to the response to introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency.
To address this case, introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency. The matching evidence is a check to load-test concurrent requests and check active connections, error rate, and transaction correctness.
Incorrect Answers
The suggested test to change the sentinel or monitored key in staging and confirm replicas observe the update within the chosen freshness window concerns a different effect. The outcome that matters for the action to introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency is established by checking whether the team can load-test concurrent requests and check active connections, error rate, and transaction correctness.
This alternative checks rebuild the same controlled source revision twice and compare digests, dependency manifests, and smoke-test behavior, not the outcome of the chosen intervention. To verify the action to introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency, reviewers should load-test concurrent requests and check active connections, error rate, and transaction correctness.
Reviewers cannot infer success of the action to introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency merely by publish interleaved updates for two orders and verify each order's sequence stays intact while both progress. They need to load-test concurrent requests and check active connections, error rate, and transaction correctness.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests
- Microsoft AI-200 Practice Test 20 - 10 Questions (Last Reviewed 14-Nov-2026)
- 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)