Microsoft AI-200 Practice Test 4 - Prepaway
Practice Exams:

Pass Microsoft AI-200 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers!

30 Days Free Updates, Instant Download!

Verified By Experts
Premium Bundle
$14.99
$94.99 $109.98

AI-200 Premium Bundle


  • Premium File 174 Questions & Answers. Last update: Nov 28, 2026
  • Study Guide 153 Pages

Microsoft AI-200 Practice Test 4

Question 30

A team wrote a polling loop inside an Azure Function to check Service Bus for queued jobs and the loop runs continuously without scaling. What would be the strongest observable evidence of successful remediation?

  1. Representative heavy requests finish within a documented service limit without unbounded resource consumption.
  2. One test message invokes the function and failure produces controlled retry or dead-letter behavior.
  3. A permitted test caller invokes the function and an unauthenticated caller is denied.
  4. A controlled invocation stores output in the intended partition or blob with the expected payload.

Explanation

Correct Answer

B:

One test message invokes the function and failure produces controlled retry or dead-letter behavior.

Incorrect Answers

A:

Representative heavy requests finish within a documented service limit without unbounded resource consumption. One test message invokes the function and failure produces controlled retry or dead-letter behavior.

C:

A permitted test caller invokes the function and an unauthenticated caller is denied. One test message invokes the function and failure produces controlled retry or dead-letter behavior.

D:

A controlled invocation stores output in the intended partition or blob with the expected payload. One test message invokes the function and failure produces controlled retry or dead-letter behavior.

Question 31

An Event Grid webhook times out after storing the document, then Event Grid retries and a second duplicate embedding appears. Which explanation accounts for the observed behavior and intended fix?

  1. Custom event publication decouples application domain events from Azure resource system events.
  2. Event Grid retries can deliver an event more than once and consumers must tolerate duplicates.
  3. Event Grid supports push-style resource event notifications that reduce repetitive polling.
  4. Broker-side subscription filtering reduces unnecessary delivery and consumer-side discards.

Explanation

Correct Answer

B:

Event Grid retries can deliver an event more than once and consumers must tolerate duplicates.

Incorrect Answers

A:

Custom event publication decouples application domain events from Azure resource system events. Event Grid retries can deliver an event more than once and consumers must tolerate duplicates.

C:

Event Grid supports push-style resource event notifications that reduce repetitive polling. Event Grid retries can deliver an event more than once and consumers must tolerate duplicates.

D:

Broker-side subscription filtering reduces unnecessary delivery and consumer-side discards. Event Grid retries can deliver an event more than once and consumers must tolerate duplicates.

Question 32

A Redis semantic cache has an HNSW index configured for L2 but its embedding evaluation assumes cosine distance and ranks tests unexpectedly. What technical distinction MOST accurately describes the control boundary?

  1. Hybrid vector filtering adds structural constraints to approximate similarity and reduces inappropriate cache reuse.
  2. Batching independent cache operations can reduce round-trip overhead without changing data semantics.
  3. A vector distance metric is part of the search contract and affects relevance even with identical vectors.
  4. An in-memory cache's eviction policy and capacity determine how frequently cached results survive.

Explanation

Correct Answer

C:

A vector distance metric is part of the search contract and affects relevance even with identical vectors.

Incorrect Answers

A:

Hybrid vector filtering adds structural constraints to approximate similarity and reduces inappropriate cache reuse. A vector distance metric is part of the search contract and affects relevance even with identical vectors.

B:

Batching independent cache operations can reduce round-trip overhead without changing data semantics. A vector distance metric is part of the search contract and affects relevance even with identical vectors.

D:

An in-memory cache's eviction policy and capacity determine how frequently cached results survive. A vector distance metric is part of the search contract and affects relevance even with identical vectors.

Question 33

A RAG ingestion admin screen filters 2000000 metadata records by organization_id and created_at but is slower after data growth. What technical distinction MOST accurately describes the control boundary?

  1. Database authentication and authorization should minimize standing secrets and application privileges.
  2. DiskANN is an available approximate vector indexing option whose suitability depends on workload and service support.
  3. Relational indexing strategy should follow actual predicates, row distribution, and sort requirements.
  4. Parameterized SQL separates untrusted values from executable statement syntax.

Explanation

Correct Answer

C:

Relational indexing strategy should follow actual predicates, row distribution, and sort requirements. The completion signal is: The revised query plan uses a selective index and p95 latency falls on representative data.

Incorrect Answers

A:

Database authentication and authorization should minimize standing secrets and application privileges. The completion signal is: The revised query plan uses a selective index and p95 latency falls on representative data. Relational indexing strategy should follow actual predicates, row distribution, and sort requirements.

B:

DiskANN is an available approximate vector indexing option whose suitability depends on workload and service support. The completion signal is: The revised query plan uses a selective index and p95 latency falls on representative data. Relational indexing strategy should follow actual predicates, row distribution, and sort requirements.

D:

Parameterized SQL separates untrusted values from executable statement syntax. The completion signal is: The revised query plan uses a selective index and p95 latency falls on representative data. Relational indexing strategy should follow actual predicates, row distribution, and sort requirements.

Question 34

An engineer creates an IVFFlat vector index on an empty PostgreSQL table and later sees unstable recall as millions of records arrive. What should the Azure developer recommend FIRST in this situation?

  1. Use typed relational columns for predictable keys and appropriate JSONB for genuinely flexible metadata, with needed indexes.
  2. Introduce an appropriate connection pool or supported PgBouncer configuration and bound concurrency for the server size.
  3. Use an appropriate transaction and referential constraints to commit related relational and vector records atomically.
  4. Load representative vector data before building IVFFlat and tune lists and probes using benchmark queries.

Explanation

Correct Answer

D:

Load representative vector data before building IVFFlat and tune lists and probes using benchmark queries.

Incorrect Answers

A:

Use typed relational columns for predictable keys and appropriate JSONB for genuinely flexible metadata, with needed indexes. Load representative vector data before building IVFFlat and tune lists and probes using benchmark queries.

B:

Introduce an appropriate connection pool or supported PgBouncer configuration and bound concurrency for the server size. Load representative vector data before building IVFFlat and tune lists and probes using benchmark queries.

C:

Use an appropriate transaction and referential constraints to commit related relational and vector records atomically. Load representative vector data before building IVFFlat and tune lists and probes using benchmark queries.

Question 35

Old ephemeral AI conversation records remain indefinitely in Cosmos DB and violate the product's seven-day retention policy. Choose TWO: one appropriate technical intervention and one observable acceptance check for this case.

  1. Add an appropriate SELECT TOP N limit, partition and metadata filters where justified, and benchmark the query.
  2. Configure an appropriate time-to-live policy and item-level retention where required, respecting legal holds.
  3. Evaluate autoscale throughput settings, partition distribution, and retry handling against observed request patterns.
  4. A test session expires according to policy without deleting non-expiring protected records.
  5. A load rehearsal completes with acceptable backoff behavior and controlled RU cost.

Explanation

Correct Answers

B:

Configure an appropriate time-to-live policy and item-level retention where required, respecting legal holds. A test session expires according to policy without deleting non-expiring protected records.

D:

A test session expires according to policy without deleting non-expiring protected records. The accompanying action is to configure an appropriate time-to-live policy and item-level retention where required, respecting legal holds.

Incorrect Answers

A:

Add an appropriate SELECT TOP N limit, partition and metadata filters where justified, and benchmark the query. A test session expires according to policy without deleting non-expiring protected records.

C:

Evaluate autoscale throughput settings, partition distribution, and retry handling against observed request patterns. A test session expires according to policy without deleting non-expiring protected records. Configure an appropriate time-to-live policy and item-level retention where required, respecting legal holds.

E:

A load rehearsal completes with acceptable backoff behavior and controlled RU cost. A test session expires according to policy without deleting non-expiring protected records.

Question 36

A Kubernetes deployment uses a ConfigMap for both a non-sensitive model version and a production database password. What would be the strongest observable evidence of successful remediation?

  1. The pod handles slow requests without a restart loop while actual deadlocks still trigger recovery.
  2. After applying the version-controlled manifest, the intended replica policy persists through redeployment.
  3. The application starts using the managed secret path while model settings remain in the ConfigMap.
  4. The Deployment starts the intended image without storing persistent registry passwords in pod specs.

Explanation

Correct Answer

C:

The application starts using the managed secret path while model settings remain in the ConfigMap.

Incorrect Answers

A:

The pod handles slow requests without a restart loop while actual deadlocks still trigger recovery. The application starts using the managed secret path while model settings remain in the ConfigMap.

B:

After applying the version-controlled manifest, the intended replica policy persists through redeployment. The application starts using the managed secret path while model settings remain in the ConfigMap.

D:

The Deployment starts the intended image without storing persistent registry passwords in pod specs. The application starts using the managed secret path while model settings remain in the ConfigMap.

Question 37

A Function publishes a Service Bus message that triggers another worker, but its trace tree ends at publish and the consumer starts a new unrelated trace. What concept is most relevant to understanding the decision?

  1. KQL summarize and bin aggregate time-series events into operationally comparable intervals.
  2. Distributed tracing requires consistent context propagation, not just a tracing library installed in each service.
  3. Consistent telemetry resource identity is necessary to aggregate distributed service health correctly.
  4. Asynchronous distributed tracing depends on passing or linking context through message metadata.

