McAfee Secure

Microsoft AI-200 Bundle

Exam Code: AI-200

Exam Name Developing AI Cloud Solutions on Azure

Certification Provider: Microsoft

Microsoft AI-200 Bundle $19.99

100% Microsoft AI-200 Guaranteed Success With Testking Training Materials

Get Real AI-200 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    AI-200 Questions & Answers

    174 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual AI-200 exam while allowing you to hone and measure every aspect of your test-taking ability.

  • Study Guide

    AI-200 Study Guide

    153 PDF Pages

    Developed by industry experts, this 153-page guide spells out in painstaking detail all of the information you need to ace AI-200 exam.

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

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $154.98
Bundle Price: $134.99

Purchase Individually

  • Questions & Answers

    Questions & Answers

    174 Questions

    $124.99
  • Study Guide

    Study Guide

    153 PDF Pages

    $29.99

Microsoft AI-200 Practice Test 4

Question 30

A webhook sometimes receives the same Event Grid event twice after an endpoint timeout. Which engineering change is the most direct response to the stated failure and constraint?

  1. Move publishing to a trusted backend and use supported identity or protected topic credentials
  2. Implement the supported subscription validation handshake or use a native Azure destination
  3. Use the event ID as an idempotency key and acknowledge successful processing with supported 2xx status
  4. Return a retryable server error for genuine transient failures and a 2xx only after safe acceptance

Explanation

Correct Answer

C:

This remedy fits the observed case: A webhook sometimes receives the same Event Grid event twice after an endpoint timeout. Use the event ID as an idempotency key and acknowledge successful processing with supported 2xx status. The underlying issue is Event Grid provides at-least-once rather than guaranteed exactly-once delivery. Direct acceptance evidence is Duplicate deliveries produce one downstream side effect and a successful acknowledgement.

Incorrect Answers

A:

The alternative addresses: A browser-accessible key allows untrusted clients to publish arbitrary topic events. The reported constraint here is different: Event Grid provides at-least-once rather than guaranteed exactly-once delivery. The case-specific choice is: Use the event ID as an idempotency key and acknowledge successful processing with supported 2xx status.

B:

The destination does not honor the handshake required to prove endpoint ownership. By contrast, the relevant technical condition here is: Event Grid provides at-least-once rather than guaranteed exactly-once delivery. The appropriate selection is: Use the event ID as an idempotency key and acknowledge successful processing with supported 2xx status.

D:

Some nonretryable 4xx responses are dead-lettered or dropped rather than retried. This is a separate requirement; the current case instead hinges on: Event Grid provides at-least-once rather than guaranteed exactly-once delivery. The matching answer is: Use the event ID as an idempotency key and acknowledge successful processing with supported 2xx status.

Question 31

A Functions API needs a staging release with separate storage and service configuration before promotion. Which engineering change is the most direct response to the stated failure and constraint?

  1. Deploy the contents with host.json at the expected application root
  2. Align application language version, Functions runtime and dependency package versions
  3. Enable managed identity and grant the supported Cosmos DB data-plane authorization
  4. Use supported deployment slots for the applicable hosting plan and keep environment-specific settings sticky

Explanation

Correct Answer

D:

This remedy fits the observed case: A Functions API needs a staging release with separate storage and service configuration before promotion. Use supported deployment slots for the applicable hosting plan and keep environment-specific settings sticky. The underlying issue is Swapping non-sticky configuration could bind production code to staging resources. Direct acceptance evidence is A staged invocation uses staging resources and production bindings remain unchanged after swap.

Incorrect Answers

A:

The deployment package's root directory is one level too deep. By contrast, the relevant technical condition here is: Swapping non-sticky configuration could bind production code to staging resources. The appropriate selection is: Use supported deployment slots for the applicable hosting plan and keep environment-specific settings sticky.

B:

That option concerns: A language/runtime incompatibility causes module import failures. The current question instead depends on: Swapping non-sticky configuration could bind production code to staging resources. The directly supported result is: Use supported deployment slots for the applicable hosting plan and keep environment-specific settings sticky.

C:

The current configuration depends on shared static keys rather than workload identity. This is a separate requirement; the current case instead hinges on: Swapping non-sticky configuration could bind production code to staging resources. The matching answer is: Use supported deployment slots for the applicable hosting plan and keep environment-specific settings sticky.

Question 32

An activity collection routes nearly all writes to one Cosmos DB logical partition during prime time. Which engineering change is the most direct response to the stated failure and constraint?

  1. Choose and migrate to a higher-cardinality partition strategy supported by the workload
  2. Restore selective indexing of paths required by the actual query predicates
  3. Propagate appropriate session consistency tokens for read-your-writes behavior
  4. Evaluate query metrics and define a suitable composite index for the supported filter and sort shape

Explanation

Correct Answer

A:

This remedy fits the observed case: An activity collection routes nearly all writes to one Cosmos DB logical partition during prime time. Choose and migrate to a higher-cardinality partition strategy supported by the workload. The underlying issue is A low-cardinality or skewed partition-key choice concentrates throughput on one logical partition. Direct acceptance evidence is Per-partition RU hot spots decline while the same tenant isolation invariants are maintained.

Incorrect Answers

B:

A no-index policy forces queries to scan without the necessary indexed paths. This is a separate requirement; the current case instead hinges on: A low-cardinality or skewed partition-key choice concentrates throughput on one logical partition. The matching answer is: Choose and migrate to a higher-cardinality partition strategy supported by the workload.

C:

The alternative addresses: Losing the session context can violate expected session read-your-writes behavior. The reported constraint here is different: A low-cardinality or skewed partition-key choice concentrates throughput on one logical partition. The case-specific choice is: Choose and migrate to a higher-cardinality partition strategy supported by the workload.

D:

A single-property default indexing policy does not optimize the compound sort pattern sufficiently. By contrast, the relevant technical condition here is: A low-cardinality or skewed partition-key choice concentrates throughput on one logical partition. The appropriate selection is: Choose and migrate to a higher-cardinality partition strategy supported by the workload.

Question 33

A function deployment succeeds but CPU-heavy import processing causes failures when autoscaling to many hosts. Which engineering change is the most direct response to the stated failure and constraint?

  1. Deploy the contents with host.json at the expected application root
  2. Apply an appropriate plan and controlled scaling configuration with load-tested downstream budgets
  3. Tune extension-specific concurrency settings in host.json for the supported extension version
  4. Choose supported timeout settings and split durable work into bounded checkpoints where appropriate

Explanation

Correct Answer

B:

This remedy fits the observed case: A function deployment succeeds but CPU-heavy import processing causes failures when autoscaling to many hosts. Apply an appropriate plan and controlled scaling configuration with load-tested downstream budgets. The underlying issue is Scale-out amplifies per-instance resource demand beyond external service quotas. Direct acceptance evidence is Throughput remains stable and dependent quotas are not exceeded at maximum host count.

Incorrect Answers

A:

The deployment package's root directory is one level too deep. This is a separate requirement; the current case instead hinges on: Scale-out amplifies per-instance resource demand beyond external service quotas. The matching answer is: Apply an appropriate plan and controlled scaling configuration with load-tested downstream budgets.

C:

This remedy fits the observed case: A Service Bus-triggered Function processes too many messages concurrently after a new host.json setting was rolled out. By contrast, the relevant technical condition here is: Scale-out amplifies per-instance resource demand beyond external service quotas. The appropriate selection is: Apply an appropriate plan and controlled scaling configuration with load-tested downstream budgets.

D:

That option concerns: The configured plan/function timeout is shorter than worst-case work duration. The current question instead depends on: Scale-out amplifies per-instance resource demand beyond external service quotas. The directly supported result is: Apply an appropriate plan and controlled scaling configuration with load-tested downstream budgets.

Question 34

A Cosmos DB change feed handler updates its search index only for newly created records and silently ignores modifications of existing items. Which engineering change is the most direct response to the stated failure and constraint?

  1. Configure a common lease container and stable processor group identity appropriate to the deployment
  2. Inspect processor lag and rebalance worker capacity against lease distribution
  3. Handle new and updated document versions with idempotent upsert semantics
  4. Plan an initial full data backfill and then continue from a defined feed checkpoint

Explanation

Correct Answer

C:

This remedy fits the observed case: A Cosmos DB change feed handler updates its search index only for newly created records and silently ignores modifications of existing items. Handle new and updated document versions with idempotent upsert semantics. The underlying issue is The handler assumes a change feed represents inserts only. Direct acceptance evidence is Editing an existing source item changes the downstream indexed representation.

Incorrect Answers

A:

The alternative addresses: Incorrect lease configuration prevents coordinated load balancing and checkpoints. The reported constraint here is different: The handler assumes a change feed represents inserts only. The case-specific choice is: Handle new and updated document versions with idempotent upsert semantics.

B:

Insufficient processors or a hot lease/feed range delays downstream materialization. By contrast, the relevant technical condition here is: The handler assumes a change feed represents inserts only. The appropriate selection is: Handle new and updated document versions with idempotent upsert semantics.

D:

A new processor starting at now may miss historical items without an appropriate start position. This is a separate requirement; the current case instead hinges on: The handler assumes a change feed represents inserts only. The matching answer is: Handle new and updated document versions with idempotent upsert semantics.

Question 35

An operator expects a single exported latency metric to reveal the exact downstream request responsible for spikes. Which engineering change is the most direct response to the stated failure and constraint?

  1. Extract propagated traceparent or message context before starting the consumer span
  2. Replace sensitive baggage with approved opaque correlation identifiers
  3. Synchronize host clocks and inspect UTC timestamps and exporter delays before interpreting traces
  4. Instrument spans and dependency relationships as well as aggregate metrics

