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

Question 340

An AI backend reads a database password from Key Vault only during process startup, so it continues using an expired old version after vault rotation. Which recorded observation would most clearly support the suspected issue?

  1. Vault shows the item in deleted secrets and normal reads return not-found errors.
  2. Vault history shows a new secret version while running application instances retain the prior value in memory.
  3. The current implementation hard-codes feature activation in source and rebuilds for every pilot change.
  4. Different instances report mixed values after a multi-key configuration change.

Explanation

Correct Answer

B:

Vault history shows a new secret version while running application instances retain the prior value in memory. Rotating a stored secret does not guarantee clients automatically refresh their cached credential.

Incorrect Answers

A:

Vault shows the item in deleted secrets and normal reads return not-found errors. Rotating a stored secret does not guarantee clients automatically refresh their cached credential. Vault history shows a new secret version while running application instances retain the prior value in memory.

C:

The current implementation hard-codes feature activation in source and rebuilds for every pilot change. Rotating a stored secret does not guarantee clients automatically refresh their cached credential. Vault history shows a new secret version while running application instances retain the prior value in memory.

D:

Different instances report mixed values after a multi-key configuration change. Rotating a stored secret does not guarantee clients automatically refresh their cached credential. Vault history shows a new secret version while running application instances retain the prior value in memory.

Question 341

A deployment mistakenly writes a database password directly into App Configuration because the development team treats it like a secret vault. What technical distinction MOST accurately describes the control boundary?

  1. App Configuration centralizes settings; Key Vault remains the appropriate service for protected secret values.
  2. Azure management-plane control and Key Vault data-plane secret access are distinct authorization scopes.
  3. Rotating a stored secret does not guarantee clients automatically refresh their cached credential.
  4. Coordinated refresh avoids exposing partially updated configuration across distributed instances.

Explanation

Correct Answer

A:

App Configuration centralizes settings; Key Vault remains the appropriate service for protected secret values.

Incorrect Answers

B:

Azure management-plane control and Key Vault data-plane secret access are distinct authorization scopes. App Configuration centralizes settings; Key Vault remains the appropriate service for protected secret values.

C:

Rotating a stored secret does not guarantee clients automatically refresh their cached credential. App Configuration centralizes settings; Key Vault remains the appropriate service for protected secret values.

D:

Coordinated refresh avoids exposing partially updated configuration across distributed instances. App Configuration centralizes settings; Key Vault remains the appropriate service for protected secret values.

Question 342

Multiple AKS namespaces run ingestion and inference services, but any pod can open database ports to the sensitive metadata namespace. Which TWO selections jointly address the reported risk and demonstrate success?

  1. Apply a supported AKS network-policy engine and explicit allowed ingress and egress paths for selected pods.
  2. Enable multiple-revision operation and configure weighted traffic allocation for a controlled canary rollout.
  3. Tune the Container Apps HTTP scale rule concurrency threshold and resource limits after load testing.
  4. Only labeled ingestion pods can reach the permitted port and unauthorized test pods are denied.
  5. A test event launches an execution and an intentionally retried event does not create duplicate output.

Explanation

Correct Answers

A:

Apply a supported AKS network-policy engine and explicit allowed ingress and egress paths for selected pods. Only labeled ingestion pods can reach the permitted port and unauthorized test pods are denied.

D:

Only labeled ingestion pods can reach the permitted port and unauthorized test pods are denied. Apply a supported AKS network-policy engine and explicit allowed ingress and egress paths for selected pods.

Incorrect Answers

B:

Enable multiple-revision operation and configure weighted traffic allocation for a controlled canary rollout. Apply a supported AKS network-policy engine and explicit allowed ingress and egress paths for selected pods. Only labeled ingestion pods can reach the permitted port and unauthorized test pods are denied.

C:

Tune the Container Apps HTTP scale rule concurrency threshold and resource limits after load testing. Apply a supported AKS network-policy engine and explicit allowed ingress and egress paths for selected pods.

E:

A test event launches an execution and an intentionally retried event does not create duplicate output. Only labeled ingestion pods can reach the permitted port and unauthorized test pods are denied.

Question 343

