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

Question 170

A web application has a Contributor role on its Key Vault resource but receives forbidden responses when trying to read a secret. Which result best verifies the intended technical behavior?

  1. The app reads approved flags without a static connection string and cannot modify settings.
  2. The app can retrieve the intended secret while it cannot list or alter unrelated vault values.
  3. The app resolves its authorized secret while the configuration store holds only a reference.
  4. A controlled sentinel update moves instances to the same validated configuration version.

Explanation

Correct Answer

B:

The app can retrieve the intended secret while it cannot list or alter unrelated vault values.

Incorrect Answers

A:

The app reads approved flags without a static connection string and cannot modify settings. The app can retrieve the intended secret while it cannot list or alter unrelated vault values.

C:

The app resolves its authorized secret while the configuration store holds only a reference. The app can retrieve the intended secret while it cannot list or alter unrelated vault values.

D:

A controlled sentinel update moves instances to the same validated configuration version. The app can retrieve the intended secret while it cannot list or alter unrelated vault values.

Question 171

Multiple AKS namespaces run ingestion and inference services, but any pod can open database ports to the sensitive metadata namespace. What should the Azure developer recommend FIRST in this situation?

  1. Use an Azure Container Apps Job with a scheduled trigger and explicit execution completion behavior.
  2. Switch to supported internal ingress and validate application callers inside the intended environment and network.
  3. Enable multiple-revision operation and configure weighted traffic allocation for a controlled canary rollout.
  4. Apply a supported AKS network-policy engine and explicit allowed ingress and egress paths for selected pods.

Explanation

Correct Answer

D:

Apply a supported AKS network-policy engine and explicit allowed ingress and egress paths for selected pods.

Incorrect Answers

A:

Use an Azure Container Apps Job with a scheduled trigger and explicit execution completion behavior. Apply a supported AKS network-policy engine and explicit allowed ingress and egress paths for selected pods.

B:

Switch to supported internal ingress and validate application callers inside the intended environment and network. Apply a supported AKS network-policy engine and explicit allowed ingress and egress paths for selected pods.

C:

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.

Question 172

An Azure Functions burst opens a new PostgreSQL connection per request and soon reaches the flexible server connection limit. Which design change MOST directly addresses the organization's stated security requirement?

  1. Create and tune a supported HNSW index using the cosine operator class and validate recall and query plan.
  2. Introduce an appropriate connection pool or supported PgBouncer configuration and bound concurrency for the server size.
  3. Use a stable unique document identifier and an idempotent INSERT ... ON CONFLICT update or equivalent transaction.
  4. Push ORDER BY vector distance and LIMIT to PostgreSQL with compatible indexing and filters.

Explanation

Correct Answer

B:

Introduce an appropriate connection pool or supported PgBouncer configuration and bound concurrency for the server size. The developer should confirm: A representative burst completes without exhausting the server's permitted connection slots.

Incorrect Answers

A:

Create and tune a supported HNSW index using the cosine operator class and validate recall and query plan. The developer should confirm: A representative burst completes without exhausting the server's permitted connection slots. Introduce an appropriate connection pool or supported PgBouncer configuration and bound concurrency for the server size.

C:

Use a stable unique document identifier and an idempotent INSERT. ON CONFLICT update or equivalent transaction. The developer should confirm: A representative burst completes without exhausting the server's permitted connection slots. Introduce an appropriate connection pool or supported PgBouncer configuration and bound concurrency for the server size.

D:

Push ORDER BY vector distance and LIMIT to PostgreSQL with compatible indexing and filters. The developer should confirm: A representative burst completes without exhausting the server's permitted connection slots. Introduce an appropriate connection pool or supported PgBouncer configuration and bound concurrency for the server size.

Question 173

A chatbot request repeatedly fails after calling PostgreSQL, and analysts need evidence connecting the failed request to its downstream dependency. Choose TWO: one appropriate technical intervention and one observable acceptance check for this case.

  1. Constrain the KQL time range early and project only required columns, then measure execution cost.
  2. Use KQL to join or correlate requests and dependency records on operation or trace identifier and time range.
  3. A diagnostic chart displays failure counts grouped by endpoint and five-minute interval.
  4. Expose queue depth and processing lag as metrics and configure targeted Azure Monitor alerts alongside tracing.
  5. The query associates one failed request with its corresponding database dependency failure.

Explanation

Correct Answers

B:

Use KQL to join or correlate requests and dependency records on operation or trace identifier and time range. The query associates one failed request with its corresponding database dependency failure.

E:

The query associates one failed request with its corresponding database dependency failure. Use KQL to join or correlate requests and dependency records on operation or trace identifier and time range.

Incorrect Answers

A:

Constrain the KQL time range early and project only required columns, then measure execution cost. The query associates one failed request with its corresponding database dependency failure.

C:

A diagnostic chart displays failure counts grouped by endpoint and five-minute interval. The query associates one failed request with its corresponding database dependency failure.

D:

Expose queue depth and processing lag as metrics and configure targeted Azure Monitor alerts alongside tracing. The query associates one failed request with its corresponding database dependency failure.

Question 174

A SaaS application produces an AI review completed event that must be consumed by several services but no Azure resource raises that business event automatically. Which outcome would demonstrate that the control meets its stated goal?

  1. Authorized subscribers receive a valid synthetic ReviewCompleted event with required metadata.
  2. The endpoint acknowledges promptly and a durable queue completes the work once logically.
  3. Per-conversation outputs appear in order while different session IDs process concurrently.
  4. A known-invalid sample stays quarantined and a corrected sample is successfully reprocessed.

Explanation

Correct Answer

A:

Authorized subscribers receive a valid synthetic ReviewCompleted event with required metadata.

Incorrect Answers

B:

The endpoint acknowledges promptly and a durable queue completes the work once logically. Authorized subscribers receive a valid synthetic ReviewCompleted event with required metadata.

C:

Per-conversation outputs appear in order while different session IDs process concurrently. Authorized subscribers receive a valid synthetic ReviewCompleted event with required metadata.

D:

A known-invalid sample stays quarantined and a corrected sample is successfully reprocessed. Authorized subscribers receive a valid synthetic ReviewCompleted event with required metadata.

Question 175

A tenant RAG workload contains hundreds of thousands of embeddings and exact similarity scans exceed its latency and RU budget. What should the Azure developer recommend FIRST in this situation?

  1. Implement a change feed processor with appropriate leases, checkpoint handling, and idempotent downstream actions.
  2. Tune included and excluded paths in the indexing policy while preserving indexes required for query predicates.
  3. Choose a supported diskANN vector index for the relevant path and validate approximate recall and RU trade-offs.
  4. Combine vector retrieval with supported query filters, appropriate partition design, and index choices for the filtered subset.

Explanation

Correct Answer

C:

Choose a supported diskANN vector index for the relevant path and validate approximate recall and RU trade-offs.

Incorrect Answers

A:

Implement a change feed processor with appropriate leases, checkpoint handling, and idempotent downstream actions. Choose a supported diskANN vector index for the relevant path and validate approximate recall and RU trade-offs.

B:

Tune included and excluded paths in the indexing policy while preserving indexes required for query predicates. Choose a supported diskANN vector index for the relevant path and validate approximate recall and RU trade-offs.

D:

Combine vector retrieval with supported query filters, appropriate partition design, and index choices for the filtered subset. Choose a supported diskANN vector index for the relevant path and validate approximate recall and RU trade-offs.

Question 176

An application produces embeddings of 1536 dimensions and an engineer configures a flat Cosmos DB vector index for them. Which security principle best explains why the proposed response fits the case?

  1. Top-k query bounds avoid returning an unnecessarily large vector result set.
  2. Vector index implementations have different dimensional limits and accuracy-performance trade-offs.
  3. Document TTL automates retention cleanup when configured at the container and item levels.
  4. Approximate vector indexing can trade some recall for faster similarity retrieval and lower query cost at scale.

Explanation

Correct Answer

B:

Vector index implementations have different dimensional limits and accuracy-performance trade-offs.

Incorrect Answers

A:

Top-k query bounds avoid returning an unnecessarily large vector result set. Vector index implementations have different dimensional limits and accuracy-performance trade-offs.

C:

Document TTL automates retention cleanup when configured at the container and item levels. Vector index implementations have different dimensional limits and accuracy-performance trade-offs.

D:

Approximate vector indexing can trade some recall for faster similarity retrieval and lower query cost at scale. Vector index implementations have different dimensional limits and accuracy-performance trade-offs.

Question 177