Explanation

Correct Answer

D:

This remedy fits the observed case: An operator expects a single exported latency metric to reveal the exact downstream request responsible for spikes. Instrument spans and dependency relationships as well as aggregate metrics. The underlying issue is Aggregated metric points do not preserve individual execution call relationships. Direct acceptance evidence is A sampled slow request identifies its downstream span while the metric describes overall p95.

Incorrect Answers

A:

Creating a new root span without extracting context breaks distributed lineage. By contrast, the relevant technical condition here is: Aggregated metric points do not preserve individual execution call relationships. The appropriate selection is: Instrument spans and dependency relationships as well as aggregate metrics.

B:

That option concerns: Baggage travels across trust boundaries and can expose sensitive data. The current question instead depends on: Aggregated metric points do not preserve individual execution call relationships. The directly supported result is: Instrument spans and dependency relationships as well as aggregate metrics.

C:

Clock skew and timestamp handling corrupt the apparent event ordering. This is a separate requirement; the current case instead hinges on: Aggregated metric points do not preserve individual execution call relationships. The matching answer is: Instrument spans and dependency relationships as well as aggregate metrics.

Question 36

A Service Bus auto-forward routing chain moves events through too many entities and some appear in a transfer dead-letter subqueue. Which engineering change is the most direct response to the stated failure and constraint?

  1. Reduce the number of auto-forward hops to the supported limit and inspect transfer DLQ reasons
  2. Renew the peek-lock appropriately or redesign the handler around checkpointed bounded work
  3. Use Microsoft Entra managed identity with Service Bus data-plane receiver authorization
  4. Make database writes idempotent using a durable logical work ID before completing the message

Explanation

Correct Answer

A:

This remedy fits the observed case: A Service Bus auto-forward routing chain moves events through too many entities and some appear in a transfer dead-letter subqueue. Reduce the number of auto-forward hops to the supported limit and inspect transfer DLQ reasons. The underlying issue is Auto-forward routing exceeds the allowed transfer hop count. Direct acceptance evidence is An end-to-end test reaches the final subscription without max-hop dead-letter errors.

Incorrect Answers

B:

The message lock expires while the first consumer is still processing. This is a separate requirement; the current case instead hinges on: Auto-forward routing exceeds the allowed transfer hop count. The matching answer is: Reduce the number of auto-forward hops to the supported limit and inspect transfer DLQ reasons.

C:

The alternative addresses: Embedded namespace credentials permit broad access and difficult rotation. The reported constraint here is different: Auto-forward routing exceeds the allowed transfer hop count. The case-specific choice is: Reduce the number of auto-forward hops to the supported limit and inspect transfer DLQ reasons.

D:

Peek-lock delivery can be retried after a crash even if the side effect already committed. By contrast, the relevant technical condition here is: Auto-forward routing exceeds the allowed transfer hop count. The appropriate selection is: Reduce the number of auto-forward hops to the supported limit and inspect transfer DLQ reasons.

Question 37

A PostgreSQL client accepts any certificate and connects to an endpoint through an uncontrolled proxy. Which engineering change is the most direct response to the stated failure and constraint?

  1. Apply bounded retries for safe operations with timeouts and appropriate transaction behavior
  2. Require supported TLS certificate validation for the intended database hostname
  3. Refresh tokens when establishing authenticated connections and respect token validity
  4. Use query statement timeouts plus client cancellation and inspect long-running query plans

Explanation

Correct Answer

B:

This remedy fits the observed case: A PostgreSQL client accepts any certificate and connects to an endpoint through an uncontrolled proxy. Require supported TLS certificate validation for the intended database hostname. The underlying issue is TLS encryption without meaningful peer validation does not authenticate the target server. Direct acceptance evidence is Connections succeed with the trusted server certificate and reject a test mismatched certificate.

Incorrect Answers

A:

Transient connection errors are treated as permanent failures. This is a separate requirement; the current case instead hinges on: TLS encryption without meaningful peer validation does not authenticate the target server. The matching answer is: Require supported TLS certificate validation for the intended database hostname.

C:

The client reuses an expired identity token instead of obtaining a current one. By contrast, the relevant technical condition here is: TLS encryption without meaningful peer validation does not authenticate the target server. The appropriate selection is: Require supported TLS certificate validation for the intended database hostname.

D:

That option concerns: Absent query deadlines lets a pathological query monopolize sessions. The current question instead depends on: TLS encryption without meaningful peer validation does not authenticate the target server. The directly supported result is: Require supported TLS certificate validation for the intended database hostname.

Question 38

