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 25

Question 240

Two concurrent Redis refresh workers overwrite a newer product price with an older value during a cache miss race. 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. Prefix keys with environment and application identity and enforce separation
  4. Invalidate or refresh the affected Redis keys on change with a bounded TTL safety net

Explanation

Correct Answer

A:

This remedy fits the observed case: Two concurrent Redis refresh workers overwrite a newer product price with an older value during a cache miss race. Use source versions and conditional compare-and-set or an atomic update policy for stale writes. The underlying issue is Uncoordinated last-writer-wins cache updates allow older data to replace newer data. Direct acceptance evidence is The final cached version never regresses behind a newer committed source version.

Incorrect Answers

B:

Simultaneous expiry sends many duplicate reads to the database. This is a separate requirement; the current case instead hinges on: Uncoordinated last-writer-wins cache updates allow older data to replace newer data. The matching answer is: Use source versions and conditional compare-and-set or an atomic update policy for stale writes.

C:

The alternative addresses: Shared key namespaces mix unrelated environments. The reported constraint here is different: Uncoordinated last-writer-wins cache updates allow older data to replace newer data. The case-specific choice is: Use source versions and conditional compare-and-set or an atomic update policy for stale writes.

D:

TTL-only staleness outlasts acceptable source-change propagation. By contrast, the relevant technical condition here is: Uncoordinated last-writer-wins cache updates allow older data to replace newer data. The appropriate selection is: Use source versions and conditional compare-and-set or an atomic update policy for stale writes.

Question 241

A downstream document indexer permanently fails on one malformed change event and stops updating later records. 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. Handle poison documents with bounded retries, a quarantine path and documented checkpoint policy
  3. Inspect processor lag and rebalance worker capacity against lease distribution
  4. Select a supported change feed mode that provides the needed deletion semantics or implement explicit delete markers

Explanation

Correct Answer

B:

This remedy fits the observed case: A downstream document indexer permanently fails on one malformed change event and stops updating later records. Handle poison documents with bounded retries, a quarantine path and documented checkpoint policy. The underlying issue is Unbounded retry on one malformed payload blocks forward processing. Direct acceptance evidence is Healthy later items can progress while the malformed event is preserved for repair.

Incorrect Answers

A:

Incorrect lease configuration prevents coordinated load balancing and checkpoints. This is a separate requirement; the current case instead hinges on: Unbounded retry on one malformed payload blocks forward processing. The matching answer is: Handle poison documents with bounded retries, a quarantine path and documented checkpoint policy.

C:

Insufficient processors or a hot lease/feed range delays downstream materialization. By contrast, the relevant technical condition here is: Unbounded retry on one malformed payload blocks forward processing. The appropriate selection is: Handle poison documents with bounded retries, a quarantine path and documented checkpoint policy.

D:

That option concerns: Not every change feed mode exposes deletion events in the same way. The current question instead depends on: Unbounded retry on one malformed payload blocks forward processing. The directly supported result is: Handle poison documents with bounded retries, a quarantine path and documented checkpoint policy.

Question 242

A chat application requires fresh writes on the next user request and uses session tokens inconsistently across replicas. Which engineering change is the most direct response to the stated failure and constraint?

  1. Add the trusted partition-key value to queries and align tenant routing with the partition design
  2. Evaluate query metrics and define a suitable composite index for the supported filter and sort shape
  3. Propagate appropriate session consistency tokens for read-your-writes behavior
  4. Choose and migrate to a higher-cardinality partition strategy supported by the workload

Explanation

Correct Answer

C:

This remedy fits the observed case: A chat application requires fresh writes on the next user request and uses session tokens inconsistently across replicas. Propagate appropriate session consistency tokens for read-your-writes behavior. The underlying issue is Losing the session context can violate expected session read-your-writes behavior. Direct acceptance evidence is A request immediately following a write observes its own updated message within the same session.

Incorrect Answers

A:

The alternative addresses: Missing partition predicates force cross-partition scans. The reported constraint here is different: Losing the session context can violate expected session read-your-writes behavior. The case-specific choice is: Propagate appropriate session consistency tokens for read-your-writes behavior.

B:

A single-property default indexing policy does not optimize the compound sort pattern sufficiently. By contrast, the relevant technical condition here is: Losing the session context can violate expected session read-your-writes behavior. The appropriate selection is: Propagate appropriate session consistency tokens for read-your-writes behavior.

