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 25

Question 240

Fictional Azure AI cloud-backend case: A legal document RAG application replaces its embedding model but continues comparing new query vectors against the previous model's stored vectors. Select TWO complementary answers: the appropriate response AND the observation that would demonstrate its effect.

  1. Outcome evidence: Make the test endpoint fail and verify retry attempts or dead-letter storage capture the undelivered event
  2. Outcome evidence: Perform a controlled swap and verify production and staging resolve their intended backend values
  3. Outcome evidence: Test a labeled relevance set under the chosen model and confirm indexed vectors use the same embedding version
  4. Proposed response: Re-embed the document corpus or preserve separate compatible indexes for each model version
  5. Outcome evidence: Toggle the flag for a test cohort and verify controlled behavior and rollback work

Explanation

Correct Answers

C:

This is the matching outcome check: Test a labeled relevance set under the chosen model and confirm indexed vectors use the same embedding version. It tests whether the action to re-embed the document corpus or preserve separate compatible indexes for each model version has worked.

D:

The proposed change is to re-embed the document corpus or preserve separate compatible indexes for each model version. For the current condition—a legal document RAG application replaces its embedding model but continues comparing new query vectors against the previous model's stored vectors—the corresponding test is to test a labeled relevance set under the chosen model and confirm indexed vectors use the same embedding version.

Incorrect Answers

A:

The check to make the test endpoint fail and verify retry attempts or dead-letter storage capture the undelivered event is not evidence that the current response worked. Instead, the team should test a labeled relevance set under the chosen model and confirm indexed vectors use the same embedding version after the action to re-embed the document corpus or preserve separate compatible indexes for each model version.

B:

The offered evidence—Perform a controlled swap and verify production and staging resolve their intended backend values—does not measure the required result. The selected change to re-embed the document corpus or preserve separate compatible indexes for each model version needs a check to test a labeled relevance set under the chosen model and confirm indexed vectors use the same embedding version.

E:

The suggested test to toggle the flag for a test cohort and verify controlled behavior and rollback work concerns a different effect. The outcome that matters for the action to re-embed the document corpus or preserve separate compatible indexes for each model version is established by checking whether the team can test a labeled relevance set under the chosen model and confirm indexed vectors use the same embedding version.

Question 241

Fictional Azure AI cloud-backend case: A PostgreSQL team wants to improve approximate-nearest-neighbor search but is tuning client retries without looking at database execution time. Which implementation choice BEST meets the specific requirement?

  1. Repeatedly retry slow successful vector queries to reduce server work
  2. Capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence
  3. Increase the frontend timeout without measuring the database path
  4. Remove query logging so slow queries become harder to identify

Explanation

Correct Answer

B:

The required control is to capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence. This fits the condition: a PostgreSQL team wants to improve approximate-nearest-neighbor search but is tuning client retries without looking at database execution time.

Incorrect Answers

A:

It would be unsafe to repeatedly retry slow successful vector queries to reduce server work. To address this condition, the team should capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence.

C:

The option to increase the frontend timeout without measuring the database path does not establish the relevant mechanism. To resolve the gap, the team should capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence.

D:

The action to remove query logging so slow queries become harder to identify could be relevant elsewhere, but it does not solve this case. The appropriate response is to capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence.

Question 242

Fictional Azure AI cloud-backend case: A PostgreSQL team wants to improve approximate-nearest-neighbor search but is tuning client retries without looking at database execution time. Which shortcut MOST DIRECTLY expresses the technical or operational mistake in this case?

  1. Put the secret directly in an unprotected configuration key-value entry
  2. Leave catch-all subscriptions active and require consumers to ignore unwanted events manually
  3. Repeatedly retry slow successful vector queries to reduce server work
  4. Aggregate every historical event into one number without a time filter

Explanation

Correct Answer

C:

This is the most relevant unsafe assumption: Repeatedly retry slow successful vector queries to reduce server work. The corrective direction is to capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence.

Incorrect Answers

A:

