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 39

Question 380

A retrieval system needs better recall from its inverted-file index without changing the source data. Which observation BEST confirms the intended behavior after the change?

  1. A benchmark shows acceptable recall and lower latency than unindexed exact scans.
  2. All returned nearest neighbors meet the date and tenant filters while ranking semantically.
  3. Benchmarks show more relevant neighbors at an acceptable probe cost.
  4. A curated query set retrieves focused relevant passages with their parent document identities.

Explanation

Correct Answer

C:

IVFFlat probes control how many indexed partitions are searched for approximate matches. The observed result “Benchmarks show more relevant neighbors at an acceptable probe cost” would confirm the change “Increase or tune the number of probed IVFFlat lists within the latency budget” in this situation: A retrieval system needs better recall from its inverted-file index without changing the source data.

Incorrect Answers

A:

HNSW uses an approximate graph structure to accelerate nearest-neighbor lookup. The situation here is: A retrieval system needs better recall from its inverted-file index without changing the source data. A test of this alternative would miss the specific outcome “Benchmarks show more relevant neighbors at an acceptable probe cost”.

B:

PostgreSQL can combine relational filters with embedding distance queries. The situation here is: A retrieval system needs better recall from its inverted-file index without changing the source data. A test of this alternative would miss the specific outcome “Benchmarks show more relevant neighbors at an acceptable probe cost”.

D:

Chunk granularity affects embedding relevance and contextual reconstruction in RAG. The situation here is: A retrieval system needs better recall from its inverted-file index without changing the source data. A test of this alternative would miss the specific outcome “Benchmarks show more relevant neighbors at an acceptable probe cost”.

Question 381

A shared vector table contains one organization's sensitive notes and another's public knowledge articles. Which implementation is MOST appropriate for this requirement?

  1. Include a bound tenant predicate and enforce row-level access controls as appropriate.
  2. Configure Microsoft Entra authentication and obtain supported database tokens from the workload identity.
  3. Increase or tune the number of probed IVFFlat lists within the latency budget.
  4. Choose the pgvector operator and matching index operator class for the intended distance metric.

Explanation

Correct Answer

A:

Vector similarity does not replace SQL tenant isolation or database authorization. For this situation—A shared vector table contains one organization's sensitive notes and another's public knowledge articles—the relevant response is “Include a bound tenant predicate and enforce row-level access controls as appropriate”. A useful confirmation is “A controlled cross-tenant test cannot retrieve rows outside the caller's authorized scope”.

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 shared vector table contains one organization's sensitive notes and another's public knowledge articles. The more suitable choice is “Include a bound tenant predicate and enforce row-level access controls as appropriate”: Vector similarity does not replace SQL tenant isolation or database authorization.

C:

IVFFlat probes control how many indexed partitions are searched for approximate matches. That does not directly address the situation—A shared vector table contains one organization's sensitive notes and another's public knowledge articles. The more suitable choice is “Include a bound tenant predicate and enforce row-level access controls as appropriate”: Vector similarity does not replace SQL tenant isolation or database authorization.

D:

Cosine, inner-product and Euclidean operators have distinct semantics and index classes. That does not directly address the situation—A shared vector table contains one organization's sensitive notes and another's public knowledge articles. The more suitable choice is “Include a bound tenant predicate and enforce row-level access controls as appropriate”: Vector similarity does not replace SQL tenant isolation or database authorization.

Question 382

A shared vector table contains one organization's sensitive notes and another's public knowledge articles. After the proposed remediation, what should be observed?

  1. The app authenticates without a stored long-term password and executes only authorized SQL.
  2. Benchmarks show more relevant neighbors at an acceptable probe cost.
  3. A controlled cross-tenant test cannot retrieve rows outside the caller's authorized scope.
  4. A reference query ranks known neighbors correctly and can use the matching vector index.

Explanation

Correct Answer

C:

Vector similarity does not replace SQL tenant isolation or database authorization. The observed result “A controlled cross-tenant test cannot retrieve rows outside the caller's authorized scope” would confirm the change “Include a bound tenant predicate and enforce row-level access controls as appropriate” in this situation: A shared vector table contains one organization's sensitive notes and another's public knowledge articles.

Incorrect Answers

A:

Microsoft Entra authentication can replace static database credentials when both server and app are configured. The situation here is: A shared vector table contains one organization's sensitive notes and another's public knowledge articles. A test of this alternative would miss the specific outcome “A controlled cross-tenant test cannot retrieve rows outside the caller's authorized scope”.

B:

IVFFlat probes control how many indexed partitions are searched for approximate matches. The situation here is: A shared vector table contains one organization's sensitive notes and another's public knowledge articles. A test of this alternative would miss the specific outcome “A controlled cross-tenant test cannot retrieve rows outside the caller's authorized scope”.

D:

Cosine, inner-product and Euclidean operators have distinct semantics and index classes. The situation here is: A shared vector table contains one organization's sensitive notes and another's public knowledge articles. A test of this alternative would miss the specific outcome “A controlled cross-tenant test cannot retrieve rows outside the caller's authorized scope”.

Question 383

A PostgreSQL similarity query ranks all tenants' notes because its SQL omitted tenant filters. Which technical approach BEST addresses this problem?

  1. Configure Microsoft Entra authentication and obtain supported database tokens from the workload identity.
  2. Increase or tune the number of probed IVFFlat lists within the latency budget.
  3. Choose the pgvector operator and matching index operator class for the intended distance metric.
  4. Include a bound tenant predicate and enforce row-level access controls as appropriate.

Explanation

Correct Answer

D:

Vector similarity does not replace SQL tenant isolation or database authorization. For this situation—A PostgreSQL similarity query ranks all tenants' notes because its SQL omitted tenant filters—the relevant response is “Include a bound tenant predicate and enforce row-level access controls as appropriate”. A useful confirmation is “A controlled cross-tenant test cannot retrieve rows outside the caller's authorized scope”.

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 PostgreSQL similarity query ranks all tenants' notes because its SQL omitted tenant filters. The more suitable choice is “Include a bound tenant predicate and enforce row-level access controls as appropriate”: Vector similarity does not replace SQL tenant isolation or database authorization.

B:

IVFFlat probes control how many indexed partitions are searched for approximate matches. That does not directly address the situation—A PostgreSQL similarity query ranks all tenants' notes because its SQL omitted tenant filters. The more suitable choice is “Include a bound tenant predicate and enforce row-level access controls as appropriate”: Vector similarity does not replace SQL tenant isolation or database authorization.

C:

Cosine, inner-product and Euclidean operators have distinct semantics and index classes. That does not directly address the situation—A PostgreSQL similarity query ranks all tenants' notes because its SQL omitted tenant filters. The more suitable choice is “Include a bound tenant predicate and enforce row-level access controls as appropriate”: Vector similarity does not replace SQL tenant isolation or database authorization.

Question 384

A PostgreSQL similarity query ranks all tenants' notes because its SQL omitted tenant filters. What result MOST directly verifies that the solution works?

  1. The app authenticates without a stored long-term password and executes only authorized SQL.
  2. Benchmarks show more relevant neighbors at an acceptable probe cost.
  3. A reference query ranks known neighbors correctly and can use the matching vector index.
  4. A controlled cross-tenant test cannot retrieve rows outside the caller's authorized scope.

Explanation

Correct Answer

D:

Vector similarity does not replace SQL tenant isolation or database authorization. The observed result “A controlled cross-tenant test cannot retrieve rows outside the caller's authorized scope” would confirm the change “Include a bound tenant predicate and enforce row-level access controls as appropriate” in this situation: A PostgreSQL similarity query ranks all tenants' notes because its SQL omitted tenant filters.

Incorrect Answers

A:

Microsoft Entra authentication can replace static database credentials when both server and app are configured. The situation here is: A PostgreSQL similarity query ranks all tenants' notes because its SQL omitted tenant filters. A test of this alternative would miss the specific outcome “A controlled cross-tenant test cannot retrieve rows outside the caller's authorized scope”.

B:

IVFFlat probes control how many indexed partitions are searched for approximate matches. The situation here is: A PostgreSQL similarity query ranks all tenants' notes because its SQL omitted tenant filters. A test of this alternative would miss the specific outcome “A controlled cross-tenant test cannot retrieve rows outside the caller's authorized scope”.

C:

Cosine, inner-product and Euclidean operators have distinct semantics and index classes. The situation here is: A PostgreSQL similarity query ranks all tenants' notes because its SQL omitted tenant filters. A test of this alternative would miss the specific outcome “A controlled cross-tenant test cannot retrieve rows outside the caller's authorized scope”.

Question 385

A vector app must retrieve only relevant articles published after a certain date. What change should the developer make FIRST to satisfy the stated need?

  1. Add appropriate B-tree or other supported indexes for frequently filtered metadata columns.
  2. Build an appropriate IVFFlat index after loading representative vectors and tune list counts.
  3. Combine vector distance ordering with parameterized SQL metadata predicates and appropriate indexes.
  4. Store stable document and chunk identifiers alongside each embedding row and return them.

Explanation

Correct Answer

C:

PostgreSQL can combine relational filters with embedding distance queries. For this situation—A vector app must retrieve only relevant articles published after a certain date—the relevant response is “Combine vector distance ordering with parameterized SQL metadata predicates and appropriate indexes”. A useful confirmation is “All returned nearest neighbors meet the date and tenant filters while ranking semantically”.

Incorrect Answers

A:

Vector indexes and ordinary metadata indexes solve different query-access problems. That does not directly address the situation—A vector app must retrieve only relevant articles published after a certain date. The more suitable choice is “Combine vector distance ordering with parameterized SQL metadata predicates and appropriate indexes”: PostgreSQL can combine relational filters with embedding distance queries.

B:

IVFFlat partitions vector space using training samples; indexing too early may reduce effectiveness. That does not directly address the situation—A vector app must retrieve only relevant articles published after a certain date. The more suitable choice is “Combine vector distance ordering with parameterized SQL metadata predicates and appropriate indexes”: PostgreSQL can combine relational filters with embedding distance queries.

D:

Relational metadata links vector hits back to source content for traceable generation. That does not directly address the situation—A vector app must retrieve only relevant articles published after a certain date. The more suitable choice is “Combine vector distance ordering with parameterized SQL metadata predicates and appropriate indexes”: PostgreSQL can combine relational filters with embedding distance queries.

Question 386

A vector app must retrieve only relevant articles published after a certain date. Which observation BEST confirms the intended behavior after the change?

  1. EXPLAIN ANALYZE shows efficient metadata filtering and acceptable overall response time.
  2. All returned nearest neighbors meet the date and tenant filters while ranking semantically.
  3. The index produces acceptable recall on the full dataset with measured latency.
  4. Every retrieved chunk includes the correct source document id and passage metadata.

Explanation

Correct Answer

B:

PostgreSQL can combine relational filters with embedding distance queries. The observed result “All returned nearest neighbors meet the date and tenant filters while ranking semantically” would confirm the change “Combine vector distance ordering with parameterized SQL metadata predicates and appropriate indexes” in this situation: A vector app must retrieve only relevant articles published after a certain date.

Incorrect Answers

A:

Vector indexes and ordinary metadata indexes solve different query-access problems. The situation here is: A vector app must retrieve only relevant articles published after a certain date. A test of this alternative would miss the specific outcome “All returned nearest neighbors meet the date and tenant filters while ranking semantically”.

C:

IVFFlat partitions vector space using training samples; indexing too early may reduce effectiveness. The situation here is: A vector app must retrieve only relevant articles published after a certain date. A test of this alternative would miss the specific outcome “All returned nearest neighbors meet the date and tenant filters while ranking semantically”.

D:

Relational metadata links vector hits back to source content for traceable generation. The situation here is: A vector app must retrieve only relevant articles published after a certain date. A test of this alternative would miss the specific outcome “All returned nearest neighbors meet the date and tenant filters while ranking semantically”.

Question 387

A PostgreSQL RAG query needs semantic similarity together with ordinary metadata conditions. Which configuration should the engineer implement?

  1. Add appropriate B-tree or other supported indexes for frequently filtered metadata columns.
  2. Build an appropriate IVFFlat index after loading representative vectors and tune list counts.
  3. Store stable document and chunk identifiers alongside each embedding row and return them.
  4. Combine vector distance ordering with parameterized SQL metadata predicates and appropriate indexes.

Explanation

Correct Answer

D:

PostgreSQL can combine relational filters with embedding distance queries. For this situation—A PostgreSQL RAG query needs semantic similarity together with ordinary metadata conditions—the relevant response is “Combine vector distance ordering with parameterized SQL metadata predicates and appropriate indexes”. A useful confirmation is “All returned nearest neighbors meet the date and tenant filters while ranking semantically”.

Incorrect Answers

A:

Vector indexes and ordinary metadata indexes solve different query-access problems. That does not directly address the situation—A PostgreSQL RAG query needs semantic similarity together with ordinary metadata conditions. The more suitable choice is “Combine vector distance ordering with parameterized SQL metadata predicates and appropriate indexes”: PostgreSQL can combine relational filters with embedding distance queries.

B:

IVFFlat partitions vector space using training samples; indexing too early may reduce effectiveness. That does not directly address the situation—A PostgreSQL RAG query needs semantic similarity together with ordinary metadata conditions. The more suitable choice is “Combine vector distance ordering with parameterized SQL metadata predicates and appropriate indexes”: PostgreSQL can combine relational filters with embedding distance queries.

C:

Relational metadata links vector hits back to source content for traceable generation. That does not directly address the situation—A PostgreSQL RAG query needs semantic similarity together with ordinary metadata conditions. The more suitable choice is “Combine vector distance ordering with parameterized SQL metadata predicates and appropriate indexes”: PostgreSQL can combine relational filters with embedding distance queries.

Question 388

A PostgreSQL RAG query needs semantic similarity together with ordinary metadata conditions. Which test result provides the strongest acceptance evidence?

  1. EXPLAIN ANALYZE shows efficient metadata filtering and acceptable overall response time.
  2. All returned nearest neighbors meet the date and tenant filters while ranking semantically.
  3. The index produces acceptable recall on the full dataset with measured latency.
  4. Every retrieved chunk includes the correct source document id and passage metadata.

