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 25

Question 240

A user updates a chat summary through one Cosmos DB client then immediately reads through a different service and occasionally sees the old summary. What is the most targeted next step after confirming the cause?

  1. Supply the document's actual partition key in the point-read SDK call and retry.
  2. Carry the relevant session token where session-consistency read-your-writes is required or use a suitable consistency strategy.
  3. Reload the current ETag and reconcile the update rather than assuming a stale read session.
  4. Change the item's intended TTL policy or retain necessary history in a durable record.

Explanation

Correct Answer

B:

Carry the relevant session token where session-consistency read-your-writes is required or use a suitable consistency strategy. The writer's session token is not propagated to the read path and requests are served through different client sessions.

Incorrect Answers

A:

Supply the document's actual partition key in the point-read SDK call and retry. This would address Cosmos DB point-read wrong partition key, not Cosmos DB session consistency token.

C:

Reload the current ETag and reconcile the update rather than assuming a stale read session. This would address Cosmos DB optimistic concurrency conflict, not Cosmos DB session consistency token.

D:

Change the item's intended TTL policy or retain necessary history in a durable record. This would address Cosmos DB TTL expiration removal, not Cosmos DB session consistency token.

Question 241

An AI search API filters Cosmos DB documents on /category, but its indexing policy explicitly excludes that property and query request units rise. Which corrective action is most appropriate for this situation?

  1. Update the indexing strategy for frequently filtered query paths with a measured indexing-cost tradeoff.
  2. Prefer continuation-token paging or a stable cursor strategy instead of deep OFFSET scans for the workload.
  3. Choose a higher-cardinality partitioning approach aligned to access patterns and migrate data with a deliberate plan.
  4. Apply bounded concurrency and respect the SDK's retry-after guidance while tuning provisioned throughput where justified.

Explanation

Correct Answer

A:

Update the indexing strategy for frequently filtered query paths with a measured indexing-cost tradeoff. The container indexing policy excludes the frequently filtered category path and query metrics show high RU usage.

Incorrect Answers

B:

Prefer continuation-token paging or a stable cursor strategy instead of deep OFFSET scans for the workload. This would address Cosmos DB offset paging cost, not Cosmos DB excluded query path index.

C:

Choose a higher-cardinality partitioning approach aligned to access patterns and migrate data with a deliberate plan. This would address Cosmos DB hot logical partition, not Cosmos DB excluded query path index.

D:

Apply bounded concurrency and respect the SDK's retry-after guidance while tuning provisioned throughput where justified. This would address Cosmos DB request-rate 429 backoff, not Cosmos DB excluded query path index.

Question 242

A Cosmos DB container partitions by a constant sourceType field, and one ingestion source accounts for 95 percent of traffic, causing hot-partition throttling. What is the most targeted next step after confirming the cause?

  1. Use bounded retries that respect the server-advertised backoff interval.
  2. Choose a higher-cardinality partitioning approach aligned to access patterns and migrate data with a deliberate plan.
  3. Scope single-tenant reads by partition key and choose a partition-aware query pattern.
  4. Measure total RU demand and increase or autoscale capacity within budget after tuning query cost.

Explanation

Correct Answer

B:

Choose a higher-cardinality partitioning approach aligned to access patterns and migrate data with a deliberate plan. Normalized RU metrics concentrate on a single logical partition key value while other partitions remain lightly loaded.

Incorrect Answers

A:

Use bounded retries that respect the server-advertised backoff interval. This would address Cosmos DB SDK retry policy too aggressive, not Cosmos DB hot logical partition.

C:

Scope single-tenant reads by partition key and choose a partition-aware query pattern. This would address Cosmos DB cross-partition query fan-out, not Cosmos DB hot logical partition.

D:

Measure total RU demand and increase or autoscale capacity within budget after tuning query cost. This would address Cosmos DB low total provisioned RUs, not Cosmos DB hot logical partition.

Question 243

A chatbot transcript browser fetches page 500 using a huge OFFSET LIMIT query against Cosmos DB for NoSQL and RU costs increase rapidly with page depth. Which corrective action is most appropriate for this situation?

  1. Choose a higher-cardinality partitioning approach aligned to access patterns and migrate data with a deliberate plan.
  2. Apply bounded concurrency and respect the SDK's retry-after guidance while tuning provisioned throughput where justified.
  3. Update the indexing strategy for frequently filtered query paths with a measured indexing-cost tradeoff.
  4. Prefer continuation-token paging or a stable cursor strategy instead of deep OFFSET scans for the workload.

Explanation

Correct Answer

D:

Prefer continuation-token paging or a stable cursor strategy instead of deep OFFSET scans for the workload. Query diagnostics show higher execution work and RU charge as OFFSET grows even though the returned page size stays constant.

Incorrect Answers

A:

Choose a higher-cardinality partitioning approach aligned to access patterns and migrate data with a deliberate plan. This would address Cosmos DB hot logical partition, not Cosmos DB offset paging cost.

