McAfee-Secured Website

Exam 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 67

Question 660

A support team needs repeatable safe reprocessing of corrected messages after a parser defect is fixed. Which test result provides the strongest acceptance evidence?

  1. One corrected test message is restored for processing and its replay is traceable.
  2. The app can perform only its assigned send or receive action without embedded secrets.
  3. Only messages satisfying the rule arrive in the target subscription.
  4. A terminated worker's uncompleted message becomes available for redelivery after its lock expires.

Explanation

Correct Answer

A:

Dead-letter handling requires explicit operational remediation; the broker does not automatically fix poison messages. The observed result “One corrected test message is restored for processing and its replay is traceable” would confirm the change “Implement a controlled dead-letter inspection, repair, replay and audit workflow” in this situation: A support team needs repeatable safe reprocessing of corrected messages after a parser defect is fixed.

Incorrect Answers

B:

Service Bus supports identity-based data-plane authorization distinct from general Azure management roles. The situation here is: A support team needs repeatable safe reprocessing of corrected messages after a parser defect is fixed. A test of this alternative would miss the specific outcome “One corrected test message is restored for processing and its replay is traceable”.

C:

Subscription filters control delivery at the broker rather than relying solely on client discard logic. The situation here is: A support team needs repeatable safe reprocessing of corrected messages after a parser defect is fixed. A test of this alternative would miss the specific outcome “One corrected test message is restored for processing and its replay is traceable”.

D:

Peek-Lock separates receipt from acknowledgement so interrupted processing can be retried. The situation here is: A support team needs repeatable safe reprocessing of corrected messages after a parser defect is fixed. A test of this alternative would miss the specific outcome “One corrected test message is restored for processing and its replay is traceable”.

Question 661

A publisher tags each Service Bus message with content type but an API consumer expects binary JSON. Which technical approach BEST addresses this problem?

  1. Define a versioned message contract with content type, schema and compatible serialization.
  2. Schedule the Service Bus message for its required enqueue time.
  3. Use the Service Bus dead-letter subqueue and document a remediation or reprocessing procedure.
  4. Abandon the locked message or let the lock expire and retry with bounded recovery logic.

Explanation

Correct Answer

A:

Messaging systems transport bytes; application contracts determine how payloads are encoded and interpreted. For this situation—A publisher tags each Service Bus message with content type but an API consumer expects binary JSON—the relevant response is “Define a versioned message contract with content type, schema and compatible serialization”. A useful confirmation is “A producer-consumer contract test exchanges and parses the sample payload correctly”.

Incorrect Answers

B:

Service Bus scheduled messages delay availability without a client-side sleep loop. That does not directly address the situation—A publisher tags each Service Bus message with content type but an API consumer expects binary JSON. The more suitable choice is “Define a versioned message contract with content type, schema and compatible serialization”: Messaging systems transport bytes; application contracts determine how payloads are encoded and interpreted.

C:

Dead-letter queues isolate unprocessable messages without discarding diagnostic context. That does not directly address the situation—A publisher tags each Service Bus message with content type but an API consumer expects binary JSON. The more suitable choice is “Define a versioned message contract with content type, schema and compatible serialization”: Messaging systems transport bytes; application contracts determine how payloads are encoded and interpreted.

D:

Abandon or lock expiry re-enables delivery; completing a failed message would lose the work. That does not directly address the situation—A publisher tags each Service Bus message with content type but an API consumer expects binary JSON. The more suitable choice is “Define a versioned message contract with content type, schema and compatible serialization”: Messaging systems transport bytes; application contracts determine how payloads are encoded and interpreted.

Question 662

A publisher tags each Service Bus message with content type but an API consumer expects binary JSON. What result MOST directly verifies that the solution works?

  1. The message is not available to receivers before its scheduled visibility time.
  2. A producer-consumer contract test exchanges and parses the sample payload correctly.
  3. The failed message appears with a dead-letter reason and is removed from the active delivery path.
  4. The message becomes available to another consumer without being marked completed.

