McAfee Secured

Exam Code: AI-200

Exam Name: Developing AI Cloud Solutions on Azure

Certification Provider: Microsoft

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!

174 Questions & Answers with Testing Engine

"Developing AI Cloud Solutions on Azure Exam", also known as AI-200 exam, is a Microsoft certification exam.

Pass your tests with the always up-to-date AI-200 Exam Engine. Your AI-200 training materials keep you at the head of the pack!

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
Was: $137.49
Now: $124.99

Microsoft AI-200 Practice Test 34

Question 330

A model migration switches embeddings to 3072 dimensions, while the Azure PostgreSQL table column remains defined as vector(1536); inserts fail. What is the most targeted next step after confirming the cause?

  1. Use a dimension-compatible storage design or compatible embedding output and migrate existing vectors deliberately.
  2. Create or select an appropriate ANN index with the cosine operator class matching the production query's distance operator.
  3. Evaluate and build an HNSW or IVFFlat index with the matching distance operator and acceptable recall targets.
  4. Allowlist and install the supported vector extension in that database before creating vector columns and indexes.

Explanation

Correct Answer

A:

Use a dimension-compatible storage design or compatible embedding output and migrate existing vectors deliberately. The reported insertion error names a dimension mismatch between vector column size and the supplied embedding array.

Incorrect Answers

B:

Create or select an appropriate ANN index with the cosine operator class matching the production query's distance operator. This would address PostgreSQL cosine operator class alignment, not PostgreSQL vector dimension mismatch.

C:

Evaluate and build an HNSW or IVFFlat index with the matching distance operator and acceptable recall targets. This would address PostgreSQL approximate-neighbor indexing, not PostgreSQL vector dimension mismatch.

D:

Allowlist and install the supported vector extension in that database before creating vector columns and indexes. This would address PostgreSQL pgvector extension installation, not PostgreSQL vector dimension mismatch.

Question 331

A retrieval query orders neighbors with cosine distance, but its HNSW index was built using an L2 operator class and is not chosen for that query. Which corrective action is most appropriate for this situation?

  1. Evaluate and build an HNSW or IVFFlat index with the matching distance operator and acceptable recall targets.
  2. Create or select an appropriate ANN index with the cosine operator class matching the production query's distance operator.
  3. Use a dimension-compatible storage design or compatible embedding output and migrate existing vectors deliberately.
  4. Allowlist and install the supported vector extension in that database before creating vector columns and indexes.

Explanation

Correct Answer

B:

Create or select an appropriate ANN index with the cosine operator class matching the production query's distance operator. EXPLAIN shows a sequential scan for the cosine ordering while the index definition specifies vector_l2_ops.

Incorrect Answers

A:

Evaluate and build an HNSW or IVFFlat index with the matching distance operator and acceptable recall targets. This would address PostgreSQL approximate-neighbor indexing, not PostgreSQL cosine operator class alignment.

C:

Use a dimension-compatible storage design or compatible embedding output and migrate existing vectors deliberately. This would address PostgreSQL vector dimension mismatch, not PostgreSQL cosine operator class alignment.

D:

Allowlist and install the supported vector extension in that database before creating vector columns and indexes. This would address PostgreSQL pgvector extension installation, not PostgreSQL cosine operator class alignment.

Question 332

An AI recommendations table grows to several million rows; a plain ORDER BY embedding distance LIMIT 10 query scans the entire vector column and misses latency targets. What is the most targeted next step after confirming the cause?

  1. Use a dimension-compatible storage design or compatible embedding output and migrate existing vectors deliberately.
  2. Create or select an appropriate ANN index with the cosine operator class matching the production query's distance operator.
  3. Evaluate and build an HNSW or IVFFlat index with the matching distance operator and acceptable recall targets.
  4. Allowlist and install the supported vector extension in that database before creating vector columns and indexes.

Explanation

Correct Answer

C:

Evaluate and build an HNSW or IVFFlat index with the matching distance operator and acceptable recall targets. EXPLAIN ANALYZE shows an expensive sequential vector distance scan with no compatible approximate-nearest-neighbor index.

Incorrect Answers

A:

Use a dimension-compatible storage design or compatible embedding output and migrate existing vectors deliberately. This would address PostgreSQL vector dimension mismatch, not PostgreSQL approximate-neighbor indexing.

B:

Create or select an appropriate ANN index with the cosine operator class matching the production query's distance operator. This would address PostgreSQL cosine operator class alignment, not PostgreSQL approximate-neighbor indexing.

D:

Allowlist and install the supported vector extension in that database before creating vector columns and indexes. This would address PostgreSQL pgvector extension installation, not PostgreSQL approximate-neighbor indexing.

Question 333

A RAG service stores rich per-document metadata in a JSONB column and frequently filters for a nested accessLevel value; these filters scan many rows. Which corrective action is most appropriate for this situation?

  1. Use a suitable PostgreSQL text storage type and keep explicit application-level chunk-size limits where needed.
  2. Enforce a suitable unique key for source document identity and use an idempotent upsert pattern.
  3. Store normalized UTC or appropriate timezone-aware timestamps and convert only at presentation boundaries.
  4. Add an appropriate JSONB GIN index for the actual containment query and verify query-plan improvement.

Explanation

Correct Answer

D:

Add an appropriate JSONB GIN index for the actual containment query and verify query-plan improvement. EXPLAIN ANALYZE shows repeated sequential scans for a JSONB containment predicate without a suitable GIN index.

Incorrect Answers

A:

Use a suitable PostgreSQL text storage type and keep explicit application-level chunk-size limits where needed. This would address PostgreSQL large text chunk storage, not PostgreSQL metadata JSONB indexing.

B:

Enforce a suitable unique key for source document identity and use an idempotent upsert pattern. This would address PostgreSQL document identifier uniqueness, not PostgreSQL metadata JSONB indexing.

C:

Store normalized UTC or appropriate timezone-aware timestamps and convert only at presentation boundaries. This would address PostgreSQL timezone-aware timestamp modeling, not PostgreSQL metadata JSONB indexing.

Question 334

An ingestion process creates multiple embedding rows with the same upstream document ID, and later retrieval returns duplicate passages after message redelivery. What is the most targeted next step after confirming the cause?

  1. Add an appropriate JSONB GIN index for the actual containment query and verify query-plan improvement.
  2. Enforce a suitable unique key for source document identity and use an idempotent upsert pattern.
  3. Store normalized UTC or appropriate timezone-aware timestamps and convert only at presentation boundaries.
  4. Use a suitable PostgreSQL text storage type and keep explicit application-level chunk-size limits where needed.

Explanation

Correct Answer

B:

Enforce a suitable unique key for source document identity and use an idempotent upsert pattern. The embeddings table has no unique constraint on the upstream document key and duplicate business IDs exist.

Incorrect Answers

A:

Add an appropriate JSONB GIN index for the actual containment query and verify query-plan improvement. This would address PostgreSQL metadata JSONB indexing, not PostgreSQL document identifier uniqueness.

C:

Store normalized UTC or appropriate timezone-aware timestamps and convert only at presentation boundaries. This would address PostgreSQL timezone-aware timestamp modeling, not PostgreSQL document identifier uniqueness.

D:

Use a suitable PostgreSQL text storage type and keep explicit application-level chunk-size limits where needed. This would address PostgreSQL large text chunk storage, not PostgreSQL document identifier uniqueness.

Question 335

An Azure PostgreSQL audit table stores naive local timestamps for model events, and queries across two regions show confusing event order. Which corrective action is most appropriate for this situation?

  1. Store normalized UTC or appropriate timezone-aware timestamps and convert only at presentation boundaries.
  2. Enforce a suitable unique key for source document identity and use an idempotent upsert pattern.
  3. Use a suitable PostgreSQL text storage type and keep explicit application-level chunk-size limits where needed.
  4. Add an appropriate JSONB GIN index for the actual containment query and verify query-plan improvement.

