McAfee-Secured Website

Exam Bundle

Exam Code: AI-200

Exam Name Developing AI Cloud Solutions on Azure

Certification Provider: Microsoft

Microsoft AI-200 Bundle $19.99

100% Microsoft AI-200 Guaranteed Success With Testking Training Materials

Get Real AI-200 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    AI-200 Questions & Answers

    174 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual AI-200 exam while allowing you to hone and measure every aspect of your test-taking ability.

  • Study Guide

    AI-200 Study Guide

    153 PDF Pages

    Developed by industry experts, this 153-page guide spells out in painstaking detail all of the information you need to ace AI-200 exam.

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

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $154.98
Bundle Price: $134.99

Purchase Individually

  • Questions & Answers

    Questions & Answers

    174 Questions

    $124.99
  • Study Guide

    Study Guide

    153 PDF Pages

    $29.99

Microsoft AI-200 Practice Test 37

Question 360

An Azure PostgreSQL RAG service needs to persist and compare fixed-length embeddings efficiently. After the proposed remediation, what should be observed?

  1. All returned nearest neighbors meet the date and tenant filters while ranking semantically.
  2. Repeated processing does not multiply identical chunk records and changed versions update correctly.
  3. Searches compare vectors from a consistent embedding version with predictable relevance.
  4. Inserted vectors of the expected length can be queried by distance operators.

Explanation

Correct Answer

D:

The pgvector vector type stores embeddings in a form suitable for native similarity operations. The observed result “Inserted vectors of the expected length can be queried by distance operators” would confirm the change “Use a pgvector vector column with the correct declared dimensionality” in this situation: An Azure PostgreSQL RAG service needs to persist and compare fixed-length embeddings efficiently.

Incorrect Answers

A:

PostgreSQL can combine relational filters with embedding distance queries. The situation here is: An Azure PostgreSQL RAG service needs to persist and compare fixed-length embeddings efficiently. A test of this alternative would miss the specific outcome “Inserted vectors of the expected length can be queried by distance operators”.

B:

Unique constraints and upserts make ingestion retry-safe at the relational persistence boundary. The situation here is: An Azure PostgreSQL RAG service needs to persist and compare fixed-length embeddings efficiently. A test of this alternative would miss the specific outcome “Inserted vectors of the expected length can be queried by distance operators”.

C:

Vector spaces from different models are not generally interchangeable even when dimension counts match. The situation here is: An Azure PostgreSQL RAG service needs to persist and compare fixed-length embeddings efficiently. A test of this alternative would miss the specific outcome “Inserted vectors of the expected length can be queried by distance operators”.

Question 361

A PostgreSQL app uses cosine embeddings but sorts with Euclidean distance and retrieval quality falls. Which configuration should the engineer implement?

  1. Choose the pgvector operator and matching index operator class for the intended distance metric.
  2. Configure Microsoft Entra authentication and obtain supported database tokens from the workload identity.
  3. Choose appropriate connection-pool settings and transaction pooling where driver behavior permits.
  4. Configure supported connection pooling with bounded pool sizes and sensible timeouts.

Explanation

Correct Answer

A:

Cosine, inner-product and Euclidean operators have distinct semantics and index classes. For this situation—A PostgreSQL app uses cosine embeddings but sorts with Euclidean distance and retrieval quality falls—the relevant response is “Choose the pgvector operator and matching index operator class for the intended distance metric”. A useful confirmation is “A reference query ranks known neighbors correctly and can use the matching vector index”.

Incorrect Answers

B:

Microsoft Entra authentication can replace static database credentials when both server and app are configured. That does not directly address the situation—A PostgreSQL app uses cosine embeddings but sorts with Euclidean distance and retrieval quality falls. The more suitable choice is “Choose the pgvector operator and matching index operator class for the intended distance metric”: Cosine, inner-product and Euclidean operators have distinct semantics and index classes.

C:

Pool mode must match application reliance on session state and prepared statements. That does not directly address the situation—A PostgreSQL app uses cosine embeddings but sorts with Euclidean distance and retrieval quality falls. The more suitable choice is “Choose the pgvector operator and matching index operator class for the intended distance metric”: Cosine, inner-product and Euclidean operators have distinct semantics and index classes.

D:

Connection pools reuse expensive sessions and cap simultaneous database connections. That does not directly address the situation—A PostgreSQL app uses cosine embeddings but sorts with Euclidean distance and retrieval quality falls. The more suitable choice is “Choose the pgvector operator and matching index operator class for the intended distance metric”: Cosine, inner-product and Euclidean operators have distinct semantics and index classes.

Question 362

A PostgreSQL app uses cosine embeddings but sorts with Euclidean distance and retrieval quality falls. Which test result provides the strongest acceptance evidence?

  1. The app authenticates without a stored long-term password and executes only authorized SQL.
  2. Connection usage falls while transaction correctness and session semantics remain valid.
  3. A reference query ranks known neighbors correctly and can use the matching vector index.
  4. Active connections stay within server limits and query throughput improves.

Explanation

Correct Answer

C:

Cosine, inner-product and Euclidean operators have distinct semantics and index classes. The observed result “A reference query ranks known neighbors correctly and can use the matching vector index” would confirm the change “Choose the pgvector operator and matching index operator class for the intended distance metric” in this situation: A PostgreSQL app uses cosine embeddings but sorts with Euclidean distance and retrieval quality falls.

Incorrect Answers

A:

Microsoft Entra authentication can replace static database credentials when both server and app are configured. The situation here is: A PostgreSQL app uses cosine embeddings but sorts with Euclidean distance and retrieval quality falls. A test of this alternative would miss the specific outcome “A reference query ranks known neighbors correctly and can use the matching vector index”.

B:

Pool mode must match application reliance on session state and prepared statements. The situation here is: A PostgreSQL app uses cosine embeddings but sorts with Euclidean distance and retrieval quality falls. A test of this alternative would miss the specific outcome “A reference query ranks known neighbors correctly and can use the matching vector index”.

D:

Connection pools reuse expensive sessions and cap simultaneous database connections. The situation here is: A PostgreSQL app uses cosine embeddings but sorts with Euclidean distance and retrieval quality falls. A test of this alternative would miss the specific outcome “A reference query ranks known neighbors correctly and can use the matching vector index”.

Question 363

A vector search query's operator does not match the index's configured similarity metric. What change should the developer make FIRST to satisfy the stated need?

  1. Configure Microsoft Entra authentication and obtain supported database tokens from the workload identity.
  2. Choose appropriate connection-pool settings and transaction pooling where driver behavior permits.
  3. Choose the pgvector operator and matching index operator class for the intended distance metric.
  4. Configure supported connection pooling with bounded pool sizes and sensible timeouts.

Explanation

Correct Answer

C:

Cosine, inner-product and Euclidean operators have distinct semantics and index classes. For this situation—A vector search query's operator does not match the index's configured similarity metric—the relevant response is “Choose the pgvector operator and matching index operator class for the intended distance metric”. A useful confirmation is “A reference query ranks known neighbors correctly and can use the matching vector index”.

Incorrect Answers

A:

Microsoft Entra authentication can replace static database credentials when both server and app are configured. That does not directly address the situation—A vector search query's operator does not match the index's configured similarity metric. The more suitable choice is “Choose the pgvector operator and matching index operator class for the intended distance metric”: Cosine, inner-product and Euclidean operators have distinct semantics and index classes.

B:

Pool mode must match application reliance on session state and prepared statements. That does not directly address the situation—A vector search query's operator does not match the index's configured similarity metric. The more suitable choice is “Choose the pgvector operator and matching index operator class for the intended distance metric”: Cosine, inner-product and Euclidean operators have distinct semantics and index classes.

D:

Connection pools reuse expensive sessions and cap simultaneous database connections. That does not directly address the situation—A vector search query's operator does not match the index's configured similarity metric. The more suitable choice is “Choose the pgvector operator and matching index operator class for the intended distance metric”: Cosine, inner-product and Euclidean operators have distinct semantics and index classes.