Explanation

Correct Answer

B:

Messaging systems transport bytes; application contracts determine how payloads are encoded and interpreted. The observed result “A producer-consumer contract test exchanges and parses the sample payload correctly” would confirm the change “Define a versioned message contract with content type, schema and compatible serialization” in this situation: A publisher tags each Service Bus message with content type but an API consumer expects binary JSON.

Incorrect Answers

A:

Service Bus scheduled messages delay availability without a client-side sleep loop. The situation here is: A publisher tags each Service Bus message with content type but an API consumer expects binary JSON. A test of this alternative would miss the specific outcome “A producer-consumer contract test exchanges and parses the sample payload correctly”.

C:

Dead-letter queues isolate unprocessable messages without discarding diagnostic context. The situation here is: A publisher tags each Service Bus message with content type but an API consumer expects binary JSON. A test of this alternative would miss the specific outcome “A producer-consumer contract test exchanges and parses the sample payload correctly”.

D:

Abandon or lock expiry re-enables delivery; completing a failed message would lose the work. The situation here is: A publisher tags each Service Bus message with content type but an API consumer expects binary JSON. A test of this alternative would miss the specific outcome “A producer-consumer contract test exchanges and parses the sample payload correctly”.

Question 663

A service bus handler cannot deserialize messages because sender and receiver disagree on encoding. Which implementation is MOST appropriate for this requirement?

  1. Schedule the Service Bus message for its required enqueue time.
  2. Use the Service Bus dead-letter subqueue and document a remediation or reprocessing procedure.
  3. Abandon the locked message or let the lock expire and retry with bounded recovery logic.
  4. Define a versioned message contract with content type, schema and compatible serialization.

Explanation

Correct Answer

D:

Messaging systems transport bytes; application contracts determine how payloads are encoded and interpreted. For this situation—A service bus handler cannot deserialize messages because sender and receiver disagree on encoding—the relevant response is “Define a versioned message contract with content type, schema and compatible serialization”. A useful confirmation is “A producer-consumer contract test exchanges and parses the sample payload correctly”.

Incorrect Answers

A:

Service Bus scheduled messages delay availability without a client-side sleep loop. That does not directly address the situation—A service bus handler cannot deserialize messages because sender and receiver disagree on encoding. The more suitable choice is “Define a versioned message contract with content type, schema and compatible serialization”: Messaging systems transport bytes; application contracts determine how payloads are encoded and interpreted.

B:

Dead-letter queues isolate unprocessable messages without discarding diagnostic context. That does not directly address the situation—A service bus handler cannot deserialize messages because sender and receiver disagree on encoding. The more suitable choice is “Define a versioned message contract with content type, schema and compatible serialization”: Messaging systems transport bytes; application contracts determine how payloads are encoded and interpreted.

C:

Abandon or lock expiry re-enables delivery; completing a failed message would lose the work. That does not directly address the situation—A service bus handler cannot deserialize messages because sender and receiver disagree on encoding. The more suitable choice is “Define a versioned message contract with content type, schema and compatible serialization”: Messaging systems transport bytes; application contracts determine how payloads are encoded and interpreted.

Question 664

A service bus handler cannot deserialize messages because sender and receiver disagree on encoding. After the proposed remediation, what should be observed?

  1. The message is not available to receivers before its scheduled visibility time.
  2. A producer-consumer contract test exchanges and parses the sample payload correctly.
  3. The failed message appears with a dead-letter reason and is removed from the active delivery path.
  4. The message becomes available to another consumer without being marked completed.

Explanation

Correct Answer

B:

Messaging systems transport bytes; application contracts determine how payloads are encoded and interpreted. The observed result “A producer-consumer contract test exchanges and parses the sample payload correctly” would confirm the change “Define a versioned message contract with content type, schema and compatible serialization” in this situation: A service bus handler cannot deserialize messages because sender and receiver disagree on encoding.