Explanation

Correct Answer

A:

Store normalized UTC or appropriate timezone-aware timestamps and convert only at presentation boundaries. The column uses timestamp without time zone and the inserted values originate from different local time zones.

Incorrect Answers

B:

Enforce a suitable unique key for source document identity and use an idempotent upsert pattern. This would address PostgreSQL document identifier uniqueness, not PostgreSQL timezone-aware timestamp modeling.

C:

Use a suitable PostgreSQL text storage type and keep explicit application-level chunk-size limits where needed. This would address PostgreSQL large text chunk storage, not PostgreSQL timezone-aware timestamp modeling.

D:

Add an appropriate JSONB GIN index for the actual containment query and verify query-plan improvement. This would address PostgreSQL metadata JSONB indexing, not PostgreSQL timezone-aware timestamp modeling.

Question 336

A document-ingestion schema truncates extracted source passages to 255 characters before generating embeddings, despite longer paragraph input. What is the most targeted next step after confirming the cause?

  1. Enforce a suitable unique key for source document identity and use an idempotent upsert pattern.
  2. Use a suitable PostgreSQL text storage type and keep explicit application-level chunk-size limits where needed.
  3. Add an appropriate JSONB GIN index for the actual containment query and verify query-plan improvement.
  4. Store normalized UTC or appropriate timezone-aware timestamps and convert only at presentation boundaries.

Explanation

Correct Answer

B:

Use a suitable PostgreSQL text storage type and keep explicit application-level chunk-size limits where needed. The table column is constrained to VARCHAR(255) and ingestion logs show discarded text beyond the field limit.

Incorrect Answers

A:

Enforce a suitable unique key for source document identity and use an idempotent upsert pattern. This would address PostgreSQL document identifier uniqueness, not PostgreSQL large text chunk storage.

C:

Add an appropriate JSONB GIN index for the actual containment query and verify query-plan improvement. This would address PostgreSQL metadata JSONB indexing, not PostgreSQL large text chunk storage.

D:

Store normalized UTC or appropriate timezone-aware timestamps and convert only at presentation boundaries. This would address PostgreSQL timezone-aware timestamp modeling, not PostgreSQL large text chunk storage.

Question 337

A large HNSW index build on Azure PostgreSQL takes much longer after the graph no longer fits its configured maintenance work memory. Which corrective action is most appropriate for this situation?

  1. Tune maintenance_work_mem within the server's available memory and rebuild under a controlled capacity plan.
  2. Tune hnsw.ef_search against latency and recall benchmarks instead of accepting the lowest default search effort.
  3. Load representative embeddings before building or deliberately rebuild the IVFFlat index and retest recall.
  4. Run appropriate ANALYZE or autovacuum maintenance and inspect plan selection after updated statistics.

Explanation

Correct Answer

A:

Tune maintenance_work_mem within the server's available memory and rebuild under a controlled capacity plan. Index build logs indicate graph growth beyond maintenance_work_mem and progress slows significantly.

Incorrect Answers

B:

Tune hnsw.ef_search against latency and recall benchmarks instead of accepting the lowest default search effort. This would address PostgreSQL HNSW search recall parameter, not PostgreSQL HNSW build memory budget.

C:

Load representative embeddings before building or deliberately rebuild the IVFFlat index and retest recall. This would address PostgreSQL IVFFlat training before load, not PostgreSQL HNSW build memory budget.

D:

Run appropriate ANALYZE or autovacuum maintenance and inspect plan selection after updated statistics. This would address PostgreSQL stale query planner statistics, not PostgreSQL HNSW build memory budget.

Question 338