B:

Apply bounded concurrency and respect the SDK's retry-after guidance while tuning provisioned throughput where justified. This would address Cosmos DB request-rate 429 backoff, not Cosmos DB offset paging cost.

C:

Update the indexing strategy for frequently filtered query paths with a measured indexing-cost tradeoff. This would address Cosmos DB excluded query path index, not Cosmos DB offset paging cost.

Question 244

A batch vector ingestion job fires thousands of concurrent Cosmos DB writes, receives 429 rate-limited responses, and treats all of them as permanent failure. What is the most targeted next step after confirming the cause?

  1. Apply bounded concurrency and respect the SDK's retry-after guidance while tuning provisioned throughput where justified.
  2. Update the indexing strategy for frequently filtered query paths with a measured indexing-cost tradeoff.
  3. Prefer continuation-token paging or a stable cursor strategy instead of deep OFFSET scans for the workload.
  4. Choose a higher-cardinality partitioning approach aligned to access patterns and migrate data with a deliberate plan.

Explanation

Correct Answer

A:

Apply bounded concurrency and respect the SDK's retry-after guidance while tuning provisioned throughput where justified. SDK diagnostics include HTTP 429 and an explicit retry-after interval during RU saturation.

Incorrect Answers

B:

Update the indexing strategy for frequently filtered query paths with a measured indexing-cost tradeoff. This would address Cosmos DB excluded query path index, not Cosmos DB request-rate 429 backoff.

C:

Prefer continuation-token paging or a stable cursor strategy instead of deep OFFSET scans for the workload. This would address Cosmos DB offset paging cost, not Cosmos DB request-rate 429 backoff.

D:

Choose a higher-cardinality partitioning approach aligned to access patterns and migrate data with a deliberate plan. This would address Cosmos DB hot logical partition, not Cosmos DB request-rate 429 backoff.

Question 245

A change feed processor never starts listening after a role migration, even though the source container has new documents. Which corrective action is most appropriate for this situation?

  1. Make downstream embedding updates idempotent using stable document IDs and version information before checkpointing.
  2. Grant scoped lease-container data permissions and validate a processor instance acquiring and updating its lease.
  3. Initialize the change feed start position and lease state for the required historical backfill policy.
  4. Implement an explicit soft-delete marker or choose a supported change feed mode that meets deletion requirements.

Explanation

Correct Answer

B:

Grant scoped lease-container data permissions and validate a processor instance acquiring and updating its lease. The processor can read source data but lacks permission to create or update its lease container checkpoints.

Incorrect Answers

A:

Make downstream embedding updates idempotent using stable document IDs and version information before checkpointing. This would address Cosmos DB change feed replay idempotency, not Cosmos DB change feed lease container permissions.

C:

Initialize the change feed start position and lease state for the required historical backfill policy. This would address Cosmos DB change feed start position, not Cosmos DB change feed lease container permissions.

D:

Implement an explicit soft-delete marker or choose a supported change feed mode that meets deletion requirements. This would address Cosmos DB default change feed delete visibility, not Cosmos DB change feed lease container permissions.

Question 246

An ingestion service is deployed to backfill historical document changes, but its new feed processor starts only from the current point onward. What is the most targeted next step after confirming the cause?

  1. Make downstream embedding updates idempotent using stable document IDs and version information before checkpointing.
  2. Implement an explicit soft-delete marker or choose a supported change feed mode that meets deletion requirements.
  3. Initialize the change feed start position and lease state for the required historical backfill policy.
  4. Grant scoped lease-container data permissions and validate a processor instance acquiring and updating its lease.

Explanation

Correct Answer

C:

Initialize the change feed start position and lease state for the required historical backfill policy. Processor configuration explicitly starts from now rather than from the beginning or required continuation point.

Incorrect Answers

A:

Make downstream embedding updates idempotent using stable document IDs and version information before checkpointing. This would address Cosmos DB change feed replay idempotency, not Cosmos DB change feed start position.

B:

Implement an explicit soft-delete marker or choose a supported change feed mode that meets deletion requirements. This would address Cosmos DB default change feed delete visibility, not Cosmos DB change feed start position.

D:

Grant scoped lease-container data permissions and validate a processor instance acquiring and updating its lease. This would address Cosmos DB change feed lease container permissions, not Cosmos DB change feed start position.

Question 247

A change feed consumer writes embeddings to an external index and occasionally duplicates them after a restart between processing and checkpoint. Which corrective action is most appropriate for this situation?

  1. Make downstream embedding updates idempotent using stable document IDs and version information before checkpointing.
  2. Grant scoped lease-container data permissions and validate a processor instance acquiring and updating its lease.
  3. Initialize the change feed start position and lease state for the required historical backfill policy.
  4. Implement an explicit soft-delete marker or choose a supported change feed mode that meets deletion requirements.