Incorrect Answers

A:

Service Bus scheduled messages delay availability without a client-side sleep loop. The situation here is: A service bus handler cannot deserialize messages because sender and receiver disagree on encoding. A test of this alternative would miss the specific outcome “A producer-consumer contract test exchanges and parses the sample payload correctly”.

C:

Dead-letter queues isolate unprocessable messages without discarding diagnostic context. The situation here is: A service bus handler cannot deserialize messages because sender and receiver disagree on encoding. A test of this alternative would miss the specific outcome “A producer-consumer contract test exchanges and parses the sample payload correctly”.

D:

Abandon or lock expiry re-enables delivery; completing a failed message would lose the work. The situation here is: A service bus handler cannot deserialize messages because sender and receiver disagree on encoding. A test of this alternative would miss the specific outcome “A producer-consumer contract test exchanges and parses the sample payload correctly”.

Question 665

A developer stores an Azure Service Bus namespace connection string in a public configuration repository. Which configuration should the engineer implement?

  1. Make the message handler idempotent using a durable job identifier and transactional target update.
  2. Move messaging credentials into an approved secret store or use managed identity with role-based authorization.
  3. Propagate stable correlation IDs and application properties through Service Bus messages.
  4. Use a supported advanced filter on the intended Event Grid event field.

Explanation

Correct Answer

B:

Secretless identity or protected secret references avoid exposing broker credentials in source code. For this situation—A developer stores an Azure Service Bus namespace connection string in a public configuration repository—the relevant response is “Move messaging credentials into an approved secret store or use managed identity with role-based authorization”. A useful confirmation is “The deployed app functions without a committed connection secret and least-privilege access is verified”.

Incorrect Answers

A:

Broker retries can cause at-least-once processing; idempotency belongs in the consumer's state handling. That does not directly address the situation—A developer stores an Azure Service Bus namespace connection string in a public configuration repository. The more suitable choice is “Move messaging credentials into an approved secret store or use managed identity with role-based authorization”: Secretless identity or protected secret references avoid exposing broker credentials in source code.

C:

Correlation properties make asynchronous work traceable across independent components. That does not directly address the situation—A developer stores an Azure Service Bus namespace connection string in a public configuration repository. The more suitable choice is “Move messaging credentials into an approved secret store or use managed identity with role-based authorization”: Secretless identity or protected secret references avoid exposing broker credentials in source code.

D:

Advanced Event Grid filters inspect supported event fields beyond subject prefixes and suffixes. That does not directly address the situation—A developer stores an Azure Service Bus namespace connection string in a public configuration repository. The more suitable choice is “Move messaging credentials into an approved secret store or use managed identity with role-based authorization”: Secretless identity or protected secret references avoid exposing broker credentials in source code.

Question 666

A developer stores an Azure Service Bus namespace connection string in a public configuration repository. Which test result provides the strongest acceptance evidence?

  1. Redelivery of the same message leaves one correct downstream record.
  2. Logs for producer and consumers connect the same job and retry attempts via the correlation id.
  3. Matching metadata events are delivered and nonmatching events are filtered out.
  4. The deployed app functions without a committed connection secret and least-privilege access is verified.

Explanation

Correct Answer

D:

Secretless identity or protected secret references avoid exposing broker credentials in source code. The observed result “The deployed app functions without a committed connection secret and least-privilege access is verified” would confirm the change “Move messaging credentials into an approved secret store or use managed identity with role-based authorization” in this situation: A developer stores an Azure Service Bus namespace connection string in a public configuration repository.

Incorrect Answers

A:

Broker retries can cause at-least-once processing; idempotency belongs in the consumer's state handling. The situation here is: A developer stores an Azure Service Bus namespace connection string in a public configuration repository. A test of this alternative would miss the specific outcome “The deployed app functions without a committed connection secret and least-privilege access is verified”.

