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 21

Question 200

Fictional Azure AI cloud-backend case: A Cosmos DB vector index is planned with embeddings generated by two incompatible model families in the same field, making similarity scores misleading. Select TWO complementary answers: the appropriate response AND the observation that would demonstrate its effect.

  1. Outcome evidence: Evict a test key and confirm the complete document can be safely reconstructed from durable storage
  2. Outcome evidence: Query a labeled sample before and after migration to confirm ranking quality and vector policy compatibility
  3. Proposed response: Keep a consistent embedding model and vector definition per searchable field or migrate and re-embed systematically
  4. Outcome evidence: Rotate the secret in staging and verify the app adopts the approved version without downtime
  5. Outcome evidence: Deploy the recorded prior digest in a staging slot and compare its startup behavior and content hash

Explanation

Correct Answers

B:

For this paired response, verification means checking whether the team can query a labeled sample before and after migration to confirm ranking quality and vector policy compatibility; that confirms the effect of the action to keep a consistent embedding model and vector definition per searchable field or migrate and re-embed systematically.

C:

The required action is to keep a consistent embedding model and vector definition per searchable field or migrate and re-embed systematically. Confirm it by asking reviewers to query a labeled sample before and after migration to confirm ranking quality and vector policy compatibility.

Incorrect Answers

A:

The check to evict a test key and confirm the complete document can be safely reconstructed from durable storage is not evidence that the current response worked. Instead, the team should query a labeled sample before and after migration to confirm ranking quality and vector policy compatibility after the action to keep a consistent embedding model and vector definition per searchable field or migrate and re-embed systematically.

D:

The response in this case is to keep a consistent embedding model and vector definition per searchable field or migrate and re-embed systematically. Testing by asking the team to rotate the secret in staging and verify the app adopts the approved version without downtime would not verify it; the needed check is to query a labeled sample before and after migration to confirm ranking quality and vector policy compatibility.

E:

The suggested test to deploy the recorded prior digest in a staging slot and compare its startup behavior and content hash concerns a different effect. The outcome that matters for the action to keep a consistent embedding model and vector definition per searchable field or migrate and re-embed systematically is established by checking whether the team can query a labeled sample before and after migration to confirm ranking quality and vector policy compatibility.

Question 201

Fictional Azure AI cloud-backend case: A clinical research assistant inserts 768-element embeddings into a PostgreSQL pgvector column defined for a different vector length. Which implementation choice BEST meets the specific requirement?

  1. Increase the server's connection limit to bypass a schema incompatibility
  2. Define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts
  3. Truncate embeddings silently to an arbitrary size on every insert
  4. Replace the vector column with unrestricted comma-delimited text for cosine search

Explanation

Correct Answer

B:

The required control is to define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts. This fits the condition: a clinical research assistant inserts 768-element embeddings into a PostgreSQL pgvector column defined for a different vector length.

Incorrect Answers

A:

This proposal—Increase the server's connection limit to bypass a schema incompatibility—does not settle the stated gap: a clinical research assistant inserts 768-element embeddings into a PostgreSQL pgvector column defined for a different vector length.

C:

The option would continue the existing risk by trying to truncate embeddings silently to an arbitrary size on every insert. The required step is to define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts.

D:

The action to replace the vector column with unrestricted comma-delimited text for cosine search could be relevant elsewhere, but it does not solve this case. The appropriate response is to define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts.

Question 202

Fictional Azure AI cloud-backend case: A clinical research assistant inserts 768-element embeddings into a PostgreSQL pgvector column defined for a different vector length. Which shortcut MOST DIRECTLY expresses the technical or operational mistake in this case?

  1. Truncate embeddings silently to an arbitrary size on every insert
  2. Combine all revisions' logs without any deployment identity and guess from the mean error rate
  3. Perform an unrestricted vector search and ask the model not to reveal other regions
  4. Copy each developer's hidden local settings into production manually with no review

Explanation

Correct Answer

A:

The flawed shortcut is to truncate embeddings silently to an arbitrary size on every insert. It overlooks the actual condition: a clinical research assistant inserts 768-element embeddings into a PostgreSQL pgvector column defined for a different vector length.

Incorrect Answers

B:

The offered error—Combine all revisions' logs without any deployment identity and guess from the mean error rate—does not explain the stated failure. The current case points to the assumption to truncate embeddings silently to an arbitrary size on every insert.

C:

The proposed shortcut to perform an unrestricted vector search and ask the model not to reveal other regions is not tied to the defining failure. The more direct mistake for this case is to truncate embeddings silently to an arbitrary size on every insert.

D:

This choice concerns the risk of the proposal to copy each developer's hidden local settings into production manually with no review. The question instead describes a clinical research assistant inserts 768-element embeddings into a PostgreSQL pgvector column defined for a different vector length, making the shortcut to truncate embeddings silently to an arbitrary size on every insert the closer match.

Question 203

Fictional Azure AI cloud-backend case: A clinical research assistant inserts 768-element embeddings into a PostgreSQL pgvector column defined for a different vector length. The first implementation did not meet its acceptance criteria. Which corrective step is MOST appropriate?

  1. Corrective action: Increase the server's connection limit to bypass a schema incompatibility
  2. Corrective action: Replace the vector column with unrestricted comma-delimited text for cosine search
  3. Corrective action: Truncate embeddings silently to an arbitrary size on every insert
  4. Corrective action: Define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts

Explanation

Correct Answer

D:

The right step is to define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts. Verify the result by asking reviewers to insert and retrieve representative vectors and verify their dimensionality and distance query behavior.

Incorrect Answers

A:

The option to increase the server's connection limit to bypass a schema incompatibility does not establish the relevant mechanism. To resolve the gap, the team should define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts.

B:

The proposed step to replace the vector column with unrestricted comma-delimited text for cosine search does not address the condition where a clinical research assistant inserts 768-element embeddings into a PostgreSQL pgvector column defined for a different vector length.

C:

Choosing to truncate embeddings silently to an arbitrary size on every insert would preserve the original failure. For this case, the team needs to define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts.

Question 204

Fictional Azure AI cloud-backend case: A clinical research assistant inserts 768-element embeddings into a PostgreSQL pgvector column defined for a different vector length. Which release-gate practice would BEST reduce recurrence of this failure?

  1. Require a documented implementation check to: Define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts
  2. Standardize this unrelated change: Increase the server's connection limit to bypass a schema incompatibility
  3. Standardize the shortcut: Truncate embeddings silently to an arbitrary size on every insert
  4. Standardize this unrelated change: Replace the vector column with unrestricted comma-delimited text for cosine search

Explanation

Correct Answer

A:

This response addresses the described problem: Require a documented implementation check to: Define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts. A relevant outcome test is to insert and retrieve representative vectors and verify their dimensionality and distance query behavior.

Incorrect Answers

B:

This proposal—Standardize this unrelated change: Increase the server's connection limit to bypass a schema incompatibility—does not settle the stated gap: a clinical research assistant inserts 768-element embeddings into a PostgreSQL pgvector column defined for a different vector length.

C:

The case does not support the proposal to standardize the shortcut: Truncate embeddings silently to an arbitrary size on every insert. Instead, the action should be to define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts.

D:

The option to standardize this unrelated change: Replace the vector column with unrestricted comma-delimited text for cosine search does not establish the relevant mechanism. To resolve the gap, the team should define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts.

Question 205

Fictional Azure AI cloud-backend case: A clinical research assistant inserts 768-element embeddings into a PostgreSQL pgvector column defined for a different vector length. Select TWO complementary answers: the appropriate response AND the observation that would demonstrate its effect.

  1. Outcome evidence: Trigger a controlled base-image update and confirm a new image digest is built, scanned, and deployed
  2. Outcome evidence: Insert and retrieve representative vectors and verify their dimensionality and distance query behavior
  3. Proposed response: Define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts
  4. Outcome evidence: Confirm secret reads work while a deliberate write or deletion attempt is denied
  5. Outcome evidence: Send a deliberately invalid message and verify it reaches the dead-letter path while following valid messages succeed

Explanation

Correct Answers

B:

This is the matching outcome check: Insert and retrieve representative vectors and verify their dimensionality and distance query behavior. It tests whether the action to define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts has worked.

C:

The proposed change is to define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts. For the current condition—a clinical research assistant inserts 768-element embeddings into a PostgreSQL pgvector column defined for a different vector length—the corresponding test is to insert and retrieve representative vectors and verify their dimensionality and distance query behavior.

Incorrect Answers

A:

The offered evidence—Trigger a controlled base-image update and confirm a new image digest is built, scanned, and deployed—does not measure the required result. The selected change to define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts needs a check to insert and retrieve representative vectors and verify their dimensionality and distance query behavior.

D:

The suggested test to confirm secret reads work while a deliberate write or deletion attempt is denied concerns a different effect. The outcome that matters for the action to define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts is established by checking whether the team can insert and retrieve representative vectors and verify their dimensionality and distance query behavior.

E:

This test would not establish the required outcome for the condition: a clinical research assistant inserts 768-element embeddings into a PostgreSQL pgvector column defined for a different vector length. The proposed action is to define and migrate a pgvector column with dimensions matching the chosen embedding model and validate inserts, which should be checked by asking reviewers to insert and retrieve representative vectors and verify their dimensionality and distance query behavior.

