Practice Exams:

Microsoft AI-200 Dumps

EXAM: Developing AI Cloud Solutions on Azure
Verified By Experts
Premium Bundle
$19.99
$54.99 $74.98

AI-200 Premium Bundle


  • Premium File 174 Questions & Answers
  • Study Guide 153 Pages

Microsoft AI-200 Practice Test 18

Question 170

Fictional Azure AI cloud-backend case: A customer support RAG system mixes results from separate clients because its vector query ignores a tenant identifier in the document metadata. Select TWO complementary answers: the appropriate response AND the observation that would demonstrate its effect.

  1. Outcome evidence: Run cross-tenant test identities and confirm the retrieval stage returns only authorized documents
  2. Outcome evidence: Trace a failing request and confirm a child dependency span captures the failed database call safely
  3. Outcome evidence: Change a sample assignment and confirm the next authorized lookup reflects the committed database value
  4. Proposed response: Apply the tenant boundary in the supported vector retrieval query and enforce authorized access before constructing context
  5. Outcome evidence: Inspect the intended Function's disabled state and confirm unrelated functions still run

Explanation

Correct Answers

A:

This is the matching outcome check: Run cross-tenant test identities and confirm the retrieval stage returns only authorized documents. It tests whether the action to apply the tenant boundary in the supported vector retrieval query and enforce authorized access before constructing context has worked.

D:

The team should apply the tenant boundary in the supported vector retrieval query and enforce authorized access before constructing context. This meets the need described here: a customer support RAG system mixes results from separate clients because its vector query ignores a tenant identifier in the document metadata. Check the outcome by asking reviewers to run cross-tenant test identities and confirm the retrieval stage returns only authorized documents.

Incorrect Answers

B:

The response in this case is to apply the tenant boundary in the supported vector retrieval query and enforce authorized access before constructing context. Testing by asking the team to trace a failing request and confirm a child dependency span captures the failed database call safely would not verify it; the needed check is to run cross-tenant test identities and confirm the retrieval stage returns only authorized documents.

C:

The suggested test to change a sample assignment and confirm the next authorized lookup reflects the committed database value concerns a different effect. The outcome that matters for the action to apply the tenant boundary in the supported vector retrieval query and enforce authorized access before constructing context is established by checking whether the team can run cross-tenant test identities and confirm the retrieval stage returns only authorized documents.

E:

This alternative checks inspect the intended Function's disabled state and confirm unrelated functions still run, not the outcome of the chosen intervention. To verify the action to apply the tenant boundary in the supported vector retrieval query and enforce authorized access before constructing context, reviewers should run cross-tenant test identities and confirm the retrieval stage returns only authorized documents.

Question 171

Fictional Azure AI cloud-backend case: A change-feed consumer updates a search index but two workers both claim the same feed ranges because they use uncoordinated lease state. Which implementation choice BEST meets the specific requirement?

  1. Give each replica an unrelated in-memory cursor and assume distributed coordination occurs automatically
  2. Replace the lease container with a local temporary file on each replica
  3. Restart both workers whenever the queue backlog rises
  4. Configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity

Explanation

Correct Answer

D:

The right step is to configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity. Verify the result by asking reviewers to scale to multiple workers and verify leases distribute ranges without persistent duplicate ownership.

Incorrect Answers

A:

The option would continue the existing risk by trying to give each replica an unrelated in-memory cursor and assume distributed coordination occurs automatically. The required step is to configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity.

B:

The action to replace the lease container with a local temporary file on each replica could be relevant elsewhere, but it does not solve this case. The appropriate response is to configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity.

C:

The present condition is that a change-feed consumer updates a search index but two workers both claim the same feed ranges because they use uncoordinated lease state. The suggested action to restart both workers whenever the queue backlog rises does not establish the needed result; the team should configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity.

Question 172

Fictional Azure AI cloud-backend case: A change-feed consumer updates a search index but two workers both claim the same feed ranges because they use uncoordinated lease state. Which shortcut MOST DIRECTLY expresses the technical or operational mistake in this case?

  1. Drop upstream trace context from message headers before delivery
  2. Expect local.settings.json from a workstation to appear in production automatically
  3. Give each replica an unrelated in-memory cursor and assume distributed coordination occurs automatically
  4. Assume approximate search guarantees identical results to an exact full scan on every query

Explanation

Correct Answer

C:

The underlying failure is the assumption to give each replica an unrelated in-memory cursor and assume distributed coordination occurs automatically. It does not meet the requirement: a change-feed consumer updates a search index but two workers both claim the same feed ranges because they use uncoordinated lease state.

Incorrect Answers

A:

The proposed shortcut to drop upstream trace context from message headers before delivery is not tied to the defining failure. The more direct mistake for this case is to give each replica an unrelated in-memory cursor and assume distributed coordination occurs automatically.

B:

This choice concerns the risk of the proposal to expect local.settings.json from a workstation to appear in production automatically. The question instead describes a change-feed consumer updates a search index but two workers both claim the same feed ranges because they use uncoordinated lease state, making the shortcut to give each replica an unrelated in-memory cursor and assume distributed coordination occurs automatically the closer match.

D:

For the current case, the risk arises from trying to give each replica an unrelated in-memory cursor and assume distributed coordination occurs automatically. The offered alternative to assume approximate search guarantees identical results to an exact full scan on every query addresses another concern.

Question 173

Fictional Azure AI cloud-backend case: A change-feed consumer updates a search index but two workers both claim the same feed ranges because they use uncoordinated lease state. The first implementation did not meet its acceptance criteria. Which corrective step is MOST appropriate?

  1. Corrective action: Configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity
  2. Corrective action: Restart both workers whenever the queue backlog rises
  3. Corrective action: Give each replica an unrelated in-memory cursor and assume distributed coordination occurs automatically
  4. Corrective action: Replace the lease container with a local temporary file on each replica

Explanation

Correct Answer

A:

The case calls for the team to configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity. The result should be demonstrated by asking reviewers to scale to multiple workers and verify leases distribute ranges without persistent duplicate ownership.

Incorrect Answers

B:

The action to restart both workers whenever the queue backlog rises addresses a different issue. The case requires the team to configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity.

C:

The shortcut to give each replica an unrelated in-memory cursor and assume distributed coordination occurs automatically ignores the stated constraint: a change-feed consumer updates a search index but two workers both claim the same feed ranges because they use uncoordinated lease state.

D:

The offered alternative to replace the lease container with a local temporary file on each replica is not a response to the immediate gap. The team needs to configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity for this situation.

Question 174

Fictional Azure AI cloud-backend case: A change-feed consumer updates a search index but two workers both claim the same feed ranges because they use uncoordinated lease state. Which release-gate practice would BEST reduce recurrence of this failure?

  1. Standardize this unrelated change: Replace the lease container with a local temporary file on each replica
  2. Standardize the shortcut: Give each replica an unrelated in-memory cursor and assume distributed coordination occurs automatically
  3. Require a documented implementation check to: Configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity
  4. Standardize this unrelated change: Restart both workers whenever the queue backlog rises

Explanation

Correct Answer

C:

The proposed action—Require a documented implementation check to: Configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity—addresses the stated gap. Confirm it by checking whether the team can scale to multiple workers and verify leases distribute ranges without persistent duplicate ownership.

Incorrect Answers

A:

This option focuses on the proposed action to standardize this unrelated change: Replace the lease container with a local temporary file on each replica rather than the documented requirement. The relevant step is to configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity.

B:

The option would continue the existing risk by trying to standardize the shortcut: Give each replica an unrelated in-memory cursor and assume distributed coordination occurs automatically. The required step is to configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity.

D:

The present condition is that a change-feed consumer updates a search index but two workers both claim the same feed ranges because they use uncoordinated lease state. The suggested action to standardize this unrelated change: Restart both workers whenever the queue backlog rises does not establish the needed result; the team should configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity.

Question 175

Fictional Azure AI cloud-backend case: A change-feed consumer updates a search index but two workers both claim the same feed ranges because they use uncoordinated lease state. Select TWO complementary answers: the appropriate response AND the observation that would demonstrate its effect.

  1. Outcome evidence: Replay a known mixture of cached and uncached lookups and compare cache metrics with request latency
  2. Outcome evidence: Scale to multiple workers and verify leases distribute ranges without persistent duplicate ownership
  3. Outcome evidence: Load-test cold and warm requests and verify completion or asynchronous acknowledgement within the specified timeout
  4. Outcome evidence: Insert representative embeddings and verify index creation and a labeled nearest-neighbor query succeed
  5. Proposed response: Configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity

Explanation

Correct Answers

B:

The selected check—scale to multiple workers and verify leases distribute ranges without persistent duplicate ownership—demonstrates the result of the authorized action to configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity.

E:

Here the operational step is to configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity. A case-specific confirmation is to scale to multiple workers and verify leases distribute ranges without persistent duplicate ownership.

Incorrect Answers

A:

The response in this case is to configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity. Testing by asking the team to replay a known mixture of cached and uncached lookups and compare cache metrics with request latency would not verify it; the needed check is to scale to multiple workers and verify leases distribute ranges without persistent duplicate ownership.

C:

This test would not establish the required outcome for the condition: a change-feed consumer updates a search index but two workers both claim the same feed ranges because they use uncoordinated lease state. The proposed action is to configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity, which should be checked by asking reviewers to scale to multiple workers and verify leases distribute ranges without persistent duplicate ownership.

D:

This alternative checks insert representative embeddings and verify index creation and a labeled nearest-neighbor query succeed, not the outcome of the chosen intervention. To verify the action to configure the change feed processor with a dedicated, correctly shared lease container and appropriate processor identity, reviewers should scale to multiple workers and verify leases distribute ranges without persistent duplicate ownership.

Question 176

Fictional Azure AI cloud-backend case: A Cosmos change feed replays a document after a processor restart, causing a downstream notification to be sent twice. Which implementation choice BEST meets the specific requirement?

  1. Assume an at-least-once change feed never redelivers an item after restart
  2. Make downstream processing idempotent using document identity and a suitable version or event marker
  3. Turn off failure logs rather than recording processed versions
  4. Create a second independent change feed consumer that sends the same notice

Explanation

Correct Answer

B:

The case calls for the team to make downstream processing idempotent using document identity and a suitable version or event marker. The result should be demonstrated by asking reviewers to replay an already-processed update and confirm the downstream effect occurs only once.

Incorrect Answers

A:

This assumption—Assume an at-least-once change feed never redelivers an item after restart—is the source of the risk, not a remedy. The relevant action is to make downstream processing idempotent using document identity and a suitable version or event marker.

C:

The action to turn off failure logs rather than recording processed versions addresses a different issue. The case requires the team to make downstream processing idempotent using document identity and a suitable version or event marker.

D:

The proposed step to create a second independent change feed consumer that sends the same notice does not address the condition where a Cosmos change feed replays a document after a processor restart, causing a downstream notification to be sent twice.

Question 177

Fictional Azure AI cloud-backend case: A Cosmos change feed replays a document after a processor restart, causing a downstream notification to be sent twice. Which shortcut MOST DIRECTLY expresses the technical or operational mistake in this case?

  1. Assume an at-least-once change feed never redelivers an item after restart
  2. Install the package manually only on a developer laptop and assume the cloud runtime inherits it
  3. Assume all approximate indexes have identical data and training prerequisites
  4. Read only the first ten raw log rows and extrapolate the entire error trend

Explanation

Correct Answer

A:

Given that a Cosmos change feed replays a document after a processor restart, causing a downstream notification to be sent twice, the assumption to assume an at-least-once change feed never redelivers an item after restart creates the identified risk. The safer response is to make downstream processing idempotent using document identity and a suitable version or event marker.

Incorrect Answers

B:

The stated condition is that a Cosmos change feed replays a document after a processor restart, causing a downstream notification to be sent twice. The alternative assumption to install the package manually only on a developer laptop and assume the cloud runtime inherits it differs from the actual shortcut to assume an at-least-once change feed never redelivers an item after restart.

C:

For the current case, the risk arises from trying to assume an at-least-once change feed never redelivers an item after restart. The offered alternative to assume all approximate indexes have identical data and training prerequisites addresses another concern.

D:

The proposed alternative to read only the first ten raw log rows and extrapolate the entire error trend could create a risk, but it is not the one shown here. The recorded mistake is to assume an at-least-once change feed never redelivers an item after restart.

Question 178

Fictional Azure AI cloud-backend case: A Cosmos change feed replays a document after a processor restart, causing a downstream notification to be sent twice. The first implementation did not meet its acceptance criteria. Which corrective step is MOST appropriate?

  1. Corrective action: Assume an at-least-once change feed never redelivers an item after restart
  2. Corrective action: Make downstream processing idempotent using document identity and a suitable version or event marker
  3. Corrective action: Create a second independent change feed consumer that sends the same notice
  4. Corrective action: Turn off failure logs rather than recording processed versions

Explanation

Correct Answer

B:

For the corrective decision, the team should make downstream processing idempotent using document identity and a suitable version or event marker. Then replay an already-processed update and confirm the downstream effect occurs only once to validate the change.

Incorrect Answers

A:

The proposed shortcut to assume an at-least-once change feed never redelivers an item after restart does not resolve the case where a Cosmos change feed replays a document after a processor restart, causing a downstream notification to be sent twice. The needed response is to make downstream processing idempotent using document identity and a suitable version or event marker.

C:

The offered alternative to create a second independent change feed consumer that sends the same notice is not a response to the immediate gap. The team needs to make downstream processing idempotent using document identity and a suitable version or event marker for this situation.

D:

This proposal—Turn off failure logs rather than recording processed versions—does not settle the stated gap: a Cosmos change feed replays a document after a processor restart, causing a downstream notification to be sent twice.

Question 179

Fictional Azure AI cloud-backend case: A Cosmos change feed replays a document after a processor restart, causing a downstream notification to be sent twice. Which release-gate practice would BEST reduce recurrence of this failure?

  1. Require a documented implementation check to: Make downstream processing idempotent using document identity and a suitable version or event marker
  2. Standardize this unrelated change: Turn off failure logs rather than recording processed versions
  3. Standardize the shortcut: Assume an at-least-once change feed never redelivers an item after restart
  4. Standardize this unrelated change: Create a second independent change feed consumer that sends the same notice

Explanation

Correct Answer

A:

The most direct response is to require a documented implementation check to: Make downstream processing idempotent using document identity and a suitable version or event marker. To establish that it worked, replay an already-processed update and confirm the downstream effect occurs only once.

Incorrect Answers

B:

The action to standardize this unrelated change: Turn off failure logs rather than recording processed versions could be relevant elsewhere, but it does not solve this case. The appropriate response is to make downstream processing idempotent using document identity and a suitable version or event marker.

C:

Choosing to standardize the shortcut: Assume an at-least-once change feed never redelivers an item after restart would preserve the original failure. For this case, the team needs to make downstream processing idempotent using document identity and a suitable version or event marker.

D:

The action to standardize this unrelated change: Create a second independent change feed consumer that sends the same notice addresses a different issue. The case requires the team to make downstream processing idempotent using document identity and a suitable version or event marker.

Question 180

Fictional Azure AI cloud-backend case: A Cosmos change feed replays a document after a processor restart, causing a downstream notification to be sent twice. Select TWO complementary answers: the appropriate response AND the observation that would demonstrate its effect.

  1. Proposed response: Make downstream processing idempotent using document identity and a suitable version or event marker
  2. Outcome evidence: Send a malformed test message and confirm the intended poison/dead-letter path retains its error context
  3. Outcome evidence: Inspect the Redis document structure and confirm the vector index returns the expected record by metadata filter
  4. Outcome evidence: Reproduce a selected failure and retrieve its trace alongside the correct Pod and container log entries
  5. Outcome evidence: Replay an already-processed update and confirm the downstream effect occurs only once

Explanation

Correct Answers

A:

The selected action addresses the condition: a Cosmos change feed replays a document after a processor restart, causing a downstream notification to be sent twice. Carry out the proposed step to make downstream processing idempotent using document identity and a suitable version or event marker; then replay an already-processed update and confirm the downstream effect occurs only once to check its effect.

E:

The proposed check is relevant because it measures the effect of the action to make downstream processing idempotent using document identity and a suitable version or event marker: replay an already-processed update and confirm the downstream effect occurs only once.

Incorrect Answers

B:

This test would not establish the required outcome for the condition: a Cosmos change feed replays a document after a processor restart, causing a downstream notification to be sent twice. The proposed action is to make downstream processing idempotent using document identity and a suitable version or event marker, which should be checked by asking reviewers to replay an already-processed update and confirm the downstream effect occurs only once.

C:

This alternative checks inspect the Redis document structure and confirm the vector index returns the expected record by metadata filter, not the outcome of the chosen intervention. To verify the action to make downstream processing idempotent using document identity and a suitable version or event marker, reviewers should replay an already-processed update and confirm the downstream effect occurs only once.

D:

Reviewers cannot infer success of the action to make downstream processing idempotent using document identity and a suitable version or event marker merely by reproduce a selected failure and retrieve its trace alongside the correct Pod and container log entries. They need to replay an already-processed update and confirm the downstream effect occurs only once.

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