Practice Exams:

Microsoft AI-200 Dumps

EXAM: Developing AI Cloud Solutions on Azure
Verified By Experts
Premium Bundle
$19.99
$54.99 $74.98

AI-200 Premium Bundle


  • Premium File 174 Questions & Answers
  • Study Guide 153 Pages

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.

  1. Outcome evidence: Restart a test deployment and verify the identity pulls the approved image without stored registry credentials
  2. Outcome evidence: Rotate a nonproduction credential and verify running workers recover without manual rebuilds
  3. Outcome evidence: Resend the same event within the configured detection window and confirm only one business side effect occurs
  4. Outcome evidence: Inspect EXPLAIN output and search latency to confirm the intended index supports the selected distance operator
  5. Proposed response: Build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query

Explanation

Correct Answers

D:

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.

E:

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

A:

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.

B:

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.

C:

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?

  1. Retrieve embeddings across all patients then ask the model to suppress private content
  2. Increase the top-k result count without filtering patient scope
  3. Hide patient identifiers from the response while still passing their text to the model
  4. Enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy

Explanation

Correct Answer

D:

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

A:

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.

B:

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.

C:

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?

  1. Keep the token in source control because the vault itself encrypts secrets
  2. Retrieve embeddings across all patients then ask the model to suppress private content
  3. Share every cache key globally because the backend model is the same
  4. Use only the arithmetic average and ignore long-tail responses

Explanation

Correct Answer

B:

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

A:

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.

C:

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.

D:

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?

  1. Corrective action: Enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy
  2. Corrective action: Hide patient identifiers from the response while still passing their text to the model
  3. Corrective action: Increase the top-k result count without filtering patient scope
  4. Corrective action: Retrieve embeddings across all patients then ask the model to suppress private content

Explanation

Correct Answer

A:

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

B:

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.

C:

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.

D:

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?

  1. Standardize this unrelated change: Increase the top-k result count without filtering patient scope
  2. Standardize the shortcut: Retrieve embeddings across all patients then ask the model to suppress private content
  3. Require a documented implementation check to: Enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy
  4. Standardize this unrelated change: Hide patient identifiers from the response while still passing their text to the model

Explanation

Correct Answer

C:

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

A:

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.

B:

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.

D:

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.

  1. Outcome evidence: Query both environments and verify each resolves the expected labeled threshold value
  2. Outcome evidence: Test with two patient identities and confirm no unauthorized rows enter retrieval context
  3. Proposed response: Enforce patient-scoped metadata conditions in the PostgreSQL retrieval query and authorized access policy
  4. Outcome evidence: Simulate a crash between commit and settlement and confirm repeated delivery does not duplicate the business record
  5. Outcome evidence: Inspect the deployed image and app startup configuration to confirm the credential is absent from image layers and runtime calls succeed

Explanation

Correct Answers

B:

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.

C:

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

A:

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.

D:

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.

E:

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?

  1. Disable connection monitoring so the exhaustion error is less visible
  2. Raise the client request rate while continuing to open unbounded connections
  3. Introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency
  4. Recreate the server on every request to obtain fresh connections

Explanation

Correct Answer

C:

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

A:

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.

B:

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.

D:

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?

  1. Raise the client request rate while continuing to open unbounded connections
  2. Treat ordinary cache eviction as permanent deletion of the only file copy
  3. Assume API CPU measurements identify the exact failing SQL operation
  4. Pin the original secret version indefinitely and disable freshness checks

Explanation

Correct Answer

A:

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

B:

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.

C:

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.

D:

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?

  1. Corrective action: Introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency
  2. Corrective action: Disable connection monitoring so the exhaustion error is less visible
  3. Corrective action: Raise the client request rate while continuing to open unbounded connections
  4. Corrective action: Recreate the server on every request to obtain fresh connections

Explanation

Correct Answer

A:

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

B:

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.

C:

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.

D:

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?

  1. Require a documented implementation check to: Introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency
  2. Standardize this unrelated change: Disable connection monitoring so the exhaustion error is less visible
  3. Standardize this unrelated change: Recreate the server on every request to obtain fresh connections
  4. Standardize the shortcut: Raise the client request rate while continuing to open unbounded connections

Explanation

Correct Answer

A:

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

B:

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.

C:

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.

D:

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.

  1. Outcome evidence: Change the sentinel or monitored key in staging and confirm replicas observe the update within the chosen freshness window
  2. Outcome evidence: Load-test concurrent requests and check active connections, error rate, and transaction correctness
  3. Outcome evidence: Rebuild the same controlled source revision twice and compare digests, dependency manifests, and smoke-test behavior
  4. Outcome evidence: Publish interleaved updates for two orders and verify each order's sequence stays intact while both progress
  5. Proposed response: Introduce suitably configured connection pooling such as PgBouncer and bounded client concurrency

Explanation

Correct Answers

B:

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.

E:

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

A:

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.

C:

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.

D:

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