D:

A low-cardinality or skewed partition-key choice concentrates throughput on one logical partition. This is a separate requirement; the current case instead hinges on: Losing the session context can violate expected session read-your-writes behavior. The matching answer is: Propagate appropriate session consistency tokens for read-your-writes behavior.

Question 243

A secret retrieval returns forbidden because the specific Key Vault secret version was disabled during a security response. Which engineering change is the most direct response to the stated failure and constraint?

  1. Remove or restrict the sensitive logs, rotate the exposed credential and log only nonsecret failure metadata
  2. Grant an appropriate Key Vault secrets role or configured access policy for data-plane operations
  3. Enable and honor Key Vault soft-delete and purge protection as mandated by policy
  4. Select or create an enabled authorized replacement version and update the consuming app safely

Explanation

Correct Answer

D:

This remedy fits the observed case: A secret retrieval returns forbidden because the specific Key Vault secret version was disabled during a security response. Select or create an enabled authorized replacement version and update the consuming app safely. The underlying issue is The requested secret version has been administratively disabled. Direct acceptance evidence is Secret retrieval succeeds on the permitted version and the disabled version stays inaccessible.

Incorrect Answers

A:

Raw secret payloads were sent to a logging sink that is accessible beyond the intended service. By contrast, the relevant technical condition here is: The requested secret version has been administratively disabled. The appropriate selection is: Select or create an enabled authorized replacement version and update the consuming app safely.

B:

That option concerns: Management-plane contributor rights do not automatically provide secret data-plane access. The current question instead depends on: The requested secret version has been administratively disabled. The directly supported result is: Select or create an enabled authorized replacement version and update the consuming app safely.

C:

Without deletion protection an operator can irreversibly remove critical secret material. This is a separate requirement; the current case instead hinges on: The requested secret version has been administratively disabled. The matching answer is: Select or create an enabled authorized replacement version and update the consuming app safely.

Question 244

An index rebuild unexpectedly consumes large temporary disk space and runs out of available storage. Which engineering change is the most direct response to the stated failure and constraint?

  1. Provision measured headroom and schedule ANN index maintenance with production traffic controls
  2. Move to a compute tier or capacity suitable for sustained CPU demand
  3. Identify IO bottlenecks and select supported storage performance/capacity configuration
  4. Batch writes sensibly and profile WAL, checkpoints and downstream replication capacity

Explanation

Correct Answer

A:

This remedy fits the observed case: An index rebuild unexpectedly consumes large temporary disk space and runs out of available storage. Provision measured headroom and schedule ANN index maintenance with production traffic controls. The underlying issue is Large index build work requires temporary and persistent space beyond current headroom. Direct acceptance evidence is Index creation completes without storage exhaustion or an SLO incident.

Incorrect Answers

B:

Burstable CPU credits cannot sustain the constant workload. This is a separate requirement; the current case instead hinges on: Large index build work requires temporary and persistent space beyond current headroom. The matching answer is: Provision measured headroom and schedule ANN index maintenance with production traffic controls.

C:

The alternative addresses: Disk throughput limits, not bytes free, constrain the ingest path. The reported constraint here is different: Large index build work requires temporary and persistent space beyond current headroom. The case-specific choice is: Provision measured headroom and schedule ANN index maintenance with production traffic controls.

D:

Write amplification and logging load exceed available recovery or replica throughput. By contrast, the relevant technical condition here is: Large index build work requires temporary and persistent space beyond current headroom. The appropriate selection is: Provision measured headroom and schedule ANN index maintenance with production traffic controls.

Question 245

A service polls App Configuration on every single API request, increasing latency and hitting throttling. Which engineering change is the most direct response to the stated failure and constraint?

  1. Assign the appropriate App Configuration data reader role to the workload identity
  2. Use the provider's configurable refresh interval and local cache
  3. Separate feature-flag evaluations by intended store, label and environment context
  4. Use supported cached configuration and an explicit last-known-good fallback where the contract allows

Explanation

Correct Answer

B:

This remedy fits the observed case: A service polls App Configuration on every single API request, increasing latency and hitting throttling. Use the provider's configurable refresh interval and local cache. The underlying issue is Unbounded per-request polling creates excessive network and service load. Direct acceptance evidence is App Configuration request volume drops while intended change propagation remains within SLA.

