100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 260
A semantic search app sees frequent HTTP 429 responses from Cosmos DB during traffic bursts. Production telemetry shows: The API retries throttled reads immediately in a tight loop and latency worsens. Which underlying issue should be investigated first?
- Both independent workflows unintentionally share the same lease coordination identity.
- The configured latest-version change feed does not surface ordinary delete events as expected.
- The vector column was declared without a concrete dimension for the index.
- The custom retry loop ignores the service-provided backoff interval.
Explanation
Correct Answer
D:The custom retry loop ignores the service-provided backoff interval. The described symptom and this root cause fit together. Cosmos DB throughput throttling needs controlled retries and adequate RU capacity.
Incorrect Answers
A:Both independent workflows unintentionally share the same lease coordination identity. Here, the custom retry loop ignores the service-provided backoff interval.
B:The configured latest-version change feed does not surface ordinary delete events as expected. Here, the custom retry loop ignores the service-provided backoff interval.
C:The vector column was declared without a concrete dimension for the index. Here, the custom retry loop ignores the service-provided backoff interval.
Question 261
A global AI API must keep reads close to users but retain a clearly controlled write topology. Which design decision should the team make first?
- Use the Cosmos DB change feed processor to react to inserted and updated items.
- Select appropriate Cosmos DB read-region configuration with the desired write-region policy.
- Plan a new compatible container or documented migration for vector-policy changes that cannot be modified in place.
- Keep embedding-model versions explicit and avoid ranking vectors from incompatible model spaces together.
Explanation
Correct Answer
B:Select appropriate Cosmos DB read-region configuration with the desired write-region policy. It directly addresses the architecture in this case. Cosmos DB client region preferences influence regional read routing.
Incorrect Answers
A:Use the Cosmos DB change feed processor to react to inserted and updated items. The change feed processor tracks progress with leases and checkpoints to support resumed processing. Instead, select appropriate Cosmos DB read-region configuration with the desired write-region policy.
C:Plan a new compatible container or documented migration for vector-policy changes that cannot be modified in place. Vector embedding and indexing policy mutability is constrained and should be designed early. Instead, select appropriate Cosmos DB read-region configuration with the desired write-region policy.
D:Keep embedding-model versions explicit and avoid ranking vectors from incompatible model spaces together. Embedding similarity only has meaningful interpretation for compatible model spaces. Instead, select appropriate Cosmos DB read-region configuration with the desired write-region policy.
Question 262
A global AI API must keep reads close to users but retain a clearly controlled write topology. Which concrete setup step puts this selected approach into operation: Select appropriate Cosmos DB read-region configuration with the desired write-region policy.
- Design the delete pipeline to publish an explicit deletion event or use a change feed mode that surfaces deletions where supported.
- Configure a flat vector index for the embedding path using a dimension count within its limit.
- Add read regions and set the preferred region order in the SDK client configuration.
- Delete or version the affected cache entry when the backing product is modified.
Explanation
Correct Answer
C:Add read regions and set the preferred region order in the SDK client configuration. This is the actionable setup step for the selected design. Cosmos DB client region preferences influence regional read routing.
Incorrect Answers
A:Design the delete pipeline to publish an explicit deletion event or use a change feed mode that surfaces deletions where supported. Instead, add read regions and set the preferred region order in the SDK client configuration.
B:Configure a flat vector index for the embedding path using a dimension count within its limit. Instead, add read regions and set the preferred region order in the SDK client configuration.
D:Delete or version the affected cache entry when the backing product is modified. Instead, add read regions and set the preferred region order in the SDK client configuration.
Question 263
A global AI API must keep reads close to users but retain a clearly controlled write topology. What outcome should be checked before the engineering change is accepted?
- The optimized query shows lower median request charge while returning the same expected items.
- Write RU charges decrease without losing required vector similarity query behavior.
- The service still returns authoritative data on a cache miss and repopulates as appropriate.
- Read requests from the regional app prefer the configured healthy nearby replica.
Explanation
Correct Answer
D:Read requests from the regional app prefer the configured healthy nearby replica. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Cosmos DB client region preferences influence regional read routing.
Incorrect Answers
A:The optimized query shows lower median request charge while returning the same expected items. Instead, read requests from the regional app prefer the configured healthy nearby replica.
B:Write RU charges decrease without losing required vector similarity query behavior. Instead, read requests from the regional app prefer the configured healthy nearby replica.
C:The service still returns authoritative data on a cache miss and repopulates as appropriate. Instead, read requests from the regional app prefer the configured healthy nearby replica.
Question 264
A global AI API must keep reads close to users but retain a clearly controlled write topology. After rollout the observed failure is: The EU app reads from a distant region despite a healthy nearby read region. What best explains it?
- The SDK's preferred-region ordering is not configured for the regional deployment.
- The workload is exceeding provisioned throughput without respecting 429 retry guidance.
- The selected flat vector index exceeds its supported dimension limit.
- The IVFFlat index was built before sufficient representative vectors were loaded.
Explanation
Correct Answer
A:The SDK's preferred-region ordering is not configured for the regional deployment. The described symptom and this root cause fit together. Cosmos DB client region preferences influence regional read routing.
Incorrect Answers
B:The workload is exceeding provisioned throughput without respecting 429 retry guidance. Here, the SDK's preferred-region ordering is not configured for the regional deployment.
C:The selected flat vector index exceeds its supported dimension limit. Here, the SDK's preferred-region ordering is not configured for the regional deployment.
D:The IVFFlat index was built before sufficient representative vectors were loaded. Here, the SDK's preferred-region ordering is not configured for the regional deployment.
Question 265
An AI ingestion service needs to know whether a Cosmos DB query is slow because of bad indexing rather than client network delay. Which architecture most directly addresses the required outcome?
- Choose the flat vector index strategy when exact recall is required within its supported dimensions.
- Limit vector results to a bounded top-K query matching the prompt's evidence budget.
- Inspect Cosmos DB query metrics and index utilization information alongside client timing.
- Use a vector index with an operator class matching cosine distance.
Explanation
Correct Answer
C:Inspect Cosmos DB query metrics and index utilization information alongside client timing. It directly addresses the architecture in this case. Application scaling does not fix a NoSQL query that is poorly indexed or nonselective.
Incorrect Answers
A:Choose the flat vector index strategy when exact recall is required within its supported dimensions. A flat vector index performs exact similarity lookup within its supported constraints. Instead, inspect Cosmos DB query metrics and index utilization information alongside client timing.
B:Limit vector results to a bounded top-K query matching the prompt's evidence budget. A bounded top-K query limits the number of vector candidates returned and scanned by later stages. Instead, inspect Cosmos DB query metrics and index utilization information alongside client timing.
D:Use a vector index with an operator class matching cosine distance. pgvector operator classes must align with the distance metric used in ORDER BY. Instead, inspect Cosmos DB query metrics and index utilization information alongside client timing.
Question 266
An AI ingestion service needs to know whether a Cosmos DB query is slow because of bad indexing rather than client network delay. The team has selected this architecture: Inspect Cosmos DB query metrics and index utilization information alongside client timing. Which action correctly implements it?
- Record RequestCharge across representative SDK queries and inspect cross-partition metrics.
- Enable and use the SDK's bulk operation mode with appropriate concurrency and request budgeting.
- Cache tenant-scoped top-K result IDs with a suitable TTL and invalidate them after relevant updates.
- Enable diagnostics for the representative query and inspect its index metrics or query plan.
Explanation
Correct Answer
D:Enable diagnostics for the representative query and inspect its index metrics or query plan. This is the actionable setup step for the selected design. Application scaling does not fix a NoSQL query that is poorly indexed or nonselective.
Incorrect Answers
A:Record RequestCharge across representative SDK queries and inspect cross-partition metrics. Instead, enable diagnostics for the representative query and inspect its index metrics or query plan.
B:Enable and use the SDK's bulk operation mode with appropriate concurrency and request budgeting. Instead, enable diagnostics for the representative query and inspect its index metrics or query plan.
C:Cache tenant-scoped top-K result IDs with a suitable TTL and invalidate them after relevant updates. Instead, enable diagnostics for the representative query and inspect its index metrics or query plan.
Question 267
An AI ingestion service needs to know whether a Cosmos DB query is slow because of bad indexing rather than client network delay. After configuring the solution, which measurable result would demonstrate success?
- Reported index utilization improves after the relevant indexing policy change.
- An attempted duplicate ID in the same partition returns a conflict instead of overwriting existing embeddings.
- VectorDistance top-K queries use the configured vector index and return relevant candidate documents.
- Database active connections remain bounded while request throughput improves.
Explanation
Correct Answer
A:Reported index utilization improves after the relevant indexing policy change. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Application scaling does not fix a NoSQL query that is poorly indexed or nonselective.
Incorrect Answers
B:An attempted duplicate ID in the same partition returns a conflict instead of overwriting existing embeddings. Here, reported index utilization improves after the relevant indexing policy change.
C:VectorDistance top-K queries use the configured vector index and return relevant candidate documents. Here, reported index utilization improves after the relevant indexing policy change.
D:Database active connections remain bounded while request throughput improves. Here, reported index utilization improves after the relevant indexing policy change.
Question 268
An AI ingestion service needs to know whether a Cosmos DB query is slow because of bad indexing rather than client network delay. During a trial, the team sees this problem: Client latency remains high after adding more app instances because the query still scans many records. Which cause is most consistent?
- The selected flat vector index exceeds its supported dimension limit.
- The query lacks an appropriate indexed path or selective predicate.
- The container partition key is unrelated to the customer lookup pattern.
- The frequent metadata filter lacks a selective supporting index.
Explanation
Correct Answer
B:The query lacks an appropriate indexed path or selective predicate. The described symptom and this root cause fit together. Application scaling does not fix a NoSQL query that is poorly indexed or nonselective.
Incorrect Answers
A:The selected flat vector index exceeds its supported dimension limit. Here, the query lacks an appropriate indexed path or selective predicate.
C:The container partition key is unrelated to the customer lookup pattern. Here, the query lacks an appropriate indexed path or selective predicate.
D:The frequent metadata filter lacks a selective supporting index. Here, the query lacks an appropriate indexed path or selective predicate.
Question 269
A retrieval system stores embeddings in a Cosmos DB container but plans to change the vector index definition after production launch. What primary technical approach is best justified by these constraints?
- Tune the ordinary indexing policy to avoid unnecessary indexing cost for fields that do not require JSON predicates.
- Use item ETags and conditional writes for concurrency control.
- Inspect the actual query plan instead of assuming the index is active.
- Plan a new compatible container or documented migration for vector-policy changes that cannot be modified in place.
Explanation
Correct Answer
D:Plan a new compatible container or documented migration for vector-policy changes that cannot be modified in place. It directly addresses the architecture in this case. Vector embedding and indexing policy mutability is constrained and should be designed early.
Incorrect Answers
A:Tune the ordinary indexing policy to avoid unnecessary indexing cost for fields that do not require JSON predicates. Ordinary property indexing and vector indexing can be configured separately for different workloads. Instead, plan a new compatible container or documented migration for vector-policy changes that cannot be modified in place.
B:Use item ETags and conditional writes for concurrency control. Optimistic concurrency makes a stale ETag fail rather than silently losing an update. Instead, plan a new compatible container or documented migration for vector-policy changes that cannot be modified in place.
C: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, plan a new compatible container or documented migration for vector-policy changes that cannot be modified in place.
Question 270
A retrieval system stores embeddings in a Cosmos DB container but plans to change the vector index definition after production launch. After deciding to plan a new compatible container or documented migration for vector-policy changes that cannot be modified in place, what configuration is most relevant?
- Create a destination container with the desired vector embedding/indexing policy and migrate the relevant documents.
- Create a compatible 1536-dimensional vector policy with a matching supported vector-index type.
- Add read regions and set the preferred region order in the SDK client configuration.
- Enable the supported vector extension and declare an embedding column with a fixed vector dimension.
Explanation
Correct Answer
A:Create a destination container with the desired vector embedding/indexing policy and migrate the relevant documents. This is the actionable setup step for the selected design. Vector embedding and indexing policy mutability is constrained and should be designed early.
Incorrect Answers
B:Create a compatible 1536-dimensional vector policy with a matching supported vector-index type. Instead, create a destination container with the desired vector embedding/indexing policy and migrate the relevant documents.
C:Add read regions and set the preferred region order in the SDK client configuration. Instead, create a destination container with the desired vector embedding/indexing policy and migrate the relevant documents.
D:Enable the supported vector extension and declare an embedding column with a fixed vector dimension. Instead, create a destination container with the desired vector embedding/indexing policy and migrate the relevant documents.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests