Microsoft AI-200 Practice Test 41 - 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 41

Question 400

An updated RAG backend must pass a smoke test before its production traffic is switched to the new container build. Which TWO selections jointly address the reported risk and demonstrate success?

  1. Move environment-specific connection settings to App Service application configuration and restart or deploy with the correct values.
  2. The staging health check passes before promotion and rollback restores the known-good version.
  3. Deploy the candidate to a staging slot with slot-specific settings and perform tested slot swap or safe promotion.
  4. Configure an ACR Task with an appropriate base-image update trigger and validate its downstream promotion gate.
  5. A synthetic failing request produces a timestamped stack trace linked to the application instance.

Explanation

Correct Answers

B:

The staging health check passes before promotion and rollback restores the known-good version. An updated RAG backend must pass a smoke test before its production traffic is switched to the new container build.

C:

Deploy the candidate to a staging slot with slot-specific settings and perform tested slot swap or safe promotion. An updated RAG backend must pass a smoke test before its production traffic is switched to the new container build.

Incorrect Answers

A:

Move environment-specific connection settings to App Service application configuration and restart or deploy with the correct values. An updated RAG backend must pass a smoke test before its production traffic is switched to the new container build. The staging health check passes before promotion and rollback restores the known-good version.

D:

Configure an ACR Task with an appropriate base-image update trigger and validate its downstream promotion gate. An updated RAG backend must pass a smoke test before its production traffic is switched to the new container build. Deploy the candidate to a staging slot with slot-specific settings and perform tested slot swap or safe promotion.

E:

A synthetic failing request produces a timestamped stack trace linked to the application instance. An updated RAG backend must pass a smoke test before its production traffic is switched to the new container build. The staging health check passes before promotion and rollback restores the known-good version.

Question 401

A RAG service runs a full-collection query over many tenants to retrieve a single customer's recent feedback and consumes excessive Request Units. What is the BEST next action for the specific Azure environment described?

  1. Configure a shared lease container and compatible processor instance identities, with idempotent processing logic.
  2. Use an appropriate tenant partition key and a scoped query predicate or point-read pattern for customer-specific retrieval.
  3. Supply both the document id and correct partition key for point reads rather than assuming id is globally unique.
  4. Enforce tenant authorization and partition-aware metadata filtering alongside VectorDistance and any vector index.

Explanation

Correct Answer

B:

Use an appropriate tenant partition key and a scoped query predicate or point-read pattern for customer-specific retrieval.

Incorrect Answers

A:

Configure a shared lease container and compatible processor instance identities, with idempotent processing logic. Use an appropriate tenant partition key and a scoped query predicate or point-read pattern for customer-specific retrieval.

C:

Supply both the document id and correct partition key for point reads rather than assuming id is globally unique. Use an appropriate tenant partition key and a scoped query predicate or point-read pattern for customer-specific retrieval.

D:

Enforce tenant authorization and partition-aware metadata filtering alongside VectorDistance and any vector index. Use an appropriate tenant partition key and a scoped query predicate or point-read pattern for customer-specific retrieval.

Question 402

A deployment slot swap causes the staging function to start sending production secrets and events to a test queue. Select TWO statements: the most appropriate corrective action and its direct verification result.

  1. Mark environment-specific connection settings appropriately and verify swap behavior on the supported hosting configuration.
  2. A test approval resumes the orchestration at the expected stage without rerunning completed OCR work.
  3. Correct the output binding path and connection configuration and validate its resource identity and permissions.
  4. A controlled promotion preserves the production destination and staging retains its test resource settings.
  5. Configure supported retry and poison or dead-letter handling while logging the source event and sanitized error.

Explanation

Correct Answers

A:

Mark environment-specific connection settings appropriately and verify swap behavior on the supported hosting configuration. A controlled promotion preserves the production destination and staging retains its test resource settings.

D:

A controlled promotion preserves the production destination and staging retains its test resource settings. The corresponding check is whether mark environment-specific connection settings appropriately and verify swap behavior on the supported hosting configuration.

Incorrect Answers

B:

A test approval resumes the orchestration at the expected stage without rerunning completed OCR work. A controlled promotion preserves the production destination and staging retains its test resource settings. Mark environment-specific connection settings appropriately and verify swap behavior on the supported hosting configuration.

C:

Correct the output binding path and connection configuration and validate its resource identity and permissions. A controlled promotion preserves the production destination and staging retains its test resource settings. Mark environment-specific connection settings appropriately and verify swap behavior on the supported hosting configuration.

E:

Configure supported retry and poison or dead-letter handling while logging the source event and sanitized error. A controlled promotion preserves the production destination and staging retains its test resource settings. Mark environment-specific connection settings appropriately and verify swap behavior on the supported hosting configuration.

Question 403

A Python RAG service connects to Azure Database for PostgreSQL but creating a vector column fails because the vector data type is unknown. Which outcome would demonstrate that the control meets its stated goal?

  1. The extension is available and a table accepts vectors of the documented embedding dimension.
  2. A controlled load benchmark meets target QPS and p95 latency after the selected adjustment.
  3. A controlled top-k query uses cosine distance and returns the validated relevant documents.
  4. Top-k queries use the intended index and meet an agreed speed-versus-recall target.

Explanation

Correct Answer

A:

The extension is available and a table accepts vectors of the documented embedding dimension. The original evidence to compare against is: The database reports that type vector does not exist while ordinary relational tables work.

Incorrect Answers

B:

A controlled load benchmark meets target QPS and p95 latency after the selected adjustment. The original evidence to compare against is: The database reports that type vector does not exist while ordinary relational tables work. The extension is available and a table accepts vectors of the documented embedding dimension.

C:

A controlled top-k query uses cosine distance and returns the validated relevant documents. The original evidence to compare against is: The database reports that type vector does not exist while ordinary relational tables work. The extension is available and a table accepts vectors of the documented embedding dimension.

D:

Top-k queries use the intended index and meet an agreed speed-versus-recall target. The original evidence to compare against is: The database reports that type vector does not exist while ordinary relational tables work. The extension is available and a table accepts vectors of the documented embedding dimension.

Question 404

A distributed service reads feature settings only at startup and requires coordinated refresh after several related key updates. Which explanation accounts for the observed behavior and intended fix?

  1. Soft delete provides a recovery window for accidental deletion, whereas purge protection addresses permanent deletion risk.
  2. Managed identity plus Key Vault separates workload identity from reusable secret values.
  3. Coordinated refresh avoids exposing partially updated configuration across distributed instances.
  4. Versioned secret references support deliberate release control but must be managed through rotation procedures.

Explanation

Correct Answer

C:

Coordinated refresh avoids exposing partially updated configuration across distributed instances. A distributed service reads feature settings only at startup and requires coordinated refresh after several related key updates.

Incorrect Answers

A:

Soft delete provides a recovery window for accidental deletion, whereas purge protection addresses permanent deletion risk. A distributed service reads feature settings only at startup and requires coordinated refresh after several related key updates. Coordinated refresh avoids exposing partially updated configuration across distributed instances.

B:

Managed identity plus Key Vault separates workload identity from reusable secret values. A distributed service reads feature settings only at startup and requires coordinated refresh after several related key updates. Coordinated refresh avoids exposing partially updated configuration across distributed instances.

D:

Versioned secret references support deliberate release control but must be managed through rotation procedures. A distributed service reads feature settings only at startup and requires coordinated refresh after several related key updates. Coordinated refresh avoids exposing partially updated configuration across distributed instances.

Question 405

A low-traffic embedding worker should consume no compute between scheduled messages, but it retains multiple idle replicas. Select TWO statements: the most appropriate corrective action and its direct verification result.

  1. Create a named secret securely and reference it from environment variables using the platform's supported secret reference syntax.
  2. Tune Container Apps min and max replica settings and a supported event-driven scaling rule for the backing queue.
  3. Only labeled ingestion pods can reach the permitted port and unauthorized test pods are denied.
  4. The worker scales to zero while idle and resumes on a new test message with acceptable startup latency.
  5. Use an internal ClusterIP Service and route only the authorized in-cluster consumers to it.

Explanation

Correct Answers

B:

Tune Container Apps min and max replica settings and a supported event-driven scaling rule for the backing queue. Event-driven scale-to-zero requires a compatible trigger and a minimum-replica setting that permits zero. The worker scales to zero while idle and resumes on a new test message with acceptable startup latency.

D:

The worker scales to zero while idle and resumes on a new test message with acceptable startup latency. Event-driven scale-to-zero requires a compatible trigger and a minimum-replica setting that permits zero.

Incorrect Answers

A:

Create a named secret securely and reference it from environment variables using the platform's supported secret reference syntax. Event-driven scale-to-zero requires a compatible trigger and a minimum-replica setting that permits zero. Tune Container Apps min and max replica settings and a supported event-driven scaling rule for the backing queue.

C:

Only labeled ingestion pods can reach the permitted port and unauthorized test pods are denied. Event-driven scale-to-zero requires a compatible trigger and a minimum-replica setting that permits zero. The worker scales to zero while idle and resumes on a new test message with acceptable startup latency.

E:

Use an internal ClusterIP Service and route only the authorized in-cluster consumers to it. Event-driven scale-to-zero requires a compatible trigger and a minimum-replica setting that permits zero. Tune Container Apps min and max replica settings and a supported event-driven scaling rule for the backing queue.

Question 406

A queue-backed AI processing system gradually increases backlog while frontend response latency remains normal, so its existing HTTP-only alerts miss the developing outage. How should the team confirm the targeted requirement has been met?

  1. A controlled backlog test triggers a workload-relevant alert before the processing deadline is missed.
  2. A diagnostic chart displays failure counts grouped by endpoint and five-minute interval.
  3. One controlled request produces connected parent-child spans across the backend components.
  4. New traces preserve troubleshooting context without exposing sensitive prompt content or unbounded labels.

Explanation

Correct Answer

A:

A controlled backlog test triggers a workload-relevant alert before the processing deadline is missed. Health monitoring must include asynchronous backlogs and dependency signals, not only frontend availability.

Incorrect Answers

B:

A diagnostic chart displays failure counts grouped by endpoint and five-minute interval. Health monitoring must include asynchronous backlogs and dependency signals, not only frontend availability. A controlled backlog test triggers a workload-relevant alert before the processing deadline is missed.

C:

One controlled request produces connected parent-child spans across the backend components. Health monitoring must include asynchronous backlogs and dependency signals, not only frontend availability. A controlled backlog test triggers a workload-relevant alert before the processing deadline is missed.

D:

New traces preserve troubleshooting context without exposing sensitive prompt content or unbounded labels. Health monitoring must include asynchronous backlogs and dependency signals, not only frontend availability. A controlled backlog test triggers a workload-relevant alert before the processing deadline is missed.

Question 407

The platform team scales a model API from two to six pods manually, but the next declarative deployment returns it to two. What would be the strongest observable evidence of successful remediation?

  1. The application starts using the managed secret path while model settings remain in the ConfigMap.
  2. The worker reads the intended secret after restart without any raw token in its image definition.
  3. An approved internal client succeeds and an unauthenticated external path is blocked.
  4. After applying the version-controlled manifest, the intended replica policy persists through redeployment.

Explanation

Correct Answer

D:

After applying the version-controlled manifest, the intended replica policy persists through redeployment.

Incorrect Answers

A:

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

B:

The worker reads the intended secret after restart without any raw token in its image definition. After applying the version-controlled manifest, the intended replica policy persists through redeployment.

C:

An approved internal client succeeds and an unauthenticated external path is blocked. After applying the version-controlled manifest, the intended replica policy persists through redeployment.

Question 408

An App Service container cannot pull its private Azure Container Registry image because the team removed a shared registry password. What technical distinction MOST accurately describes the control boundary?

  1. Least privilege in a shared registry should align identities to required repositories and operations.
  2. A workload identity with scoped registry pull permission avoids embedded registry credentials.
  3. Build-time secrets must not be persisted in container layers or exposed in image metadata.
  4. Reproducible container deployments depend on an identified artifact rather than a mutable tag.

Explanation

Correct Answer

B:

A workload identity with scoped registry pull permission avoids embedded registry credentials. An App Service container cannot pull its private Azure Container Registry image because the team removed a shared registry password.

Incorrect Answers

A:

Least privilege in a shared registry should align identities to required repositories and operations. An App Service container cannot pull its private Azure Container Registry image because the team removed a shared registry password. A workload identity with scoped registry pull permission avoids embedded registry credentials.

C:

Build-time secrets must not be persisted in container layers or exposed in image metadata. An App Service container cannot pull its private Azure Container Registry image because the team removed a shared registry password. A workload identity with scoped registry pull permission avoids embedded registry credentials.

D:

Reproducible container deployments depend on an identified artifact rather than a mutable tag. An App Service container cannot pull its private Azure Container Registry image because the team removed a shared registry password. A workload identity with scoped registry pull permission avoids embedded registry credentials.

Question 409

A downstream inference webhook stays unavailable longer than Event Grid's retry schedule, and product owners need the events preserved for recovery. Which TWO selections jointly address the reported risk and demonstrate success?

  1. Use supported Service Bus message scheduling or a controlled deferred-message workflow with explicit retrieval rules.
  2. Authorized subscribers receive a valid synthetic ReviewCompleted event with required metadata.
  3. Configure a supported dead-letter destination and monitor failed delivery, permissions, and retention settings.
  4. Make the handler idempotent and complete messages only after durable work succeeds, renewing locks for long processing.
  5. A deliberately failed test event appears in the designated dead-letter storage for controlled replay.

Explanation

Correct Answers

C:

Configure a supported dead-letter destination and monitor failed delivery, permissions, and retention settings. Dead-lettering protects recoverability when repeated push deliveries cannot reach an event handler. A deliberately failed test event appears in the designated dead-letter storage for controlled replay.

E:

A deliberately failed test event appears in the designated dead-letter storage for controlled replay. Dead-lettering protects recoverability when repeated push deliveries cannot reach an event handler. Configure a supported dead-letter destination and monitor failed delivery, permissions, and retention settings.

Incorrect Answers

A:

Use supported Service Bus message scheduling or a controlled deferred-message workflow with explicit retrieval rules. Dead-lettering protects recoverability when repeated push deliveries cannot reach an event handler. Configure a supported dead-letter destination and monitor failed delivery, permissions, and retention settings. A deliberately failed test event appears in the designated dead-letter storage for controlled replay.

B:

Authorized subscribers receive a valid synthetic ReviewCompleted event with required metadata. Dead-lettering protects recoverability when repeated push deliveries cannot reach an event handler. A deliberately failed test event appears in the designated dead-letter storage for controlled replay.

D:

Make the handler idempotent and complete messages only after durable work succeeds, renewing locks for long processing. Dead-lettering protects recoverability when repeated push deliveries cannot reach an event handler. A deliberately failed test event appears in the designated dead-letter storage for controlled replay.

Question 410

A conversational AI service makes many small sequential Redis calls for independent retrieval metadata and network round trips dominate its latency. Which security principle best explains why the proposed response fits the case?

  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. TTL-based caching trades freshness for reduced repeated computation and must include relevant context in keys.
  4. An in-memory cache's eviction policy and capacity determine how frequently cached results survive.

Explanation

Correct Answer

B:

Batching independent cache operations can reduce round-trip overhead without changing data semantics. The completion signal is: A controlled benchmark reduces network wait without changing application results or timeout handling.

Incorrect Answers

A:

Hybrid vector filtering adds structural constraints to approximate similarity and reduces inappropriate cache reuse. The completion signal is: A controlled benchmark reduces network wait without changing application results or timeout handling. Batching independent cache operations can reduce round-trip overhead without changing data semantics.

C:

TTL-based caching trades freshness for reduced repeated computation and must include relevant context in keys. The completion signal is: A controlled benchmark reduces network wait without changing application results or timeout handling. Batching independent cache operations can reduce round-trip overhead without changing data semantics.

D:

An in-memory cache's eviction policy and capacity determine how frequently cached results survive. The completion signal is: A controlled benchmark reduces network wait without changing application results or timeout handling. Batching independent cache operations can reduce round-trip overhead without changing data semantics.

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