An AI response cache evicts useful records unpredictably when embeddings compete for memory with sessions. Which engineering change is the most direct response to the stated failure and constraint?

  1. Use source versions and conditional compare-and-set or an atomic update policy for stale writes
  2. Use jittered TTLs with bounded single-flight or request coalescing for cache misses
  3. Right-size memory and select eviction strategy appropriate for disposable versus critical keys
  4. Invalidate or refresh the affected Redis keys on change with a bounded TTL safety net

Explanation

Correct Answer

C:

This remedy fits the observed case: An AI response cache evicts useful records unpredictably when embeddings compete for memory with sessions. Right-size memory and select eviction strategy appropriate for disposable versus critical keys. The underlying issue is Memory pressure causes Redis to evict keys needed by latency-sensitive traffic. Direct acceptance evidence is Cache hit ratio and eviction metrics remain within target under mixed load.

Incorrect Answers

A:

The alternative addresses: Uncoordinated last-writer-wins cache updates allow older data to replace newer data. The reported constraint here is different: Memory pressure causes Redis to evict keys needed by latency-sensitive traffic. The case-specific choice is: Right-size memory and select eviction strategy appropriate for disposable versus critical keys.

B:

Simultaneous expiry sends many duplicate reads to the database. By contrast, the relevant technical condition here is: Memory pressure causes Redis to evict keys needed by latency-sensitive traffic. The appropriate selection is: Right-size memory and select eviction strategy appropriate for disposable versus critical keys.

D:

TTL-only staleness outlasts acceptable source-change propagation. This is a separate requirement; the current case instead hinges on: Memory pressure causes Redis to evict keys needed by latency-sensitive traffic. The matching answer is: Right-size memory and select eviction strategy appropriate for disposable versus critical keys.

Question 39

An AKS workload cannot resolve a private Key Vault endpoint after the public network route was disabled. Which engineering change is the most direct response to the stated failure and constraint?

  1. Renew the certificate and bind its supported new version to the service listener
  2. Implement finite application cache refresh and handle credential rotation with bounded overlap
  3. Select or create an enabled authorized replacement version and update the consuming app safely
  4. Configure Key Vault private endpoint and linked private DNS zone for the cluster network

Explanation

Correct Answer

D:

This remedy fits the observed case: An AKS workload cannot resolve a private Key Vault endpoint after the public network route was disabled. Configure Key Vault private endpoint and linked private DNS zone for the cluster network. The underlying issue is The runtime network does not have valid DNS/routing to the private endpoint. Direct acceptance evidence is The pod resolves the vault FQDN privately and successfully retrieves its permitted secret.

Incorrect Answers

A:

The listener still serves expired material despite certificate storage updates. By contrast, the relevant technical condition here is: The runtime network does not have valid DNS/routing to the private endpoint. The appropriate selection is: Configure Key Vault private endpoint and linked private DNS zone for the cluster network.

B:

That option concerns: An infinite in-process cache prevents adoption of rotated credential values. The current question instead depends on: The runtime network does not have valid DNS/routing to the private endpoint. The directly supported result is: Configure Key Vault private endpoint and linked private DNS zone for the cluster network.

C:

The requested secret version has been administratively disabled. This is a separate requirement; the current case instead hinges on: The runtime network does not have valid DNS/routing to the private endpoint. The matching answer is: Configure Key Vault private endpoint and linked private DNS zone for the cluster network.

Question 40

An SDK creates useful spans but leaves them open on exceptions and traces display incorrect nested durations. Which engineering change is the most direct response to the stated failure and constraint?

  1. Use supported context managers or finally blocks to end spans reliably
  2. Configure a supported exporter and valid destination connection or identity authorization
  3. Replace sensitive baggage with approved opaque correlation identifiers
  4. Record exception events and appropriate error status through supported OpenTelemetry instrumentation

Explanation

Correct Answer

A:

This remedy fits the observed case: An SDK creates useful spans but leaves them open on exceptions and traces display incorrect nested durations. Use supported context managers or finally blocks to end spans reliably. The underlying issue is Unfinished spans distort timing and prevent faithful trace export. Direct acceptance evidence is Injected exceptions close spans and show coherent start/end timing.

Incorrect Answers

B:

The SDK records spans but no working exporter sends them to the collector. This is a separate requirement; the current case instead hinges on: Unfinished spans distort timing and prevent faithful trace export. The matching answer is: Use supported context managers or finally blocks to end spans reliably.

C:

The alternative addresses: Baggage travels across trust boundaries and can expose sensitive data. The reported constraint here is different: Unfinished spans distort timing and prevent faithful trace export. The case-specific choice is: Use supported context managers or finally blocks to end spans reliably.

D:

Exceptions are swallowed or not recorded by tracing instrumentation. By contrast, the relevant technical condition here is: Unfinished spans distort timing and prevent faithful trace export. The appropriate selection is: Use supported context managers or finally blocks to end spans reliably.