Explanation

Correct Answer

A:

Make downstream embedding updates idempotent using stable document IDs and version information before checkpointing. The same document change can be reprocessed when the lease checkpoint has not advanced after an external write.

Incorrect Answers

B:

Grant scoped lease-container data permissions and validate a processor instance acquiring and updating its lease. This would address Cosmos DB change feed lease container permissions, not Cosmos DB change feed replay idempotency.

C:

Initialize the change feed start position and lease state for the required historical backfill policy. This would address Cosmos DB change feed start position, not Cosmos DB change feed replay idempotency.

D:

Implement an explicit soft-delete marker or choose a supported change feed mode that meets deletion requirements. This would address Cosmos DB default change feed delete visibility, not Cosmos DB change feed replay idempotency.

Question 248

An AI catalog pipeline relies on the standard latest-version change feed to remove embeddings when a source item is hard-deleted, but deletion produces no matching event. What is the most targeted next step after confirming the cause?

  1. Initialize the change feed start position and lease state for the required historical backfill policy.
  2. Make downstream embedding updates idempotent using stable document IDs and version information before checkpointing.
  3. Implement an explicit soft-delete marker or choose a supported change feed mode that meets deletion requirements.
  4. Grant scoped lease-container data permissions and validate a processor instance acquiring and updating its lease.

Explanation

Correct Answer

C:

Implement an explicit soft-delete marker or choose a supported change feed mode that meets deletion requirements. The configured change feed mode surfaces creates and updates but not physical deletes of source items.

Incorrect Answers

A:

Initialize the change feed start position and lease state for the required historical backfill policy. This would address Cosmos DB change feed start position, not Cosmos DB default change feed delete visibility.

B:

Make downstream embedding updates idempotent using stable document IDs and version information before checkpointing. This would address Cosmos DB change feed replay idempotency, not Cosmos DB default change feed delete visibility.

D:

Grant scoped lease-container data permissions and validate a processor instance acquiring and updating its lease. This would address Cosmos DB change feed lease container permissions, not Cosmos DB default change feed delete visibility.

Question 249

A Cosmos DB knowledge base stores embeddings calibrated for cosine similarity, but the container policy uses Euclidean distance and retrieval ordering disagrees with the validated benchmark. Which corrective action is most appropriate for this situation?

  1. Reembed or separate incompatible model-version corpora and query using a consistent embedding space.
  2. Tune supported approximate search parameters against a held-out retrieval benchmark or select exact indexing for strict recall needs.
  3. Scope the vector query to the known partition key where supported and enforce the tenant predicate for the request.
  4. Plan a compatible container policy and migrate vectors using the intended cosine distance metric for consistent retrieval.

Explanation

Correct Answer

D:

Plan a compatible container policy and migrate vectors using the intended cosine distance metric for consistent retrieval. The configured vector embedding distance function differs from the cosine metric used in the model evaluation.

Incorrect Answers

A:

Reembed or separate incompatible model-version corpora and query using a consistent embedding space. This would address Cosmos DB embedding model version mixing, not Cosmos DB vector distance metric mismatch.

B:

Tune supported approximate search parameters against a held-out retrieval benchmark or select exact indexing for strict recall needs. This would address Cosmos DB approximate vector recall tradeoff, not Cosmos DB vector distance metric mismatch.

C:

Scope the vector query to the known partition key where supported and enforce the tenant predicate for the request. This would address Cosmos DB vector query tenant partition design, not Cosmos DB vector distance metric mismatch.

Question 250

A search team migrates to a new embedding model with the same vector dimension but leaves half its Cosmos DB records embedded by the old model. What is the most targeted next step after confirming the cause?

  1. Reembed or separate incompatible model-version corpora and query using a consistent embedding space.
  2. Plan a compatible container policy and migrate vectors using the intended cosine distance metric for consistent retrieval.
  3. Scope the vector query to the known partition key where supported and enforce the tenant predicate for the request.
  4. Tune supported approximate search parameters against a held-out retrieval benchmark or select exact indexing for strict recall needs.

Explanation

Correct Answer

A:

Reembed or separate incompatible model-version corpora and query using a consistent embedding space. Vector metadata shows two distinct embedding model versions despite equal-length arrays in one search corpus.

Incorrect Answers

B:

Plan a compatible container policy and migrate vectors using the intended cosine distance metric for consistent retrieval. This would address Cosmos DB vector distance metric mismatch, not Cosmos DB embedding model version mixing.

C:

Scope the vector query to the known partition key where supported and enforce the tenant predicate for the request. This would address Cosmos DB vector query tenant partition design, not Cosmos DB embedding model version mixing.

D:

Tune supported approximate search parameters against a held-out retrieval benchmark or select exact indexing for strict recall needs. This would address Cosmos DB approximate vector recall tradeoff, not Cosmos DB embedding model version mixing.

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