B:

Correlation properties make asynchronous work traceable across independent components. The situation here is: A developer stores an Azure Service Bus namespace connection string in a public configuration repository. A test of this alternative would miss the specific outcome “The deployed app functions without a committed connection secret and least-privilege access is verified”.

C:

Advanced Event Grid filters inspect supported event fields beyond subject prefixes and suffixes. The situation here is: A developer stores an Azure Service Bus namespace connection string in a public configuration repository. A test of this alternative would miss the specific outcome “The deployed app functions without a committed connection secret and least-privilege access is verified”.

Question 667

An operations team wants to prevent exposing messaging secrets during build and deployment. What change should the developer make FIRST to satisfy the stated need?

  1. Make the message handler idempotent using a durable job identifier and transactional target update.
  2. Propagate stable correlation IDs and application properties through Service Bus messages.
  3. Use a supported advanced filter on the intended Event Grid event field.
  4. Move messaging credentials into an approved secret store or use managed identity with role-based authorization.

Explanation

Correct Answer

D:

Secretless identity or protected secret references avoid exposing broker credentials in source code. For this situation—An operations team wants to prevent exposing messaging secrets during build and deployment—the relevant response is “Move messaging credentials into an approved secret store or use managed identity with role-based authorization”. A useful confirmation is “The deployed app functions without a committed connection secret and least-privilege access is verified”.

Incorrect Answers

A:

Broker retries can cause at-least-once processing; idempotency belongs in the consumer's state handling. That does not directly address the situation—An operations team wants to prevent exposing messaging secrets during build and deployment. The more suitable choice is “Move messaging credentials into an approved secret store or use managed identity with role-based authorization”: Secretless identity or protected secret references avoid exposing broker credentials in source code.

B:

Correlation properties make asynchronous work traceable across independent components. That does not directly address the situation—An operations team wants to prevent exposing messaging secrets during build and deployment. The more suitable choice is “Move messaging credentials into an approved secret store or use managed identity with role-based authorization”: Secretless identity or protected secret references avoid exposing broker credentials in source code.

C:

Advanced Event Grid filters inspect supported event fields beyond subject prefixes and suffixes. That does not directly address the situation—An operations team wants to prevent exposing messaging secrets during build and deployment. The more suitable choice is “Move messaging credentials into an approved secret store or use managed identity with role-based authorization”: Secretless identity or protected secret references avoid exposing broker credentials in source code.

Question 668

An operations team wants to prevent exposing messaging secrets during build and deployment. Which observation BEST confirms the intended behavior after the change?

  1. Redelivery of the same message leaves one correct downstream record.
  2. Logs for producer and consumers connect the same job and retry attempts via the correlation id.
  3. The deployed app functions without a committed connection secret and least-privilege access is verified.
  4. Matching metadata events are delivered and nonmatching events are filtered out.

Explanation

Correct Answer

C:

Secretless identity or protected secret references avoid exposing broker credentials in source code. The observed result “The deployed app functions without a committed connection secret and least-privilege access is verified” would confirm the change “Move messaging credentials into an approved secret store or use managed identity with role-based authorization” in this situation: An operations team wants to prevent exposing messaging secrets during build and deployment.

Incorrect Answers

A:

Broker retries can cause at-least-once processing; idempotency belongs in the consumer's state handling. The situation here is: An operations team wants to prevent exposing messaging secrets during build and deployment. A test of this alternative would miss the specific outcome “The deployed app functions without a committed connection secret and least-privilege access is verified”.

B:

Correlation properties make asynchronous work traceable across independent components. The situation here is: An operations team wants to prevent exposing messaging secrets during build and deployment. A test of this alternative would miss the specific outcome “The deployed app functions without a committed connection secret and least-privilege access is verified”.

D:

Advanced Event Grid filters inspect supported event fields beyond subject prefixes and suffixes. The situation here is: An operations team wants to prevent exposing messaging secrets during build and deployment. A test of this alternative would miss the specific outcome “The deployed app functions without a committed connection secret and least-privilege access is verified”.

Question 669

A team cannot determine whether Service Bus work is delayed by message backlog or slow consumers. Which implementation is MOST appropriate for this requirement?

  1. Use the Service Bus peek operation rather than receive-and-complete.
  2. Use Service Bus sessions and set SessionId consistently for each ordered stream.
  3. Monitor queue depth and delivery metrics, and configure a supported scale trigger on active messages.
  4. Choose an appropriate streaming service such as Event Hubs for replayable ordered partitions instead of Event Grid.

Explanation

Correct Answer

C:

Backlog depth is a direct signal for queue-based worker scaling distinct from CPU load. For this situation—A team cannot determine whether Service Bus work is delayed by message backlog or slow consumers—the relevant response is “Monitor queue depth and delivery metrics, and configure a supported scale trigger on active messages”. A useful confirmation is “Worker capacity increases when active message count grows and backlog drains toward target”.

Incorrect Answers

A:

Peek is non-destructive inspection; receive operations affect locks and delivery state. That does not directly address the situation—A team cannot determine whether Service Bus work is delayed by message backlog or slow consumers. The more suitable choice is “Monitor queue depth and delivery metrics, and configure a supported scale trigger on active messages”: Backlog depth is a direct signal for queue-based worker scaling distinct from CPU load.

B:

Sessions provide broker-level grouping and ordered processing for messages sharing a session id. That does not directly address the situation—A team cannot determine whether Service Bus work is delayed by message backlog or slow consumers. The more suitable choice is “Monitor queue depth and delivery metrics, and configure a supported scale trigger on active messages”: Backlog depth is a direct signal for queue-based worker scaling distinct from CPU load.

D:

Event Grid is event routing, while a durable event stream provides offset-based retention and replay. That does not directly address the situation—A team cannot determine whether Service Bus work is delayed by message backlog or slow consumers. The more suitable choice is “Monitor queue depth and delivery metrics, and configure a supported scale trigger on active messages”: Backlog depth is a direct signal for queue-based worker scaling distinct from CPU load.

Question 670

A team cannot determine whether Service Bus work is delayed by message backlog or slow consumers. After the proposed remediation, what should be observed?

  1. Worker capacity increases when active message count grows and backlog drains toward target.
  2. The inspected message remains available to its normal consumer and delivery count is unchanged.
  3. Messages for one session are processed in sequence by its session lock holder.
  4. A consumer can read retained events from an earlier offset and resume independently.

Explanation

Correct Answer

A:

Backlog depth is a direct signal for queue-based worker scaling distinct from CPU load. The observed result “Worker capacity increases when active message count grows and backlog drains toward target” would confirm the change “Monitor queue depth and delivery metrics, and configure a supported scale trigger on active messages” in this situation: A team cannot determine whether Service Bus work is delayed by message backlog or slow consumers.

Incorrect Answers

B:

Peek is non-destructive inspection; receive operations affect locks and delivery state. The situation here is: A team cannot determine whether Service Bus work is delayed by message backlog or slow consumers. A test of this alternative would miss the specific outcome “Worker capacity increases when active message count grows and backlog drains toward target”.

C:

Sessions provide broker-level grouping and ordered processing for messages sharing a session id. The situation here is: A team cannot determine whether Service Bus work is delayed by message backlog or slow consumers. A test of this alternative would miss the specific outcome “Worker capacity increases when active message count grows and backlog drains toward target”.

D:

Event Grid is event routing, while a durable event stream provides offset-based retention and replay. The situation here is: A team cannot determine whether Service Bus work is delayed by message backlog or slow consumers. A test of this alternative would miss the specific outcome “Worker capacity increases when active message count grows and backlog drains toward target”.