The alternative shortcut to put the secret directly in an unprotected configuration key-value entry would present a different problem. Here the decisive error is to repeatedly retry slow successful vector queries to reduce server work in the setting where a PostgreSQL team wants to improve approximate-nearest-neighbor search but is tuning client retries without looking at database execution time.

B:

The offered error—Leave catch-all subscriptions active and require consumers to ignore unwanted events manually—does not explain the stated failure. The current case points to the assumption to repeatedly retry slow successful vector queries to reduce server work.

D:

This choice concerns the risk of the proposal to aggregate every historical event into one number without a time filter. The question instead describes a PostgreSQL team wants to improve approximate-nearest-neighbor search but is tuning client retries without looking at database execution time, making the shortcut to repeatedly retry slow successful vector queries to reduce server work the closer match.

Question 243

Fictional Azure AI cloud-backend case: A PostgreSQL team wants to improve approximate-nearest-neighbor search but is tuning client retries without looking at database execution time. The first implementation did not meet its acceptance criteria. Which corrective step is MOST appropriate?

  1. Corrective action: Remove query logging so slow queries become harder to identify
  2. Corrective action: Capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence
  3. Corrective action: Repeatedly retry slow successful vector queries to reduce server work
  4. Corrective action: Increase the frontend timeout without measuring the database path

Explanation

Correct Answer

B:

The proposed action—Capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence—addresses the stated gap. Confirm it by checking whether the team can compare query-plan operators and p95 query latency using an unchanged test dataset.

Incorrect Answers

A:

The option to remove query logging so slow queries become harder to identify does not establish the relevant mechanism. To resolve the gap, the team should capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence.

C:

Choosing to repeatedly retry slow successful vector queries to reduce server work would preserve the original failure. For this case, the team needs to capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence.

D:

The action to increase the frontend timeout without measuring the database path addresses a different issue. The case requires the team to capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence.

Question 244

Fictional Azure AI cloud-backend case: A PostgreSQL team wants to improve approximate-nearest-neighbor search but is tuning client retries without looking at database execution time. Which release-gate practice would BEST reduce recurrence of this failure?

  1. Standardize the shortcut: Repeatedly retry slow successful vector queries to reduce server work
  2. Require a documented implementation check to: Capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence
  3. Standardize this unrelated change: Increase the frontend timeout without measuring the database path
  4. Standardize this unrelated change: Remove query logging so slow queries become harder to identify

Explanation

Correct Answer

B:

Given that a PostgreSQL team wants to improve approximate-nearest-neighbor search but is tuning client retries without looking at database execution time, the team should require a documented implementation check to: Capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence. A matching check is to compare query-plan operators and p95 query latency using an unchanged test dataset.

Incorrect Answers

A:

The unsafe shortcut is to standardize the shortcut: Repeatedly retry slow successful vector queries to reduce server work. It cannot substitute for the action to capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence.

C:

This option focuses on the proposed action to standardize this unrelated change: Increase the frontend timeout without measuring the database path rather than the documented requirement. The relevant step is to capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence.

D:

The option to standardize this unrelated change: Remove query logging so slow queries become harder to identify does not establish the relevant mechanism. To resolve the gap, the team should capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence.

Question 245

Fictional Azure AI cloud-backend case: A PostgreSQL team wants to improve approximate-nearest-neighbor search but is tuning client retries without looking at database execution time. Select TWO complementary answers: the appropriate response AND the observation that would demonstrate its effect.

  1. Outcome evidence: Resolve the vault private hostname from the workload and retrieve a secret through the approved network path
  2. Outcome evidence: Create a test subscription and confirm validation completes and a sample event is delivered
  3. Proposed response: Capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence
  4. Outcome evidence: Audit the assigned pull rights and confirm deployment succeeds while push operations remain disallowed
  5. Outcome evidence: Compare query-plan operators and p95 query latency using an unchanged test dataset

Explanation

Correct Answers

C:

The proposed change is to capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence. For the current condition—a PostgreSQL team wants to improve approximate-nearest-neighbor search but is tuning client retries without looking at database execution time—the corresponding test is to compare query-plan operators and p95 query latency using an unchanged test dataset.

E:

To verify the selected action, compare query-plan operators and p95 query latency using an unchanged test dataset. That evidence is tied to the response to capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence.

Incorrect Answers

A:

The offered evidence—Resolve the vault private hostname from the workload and retrieve a secret through the approved network path—does not measure the required result. The selected change to capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence needs a check to compare query-plan operators and p95 query latency using an unchanged test dataset.

B:

The suggested check to create a test subscription and confirm validation completes and a sample event is delivered measures a different outcome. For the action to capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence, the relevant evidence is to compare query-plan operators and p95 query latency using an unchanged test dataset.

D:

The suggested test to audit the assigned pull rights and confirm deployment succeeds while push operations remain disallowed concerns a different effect. The outcome that matters for the action to capture EXPLAIN ANALYZE and realistic vector-query latency, then tune indexes or query plans based on the evidence is established by checking whether the team can compare query-plan operators and p95 query latency using an unchanged test dataset.

Question 246

Fictional Azure AI cloud-backend case: A document ingestion service builds SQL by concatenating user-provided metadata fields into RAG filter statements. Which implementation choice BEST meets the specific requirement?

  1. Allow the client to submit unrestricted SQL fragments as filter settings
  2. Concatenate arbitrary request strings into SQL syntax and rely on UI validation alone
  3. Disable database audit logging while keeping dynamic SQL construction
  4. Use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup

Explanation

Correct Answer

D:

The case calls for the team to use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup. The result should be demonstrated by asking reviewers to send benign and malicious filter inputs and confirm the query treats them as data without unauthorized reads.

Incorrect Answers

A:

This option focuses on the proposed action to allow the client to submit unrestricted SQL fragments as filter settings rather than the documented requirement. The relevant step is to use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup.

B:

The option would continue the existing risk by trying to concatenate arbitrary request strings into SQL syntax and rely on UI validation alone. The required step is to use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup.

C:

The action to disable database audit logging while keeping dynamic SQL construction could be relevant elsewhere, but it does not solve this case. The appropriate response is to use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup.

Question 247

Fictional Azure AI cloud-backend case: A document ingestion service builds SQL by concatenating user-provided metadata fields into RAG filter statements. Which shortcut MOST DIRECTLY expresses the technical or operational mistake in this case?

  1. Reuse the mutable latest tag as the sole rollback identifier
  2. Keep copying the same long-lived service principal password into new container replicas
  3. Concatenate arbitrary request strings into SQL syntax and rely on UI validation alone
  4. Ignore lock expiry and assume completing an expired lock always succeeds

Explanation

Correct Answer

C:

Given that a document ingestion service builds SQL by concatenating user-provided metadata fields into RAG filter statements, the assumption to concatenate arbitrary request strings into SQL syntax and rely on UI validation alone creates the identified risk. The safer response is to use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup.

Incorrect Answers

A:

The offered error—Reuse the mutable latest tag as the sole rollback identifier—does not explain the stated failure. The current case points to the assumption to concatenate arbitrary request strings into SQL syntax and rely on UI validation alone.

B:

The proposed shortcut to keep copying the same long-lived service principal password into new container replicas is not tied to the defining failure. The more direct mistake for this case is to concatenate arbitrary request strings into SQL syntax and rely on UI validation alone.

D:

The stated condition is that a document ingestion service builds SQL by concatenating user-provided metadata fields into RAG filter statements. The alternative assumption to ignore lock expiry and assume completing an expired lock always succeeds differs from the actual shortcut to concatenate arbitrary request strings into SQL syntax and rely on UI validation alone.

Question 248

Fictional Azure AI cloud-backend case: A document ingestion service builds SQL by concatenating user-provided metadata fields into RAG filter statements. The first implementation did not meet its acceptance criteria. Which corrective step is MOST appropriate?

  1. Corrective action: Allow the client to submit unrestricted SQL fragments as filter settings
  2. Corrective action: Use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup
  3. Corrective action: Concatenate arbitrary request strings into SQL syntax and rely on UI validation alone
  4. Corrective action: Disable database audit logging while keeping dynamic SQL construction

Explanation

Correct Answer

B:

This response addresses the described problem: Use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup. A relevant outcome test is to send benign and malicious filter inputs and confirm the query treats them as data without unauthorized reads.

Incorrect Answers

A:

The action to allow the client to submit unrestricted SQL fragments as filter settings could be relevant elsewhere, but it does not solve this case. The appropriate response is to use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup.

C:

The proposed shortcut to concatenate arbitrary request strings into SQL syntax and rely on UI validation alone does not resolve the case where a document ingestion service builds SQL by concatenating user-provided metadata fields into RAG filter statements. The needed response is to use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup.

D:

The proposed step to disable database audit logging while keeping dynamic SQL construction does not address the condition where a document ingestion service builds SQL by concatenating user-provided metadata fields into RAG filter statements.

Question 249

Fictional Azure AI cloud-backend case: A document ingestion service builds SQL by concatenating user-provided metadata fields into RAG filter statements. Which release-gate practice would BEST reduce recurrence of this failure?

  1. Standardize this unrelated change: Allow the client to submit unrestricted SQL fragments as filter settings
  2. Standardize this unrelated change: Disable database audit logging while keeping dynamic SQL construction
  3. Standardize the shortcut: Concatenate arbitrary request strings into SQL syntax and rely on UI validation alone
  4. Require a documented implementation check to: Use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup

Explanation

Correct Answer

D:

The proposed action—Require a documented implementation check to: Use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup—addresses the stated gap. Confirm it by checking whether the team can send benign and malicious filter inputs and confirm the query treats them as data without unauthorized reads.

Incorrect Answers

A:

This proposal—Standardize this unrelated change: Allow the client to submit unrestricted SQL fragments as filter settings—does not settle the stated gap: a document ingestion service builds SQL by concatenating user-provided metadata fields into RAG filter statements.

B:

This option focuses on the proposed action to standardize this unrelated change: Disable database audit logging while keeping dynamic SQL construction rather than the documented requirement. The relevant step is to use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup.

C:

The option would continue the existing risk by trying to standardize the shortcut: Concatenate arbitrary request strings into SQL syntax and rely on UI validation alone. The required step is to use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup.

Question 250

Fictional Azure AI cloud-backend case: A document ingestion service builds SQL by concatenating user-provided metadata fields into RAG filter statements. Select TWO complementary answers: the appropriate response AND the observation that would demonstrate its effect.

  1. Outcome evidence: Introduce a failing test in an isolated run and confirm the pipeline refuses to promote the image
  2. Outcome evidence: Reconstruct the previous deployment from the recorded snapshot and compare key-values with the release manifest
  3. Outcome evidence: Send benign and malicious filter inputs and confirm the query treats them as data without unauthorized reads
  4. Proposed response: Use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup
  5. Outcome evidence: Submit a schema-valid test event and confirm subject filters and downstream duplicate handling behave as specified

Explanation

Correct Answers

C:

The selected check—send benign and malicious filter inputs and confirm the query treats them as data without unauthorized reads—demonstrates the result of the authorized action to use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup.

D:

The team should use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup. This meets the need described here: a document ingestion service builds SQL by concatenating user-provided metadata fields into RAG filter statements. Check the outcome by asking reviewers to send benign and malicious filter inputs and confirm the query treats them as data without unauthorized reads.

Incorrect Answers

A:

The suggested check to introduce a failing test in an isolated run and confirm the pipeline refuses to promote the image measures a different outcome. For the action to use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup, the relevant evidence is to send benign and malicious filter inputs and confirm the query treats them as data without unauthorized reads.

B:

The response in this case is to use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup. Testing by asking the team to reconstruct the previous deployment from the recorded snapshot and compare key-values with the release manifest would not verify it; the needed check is to send benign and malicious filter inputs and confirm the query treats them as data without unauthorized reads.

E:

This alternative checks submit a schema-valid test event and confirm subject filters and downstream duplicate handling behave as specified, not the outcome of the chosen intervention. To verify the action to use parameterized SQL queries with constrained metadata fields for the PostgreSQL lookup, reviewers should send benign and malicious filter inputs and confirm the query treats them as data without unauthorized reads.

Developing AI Cloud Solutions on Azure (AI-200) Practice Tests