A document summarization platform receives thousands of messages and must distribute them among a pool of workers rather than send every job to every worker. Which implementation choice most directly resolves this service problem?

  1. Use a Service Bus queue with competing receivers and explicitly settle each processed message.
  2. Implement idempotency keyed on stable event identity or resource version and acknowledge events after a durable accepted operation.
  3. Configure supported duplicate detection with a stable MessageId and still enforce idempotent downstream writes.
  4. Subscribe to the appropriate Event Grid storage events and deliver them to an authenticated function or event handler.

Explanation

Correct Answer

A:

Use a Service Bus queue with competing receivers and explicitly settle each processed message. The case reports: A document summarization platform receives thousands of messages and must distribute them among a pool of workers rather than send every job to every worker.

Incorrect Answers

B:

Implement idempotency keyed on stable event identity or resource version and acknowledge events after a durable accepted operation. The case reports: A document summarization platform receives thousands of messages and must distribute them among a pool of workers rather than send every job to every worker. Use a Service Bus queue with competing receivers and explicitly settle each processed message.

C:

Configure supported duplicate detection with a stable MessageId and still enforce idempotent downstream writes. The case reports: A document summarization platform receives thousands of messages and must distribute them among a pool of workers rather than send every job to every worker. Use a Service Bus queue with competing receivers and explicitly settle each processed message.

D:

Subscribe to the appropriate Event Grid storage events and deliver them to an authenticated function or event handler. The case reports: A document summarization platform receives thousands of messages and must distribute them among a pool of workers rather than send every job to every worker. Use a Service Bus queue with competing receivers and explicitly settle each processed message.

Question 344

A photo tagging function is meant to run when a new eligible object is uploaded, but its timer trigger misses urgent uploads between polling windows. Choose TWO: one appropriate technical intervention and one observable acceptance check for this case.

  1. Use an appropriate Event Grid trigger and the correct subscription filters and endpoint configuration.
  2. An eligible test upload invokes the function promptly and irrelevant object events are filtered.
  3. Configure supported retry and poison or dead-letter handling while logging the source event and sanitized error.
  4. Check the selected Functions hosting plan's supported slot features and use a compatible staged deployment strategy.
  5. A tested deployment and rollback follow a plan-supported path with no lost trigger configuration.

Explanation

Correct Answers

A:

Use an appropriate Event Grid trigger and the correct subscription filters and endpoint configuration. Event-driven triggers map resource events to function executions rather than polling intervals. An eligible test upload invokes the function promptly and irrelevant object events are filtered.

B:

An eligible test upload invokes the function promptly and irrelevant object events are filtered. Event-driven triggers map resource events to function executions rather than polling intervals. Use an appropriate Event Grid trigger and the correct subscription filters and endpoint configuration.

Incorrect Answers

C:

Configure supported retry and poison or dead-letter handling while logging the source event and sanitized error. Event-driven triggers map resource events to function executions rather than polling intervals. Use an appropriate Event Grid trigger and the correct subscription filters and endpoint configuration.

D:

Check the selected Functions hosting plan's supported slot features and use a compatible staged deployment strategy. Event-driven triggers map resource events to function executions rather than polling intervals. Use an appropriate Event Grid trigger and the correct subscription filters and endpoint configuration.

E:

A tested deployment and rollback follow a plan-supported path with no lost trigger configuration. Event-driven triggers map resource events to function executions rather than polling intervals. An eligible test upload invokes the function promptly and irrelevant object events are filtered. Use an appropriate Event Grid trigger and the correct subscription filters and endpoint configuration.

Question 345

Product managers need to enable a new document summarizer for only a small pilot group without republishing the application. Which design change MOST directly addresses the organization's stated security requirement?

  1. Use an appropriately versioned secret reference or controlled secret alias strategy with explicit promotion checks.
  2. Configure an appropriate App Configuration feature flag and targeting filter with approved rollout rules.
  3. Design a supported secret refresh or rotation notification mechanism and update dependent client connection handling.
  4. Implement a staged rotation with dependency update, validation, rollback or dual-credential overlap where supported.

Explanation

Correct Answer

B:

Configure an appropriate App Configuration feature flag and targeting filter with approved rollout rules. The case reports: Product managers need to enable a new document summarizer for only a small pilot group without republishing the application.

Incorrect Answers

A:

Use an appropriately versioned secret reference or controlled secret alias strategy with explicit promotion checks. The case reports: Product managers need to enable a new document summarizer for only a small pilot group without republishing the application. Configure an appropriate App Configuration feature flag and targeting filter with approved rollout rules.

C:

Design a supported secret refresh or rotation notification mechanism and update dependent client connection handling. The case reports: Product managers need to enable a new document summarizer for only a small pilot group without republishing the application. Configure an appropriate App Configuration feature flag and targeting filter with approved rollout rules.

D:

Implement a staged rotation with dependency update, validation, rollback or dual-credential overlap where supported. The case reports: Product managers need to enable a new document summarizer for only a small pilot group without republishing the application. Configure an appropriate App Configuration feature flag and targeting filter with approved rollout rules.

Question 346

A Python inference endpoint inserts user-provided project identifiers directly into a PostgreSQL WHERE clause and a review flags unsafe query concatenation. Which TWO selections jointly address the reported risk and demonstrate success?

  1. Push ORDER BY vector distance and LIMIT to PostgreSQL with compatible indexing and filters.
  2. Use an appropriate transaction and referential constraints to commit related relational and vector records atomically.
  3. Use parameterized database commands and maintain authenticated tenant filters in every read and write.
  4. Synthetic SQL control characters are stored or compared as data without altering query structure.
  5. The workload connects using a scoped authorized identity with no reusable secret in code.

Explanation

Correct Answers

C:

Use parameterized database commands and maintain authenticated tenant filters in every read and write. Synthetic SQL control characters are stored or compared as data without altering query structure.

D:

Synthetic SQL control characters are stored or compared as data without altering query structure. The other problematic choice in this case is “Use parameterized database commands and maintain authenticated tenant filters in every read and write”.

Incorrect Answers

A:

Push ORDER BY vector distance and LIMIT to PostgreSQL with compatible indexing and filters. Synthetic SQL control characters are stored or compared as data without altering query structure.

B:

Use an appropriate transaction and referential constraints to commit related relational and vector records atomically. Synthetic SQL control characters are stored or compared as data without altering query structure. Use parameterized database commands and maintain authenticated tenant filters in every read and write.

E:

The workload connects using a scoped authorized identity with no reusable secret in code. Synthetic SQL control characters are stored or compared as data without altering query structure.

Question 347

A semantic search query uses Euclidean distance while model guidance and evaluation baselines require cosine similarity. What is the BEST next action for the specific Azure environment described?

  1. Use an appropriate transaction and referential constraints to commit related relational and vector records atomically.
  2. Use a supported Microsoft Entra authentication or managed identity pattern with minimum database privileges and secure pooling.
  3. Inspect EXPLAIN ANALYZE and add or adjust a suitable composite B-tree index for the filter and ordering pattern.
  4. Use the cosine distance operator and a compatible vector_cosine_ops index, then compare ranked results against a reference set.

Explanation

Correct Answer

D:

Use the cosine distance operator and a compatible vector_cosine_ops index, then compare ranked results against a reference set. The case reports: A semantic search query uses Euclidean distance while model guidance and evaluation baselines require cosine similarity.

Incorrect Answers

A:

Use an appropriate transaction and referential constraints to commit related relational and vector records atomically. The case reports: A semantic search query uses Euclidean distance while model guidance and evaluation baselines require cosine similarity. Use the cosine distance operator and a compatible vector_cosine_ops index, then compare ranked results against a reference set.

B:

Use a supported Microsoft Entra authentication or managed identity pattern with minimum database privileges and secure pooling. The case reports: A semantic search query uses Euclidean distance while model guidance and evaluation baselines require cosine similarity. Use the cosine distance operator and a compatible vector_cosine_ops index, then compare ranked results against a reference set.

C:

Inspect EXPLAIN ANALYZE and add or adjust a suitable composite B-tree index for the filter and ordering pattern. The case reports: A semantic search query uses Euclidean distance while model guidance and evaluation baselines require cosine similarity. Use the cosine distance operator and a compatible vector_cosine_ops index, then compare ranked results against a reference set.

Question 348

