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 26

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.

Question 251

An API's database pool waits indefinitely for free connections during spikes, tying up request workers. Which engineering change is the most direct response to the stated failure and constraint?

  1. Close or return connections in finally or context managers even on failure paths
  2. Throttle invocation concurrency or place a managed-compatible pooling layer in the connection path
  3. Remove session-state dependencies or select pooling mode compatible with their semantics
  4. Configure bounded pool-acquire and query deadlines with explicit overload responses

Explanation

Correct Answer

D:

This remedy fits the observed case: An API's database pool waits indefinitely for free connections during spikes, tying up request workers. Configure bounded pool-acquire and query deadlines with explicit overload responses. The underlying issue is Missing queue and connection timeouts cause resource starvation under peak load. Direct acceptance evidence is Requests fail predictably when the pool is exhausted instead of hanging indefinitely.

Incorrect Answers

A:

Failure branches skip connection cleanup and starve the shared pool. By contrast, the relevant technical condition here is: Missing queue and connection timeouts cause resource starvation under peak load. The appropriate selection is: Configure bounded pool-acquire and query deadlines with explicit overload responses.

B:

That option concerns: Unbounded function concurrency multiplies database sessions faster than server capacity. The current question instead depends on: Missing queue and connection timeouts cause resource starvation under peak load. The directly supported result is: Configure bounded pool-acquire and query deadlines with explicit overload responses.

C:

Transaction pooling can hand a subsequent transaction to a different backend session. This is a separate requirement; the current case instead hinges on: Missing queue and connection timeouts cause resource starvation under peak load. The matching answer is: Configure bounded pool-acquire and query deadlines with explicit overload responses.

Question 252

An internal document worker should accept requests only from other Container Apps in its environment. Which engineering change is the most direct response to the stated failure and constraint?

  1. Configure internal ingress and service discovery rather than exposing the app publicly
  2. Apply the template-scoped resource change and explicitly verify the created new revision
  3. Switch to multiple-revision mode and manage activation and routing for the old and new revisions
  4. Restart or redeploy affected revisions so the application reads the new secret value

Explanation

Correct Answer

A:

This remedy fits the observed case: An internal document worker should accept requests only from other Container Apps in its environment. Configure internal ingress and service discovery rather than exposing the app publicly. The underlying issue is External ingress would expose a service that has no external consumer requirement. Direct acceptance evidence is Internal callers reach the worker while requests from the public internet cannot connect.

Incorrect Answers

B:

CPU and memory configuration is revision-scoped and immutable for an existing revision. This is a separate requirement; the current case instead hinges on: External ingress would expose a service that has no external consumer requirement. The matching answer is: Configure internal ingress and service discovery rather than exposing the app publicly.

C:

The alternative addresses: Single-revision mode automatically deactivates competing active revisions. The reported constraint here is different: External ingress would expose a service that has no external consumer requirement. The case-specific choice is: Configure internal ingress and service discovery rather than exposing the app publicly.

D:

Changing an application-scoped secret does not replace values already loaded in a running process. By contrast, the relevant technical condition here is: External ingress would expose a service that has no external consumer requirement. The appropriate selection is: Configure internal ingress and service discovery rather than exposing the app publicly.

Question 253

An AKS pod needs one Key Vault secret but currently reads an administrator key from a mounted static file. Which engineering change is the most direct response to the stated failure and constraint?

  1. Apply the reviewed manifest to the intended namespace and monitor rollout status
  2. Configure AKS workload identity with a least-privileged Key Vault retrieval path or supported secrets-store CSI provider
  3. Roll out new pods that consume the updated ConfigMap values or mounted file refresh as appropriate
  4. Inspect previous pod logs and deployment events, then supply the required setting through the supported manifest or secret

Explanation

Correct Answer

B:

This remedy fits the observed case: An AKS pod needs one Key Vault secret but currently reads an administrator key from a mounted static file. Configure AKS workload identity with a least-privileged Key Vault retrieval path or supported secrets-store CSI provider. The underlying issue is Static credentials and missing workload identity create unnecessary secret exposure. Direct acceptance evidence is Only the authorized service account can retrieve the secret and the pod launches without a static administrator key.

Incorrect Answers

A:

Editing a local manifest does not modify the Kubernetes API objects already running. This is a separate requirement; the current case instead hinges on: Static credentials and missing workload identity create unnecessary secret exposure. The matching answer is: Configure AKS workload identity with a least-privileged Key Vault retrieval path or supported secrets-store CSI provider.

C:

Environment variables from a ConfigMap are resolved on pod creation, not hot-updated in processes. By contrast, the relevant technical condition here is: Static credentials and missing workload identity create unnecessary secret exposure. The appropriate selection is: Configure AKS workload identity with a least-privileged Key Vault retrieval path or supported secrets-store CSI provider.

D:

That option concerns: Container startup fails due to missing runtime configuration rather than scheduler capacity. The current question instead depends on: Static credentials and missing workload identity create unnecessary secret exposure. The directly supported result is: Configure AKS workload identity with a least-privileged Key Vault retrieval path or supported secrets-store CSI provider.

Question 254

An analyst expects the default Cosmos DB latest-version change feed to report every deleted item as a deletion event. 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. Select a supported change feed mode that provides the needed deletion semantics or implement explicit delete markers
  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: An analyst expects the default Cosmos DB latest-version change feed to report every deleted item as a deletion event. Select a supported change feed mode that provides the needed deletion semantics or implement explicit delete markers. The underlying issue is Not every change feed mode exposes deletion events in the same way. Direct acceptance evidence is Deletion tests produce the intended downstream removal signal before the source disappears.

Incorrect Answers

A:

The alternative addresses: Incorrect lease configuration prevents coordinated load balancing and checkpoints. The reported constraint here is different: Not every change feed mode exposes deletion events in the same way. The case-specific choice is: Select a supported change feed mode that provides the needed deletion semantics or implement explicit delete markers.

B:

Insufficient processors or a hot lease/feed range delays downstream materialization. By contrast, the relevant technical condition here is: Not every change feed mode exposes deletion events in the same way. The appropriate selection is: Select a supported change feed mode that provides the needed deletion semantics or implement explicit delete markers.

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: Not every change feed mode exposes deletion events in the same way. The matching answer is: Select a supported change feed mode that provides the needed deletion semantics or implement explicit delete markers.

Question 255

A fraud review workflow must process a queued decision only after a two-hour cooling-off period. Which engineering change is the most direct response to the stated failure and constraint?

  1. Replace overly broad topic subscription rules with an appropriate SQL or correlation filter
  2. Reduce prefetch count to align with processing throughput and lock duration
  3. Reduce the number of auto-forward hops to the supported limit and inspect transfer DLQ reasons
  4. Schedule the Service Bus message to enqueue at the future decision time

Explanation

Correct Answer

D:

This remedy fits the observed case: A fraud review workflow must process a queued decision only after a two-hour cooling-off period. Schedule the Service Bus message to enqueue at the future decision time. The underlying issue is Immediate enqueue makes the work available earlier than allowed. Direct acceptance evidence is The message becomes active near the schedule time but is not consumed before it.

Incorrect Answers

A:

The subscription's default or current filter matches more properties than intended. By contrast, the relevant technical condition here is: Immediate enqueue makes the work available earlier than allowed. The appropriate selection is: Schedule the Service Bus message to enqueue at the future decision time.

B:

That option concerns: Aggressive prefetch starts lock timing ahead of available worker capacity. The current question instead depends on: Immediate enqueue makes the work available earlier than allowed. The directly supported result is: Schedule the Service Bus message to enqueue at the future decision time.

C:

Auto-forward routing exceeds the allowed transfer hop count. This is a separate requirement; the current case instead hinges on: Immediate enqueue makes the work available earlier than allowed. The matching answer is: Schedule the Service Bus message to enqueue at the future decision time.

Question 256

An event-driven service processes one batch containing ten messages but traces incorrectly show all ten as a single serial parent chain. Which engineering change is the most direct response to the stated failure and constraint?

  1. Represent batch processing with appropriate span links or independent item spans preserving upstream contexts
  2. Choose an appropriate sampling policy and capture error telemetry needed for the incident rate
  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 event-driven service processes one batch containing ten messages but traces incorrectly show all ten as a single serial parent chain. Represent batch processing with appropriate span links or independent item spans preserving upstream contexts. The underlying issue is A single linear parent chain misrepresents independent batched work. Direct acceptance evidence is Telemetry distinguishes ten message inputs and their individual downstream operations.

Incorrect Answers

B:

Aggressive head sampling can discard the rare error traces that matter. This is a separate requirement; the current case instead hinges on: A single linear parent chain misrepresents independent batched work. The matching answer is: Represent batch processing with appropriate span links or independent item spans preserving upstream contexts.

C:

The alternative addresses: Baggage travels across trust boundaries and can expose sensitive data. The reported constraint here is different: A single linear parent chain misrepresents independent batched work. The case-specific choice is: Represent batch processing with appropriate span links or independent item spans preserving upstream contexts.

D:

Exceptions are swallowed or not recorded by tracing instrumentation. By contrast, the relevant technical condition here is: A single linear parent chain misrepresents independent batched work. The appropriate selection is: Represent batch processing with appropriate span links or independent item spans preserving upstream contexts.

Question 257

An analytics team has hundreds of abandoned untagged image manifests consuming storage but must retain release-tagged evidence. Which engineering change is the most direct response to the stated failure and constraint?

  1. Store the approved OCI manifest digest in the deployment manifest and verify provenance before promotion
  2. Apply an ACR retention or scheduled cleanup policy limited to eligible untagged manifests
  3. Assign the appropriate repository-scoped writer or AcrPush authorization to the publishing principal
  4. Publish a multi-platform image manifest containing the supported amd64 and arm64 variants

Explanation

Correct Answer

B:

This remedy fits the observed case: An analytics team has hundreds of abandoned untagged image manifests consuming storage but must retain release-tagged evidence. Apply an ACR retention or scheduled cleanup policy limited to eligible untagged manifests. The underlying issue is No lifecycle policy removes obsolete untagged image manifests. Direct acceptance evidence is Storage usage declines while all pinned production digests and required artifacts remain accessible.

Incorrect Answers

A:

A mutable tag can drift independently of the reviewed release artifact. This is a separate requirement; the current case instead hinges on: No lifecycle policy removes obsolete untagged image manifests. The matching answer is: Apply an ACR retention or scheduled cleanup policy limited to eligible untagged manifests.

C:

Read-only pull permission does not authorize writing image manifests and layers. By contrast, the relevant technical condition here is: No lifecycle policy removes obsolete untagged image manifests. The appropriate selection is: Apply an ACR retention or scheduled cleanup policy limited to eligible untagged manifests.

D:

That option concerns: The single-architecture image does not contain binaries suitable for the selected node. The current question instead depends on: No lifecycle policy removes obsolete untagged image manifests. The directly supported result is: Apply an ACR retention or scheduled cleanup policy limited to eligible untagged manifests.

Question 258

A PostgreSQL query occasionally runs for many minutes and exhausts the API's request worker pool. Which engineering change is the most direct response to the stated failure and constraint?

  1. Refresh tokens when establishing authenticated connections and respect token validity
  2. Require supported TLS certificate validation for the intended database hostname
  3. Use query statement timeouts plus client cancellation and inspect long-running query plans
  4. Use the supported PostgreSQL SDK with the verified Azure server FQDN, database and secure connection parameters

Explanation

Correct Answer

C:

This remedy fits the observed case: A PostgreSQL query occasionally runs for many minutes and exhausts the API's request worker pool. Use query statement timeouts plus client cancellation and inspect long-running query plans. The underlying issue is Absent query deadlines lets a pathological query monopolize sessions. Direct acceptance evidence is Slow queries are canceled predictably while healthy requests continue serving.

Incorrect Answers

A:

The alternative addresses: The client reuses an expired identity token instead of obtaining a current one. The reported constraint here is different: Absent query deadlines lets a pathological query monopolize sessions. The case-specific choice is: Use query statement timeouts plus client cancellation and inspect long-running query plans.

B:

TLS encryption without meaningful peer validation does not authenticate the target server. By contrast, the relevant technical condition here is: Absent query deadlines lets a pathological query monopolize sessions. The appropriate selection is: Use query statement timeouts plus client cancellation and inspect long-running query plans.

D:

The application is still using an obsolete database endpoint. This is a separate requirement; the current case instead hinges on: Absent query deadlines lets a pathological query monopolize sessions. The matching answer is: Use query statement timeouts plus client cancellation and inspect long-running query plans.

Question 259

A tracing pipeline samples only a tiny fraction of critical errors and operators cannot reconstruct a rare failure. Which engineering change is the most direct response to the stated failure and constraint?

  1. Represent batch processing with appropriate span links or independent item spans preserving upstream contexts
  2. Align the exporter protocol, OTLP endpoint and collector receiver configuration
  3. Use stable route templates as span names and store bounded detail in sanitized attributes
  4. Choose an appropriate sampling policy and capture error telemetry needed for the incident rate

Explanation

Correct Answer

D:

This remedy fits the observed case: A tracing pipeline samples only a tiny fraction of critical errors and operators cannot reconstruct a rare failure. Choose an appropriate sampling policy and capture error telemetry needed for the incident rate. The underlying issue is Aggressive head sampling can discard the rare error traces that matter. Direct acceptance evidence is Controlled errors remain observable and retained trace volume stays within budget.

Incorrect Answers

A:

A single linear parent chain misrepresents independent batched work. By contrast, the relevant technical condition here is: Aggressive head sampling can discard the rare error traces that matter. The appropriate selection is: Choose an appropriate sampling policy and capture error telemetry needed for the incident rate.

B:

That option concerns: Exporter transport settings do not match the receiving collector listener. The current question instead depends on: Aggressive head sampling can discard the rare error traces that matter. The directly supported result is: Choose an appropriate sampling policy and capture error telemetry needed for the incident rate.

C:

Highly dynamic span names explode cardinality and complicate analysis. This is a separate requirement; the current case instead hinges on: Aggressive head sampling can discard the rare error traces that matter. The matching answer is: Choose an appropriate sampling policy and capture error telemetry needed for the incident rate.

Question 260

A scalable KEDA worker overwhelms a downstream PostgreSQL pool each time Service Bus receives a burst. Which engineering change is the most direct response to the stated failure and constraint?

  1. Lower KEDA scale aggressiveness or cap maximum replicas according to database connection budget
  2. Configure the KEDA Event Hubs scaler with matching consumer group and checkpoint storage
  3. Tune an HTTP concurrent-request scaling rule based on actual per-replica latency and concurrency
  4. Point the KEDA Service Bus scaler at the exact topic and subscription whose backlog the worker owns

Explanation

Correct Answer

A:

This remedy fits the observed case: A scalable KEDA worker overwhelms a downstream PostgreSQL pool each time Service Bus receives a burst. Lower KEDA scale aggressiveness or cap maximum replicas according to database connection budget. The underlying issue is The autoscaler ignores finite downstream connection capacity. Direct acceptance evidence is Peak active database sessions remain under the pool limit while backlog still drains.

Incorrect Answers

B:

The current scale target does not read consumer group event backlog. This is a separate requirement; the current case instead hinges on: The autoscaler ignores finite downstream connection capacity. The matching answer is: Lower KEDA scale aggressiveness or cap maximum replicas according to database connection budget.

C:

The alternative addresses: The existing concurrency threshold allows queueing beyond healthy replica capacity. The reported constraint here is different: The autoscaler ignores finite downstream connection capacity. The case-specific choice is: Lower KEDA scale aggressiveness or cap maximum replicas according to database connection budget.

D:

The scaler is observing a different subscription entity than the worker consumes. By contrast, the relevant technical condition here is: The autoscaler ignores finite downstream connection capacity. The appropriate selection is: Lower KEDA scale aggressiveness or cap maximum replicas according to database connection budget.