Explanation

Correct Answer

B:

PostgreSQL can combine relational filters with embedding distance queries. The observed result “All returned nearest neighbors meet the date and tenant filters while ranking semantically” would confirm the change “Combine vector distance ordering with parameterized SQL metadata predicates and appropriate indexes” in this situation: A PostgreSQL RAG query needs semantic similarity together with ordinary metadata conditions.

Incorrect Answers

A:

Vector indexes and ordinary metadata indexes solve different query-access problems. The situation here is: A PostgreSQL RAG query needs semantic similarity together with ordinary metadata conditions. A test of this alternative would miss the specific outcome “All returned nearest neighbors meet the date and tenant filters while ranking semantically”.

C:

IVFFlat partitions vector space using training samples; indexing too early may reduce effectiveness. The situation here is: A PostgreSQL RAG query needs semantic similarity together with ordinary metadata conditions. A test of this alternative would miss the specific outcome “All returned nearest neighbors meet the date and tenant filters while ranking semantically”.

D:

Relational metadata links vector hits back to source content for traceable generation. The situation here is: A PostgreSQL RAG query needs semantic similarity together with ordinary metadata conditions. A test of this alternative would miss the specific outcome “All returned nearest neighbors meet the date and tenant filters while ranking semantically”.

Question 389

A developer interpolates free-text metadata directly into a PostgreSQL search SQL string. Which technical approach BEST addresses this problem?

  1. Implement appropriate PostgreSQL row-level security policies with tested role scoping.
  2. Combine vector distance ordering with parameterized SQL metadata predicates and appropriate indexes.
  3. Use an index-compatible ORDER BY distance operator and inspect EXPLAIN ANALYZE.
  4. Use parameterized SQL queries through a supported PostgreSQL driver.

Explanation

Correct Answer

D:

Bound SQL parameters separate untrusted inputs from executable query syntax. For this situation—A developer interpolates free-text metadata directly into a PostgreSQL search SQL string—the relevant response is “Use parameterized SQL queries through a supported PostgreSQL driver”. A useful confirmation is “Malicious filter text is treated as a value and legitimate search results remain correct”.

Incorrect Answers

A:

Database-enforced row-level security protects data independently of application filter correctness. That does not directly address the situation—A developer interpolates free-text metadata directly into a PostgreSQL search SQL string. The more suitable choice is “Use parameterized SQL queries through a supported PostgreSQL driver”: Bound SQL parameters separate untrusted inputs from executable query syntax.

B:

PostgreSQL can combine relational filters with embedding distance queries. That does not directly address the situation—A developer interpolates free-text metadata directly into a PostgreSQL search SQL string. The more suitable choice is “Use parameterized SQL queries through a supported PostgreSQL driver”: Bound SQL parameters separate untrusted inputs from executable query syntax.

C:

ANN index use depends on compatible operators, query shape, and planner cost estimates. That does not directly address the situation—A developer interpolates free-text metadata directly into a PostgreSQL search SQL string. The more suitable choice is “Use parameterized SQL queries through a supported PostgreSQL driver”: Bound SQL parameters separate untrusted inputs from executable query syntax.

Question 390

A developer interpolates free-text metadata directly into a PostgreSQL search SQL string. What result MOST directly verifies that the solution works?

  1. Malicious filter text is treated as a value and legitimate search results remain correct.
  2. An unauthorized role cannot SELECT another tenant's rows even through a broad query.
  3. All returned nearest neighbors meet the date and tenant filters while ranking semantically.
  4. The query plan uses the intended index where beneficial and the result order is correct.

Explanation

Correct Answer

A:

Bound SQL parameters separate untrusted inputs from executable query syntax. The observed result “Malicious filter text is treated as a value and legitimate search results remain correct” would confirm the change “Use parameterized SQL queries through a supported PostgreSQL driver” in this situation: A developer interpolates free-text metadata directly into a PostgreSQL search SQL string.

Incorrect Answers

B:

Database-enforced row-level security protects data independently of application filter correctness. The situation here is: A developer interpolates free-text metadata directly into a PostgreSQL search SQL string. A test of this alternative would miss the specific outcome “Malicious filter text is treated as a value and legitimate search results remain correct”.

C:

PostgreSQL can combine relational filters with embedding distance queries. The situation here is: A developer interpolates free-text metadata directly into a PostgreSQL search SQL string. A test of this alternative would miss the specific outcome “Malicious filter text is treated as a value and legitimate search results remain correct”.

D:

ANN index use depends on compatible operators, query shape, and planner cost estimates. The situation here is: A developer interpolates free-text metadata directly into a PostgreSQL search SQL string. A test of this alternative would miss the specific outcome “Malicious filter text is treated as a value and legitimate search results remain correct”.