Microsoft AI-200 Exam Dumps, Practice Test Questions

100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!

Microsoft AI-200  Premium File
$76.99
$69.99

AI-200 Premium File

  • Premium File: 174 Questions & Answers. Last update: Nov 9, 2026
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates

AI-200 Premium File

Microsoft AI-200  Premium File
  • Premium File: 174 Questions & Answers. Last update: Nov 9, 2026
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
$76.99
$69.99

Microsoft AI-200 Practice Test 32

Question 310

A Python service must connect securely to PostgreSQL with credentials that vary by environment. Which concrete setup step puts this selected approach into operation: Use the PostgreSQL SDK/driver with environment-provided connection settings and TLS validation.

  1. Declare the vector dimension precisely and create an HNSW index using the desired distance operator class.
  2. Run a bounded exact vector distance query on a representative dataset and retain its top-K IDs.
  3. Create a driver connection using the authorized connection URI and required SSL mode or certificate verification.
  4. Preserve and supply the appropriate session token through the Cosmos DB SDK request workflow.

Explanation

Correct Answer

C:

Create a driver connection using the authorized connection URI and required SSL mode or certificate verification. This is the actionable setup step for the selected design. Database drivers need appropriate TLS configuration when connecting to secured PostgreSQL endpoints.

Incorrect Answers

A:

Declare the vector dimension precisely and create an HNSW index using the desired distance operator class. Instead, create a driver connection using the authorized connection URI and required SSL mode or certificate verification.

B:

Run a bounded exact vector distance query on a representative dataset and retain its top-K IDs. Instead, create a driver connection using the authorized connection URI and required SSL mode or certificate verification.

D:

Preserve and supply the appropriate session token through the Cosmos DB SDK request workflow. Instead, create a driver connection using the authorized connection URI and required SSL mode or certificate verification.

Question 311

A Python service must connect securely to PostgreSQL with credentials that vary by environment. What outcome should be checked before the engineering change is accepted?

  1. EXPLAIN confirms appropriate index usage on representative nearest-neighbor queries.
  2. EXPLAIN shows that the metadata predicate avoids unnecessary full-table filtering.
  3. Container creation accepts the vector policy and similarity queries return results.
  4. A secure connection is established and a parameterized test query succeeds.

Explanation

Correct Answer

D:

A secure connection is established and a parameterized test query succeeds. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Database drivers need appropriate TLS configuration when connecting to secured PostgreSQL endpoints.

Incorrect Answers

A:

EXPLAIN confirms appropriate index usage on representative nearest-neighbor queries. Here, a secure connection is established and a parameterized test query succeeds.

B:

EXPLAIN shows that the metadata predicate avoids unnecessary full-table filtering. Here, a secure connection is established and a parameterized test query succeeds.

C:

Container creation accepts the vector policy and similarity queries return results. Here, a secure connection is established and a parameterized test query succeeds.

Question 312

A Python service must connect securely to PostgreSQL with credentials that vary by environment. After rollout the observed failure is: The app fails TLS negotiation even though the server and credentials are reachable. What best explains it?

  1. The client SSL mode or trust chain is incompatible with the PostgreSQL server's TLS requirements.
  2. The index build workload exceeds provisioned memory or maintenance resource settings.
  3. The IVFFlat probes setting is too low for the desired recall.
  4. The caller did not preserve the session consistency token across the workflow.

Explanation

Correct Answer

A:

The client SSL mode or trust chain is incompatible with the PostgreSQL server's TLS requirements. The described symptom and this root cause fit together. Database drivers need appropriate TLS configuration when connecting to secured PostgreSQL endpoints.

Incorrect Answers

B:

The index build workload exceeds provisioned memory or maintenance resource settings. Here, the client SSL mode or trust chain is incompatible with the PostgreSQL server's TLS requirements.

C:

The IVFFlat probes setting is too low for the desired recall. Here, the client SSL mode or trust chain is incompatible with the PostgreSQL server's TLS requirements.

D:

The caller did not preserve the session consistency token across the workflow. Here, the client SSL mode or trust chain is incompatible with the PostgreSQL server's TLS requirements.

Question 313

A PostgreSQL semantic retrieval endpoint accepts a user-entered search category in the SQL predicate. Which architecture most directly addresses the required outcome?

  1. Right-size compute for vector indexing and query load rather than increasing only storage.
  2. Use a fixed 1536-dimensional vector column within the relevant pgvector indexing constraints.
  3. Use parameterized SQL instead of concatenating user-supplied values into a query string.
  4. Use Azure Managed Redis as a short-lived read-through cache for the FAQ retrieval result.