Explanation

Correct Answer

D:

Asynchronous distributed tracing depends on passing or linking context through message metadata.

Incorrect Answers

A:

KQL summarize and bin aggregate time-series events into operationally comparable intervals. Asynchronous distributed tracing depends on passing or linking context through message metadata.

B:

Distributed tracing requires consistent context propagation, not just a tracing library installed in each service. Asynchronous distributed tracing depends on passing or linking context through message metadata.

C:

Consistent telemetry resource identity is necessary to aggregate distributed service health correctly. Asynchronous distributed tracing depends on passing or linking context through message metadata.

Question 38

A Container Apps worker restarts because a storage token was referenced as a literal value instead of as a named application secret. Choose TWO: one appropriate technical intervention and one observable acceptance check for this case.

  1. Grant the cluster's appropriate kubelet identity registry-pull rights and check the image reference and network path.
  2. Create a named secret securely and reference it from environment variables using the platform's supported secret reference syntax.
  3. The application starts using the managed secret path while model settings remain in the ConfigMap.
  4. The worker reads the intended secret after restart without any raw token in its image definition.
  5. Move the password to a protected Kubernetes Secret or supported external secret provider and use the ConfigMap only for non-secret settings.

Explanation

Correct Answers

B:

Create a named secret securely and reference it from environment variables using the platform's supported secret reference syntax. The worker reads the intended secret after restart without any raw token in its image definition.

D:

The worker reads the intended secret after restart without any raw token in its image definition.

Incorrect Answers

A:

Grant the cluster's appropriate kubelet identity registry-pull rights and check the image reference and network path. The worker reads the intended secret after restart without any raw token in its image definition. Create a named secret securely and reference it from environment variables using the platform's supported secret reference syntax.

C:

The application starts using the managed secret path while model settings remain in the ConfigMap. The worker reads the intended secret after restart without any raw token in its image definition.

E:

Move the password to a protected Kubernetes Secret or supported external secret provider and use the ConfigMap only for non-secret settings. The worker reads the intended secret after restart without any raw token in its image definition.

Question 39

A message-driven vector embedding worker retries and inserts duplicate content rows each time Service Bus redelivers a message. Which explanation accounts for the observed behavior and intended fix?

  1. Transactions and integrity constraints preserve relational consistency when multi-step ingestion fails.
  2. Similarity metric and index operator class must align with the embedding evaluation method.
  3. Vector workload capacity planning must consider compute and indexing, not storage capacity alone.
  4. At-least-once message delivery requires idempotent database mutations for predictable application state.

Explanation

Correct Answer

D:

At-least-once message delivery requires idempotent database mutations for predictable application state.

Incorrect Answers

A:

Transactions and integrity constraints preserve relational consistency when multi-step ingestion fails. At-least-once message delivery requires idempotent database mutations for predictable application state.

B:

Similarity metric and index operator class must align with the embedding evaluation method. At-least-once message delivery requires idempotent database mutations for predictable application state.

C:

Vector workload capacity planning must consider compute and indexing, not storage capacity alone. At-least-once message delivery requires idempotent database mutations for predictable application state.

Question 40

A document indexing process experiences periodic RU throttling at the start of each workday but remains mostly idle overnight. What is the BEST next action for the specific Azure environment described?

  1. Tune included and excluded paths in the indexing policy while preserving indexes required for query predicates.
  2. Choose a supported diskANN vector index for the relevant path and validate approximate recall and RU trade-offs.
  3. Evaluate autoscale throughput settings, partition distribution, and retry handling against observed request patterns.
  4. Configure a shared lease container and compatible processor instance identities, with idempotent processing logic.

Explanation

Correct Answer

C:

Evaluate autoscale throughput settings, partition distribution, and retry handling against observed request patterns. Provisioned throughput governs RU capacity; autoscaling does not eliminate hot-partition or retry considerations.

Incorrect Answers

A:

Tune included and excluded paths in the indexing policy while preserving indexes required for query predicates. Provisioned throughput governs RU capacity; autoscaling does not eliminate hot-partition or retry considerations. Evaluate autoscale throughput settings, partition distribution, and retry handling against observed request patterns.

B:

Choose a supported diskANN vector index for the relevant path and validate approximate recall and RU trade-offs. Provisioned throughput governs RU capacity; autoscaling does not eliminate hot-partition or retry considerations. Evaluate autoscale throughput settings, partition distribution, and retry handling against observed request patterns.

D:

Configure a shared lease container and compatible processor instance identities, with idempotent processing logic. Provisioned throughput governs RU capacity; autoscaling does not eliminate hot-partition or retry considerations. Evaluate autoscale throughput settings, partition distribution, and retry handling against observed request patterns.

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