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 93

Question 920

A Python Function needs to query Azure Cosmos DB but developer keys were placed in app settings without rotation. Which lasting release or operating safeguard most directly reduces recurrence of this specific problem?

  1. Audit the least-privileged roles and rotate removed credentials
  2. Treat hub naming as deployment-scoped immutable configuration
  3. Do not rely on unlimited execution time for HTTP-triggered requests
  4. Pin compatible extensions and test host startup during version upgrades

Explanation

Correct Answer

A:

This safeguard targets recurrence after the fix: Audit the least-privileged roles and rotate removed credentials. It controls the exact risk in A Python Function needs to query Azure Cosmos DB but developer keys were placed in app settings without rotation. The targeted engineering repair remains Enable managed identity and grant the supported Cosmos DB data-plane authorization.

Incorrect Answers

B:

Colliding task hub configuration allows distinct environments to interfere. This is a separate requirement; the current case instead hinges on: This safeguard targets recurrence after the fix: Audit the least-privileged roles and rotate removed credentials. The matching answer is: Audit the least-privileged roles and rotate removed credentials.

C:

The alternative addresses: The configured plan/function timeout is shorter than worst-case work duration. The reported constraint here is different: This safeguard targets recurrence after the fix: Audit the least-privileged roles and rotate removed credentials. The case-specific choice is: Audit the least-privileged roles and rotate removed credentials.

D:

Missing or incompatible binding extensions prevent trigger listener initialization. By contrast, the relevant technical condition here is: This safeguard targets recurrence after the fix: Audit the least-privileged roles and rotate removed credentials. The appropriate selection is: Audit the least-privileged roles and rotate removed credentials.

Question 921

An App Service cannot pull a new private ACR image after administrator credentials are disabled. Which lasting release or operating safeguard most directly reduces recurrence of this specific problem?

  1. Define mandatory app-setting validation in deployment preflight
  2. Validate pull access on a staging slot before disabling legacy credentials in production
  3. Set scale limits and downstream concurrency budgets to avoid overwhelming dependencies
  4. Limit sensitive logging and add startup health probes to deployment checks

Explanation

Correct Answer

B:

This safeguard targets recurrence after the fix: Validate pull access on a staging slot before disabling legacy credentials in production. It controls the exact risk in An App Service cannot pull a new private ACR image after administrator credentials are disabled. The targeted engineering repair remains Enable managed-identity-based registry pulls and grant the App Service identity authorized AcrPull access.

Incorrect Answers

A:

This safeguard targets recurrence after the fix: Define mandatory app-setting validation in deployment preflight. This is a separate requirement; the current case instead hinges on: This safeguard targets recurrence after the fix: Validate pull access on a staging slot before disabling legacy credentials in production. The matching answer is: Validate pull access on a staging slot before disabling legacy credentials in production.

C:

Fixed instance capacity cannot meet sustained concurrent CPU demand. By contrast, the relevant technical condition here is: This safeguard targets recurrence after the fix: Validate pull access on a staging slot before disabling legacy credentials in production. The appropriate selection is: Validate pull access on a staging slot before disabling legacy credentials in production.

D:

That option concerns: Missing container runtime logs conceal the first exception that terminates the process. The current question instead depends on: This safeguard targets recurrence after the fix: Validate pull access on a staging slot before disabling legacy credentials in production. The directly supported result is: Validate pull access on a staging slot before disabling legacy credentials in production.

Question 922

A new Event Grid webhook subscription cannot complete endpoint validation before events are delivered. Which lasting release or operating safeguard most directly reduces recurrence of this specific problem?

  1. Set alerts on delivery failures and sustained dead-letter accumulation
  2. Validate filter path and data types with examples from the publisher
  3. Test validation on each deployment and control inbound endpoint authentication
  4. Retain schema/version tests for new event types

Explanation

Correct Answer

C:

This safeguard targets recurrence after the fix: Test validation on each deployment and control inbound endpoint authentication. It controls the exact risk in A new Event Grid webhook subscription cannot complete endpoint validation before events are delivered. The targeted engineering repair remains Implement the supported subscription validation handshake or use a native Azure destination.

Incorrect Answers

A:

The alternative addresses: Event publication success does not prove downstream delivery or processing success. The reported constraint here is different: This safeguard targets recurrence after the fix: Test validation on each deployment and control inbound endpoint authentication. The case-specific choice is: Test validation on each deployment and control inbound endpoint authentication.

B:

A subject-only filter cannot discriminate the required nested event data property. By contrast, the relevant technical condition here is: This safeguard targets recurrence after the fix: Test validation on each deployment and control inbound endpoint authentication. The appropriate selection is: Test validation on each deployment and control inbound endpoint authentication.

D:

No event-type filter is enforced on the subscription. This is a separate requirement; the current case instead hinges on: This safeguard targets recurrence after the fix: Test validation on each deployment and control inbound endpoint authentication. The matching answer is: Test validation on each deployment and control inbound endpoint authentication.

Question 923

A contributor can pull registry images but every attempt to publish a new model-serving image returns authorization denied. Which lasting release or operating safeguard most directly reduces recurrence of this specific problem?

  1. Validate regional replication before changing deployment references and keep a recovery region
  2. Record source digest and license evidence before importing future releases
  3. Disable admin access and scope repository permissions to the publishing workflow
  4. Avoid granting broad registry owner privileges merely to repair a push failure

Explanation

Correct Answer

D:

This safeguard targets recurrence after the fix: Avoid granting broad registry owner privileges merely to repair a push failure. It controls the exact risk in A contributor can pull registry images but every attempt to publish a new model-serving image returns authorization denied. The targeted engineering repair remains Assign the appropriate repository-scoped writer or AcrPush authorization to the publishing principal.

Incorrect Answers

A:

The single registry location creates cross-region distribution latency and dependency. By contrast, the relevant technical condition here is: This safeguard targets recurrence after the fix: Avoid granting broad registry owner privileges merely to repair a push failure. The appropriate selection is: Avoid granting broad registry owner privileges merely to repair a push failure.

B:

That option concerns: Depending on an unaudited public pull violates the isolated deployment's registry policy. The current question instead depends on: This safeguard targets recurrence after the fix: Avoid granting broad registry owner privileges merely to repair a push failure. The directly supported result is: Avoid granting broad registry owner privileges merely to repair a push failure.

C:

Static registry administrator credentials leaked across an untrusted build boundary. This is a separate requirement; the current case instead hinges on: This safeguard targets recurrence after the fix: Avoid granting broad registry owner privileges merely to repair a push failure. The matching answer is: Avoid granting broad registry owner privileges merely to repair a push failure.

Question 924

A team edits only an Azure Container App environment variable in a template but expects every running old revision to mutate in place. Which lasting release or operating safeguard most directly reduces recurrence of this specific problem?

  1. Retire outdated revisions only after proving consumers use the intended version
  2. Coordinate rotation with application restart and overlap where the secret issuer permits
  3. Maintain internal-only ingress in infrastructure definitions and test external denial
  4. Run probe-path tests before assigning production traffic weight

Explanation

Correct Answer

A:

This safeguard targets recurrence after the fix: Retire outdated revisions only after proving consumers use the intended version. It controls the exact risk in A team edits only an Azure Container App environment variable in a template but expects every running old revision to mutate in place. The targeted engineering repair remains Deploy the revision-scoped template change as a new revision and explicitly route traffic.

Incorrect Answers

B:

Changing an application-scoped secret does not replace values already loaded in a running process. This is a separate requirement; the current case instead hinges on: This safeguard targets recurrence after the fix: Retire outdated revisions only after proving consumers use the intended version. The matching answer is: Retire outdated revisions only after proving consumers use the intended version.

C:

The alternative addresses: External ingress would expose a service that has no external consumer requirement. The reported constraint here is different: This safeguard targets recurrence after the fix: Retire outdated revisions only after proving consumers use the intended version. The case-specific choice is: Retire outdated revisions only after proving consumers use the intended version.

D:

A probe contract mismatch prevents revision readiness despite a runnable container. By contrast, the relevant technical condition here is: This safeguard targets recurrence after the fix: Retire outdated revisions only after proving consumers use the intended version. The appropriate selection is: Retire outdated revisions only after proving consumers use the intended version.

Question 925

A new Python deployment cannot reach its PostgreSQL host because an outdated connection URI points to the retired server. Which lasting release or operating safeguard most directly reduces recurrence of this specific problem?

  1. Bound token caching and test authentication across planned rotations
  2. Manage environment-specific connection details centrally and verify them in preflight
  3. Keep trusted certificate material updated and avoid globally disabling validation
  4. Retry only idempotent reads or carefully designed transactions and cap overall request duration

Explanation

Correct Answer

B:

This safeguard targets recurrence after the fix: Manage environment-specific connection details centrally and verify them in preflight. It controls the exact risk in A new Python deployment cannot reach its PostgreSQL host because an outdated connection URI points to the retired server. The targeted engineering repair remains Use the supported PostgreSQL SDK with the verified Azure server FQDN, database and secure connection parameters.

Incorrect Answers

A:

The client reuses an expired identity token instead of obtaining a current one. This is a separate requirement; the current case instead hinges on: This safeguard targets recurrence after the fix: Manage environment-specific connection details centrally and verify them in preflight. The matching answer is: Manage environment-specific connection details centrally and verify them in preflight.

C:

TLS encryption without meaningful peer validation does not authenticate the target server. By contrast, the relevant technical condition here is: This safeguard targets recurrence after the fix: Manage environment-specific connection details centrally and verify them in preflight. The appropriate selection is: Manage environment-specific connection details centrally and verify them in preflight.

D:

That option concerns: Transient connection errors are treated as permanent failures. The current question instead depends on: This safeguard targets recurrence after the fix: Manage environment-specific connection details centrally and verify them in preflight. The directly supported result is: Manage environment-specific connection details centrally and verify them in preflight.

Question 926

An Event Grid document-approved event must invoke an Azure Function without writing a custom polling loop. Which lasting release or operating safeguard most directly reduces recurrence of this specific problem?

  1. Define an API contract test for allowed methods and authentication
  2. Keep orchestrator code deterministic and move I/O into activity functions
  3. Check trigger authorization and support duplicate event deliveries
  4. Define unique IDs and transactional state transitions where practical

Explanation

Correct Answer

C:

This safeguard targets recurrence after the fix: Check trigger authorization and support duplicate event deliveries. It controls the exact risk in An Event Grid document-approved event must invoke an Azure Function without writing a custom polling loop. The targeted engineering repair remains Use an Event Grid trigger with a correctly configured event subscription endpoint.

Incorrect Answers

A:

The alternative addresses: An overbroad route or method declaration exposes unintended operations. The reported constraint here is different: This safeguard targets recurrence after the fix: Check trigger authorization and support duplicate event deliveries. The case-specific choice is: Check trigger authorization and support duplicate event deliveries.

B:

Ordinary function invocations do not provide durable orchestration state across failures. By contrast, the relevant technical condition here is: This safeguard targets recurrence after the fix: Check trigger authorization and support duplicate event deliveries. The appropriate selection is: Check trigger authorization and support duplicate event deliveries.

D:

At-least-once triggers can replay work after host or network failure. This is a separate requirement; the current case instead hinges on: This safeguard targets recurrence after the fix: Check trigger authorization and support duplicate event deliveries. The matching answer is: Check trigger authorization and support duplicate event deliveries.

Question 927

A product-update feed is expected to perform real-time refresh but one partition shows growing update lag. Which lasting release or operating safeguard most directly reduces recurrence of this specific problem?

  1. Test create-update-upsert flows with persistent checkpoint state
  2. Make replay and quarantine auditable and avoid silently dropping content
  3. Record backfill boundaries and reconcile counts to prevent gaps
  4. Alert on per-partition lag and scale for the hottest feed ranges

Explanation

Correct Answer

D:

This safeguard targets recurrence after the fix: Alert on per-partition lag and scale for the hottest feed ranges. It controls the exact risk in A product-update feed is expected to perform real-time refresh but one partition shows growing update lag. The targeted engineering repair remains Inspect processor lag and rebalance worker capacity against lease distribution.

Incorrect Answers

A:

The handler assumes a change feed represents inserts only. By contrast, the relevant technical condition here is: This safeguard targets recurrence after the fix: Alert on per-partition lag and scale for the hottest feed ranges. The appropriate selection is: Alert on per-partition lag and scale for the hottest feed ranges.

B:

That option concerns: Unbounded retry on one malformed payload blocks forward processing. The current question instead depends on: This safeguard targets recurrence after the fix: Alert on per-partition lag and scale for the hottest feed ranges. The directly supported result is: Alert on per-partition lag and scale for the hottest feed ranges.

C:

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: This safeguard targets recurrence after the fix: Alert on per-partition lag and scale for the hottest feed ranges. The matching answer is: Alert on per-partition lag and scale for the hottest feed ranges.

Question 928

A Node.js Functions app works locally but fails to load after deployment to an incompatible supported runtime version. Which lasting release or operating safeguard most directly reduces recurrence of this specific problem?

  1. Pin versions and run a staging startup test for upgrades
  2. Monitor storage credential and identity changes during cutovers
  3. Audit the least-privileged roles and rotate removed credentials
  4. Validate private DNS from the running plan and retain a recovery path

Explanation

Correct Answer

A:

This safeguard targets recurrence after the fix: Pin versions and run a staging startup test for upgrades. It controls the exact risk in A Node.js Functions app works locally but fails to load after deployment to an incompatible supported runtime version. The targeted engineering repair remains Align application language version, Functions runtime and dependency package versions.

Incorrect Answers

B:

Required host storage or its permissions are unavailable. This is a separate requirement; the current case instead hinges on: This safeguard targets recurrence after the fix: Pin versions and run a staging startup test for upgrades. The matching answer is: Pin versions and run a staging startup test for upgrades.

C:

The alternative addresses: The current configuration depends on shared static keys rather than workload identity. The reported constraint here is different: This safeguard targets recurrence after the fix: Pin versions and run a staging startup test for upgrades. The case-specific choice is: Pin versions and run a staging startup test for upgrades.

D:

Network path or DNS is not configured for private database access. By contrast, the relevant technical condition here is: This safeguard targets recurrence after the fix: Pin versions and run a staging startup test for upgrades. The appropriate selection is: Pin versions and run a staging startup test for upgrades.

Question 929

A poisoned work item repeatedly fails a Function queue trigger and creates noisy endless retries. Which lasting release or operating safeguard most directly reduces recurrence of this specific problem?

  1. Limit exposure with network controls and rate limits alongside trigger authorization
  2. Alert on poison messages and never silently discard user work
  3. Design cleanup to be idempotent if an invocation is retried or delayed
  4. Keep orchestrator code deterministic and move I/O into activity functions

Explanation

Correct Answer

B:

This safeguard targets recurrence after the fix: Alert on poison messages and never silently discard user work. It controls the exact risk in A poisoned work item repeatedly fails a Function queue trigger and creates noisy endless retries. The targeted engineering repair remains Use supported retry/dequeue limits with poison-queue review and targeted remediation.

Incorrect Answers

A:

An anonymous HTTP trigger exposes compute without application-level authentication. This is a separate requirement; the current case instead hinges on: This safeguard targets recurrence after the fix: Alert on poison messages and never silently discard user work. The matching answer is: Alert on poison messages and never silently discard user work.

C:

A queue trigger cannot express the required fixed schedule on idle days. By contrast, the relevant technical condition here is: This safeguard targets recurrence after the fix: Alert on poison messages and never silently discard user work. The appropriate selection is: Alert on poison messages and never silently discard user work.

D:

That option concerns: Ordinary function invocations do not provide durable orchestration state across failures. The current question instead depends on: This safeguard targets recurrence after the fix: Alert on poison messages and never silently discard user work. The directly supported result is: Alert on poison messages and never silently discard user work.

Question 930

A PostgreSQL cosine query refuses to use a vector index created with the L2 operator class. Which lasting release or operating safeguard most directly reduces recurrence of this specific problem?

  1. Validate dimension compatibility before bulk ingest or model upgrade
  2. Use representative holdout queries to set parameters rather than guessing
  3. Pin the metric consistently across embeddings, index definitions and queries
  4. Compare real plans on realistic dataset sizes before forcing a particular access path

Explanation

Correct Answer

C:

This safeguard targets recurrence after the fix: Pin the metric consistently across embeddings, index definitions and queries. It controls the exact risk in A PostgreSQL cosine query refuses to use a vector index created with the L2 operator class. The targeted engineering repair remains Rebuild the index with an operator class matching the distance operator in the query.

Incorrect Answers

A:

The alternative addresses: ANN index creation requires a fixed supported vector dimension. The reported constraint here is different: This safeguard targets recurrence after the fix: Pin the metric consistently across embeddings, index definitions and queries. The case-specific choice is: Pin the metric consistently across embeddings, index definitions and queries.

B:

The candidate-search breadth is too narrow for desired approximate recall. By contrast, the relevant technical condition here is: This safeguard targets recurrence after the fix: Pin the metric consistently across embeddings, index definitions and queries. The appropriate selection is: Pin the metric consistently across embeddings, index definitions and queries.

D:

Planner statistics or filter selectivity can make an alternative scan plan cheaper. This is a separate requirement; the current case instead hinges on: This safeguard targets recurrence after the fix: Pin the metric consistently across embeddings, index definitions and queries. The matching answer is: Pin the metric consistently across embeddings, index definitions and queries.