Explanation

Correct Answer

C:

Use parameterized SQL instead of concatenating user-supplied values into a query string. It directly addresses the architecture in this case. Parameterized queries separate user values from SQL structure.

Incorrect Answers

A:

Right-size compute for vector indexing and query load rather than increasing only storage. Compute, memory and storage capacity have distinct effects on vector workloads. Instead, use parameterized SQL instead of concatenating user-supplied values into a query string.

B:

Use a fixed 1536-dimensional vector column within the relevant pgvector indexing constraints. Pgvector indexing supports defined dimensional ranges and the column type must match the model output. Instead, use parameterized SQL instead of concatenating user-supplied values into a query string.

D:

Use Azure Managed Redis as a short-lived read-through cache for the FAQ retrieval result. A read-through cache only helps when subsequent reads use the same populated key. Instead, use parameterized SQL instead of concatenating user-supplied values into a query string.

Question 314

A PostgreSQL semantic retrieval endpoint accepts a user-entered search category in the SQL predicate. The team has selected this architecture: Use parameterized SQL instead of concatenating user-supplied values into a query string. Which action correctly implements it?

  1. Create a versioned embedding column or table and rebuild its corresponding dimension-matched index.
  2. Add a time or active-state WHERE filter using an indexed document metadata column.
  3. Exclude the unused large property from ordinary JSON indexing while preserving the separate vector index policy.
  4. Pass the category and tenant ID as bound parameters to the PostgreSQL driver.

Explanation

Correct Answer

D:

Pass the category and tenant ID as bound parameters to the PostgreSQL driver. This is the actionable setup step for the selected design. Parameterized queries separate user values from SQL structure.

Incorrect Answers

A:

Create a versioned embedding column or table and rebuild its corresponding dimension-matched index. Here, pass the category and tenant ID as bound parameters to the PostgreSQL driver.

B:

Add a time or active-state WHERE filter using an indexed document metadata column. Here, pass the category and tenant ID as bound parameters to the PostgreSQL driver.

C:

Exclude the unused large property from ordinary JSON indexing while preserving the separate vector index policy. Here, pass the category and tenant ID as bound parameters to the PostgreSQL driver.

Question 315

A PostgreSQL semantic retrieval endpoint accepts a user-entered search category in the SQL predicate. After configuring the solution, which measurable result would demonstrate success?

  1. Special characters in the category are treated as data and cannot modify the SQL syntax.
  2. A top-K ORDER BY embedding-distance query returns the expected tenant-scoped candidates.
  3. The closest known test vector appears before the more distant test vector.
  4. Overall ingestion throughput improves while request charge and throttling metrics remain observable.

Explanation

Correct Answer

A:

Special characters in the category are treated as data and cannot modify the SQL syntax. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Parameterized queries separate user values from SQL structure.

Incorrect Answers

B:

A top-K ORDER BY embedding-distance query returns the expected tenant-scoped candidates. Here, special characters in the category are treated as data and cannot modify the SQL syntax.

C:

The closest known test vector appears before the more distant test vector. Here, special characters in the category are treated as data and cannot modify the SQL syntax.

D:

Overall ingestion throughput improves while request charge and throttling metrics remain observable. Here, special characters in the category are treated as data and cannot modify the SQL syntax.

Question 316

A PostgreSQL semantic retrieval endpoint accepts a user-entered search category in the SQL predicate. During a trial, the team sees this problem: An apostrophe in a user category breaks the SQL statement and changes the query text. Which cause is most consistent?

  1. The vector-result cache is not invalidated after the underlying document changes.
  2. The application interpolates unescaped user input into executable SQL.
  3. The similarity query ignores the active-state or freshness filter.
  4. The collection is below the minimum vector population needed for the approximate index to avoid full-scan behavior.

Explanation

Correct Answer

B:

The application interpolates unescaped user input into executable SQL. The described symptom and this root cause fit together. Parameterized queries separate user values from SQL structure.

Incorrect Answers

A:

The vector-result cache is not invalidated after the underlying document changes. Here, the application interpolates unescaped user input into executable SQL.

C:

The similarity query ignores the active-state or freshness filter. Here, the application interpolates unescaped user input into executable SQL.

D:

The collection is below the minimum vector population needed for the approximate index to avoid full-scan behavior. Here, the application interpolates unescaped user input into executable SQL.

Question 317