Question 206

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. Which implementation choice BEST meets the specific requirement?

  1. Increase the API timeout without comparing query plans
  2. Assume every vector index accelerates every distance metric without matching operators
  3. Add a B-tree index on the generated answer text as the only vector optimization
  4. Build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query

Explanation

Correct Answer

D:

The case calls for the team to build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query. The result should be demonstrated by asking reviewers to inspect EXPLAIN output and search latency to confirm the intended index supports the selected distance operator.

Incorrect Answers

A:

This option focuses on the proposed action to increase the API timeout without comparing query plans rather than the documented requirement. The relevant step is to build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query.

B:

The option would continue the existing risk by trying to assume every vector index accelerates every distance metric without matching operators. The required step is to build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query.

C:

The action to add a B-tree index on the generated answer text as the only vector optimization could be relevant elsewhere, but it does not solve this case. The appropriate response is to build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query.

Question 207

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. Which shortcut MOST DIRECTLY expresses the technical or operational mistake in this case?

  1. Allow all clients to stampede simultaneously against the source database with no concurrency control
  2. Assume every vector index accelerates every distance metric without matching operators
  3. Keep querying the nonexistent column and treat an empty result as proof of health
  4. Trust the supplied tenant field as proof of authorization

Explanation

Correct Answer

B:

This is the most relevant unsafe assumption: Assume every vector index accelerates every distance metric without matching operators. The corrective direction is to build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query.

Incorrect Answers

A:

The offered error—Allow all clients to stampede simultaneously against the source database with no concurrency control—does not explain the stated failure. The current case points to the assumption to assume every vector index accelerates every distance metric without matching operators.

C:

This choice concerns the risk of the proposal to keep querying the nonexistent column and treat an empty result as proof of health. The question instead describes a PostgreSQL semantic retrieval query uses cosine distance while the HNSW index was built with an incompatible operator class, making the shortcut to assume every vector index accelerates every distance metric without matching operators the closer match.

D:

The stated condition is that a PostgreSQL semantic retrieval query uses cosine distance while the HNSW index was built with an incompatible operator class. The alternative assumption to trust the supplied tenant field as proof of authorization differs from the actual shortcut to assume every vector index accelerates every distance metric without matching operators.

Question 208

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. The first implementation did not meet its acceptance criteria. Which corrective step is MOST appropriate?

  1. Corrective action: Increase the API timeout without comparing query plans
  2. Corrective action: Assume every vector index accelerates every distance metric without matching operators
  3. Corrective action: Build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query
  4. Corrective action: Add a B-tree index on the generated answer text as the only vector optimization

Explanation

Correct Answer

C:

The right step is to build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query. Verify the result by asking reviewers to inspect EXPLAIN output and search latency to confirm the intended index supports the selected distance operator.

Incorrect Answers

A:

The action to increase the API timeout without comparing query plans could be relevant elsewhere, but it does not solve this case. The appropriate response is to build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query.

B:

Choosing to assume every vector index accelerates every distance metric without matching operators would preserve the original failure. For this case, the team needs to build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query.

D:

The proposed step to add a B-tree index on the generated answer text as the only vector optimization does not address the condition where a PostgreSQL semantic retrieval query uses cosine distance while the HNSW index was built with an incompatible operator class.

Question 209

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. Which release-gate practice would BEST reduce recurrence of this failure?

  1. Standardize this unrelated change: Add a B-tree index on the generated answer text as the only vector optimization
  2. Require a documented implementation check to: Build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query
  3. Standardize this unrelated change: Increase the API timeout without comparing query plans
  4. Standardize the shortcut: Assume every vector index accelerates every distance metric without matching operators

Explanation

Correct Answer

B:

The required control is to require a documented implementation check to: Build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query. This fits the condition: a PostgreSQL semantic retrieval query uses cosine distance while the HNSW index was built with an incompatible operator class.

Incorrect Answers

A:

This proposal—Standardize this unrelated change: Add a B-tree index on the generated answer text as the only vector optimization—does not settle the stated gap: a PostgreSQL semantic retrieval query uses cosine distance while the HNSW index was built with an incompatible operator class.

C:

The option to standardize this unrelated change: Increase the API timeout without comparing query plans does not establish the relevant mechanism. To resolve the gap, the team should build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query.

D:

This assumption—Standardize the shortcut: Assume every vector index accelerates every distance metric without matching operators—is the source of the risk, not a remedy. The relevant action is to build an appropriate pgvector HNSW index whose distance operator class matches the retrieval query.

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.

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