Incorrect Answers

A:

Management-plane access is insufficient for the required App Configuration data operation. This is a separate requirement; the current case instead hinges on: Unbounded per-request polling creates excessive network and service load. The matching answer is: Use the provider's configurable refresh interval and local cache.

C:

Cross-environment caching mixes policy contexts. By contrast, the relevant technical condition here is: Unbounded per-request polling creates excessive network and service load. The appropriate selection is: Use the provider's configurable refresh interval and local cache.

D:

That option concerns: Treating every remote refresh as a hard dependency creates an availability failure. The current question instead depends on: Unbounded per-request polling creates excessive network and service load. The directly supported result is: Use the provider's configurable refresh interval and local cache.

Question 246

A support team wants a five-minute trend of failed requests but its query returns one count for an entire day. Which engineering change is the most direct response to the stated failure and constraint?

  1. Use dcount of an approved pseudonymous account field over the relevant time range
  2. Parse the dynamic payload with parse_json and extract the typed nested field
  3. Summarize request failures by bin(timestamp,5m) and project the bins for charting
  4. Normalize both durations to a common KQL timespan or millisecond representation

Explanation

Correct Answer

C:

This remedy fits the observed case: A support team wants a five-minute trend of failed requests but its query returns one count for an entire day. Summarize request failures by bin(timestamp,5m) and project the bins for charting. The underlying issue is A query without time binning collapses temporal variation into one aggregate. Direct acceptance evidence is The chart shows separate five-minute failure intervals and the total matches raw events.

Incorrect Answers

A:

The alternative addresses: count() counts invocations instead of approximately distinct entities. The reported constraint here is different: A query without time binning collapses temporal variation into one aggregate. The case-specific choice is: Summarize request failures by bin(timestamp,5m) and project the bins for charting.

B:

The query reads a nested dynamic field as if it were a top-level scalar. By contrast, the relevant technical condition here is: A query without time binning collapses temporal variation into one aggregate. The appropriate selection is: Summarize request failures by bin(timestamp,5m) and project the bins for charting.

D:

Mixing timespan and numeric millisecond types produces misleading comparisons. This is a separate requirement; the current case instead hinges on: A query without time binning collapses temporal variation into one aggregate. The matching answer is: Summarize request failures by bin(timestamp,5m) and project the bins for charting.

Question 247

A release engineer changes Container Apps traffic weights and mistakenly expects a brand-new revision to be generated. Which engineering change is the most direct response to the stated failure and constraint?

  1. Align the configured startup or readiness probe path and port with the deployed process
  2. Use revision labels and direct label-based routing to the candidate revision
  3. Switch to multiple-revision mode and manage activation and routing for the old and new revisions
  4. Update the application-scoped ingress traffic settings without rebuilding the image

Explanation

Correct Answer

D:

This remedy fits the observed case: A release engineer changes Container Apps traffic weights and mistakenly expects a brand-new revision to be generated. Update the application-scoped ingress traffic settings without rebuilding the image. The underlying issue is Ingress traffic routing is an application-scope configuration, not a template revision. Direct acceptance evidence is Revision count stays stable while traffic distribution changes according to the new weights.

Incorrect Answers

A:

A probe contract mismatch prevents revision readiness despite a runnable container. By contrast, the relevant technical condition here is: Ingress traffic routing is an application-scope configuration, not a template revision. The appropriate selection is: Update the application-scoped ingress traffic settings without rebuilding the image.

B:

That option concerns: The default app FQDN follows shared traffic weights and cannot pin an individual candidate. The current question instead depends on: Ingress traffic routing is an application-scope configuration, not a template revision. The directly supported result is: Update the application-scoped ingress traffic settings without rebuilding the image.

C:

Single-revision mode automatically deactivates competing active revisions. This is a separate requirement; the current case instead hinges on: Ingress traffic routing is an application-scope configuration, not a template revision. The matching answer is: Update the application-scoped ingress traffic settings without rebuilding the image.

Question 248