A team builds an IVFFlat index on a nearly empty PostgreSQL embedding table and later loads millions of documents; recall is unexpectedly poor. What is the most targeted next step after confirming the cause?

  1. Run appropriate ANALYZE or autovacuum maintenance and inspect plan selection after updated statistics.
  2. Tune hnsw.ef_search against latency and recall benchmarks instead of accepting the lowest default search effort.
  3. Tune maintenance_work_mem within the server's available memory and rebuild under a controlled capacity plan.
  4. Load representative embeddings before building or deliberately rebuild the IVFFlat index and retest recall.

Explanation

Correct Answer

D:

Load representative embeddings before building or deliberately rebuild the IVFFlat index and retest recall. The index was trained before representative vectors existed and the list partitioning does not reflect the loaded corpus.

Incorrect Answers

A:

Run appropriate ANALYZE or autovacuum maintenance and inspect plan selection after updated statistics. This would address PostgreSQL stale query planner statistics, not PostgreSQL IVFFlat training before load.

B:

Tune hnsw.ef_search against latency and recall benchmarks instead of accepting the lowest default search effort. This would address PostgreSQL HNSW search recall parameter, not PostgreSQL IVFFlat training before load.

C:

Tune maintenance_work_mem within the server's available memory and rebuild under a controlled capacity plan. This would address PostgreSQL HNSW build memory budget, not PostgreSQL IVFFlat training before load.

Question 339

An HNSW-backed recommendation query is fast but recall drops on complex user requests after the ef_search setting was lowered sharply. Which corrective action is most appropriate for this situation?

  1. Load representative embeddings before building or deliberately rebuild the IVFFlat index and retest recall.
  2. Tune hnsw.ef_search against latency and recall benchmarks instead of accepting the lowest default search effort.
  3. Tune maintenance_work_mem within the server's available memory and rebuild under a controlled capacity plan.
  4. Run appropriate ANALYZE or autovacuum maintenance and inspect plan selection after updated statistics.

Explanation

Correct Answer

B:

Tune hnsw.ef_search against latency and recall benchmarks instead of accepting the lowest default search effort. A benchmark shows higher recall when the HNSW candidate-search breadth is increased on the same corpus.

Incorrect Answers

A:

Load representative embeddings before building or deliberately rebuild the IVFFlat index and retest recall. This would address PostgreSQL IVFFlat training before load, not PostgreSQL HNSW search recall parameter.

C:

Tune maintenance_work_mem within the server's available memory and rebuild under a controlled capacity plan. This would address PostgreSQL HNSW build memory budget, not PostgreSQL HNSW search recall parameter.

D:

Run appropriate ANALYZE or autovacuum maintenance and inspect plan selection after updated statistics. This would address PostgreSQL stale query planner statistics, not PostgreSQL HNSW search recall parameter.

Question 340

After bulk loading embeddings, an indexed vector query unexpectedly switches to an inefficient plan with estimates far below the table's real size. What is the most targeted next step after confirming the cause?

  1. Load representative embeddings before building or deliberately rebuild the IVFFlat index and retest recall.
  2. Tune hnsw.ef_search against latency and recall benchmarks instead of accepting the lowest default search effort.
  3. Run appropriate ANALYZE or autovacuum maintenance and inspect plan selection after updated statistics.
  4. Tune maintenance_work_mem within the server's available memory and rebuild under a controlled capacity plan.

Explanation

Correct Answer

C:

Run appropriate ANALYZE or autovacuum maintenance and inspect plan selection after updated statistics. EXPLAIN reports stale row-count estimates and the table has not been analyzed since the bulk import.

Incorrect Answers

A:

Load representative embeddings before building or deliberately rebuild the IVFFlat index and retest recall. This would address PostgreSQL IVFFlat training before load, not PostgreSQL stale query planner statistics.

B:

Tune hnsw.ef_search against latency and recall benchmarks instead of accepting the lowest default search effort. This would address PostgreSQL HNSW search recall parameter, not PostgreSQL stale query planner statistics.

D:

Tune maintenance_work_mem within the server's available memory and rebuild under a controlled capacity plan. This would address PostgreSQL HNSW build memory budget, not PostgreSQL stale query planner statistics.

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