A Python API experiences request latency spikes at peak hours although each replica remains alive. What is the BEST next action for the specific Azure environment described?

  1. Tune the Container Apps HTTP scale rule concurrency threshold and resource limits after load testing.
  2. Update and commit the AKS Deployment manifest's desired replica count or appropriate autoscaler configuration.
  3. Apply a supported AKS network-policy engine and explicit allowed ingress and egress paths for selected pods.
  4. Configure a readiness probe that reflects actual dependency readiness and verify deployment rollout settings.

Explanation

Correct Answer

A:

Tune the Container Apps HTTP scale rule concurrency threshold and resource limits after load testing.

Incorrect Answers

B:

Update and commit the AKS Deployment manifest's desired replica count or appropriate autoscaler configuration. Tune the Container Apps HTTP scale rule concurrency threshold and resource limits after load testing.

C:

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

D:

Configure a readiness probe that reflects actual dependency readiness and verify deployment rollout settings. Tune the Container Apps HTTP scale rule concurrency threshold and resource limits after load testing.

Question 178

An embedding table has frequent document revisions and its query performance degrades as dead tuples and index size grow. How should the team confirm the targeted requirement has been met?

  1. Maintenance returns the table and index to stable latency under equivalent query load.
  2. A representative burst completes without exhausting the server's permitted connection slots.
  3. The revised query plan uses a selective index and p95 latency falls on representative data.
  4. A controlled load benchmark meets target QPS and p95 latency after the selected adjustment.

Explanation

Correct Answer

A:

Maintenance returns the table and index to stable latency under equivalent query load.

Incorrect Answers

B:

A representative burst completes without exhausting the server's permitted connection slots. Maintenance returns the table and index to stable latency under equivalent query load.

C:

The revised query plan uses a selective index and p95 latency falls on representative data. Maintenance returns the table and index to stable latency under equivalent query load.

D:

A controlled load benchmark meets target QPS and p95 latency after the selected adjustment. Maintenance returns the table and index to stable latency under equivalent query load.

Question 179

A webhook retry posts the same embedding job multiple times and the queue contains identical requests with the same business identifier. Which explanation accounts for the observed behavior and intended fix?

  1. PeekLock gives at-least-once processing semantics unless the application makes effects idempotent.
  2. Topic subscriptions give multiple consumer groups separate delivery and retry state.
  3. Broker duplicate detection can reduce repeat enqueueing but does not replace end-to-end idempotency.
  4. Service Bus queues support competing-consumer work distribution, unlike pub-sub fan-out to subscriptions.

Explanation

Correct Answer

C:

Broker duplicate detection can reduce repeat enqueueing but does not replace end-to-end idempotency.

Incorrect Answers

A:

PeekLock gives at-least-once processing semantics unless the application makes effects idempotent. Broker duplicate detection can reduce repeat enqueueing but does not replace end-to-end idempotency.

B:

Topic subscriptions give multiple consumer groups separate delivery and retry state. Broker duplicate detection can reduce repeat enqueueing but does not replace end-to-end idempotency.

D:

Service Bus queues support competing-consumer work distribution, unlike pub-sub fan-out to subscriptions. Broker duplicate detection can reduce repeat enqueueing but does not replace end-to-end idempotency.

Question 180

When a popular prompt's cache entry expires, dozens of workers immediately regenerate the same expensive answer. Which implementation choice most directly resolves this service problem?

  1. Use a supported request coalescing, bounded lock, or stale-while-revalidate strategy with short expiration protection.
  2. Use safe pipelining or batched operations where supported while preserving ordering and failure handling.
  3. Create an appropriate Azure Managed Redis RediSearch vector index using a supported FLAT or HNSW method and compatible dimensions.
  4. Inspect memory, key cardinality, TTLs, and the configured eviction policy before scaling capacity or changing key lifetime.

Explanation

Correct Answer

A:

Use a supported request coalescing, bounded lock, or stale-while-revalidate strategy with short expiration protection.

Incorrect Answers

B:

Use safe pipelining or batched operations where supported while preserving ordering and failure handling. Use a supported request coalescing, bounded lock, or stale-while-revalidate strategy with short expiration protection.

C:

Create an appropriate Azure Managed Redis RediSearch vector index using a supported FLAT or HNSW method and compatible dimensions. Use a supported request coalescing, bounded lock, or stale-while-revalidate strategy with short expiration protection.

D:

Inspect memory, key cardinality, TTLs, and the configured eviction policy before scaling capacity or changing key lifetime. Use a supported request coalescing, bounded lock, or stale-while-revalidate strategy with short expiration protection.

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