An invoice pipeline already uses Azure Service Bus and needs a function to react to accepted messages. Which engineering change is the most direct response to the stated failure and constraint?

  1. Use a Service Bus trigger with the proper entity name, connection authorization and message handler
  2. Use a timer-triggered Azure Function with a UTC-aware CRON schedule
  3. Use a suitable Blob input binding or an authorized Blob SDK lookup tied to that reference
  4. Use Durable Functions orchestration with activity fan-out and fan-in patterns

Explanation

Correct Answer

A:

This remedy fits the observed case: An invoice pipeline already uses Azure Service Bus and needs a function to react to accepted messages. Use a Service Bus trigger with the proper entity name, connection authorization and message handler. The underlying issue is A timer or HTTP trigger does not subscribe to the Service Bus message stream. Direct acceptance evidence is Sending a test message invokes the function and processing settles the message correctly.

Incorrect Answers

B:

A queue trigger cannot express the required fixed schedule on idle days. This is a separate requirement; the current case instead hinges on: A timer or HTTP trigger does not subscribe to the Service Bus message stream. The matching answer is: Use a Service Bus trigger with the proper entity name, connection authorization and message handler.

C:

The alternative addresses: The handler has no configured storage binding or retrieval logic for the input object. The reported constraint here is different: A timer or HTTP trigger does not subscribe to the Service Bus message stream. The case-specific choice is: Use a Service Bus trigger with the proper entity name, connection authorization and message handler.

D:

Ordinary function invocations do not provide durable orchestration state across failures. By contrast, the relevant technical condition here is: A timer or HTTP trigger does not subscribe to the Service Bus message stream. The appropriate selection is: Use a Service Bus trigger with the proper entity name, connection authorization and message handler.

Question 249

An enrichment system must notify search indexing and auditing independently on each blob-created event. 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. Create separate Event Grid subscriptions or native destinations for each independent handler
  3. Return a retryable server error for genuine transient failures and a 2xx only after safe acceptance
  4. Renew and correctly bind the certificate on the HTTPS webhook endpoint

Explanation

Correct Answer

B:

This remedy fits the observed case: An enrichment system must notify search indexing and auditing independently on each blob-created event. Create separate Event Grid subscriptions or native destinations for each independent handler. The underlying issue is Sending to only one endpoint couples independent downstream consumers. Direct acceptance evidence is Both handlers receive matching events even when one temporarily fails.

Incorrect Answers

A:

A browser-accessible key allows untrusted clients to publish arbitrary topic events. This is a separate requirement; the current case instead hinges on: Sending to only one endpoint couples independent downstream consumers. The matching answer is: Create separate Event Grid subscriptions or native destinations for each independent handler.

C:

Some nonretryable 4xx responses are dead-lettered or dropped rather than retried. By contrast, the relevant technical condition here is: Sending to only one endpoint couples independent downstream consumers. The appropriate selection is: Create separate Event Grid subscriptions or native destinations for each independent handler.

D:

That option concerns: The endpoint's certificate trust or hostname validation fails before request processing. The current question instead depends on: Sending to only one endpoint couples independent downstream consumers. The directly supported result is: Create separate Event Grid subscriptions or native destinations for each independent handler.

Question 250

An Azure Function uses a private endpoint to reach a database but fails after public network access is disabled. 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. Tune extension-specific concurrency settings in host.json for the supported extension version
  3. Configure supported VNet integration, routing and private DNS for the function hosting plan
  4. Define matching binding connection keys or identity-based connection settings in the deployment environment

Explanation

Correct Answer

C:

This remedy fits the observed case: An Azure Function uses a private endpoint to reach a database but fails after public network access is disabled. Configure supported VNet integration, routing and private DNS for the function hosting plan. The underlying issue is Network path or DNS is not configured for private database access. Direct acceptance evidence is The deployed function resolves and connects to the database private address.

Incorrect Answers

A:

The alternative addresses: The deployment package's root directory is one level too deep. The reported constraint here is different: Network path or DNS is not configured for private database access. The case-specific choice is: Configure supported VNet integration, routing and private DNS for the function hosting plan.

B:

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: Network path or DNS is not configured for private database access. The appropriate selection is: Configure supported VNet integration, routing and private DNS for the function hosting plan.

D:

The trigger's connection property does not match configured application settings. This is a separate requirement; the current case instead hinges on: Network path or DNS is not configured for private database access. The matching answer is: Configure supported VNet integration, routing and private DNS for the function hosting plan.