Question 364

A vector search query's operator does not match the index's configured similarity metric. Which observation BEST confirms the intended behavior after the change?

  1. A reference query ranks known neighbors correctly and can use the matching vector index.
  2. The app authenticates without a stored long-term password and executes only authorized SQL.
  3. Connection usage falls while transaction correctness and session semantics remain valid.
  4. Active connections stay within server limits and query throughput improves.

Explanation

Correct Answer

A:

Cosine, inner-product and Euclidean operators have distinct semantics and index classes. The observed result “A reference query ranks known neighbors correctly and can use the matching vector index” would confirm the change “Choose the pgvector operator and matching index operator class for the intended distance metric” in this situation: A vector search query's operator does not match the index's configured similarity metric.

Incorrect Answers

B:

Microsoft Entra authentication can replace static database credentials when both server and app are configured. The situation here is: A vector search query's operator does not match the index's configured similarity metric. A test of this alternative would miss the specific outcome “A reference query ranks known neighbors correctly and can use the matching vector index”.

C:

Pool mode must match application reliance on session state and prepared statements. The situation here is: A vector search query's operator does not match the index's configured similarity metric. A test of this alternative would miss the specific outcome “A reference query ranks known neighbors correctly and can use the matching vector index”.

D:

Connection pools reuse expensive sessions and cap simultaneous database connections. The situation here is: A vector search query's operator does not match the index's configured similarity metric. A test of this alternative would miss the specific outcome “A reference query ranks known neighbors correctly and can use the matching vector index”.

Question 365

A semantic knowledge base has millions of vectors and exact distance sorting is too slow. Which implementation is MOST appropriate for this requirement?

  1. Version embedding generations and re-embed or isolate documents for compatible retrieval.
  2. Use an index-compatible ORDER BY distance operator and inspect EXPLAIN ANALYZE.
  3. Create an appropriate pgvector HNSW index with a matching distance operator class.
  4. Scale Azure Database for PostgreSQL compute and storage IOPS to measured workload requirements.

Explanation

Correct Answer

C:

HNSW uses an approximate graph structure to accelerate nearest-neighbor lookup. For this situation—A semantic knowledge base has millions of vectors and exact distance sorting is too slow—the relevant response is “Create an appropriate pgvector HNSW index with a matching distance operator class”. A useful confirmation is “A benchmark shows acceptable recall and lower latency than unindexed exact scans”.

Incorrect Answers

A:

Vector spaces from different models are not generally interchangeable even when dimension counts match. That does not directly address the situation—A semantic knowledge base has millions of vectors and exact distance sorting is too slow. The more suitable choice is “Create an appropriate pgvector HNSW index with a matching distance operator class”: HNSW uses an approximate graph structure to accelerate nearest-neighbor lookup.

B:

ANN index use depends on compatible operators, query shape, and planner cost estimates. That does not directly address the situation—A semantic knowledge base has millions of vectors and exact distance sorting is too slow. The more suitable choice is “Create an appropriate pgvector HNSW index with a matching distance operator class”: HNSW uses an approximate graph structure to accelerate nearest-neighbor lookup.

D:

Vector indexing and retrieval consume CPU, memory and I/O resources that must be provisioned adequately. That does not directly address the situation—A semantic knowledge base has millions of vectors and exact distance sorting is too slow. The more suitable choice is “Create an appropriate pgvector HNSW index with a matching distance operator class”: HNSW uses an approximate graph structure to accelerate nearest-neighbor lookup.

Question 366

A semantic knowledge base has millions of vectors and exact distance sorting is too slow. After the proposed remediation, what should be observed?

  1. Searches compare vectors from a consistent embedding version with predictable relevance.
  2. The query plan uses the intended index where beneficial and the result order is correct.
  3. Query latency and resource saturation improve under representative benchmark load.
  4. A benchmark shows acceptable recall and lower latency than unindexed exact scans.

Explanation

Correct Answer

D:

HNSW uses an approximate graph structure to accelerate nearest-neighbor lookup. The observed result “A benchmark shows acceptable recall and lower latency than unindexed exact scans” would confirm the change “Create an appropriate pgvector HNSW index with a matching distance operator class” in this situation: A semantic knowledge base has millions of vectors and exact distance sorting is too slow.

Incorrect Answers

A:

Vector spaces from different models are not generally interchangeable even when dimension counts match. The situation here is: A semantic knowledge base has millions of vectors and exact distance sorting is too slow. A test of this alternative would miss the specific outcome “A benchmark shows acceptable recall and lower latency than unindexed exact scans”.

B:

ANN index use depends on compatible operators, query shape, and planner cost estimates. The situation here is: A semantic knowledge base has millions of vectors and exact distance sorting is too slow. A test of this alternative would miss the specific outcome “A benchmark shows acceptable recall and lower latency than unindexed exact scans”.

C:

Vector indexing and retrieval consume CPU, memory and I/O resources that must be provisioned adequately. The situation here is: A semantic knowledge base has millions of vectors and exact distance sorting is too slow. A test of this alternative would miss the specific outcome “A benchmark shows acceptable recall and lower latency than unindexed exact scans”.

Question 367

A RAG retrieval workload can accept approximate nearest neighbors for much lower query latency. Which technical approach BEST addresses this problem?

  1. Create an appropriate pgvector HNSW index with a matching distance operator class.
  2. Version embedding generations and re-embed or isolate documents for compatible retrieval.
  3. Use an index-compatible ORDER BY distance operator and inspect EXPLAIN ANALYZE.
  4. Scale Azure Database for PostgreSQL compute and storage IOPS to measured workload requirements.

Explanation

Correct Answer

A:

HNSW uses an approximate graph structure to accelerate nearest-neighbor lookup. For this situation—A RAG retrieval workload can accept approximate nearest neighbors for much lower query latency—the relevant response is “Create an appropriate pgvector HNSW index with a matching distance operator class”. A useful confirmation is “A benchmark shows acceptable recall and lower latency than unindexed exact scans”.

Incorrect Answers

B:

Vector spaces from different models are not generally interchangeable even when dimension counts match. That does not directly address the situation—A RAG retrieval workload can accept approximate nearest neighbors for much lower query latency. The more suitable choice is “Create an appropriate pgvector HNSW index with a matching distance operator class”: HNSW uses an approximate graph structure to accelerate nearest-neighbor lookup.

C:

ANN index use depends on compatible operators, query shape, and planner cost estimates. That does not directly address the situation—A RAG retrieval workload can accept approximate nearest neighbors for much lower query latency. The more suitable choice is “Create an appropriate pgvector HNSW index with a matching distance operator class”: HNSW uses an approximate graph structure to accelerate nearest-neighbor lookup.

D:

Vector indexing and retrieval consume CPU, memory and I/O resources that must be provisioned adequately. That does not directly address the situation—A RAG retrieval workload can accept approximate nearest neighbors for much lower query latency. The more suitable choice is “Create an appropriate pgvector HNSW index with a matching distance operator class”: HNSW uses an approximate graph structure to accelerate nearest-neighbor lookup.

Question 368

A RAG retrieval workload can accept approximate nearest neighbors for much lower query latency. What result MOST directly verifies that the solution works?

  1. A benchmark shows acceptable recall and lower latency than unindexed exact scans.
  2. Searches compare vectors from a consistent embedding version with predictable relevance.
  3. The query plan uses the intended index where beneficial and the result order is correct.
  4. Query latency and resource saturation improve under representative benchmark load.

Explanation

Correct Answer

A:

HNSW uses an approximate graph structure to accelerate nearest-neighbor lookup. The observed result “A benchmark shows acceptable recall and lower latency than unindexed exact scans” would confirm the change “Create an appropriate pgvector HNSW index with a matching distance operator class” in this situation: A RAG retrieval workload can accept approximate nearest neighbors for much lower query latency.

Incorrect Answers

B:

Vector spaces from different models are not generally interchangeable even when dimension counts match. The situation here is: A RAG retrieval workload can accept approximate nearest neighbors for much lower query latency. A test of this alternative would miss the specific outcome “A benchmark shows acceptable recall and lower latency than unindexed exact scans”.

C:

ANN index use depends on compatible operators, query shape, and planner cost estimates. The situation here is: A RAG retrieval workload can accept approximate nearest neighbors for much lower query latency. A test of this alternative would miss the specific outcome “A benchmark shows acceptable recall and lower latency than unindexed exact scans”.

D:

Vector indexing and retrieval consume CPU, memory and I/O resources that must be provisioned adequately. The situation here is: A RAG retrieval workload can accept approximate nearest neighbors for much lower query latency. A test of this alternative would miss the specific outcome “A benchmark shows acceptable recall and lower latency than unindexed exact scans”.

Question 369

A pgvector HNSW query returns too few close neighbors after index construction. What change should the developer make FIRST to satisfy the stated need?

  1. Tune supported HNSW search parameters such as ef_search and measure recall.
  2. Use parameterized SQL queries through a supported PostgreSQL driver.
  3. Configure suitable per-session statement timeouts and query limits.
  4. Index the document identifier and use transactions for the document's chunk removal.

Explanation

Correct Answer

A:

HNSW search breadth influences accuracy and latency without changing embedding values. For this situation—A pgvector HNSW query returns too few close neighbors after index construction—the relevant response is “Tune supported HNSW search parameters such as ef_search and measure recall”. A useful confirmation is “The validation set shows improved recall at the chosen performance budget”.

Incorrect Answers

B:

Bound SQL parameters separate untrusted inputs from executable query syntax. That does not directly address the situation—A pgvector HNSW query returns too few close neighbors after index construction. The more suitable choice is “Tune supported HNSW search parameters such as ef_search and measure recall”: HNSW search breadth influences accuracy and latency without changing embedding values.

C:

Statement timeouts constrain runaway SQL execution and preserve capacity for other queries. That does not directly address the situation—A pgvector HNSW query returns too few close neighbors after index construction. The more suitable choice is “Tune supported HNSW search parameters such as ef_search and measure recall”: HNSW search breadth influences accuracy and latency without changing embedding values.

D:

Relational keys and indexes support targeted maintenance independently of the vector index. That does not directly address the situation—A pgvector HNSW query returns too few close neighbors after index construction. The more suitable choice is “Tune supported HNSW search parameters such as ef_search and measure recall”: HNSW search breadth influences accuracy and latency without changing embedding values.

Question 370

A pgvector HNSW query returns too few close neighbors after index construction. Which observation BEST confirms the intended behavior after the change?

  1. Malicious filter text is treated as a value and legitimate search results remain correct.
  2. A deliberately expensive test query terminates at the configured limit without exhausting the pool.
  3. A deletion request removes all matching chunk rows and leaves other documents unchanged.
  4. The validation set shows improved recall at the chosen performance budget.

Explanation

Correct Answer

D:

HNSW search breadth influences accuracy and latency without changing embedding values. The observed result “The validation set shows improved recall at the chosen performance budget” would confirm the change “Tune supported HNSW search parameters such as ef_search and measure recall” in this situation: A pgvector HNSW query returns too few close neighbors after index construction.

Incorrect Answers

A:

Bound SQL parameters separate untrusted inputs from executable query syntax. The situation here is: A pgvector HNSW query returns too few close neighbors after index construction. A test of this alternative would miss the specific outcome “The validation set shows improved recall at the chosen performance budget”.

B:

Statement timeouts constrain runaway SQL execution and preserve capacity for other queries. The situation here is: A pgvector HNSW query returns too few close neighbors after index construction. A test of this alternative would miss the specific outcome “The validation set shows improved recall at the chosen performance budget”.

C:

Relational keys and indexes support targeted maintenance independently of the vector index. The situation here is: A pgvector HNSW query returns too few close neighbors after index construction. A test of this alternative would miss the specific outcome “The validation set shows improved recall at the chosen performance budget”.