A team uses the cosine distance operator in a pgvector query but creates an L2 operator-class index. What primary technical approach is best justified by these constraints?

  1. Prefer HNSW for an index that can be built before the collection contains training rows.
  2. Inspect the actual query plan instead of assuming the index is active.
  3. Use the distance metric matching the embedding model and index declaration.
  4. Use a vector index with an operator class matching cosine distance.

Explanation

Correct Answer

D:

Use a vector index with an operator class matching cosine distance. It directly addresses the architecture in this case. pgvector operator classes must align with the distance metric used in ORDER BY.

Incorrect Answers

A:

Prefer HNSW for an index that can be built before the collection contains training rows. HNSW does not require IVFFlat-style clustering training and can be created before loading data. Instead, use a vector index with an operator class matching cosine distance.

B:

Inspect the actual query plan instead of assuming the index is active. EXPLAIN ANALYZE reveals the actual plan and execution cost to diagnose index usage. Instead, use a vector index with an operator class matching cosine distance.

C:

Use the distance metric matching the embedding model and index declaration. Vector similarity requires consistent distance metric semantics. Instead, use a vector index with an operator class matching cosine distance.

Question 318

A team uses the cosine distance operator in a pgvector query but creates an L2 operator-class index. After deciding to use a vector index with an operator class matching cosine distance, what configuration is most relevant?

  1. Create an index using the cosine operator class and query with its corresponding distance operator.
  2. Create a versioned embedding column or table and rebuild its corresponding dimension-matched index.
  3. Tune maintenance_work_mem and server resources with measurement before large index builds.
  4. Add read regions and set the preferred region order in the SDK client configuration.

Explanation

Correct Answer

A:

Create an index using the cosine operator class and query with its corresponding distance operator. This is the actionable setup step for the selected design. pgvector operator classes must align with the distance metric used in ORDER BY.

Incorrect Answers

B:

Create a versioned embedding column or table and rebuild its corresponding dimension-matched index. Instead, create an index using the cosine operator class and query with its corresponding distance operator.

C:

Tune maintenance_work_mem and server resources with measurement before large index builds. Instead, create an index using the cosine operator class and query with its corresponding distance operator.

D:

Add read regions and set the preferred region order in the SDK client configuration. Instead, create an index using the cosine operator class and query with its corresponding distance operator.

Question 319

A team uses the cosine distance operator in a pgvector query but creates an L2 operator-class index. Which validation result is the strongest evidence that the intended behavior works?

  1. Index creation uses the intended loaded dataset and representative queries meet the recall target.
  2. The optimizer can use the cosine index for representative nearest-neighbor queries.
  3. The old L2 index still exists even while the query plan reports a sequential scan for cosine distance.
  4. Vector queries against the migrated collection use the new policy and return expected results.

Explanation

Correct Answer

B:

The optimizer can use the cosine index for representative nearest-neighbor queries. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. pgvector operator classes must align with the distance metric used in ORDER BY.

Incorrect Answers

A:

Index creation uses the intended loaded dataset and representative queries meet the recall target. Here, the optimizer can use the cosine index for representative nearest-neighbor queries.

C:

The old L2 index still exists even while the query plan reports a sequential scan for cosine distance. Having the mismatched L2 index present does not demonstrate that cosine-distance queries can use an appropriately configured cosine operator-class index.

D:

Vector queries against the migrated collection use the new policy and return expected results. Here, the optimizer can use the cosine index for representative nearest-neighbor queries.

Question 320

A team uses the cosine distance operator in a pgvector query but creates an L2 operator-class index. Production telemetry shows: A newly created vector index is ignored for cosine similarity searches. Which underlying issue should be investigated first?

  1. The new model emits vectors with different dimensions than the existing column.
  2. The vector-result cache is not invalidated after the underlying document changes.
  3. The index was built for a different distance operator class.
  4. The Redis search index schema lacks the embedding vector field or proper configuration.

Explanation

Correct Answer

C:

The index was built for a different distance operator class. The described symptom and this root cause fit together. pgvector operator classes must align with the distance metric used in ORDER BY.

Incorrect Answers

A:

The new model emits vectors with different dimensions than the existing column. Here, the index was built for a different distance operator class.

B:

The vector-result cache is not invalidated after the underlying document changes. Here, the index was built for a different distance operator class.

D:

The Redis search index schema lacks the embedding vector field or proper configuration. Here, the index was built for a different distance operator class.

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

UP

SPECIAL OFFER: GET 10% OFF

This is ONE TIME OFFER

ExamSnap Discount Offer
Enter Your Email Address to Receive Your 10% Off Discount Code

A confirmation link will be sent to this email address to verify your login. *We value your privacy. We will not rent or sell your email address.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.