An asynchronous document extraction worker receives large daily Service Bus queue bursts and a fixed replica count leaves messages waiting for hours. What should the Azure developer recommend FIRST in this situation?

  1. Configure a readiness probe that reflects actual dependency readiness and verify deployment rollout settings.
  2. Switch to supported internal ingress and validate application callers inside the intended environment and network.
  3. Apply a supported AKS network-policy engine and explicit allowed ingress and egress paths for selected pods.
  4. Configure a supported Azure Container Apps event scale rule using Service Bus queue length with appropriate authentication.

Explanation

Correct Answer

D:

Configure a supported Azure Container Apps event scale rule using Service Bus queue length with appropriate authentication. KEDA-based scaling reacts to event-source metrics rather than relying solely on inbound HTTP volume.

Incorrect Answers

A:

Configure a readiness probe that reflects actual dependency readiness and verify deployment rollout settings. KEDA-based scaling reacts to event-source metrics rather than relying solely on inbound HTTP volume. Configure a supported Azure Container Apps event scale rule using Service Bus queue length with appropriate authentication.

B:

Switch to supported internal ingress and validate application callers inside the intended environment and network. KEDA-based scaling reacts to event-source metrics rather than relying solely on inbound HTTP volume. Configure a supported Azure Container Apps event scale rule using Service Bus queue length with appropriate authentication.

C:

Apply a supported AKS network-policy engine and explicit allowed ingress and egress paths for selected pods. KEDA-based scaling reacts to event-source metrics rather than relying solely on inbound HTTP volume. Configure a supported Azure Container Apps event scale rule using Service Bus queue length with appropriate authentication.

Question 349

A high-value customer request disappears when a worker's network connection drops immediately after receiving it with ReceiveAndDelete mode. Which explanation accounts for the observed behavior and intended fix?

  1. ReceiveAndDelete settles delivery at transfer and can lose work if processing fails afterward.
  2. PeekLock gives at-least-once processing semantics unless the application makes effects idempotent.
  3. Dead-lettering isolates messages that repeatedly fail processing while preserving evidence and retry options.
  4. Topic subscriptions give multiple consumer groups separate delivery and retry state.

Explanation

Correct Answer

A:

ReceiveAndDelete settles delivery at transfer and can lose work if processing fails afterward.

Incorrect Answers

B:

PeekLock gives at-least-once processing semantics unless the application makes effects idempotent. ReceiveAndDelete settles delivery at transfer and can lose work if processing fails afterward.

C:

Dead-lettering isolates messages that repeatedly fail processing while preserving evidence and retry options. ReceiveAndDelete settles delivery at transfer and can lose work if processing fails afterward.

D:

Topic subscriptions give multiple consumer groups separate delivery and retry state. ReceiveAndDelete settles delivery at transfer and can lose work if processing fails afterward.

Question 350

A support-chat summarizer scans every Cosmos DB conversation document every minute to identify only newly changed items. Which TWO selections jointly address the reported risk and demonstrate success?

  1. A new or updated item triggers one useful downstream operation under normal processing and retries cause no duplicated result.
  2. Use SDK-supported parameterized queries with an explicit partition scope and validate authorized inputs.
  3. Supply both the document id and correct partition key for point reads rather than assuming id is globally unique.
  4. Implement a change feed processor with appropriate leases, checkpoint handling, and idempotent downstream actions.
  5. A test vector inserts successfully and VectorDistance returns expected nearest neighbors.

Explanation

Correct Answers

A:

A new or updated item triggers one useful downstream operation under normal processing and retries cause no duplicated result. Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects.

D:

Implement a change feed processor with appropriate leases, checkpoint handling, and idempotent downstream actions. Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects. A new or updated item triggers one useful downstream operation under normal processing and retries cause no duplicated result.

Incorrect Answers

B:

Use SDK-supported parameterized queries with an explicit partition scope and validate authorized inputs. Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects. Implement a change feed processor with appropriate leases, checkpoint handling, and idempotent downstream actions.

C:

Supply both the document id and correct partition key for point reads rather than assuming id is globally unique. Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects. A new or updated item triggers one useful downstream operation under normal processing and retries cause no duplicated result.

E:

A test vector inserts successfully and VectorDistance returns expected nearest neighbors. Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects. A new or updated item triggers one useful downstream operation under normal processing and retries cause no duplicated result.

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