Microsoft AI-200 Practice Test 68 - Prepaway
Practice Exams:

Pass Microsoft AI-200 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers!

30 Days Free Updates, Instant Download!

Verified By Experts
Premium Bundle
$14.99
$94.99 $109.98

AI-200 Premium Bundle


  • Premium File 174 Questions & Answers. Last update: Nov 28, 2026
  • Study Guide 153 Pages

Microsoft AI-200 Practice Test 68

Question 670

An engineer creates an IVFFlat vector index on an empty PostgreSQL table and later sees unstable recall as millions of records arrive. Which evidence would MOST directly substantiate the reported gap?

  1. The current SQL ranks vectors across all workspaces and filters ownership only in application code.
  2. The index was created before any representative records existed and result recall worsens under load.
  3. Maintenance metrics show index build pressure and vector-query latency exceeding budget.
  4. Lock and query latency telemetry coincide with an index rebuild started during the busiest hours.

Explanation

Correct Answer

B:

The index was created before any representative records existed and result recall worsens under load. IVFFlat clusters vectors using representative data and trades probe cost against retrieval recall.

Incorrect Answers

A:

The current SQL ranks vectors across all workspaces and filters ownership only in application code. IVFFlat clusters vectors using representative data and trades probe cost against retrieval recall. The index was created before any representative records existed and result recall worsens under load.

C:

Maintenance metrics show index build pressure and vector-query latency exceeding budget. IVFFlat clusters vectors using representative data and trades probe cost against retrieval recall. The index was created before any representative records existed and result recall worsens under load.

D:

Lock and query latency telemetry coincide with an index rebuild started during the busiest hours. IVFFlat clusters vectors using representative data and trades probe cost against retrieval recall. The index was created before any representative records existed and result recall worsens under load.

Question 671

A Python model API running in Container Apps stores a vendor API token in its source repository because its deployment lacks a secret-management integration. What is the BEST next action for the specific Azure environment described?

  1. Grant the correct least-privileged Key Vault data-plane role or equivalent supported access-policy permission.
  2. Use a managed identity with least-privilege Key Vault access and retrieve the secret through a supported SDK or secure reference.
  3. Use a sentinel or supported refresh mechanism that detects a finalized configuration update and reloads a consistent set.
  4. Store secret content in Key Vault and use an App Configuration Key Vault reference with authorized identity access.

Explanation

Correct Answer

B:

Use a managed identity with least-privilege Key Vault access and retrieve the secret through a supported SDK or secure reference. Managed identity plus Key Vault separates workload identity from reusable secret values.

Incorrect Answers

A:

Grant the correct least-privileged Key Vault data-plane role or equivalent supported access-policy permission. Managed identity plus Key Vault separates workload identity from reusable secret values. Use a managed identity with least-privilege Key Vault access and retrieve the secret through a supported SDK or secure reference.

C:

Use a sentinel or supported refresh mechanism that detects a finalized configuration update and reloads a consistent set. Managed identity plus Key Vault separates workload identity from reusable secret values. Use a managed identity with least-privilege Key Vault access and retrieve the secret through a supported SDK or secure reference.

D:

Store secret content in Key Vault and use an App Configuration Key Vault reference with authorized identity access. Managed identity plus Key Vault separates workload identity from reusable secret values. Use a managed identity with least-privilege Key Vault access and retrieve the secret through a supported SDK or secure reference.

Question 672

A multi-instance chatbot writes a conversation turn and then reads stale state from another worker after an immediate failover. Which design change MOST directly addresses the organization's stated security requirement?

  1. Configure a shared lease container and compatible processor instance identities, with idempotent processing logic.
  2. Use SDK-supported parameterized queries with an explicit partition scope and validate authorized inputs.
  3. Use the applicable session-consistency token or a stronger supported consistency model for the required read-your-writes behavior.
  4. Implement a change feed processor with appropriate leases, checkpoint handling, and idempotent downstream actions.

Explanation

Correct Answer

C:

Use the applicable session-consistency token or a stronger supported consistency model for the required read-your-writes behavior. The supporting observation is: The write response contains a session token but the next request is routed without that causal context.

Incorrect Answers

A:

Configure a shared lease container and compatible processor instance identities, with idempotent processing logic. The supporting observation is: The write response contains a session token but the next request is routed without that causal context. Use the applicable session-consistency token or a stronger supported consistency model for the required read-your-writes behavior.

B:

Use SDK-supported parameterized queries with an explicit partition scope and validate authorized inputs. The supporting observation is: The write response contains a session token but the next request is routed without that causal context. Use the applicable session-consistency token or a stronger supported consistency model for the required read-your-writes behavior.

D:

Implement a change feed processor with appropriate leases, checkpoint handling, and idempotent downstream actions. The supporting observation is: The write response contains a session token but the next request is routed without that causal context. Use the applicable session-consistency token or a stronger supported consistency model for the required read-your-writes behavior.

Question 673

An AI service secret was accessed unexpectedly, but the security team has no record of which principal requested it. Which TWO selections jointly address the reported risk and demonstrate success?

  1. Use a managed identity with least-privilege Key Vault access and retrieve the secret through a supported SDK or secure reference.
  2. The function retrieves the authorized test secret through the private endpoint while internet access remains disabled.
  3. Enable appropriate Key Vault diagnostic logging and route access events to an approved protected Log Analytics destination.
  4. A controlled secret read produces an attributable audit event with caller and outcome.
  5. Store secret content in Key Vault and use an App Configuration Key Vault reference with authorized identity access.

Explanation

Correct Answers

C:

Enable appropriate Key Vault diagnostic logging and route access events to an approved protected Log Analytics destination. A controlled secret read produces an attributable audit event with caller and outcome.

D:

A controlled secret read produces an attributable audit event with caller and outcome. Enable appropriate Key Vault diagnostic logging and route access events to an approved protected Log Analytics destination.

Incorrect Answers

A:

Use a managed identity with least-privilege Key Vault access and retrieve the secret through a supported SDK or secure reference. Enable appropriate Key Vault diagnostic logging and route access events to an approved protected Log Analytics destination. A controlled secret read produces an attributable audit event with caller and outcome.

B:

The function retrieves the authorized test secret through the private endpoint while internet access remains disabled. A controlled secret read produces an attributable audit event with caller and outcome.

E:

Store secret content in Key Vault and use an App Configuration Key Vault reference with authorized identity access. A controlled secret read produces an attributable audit event with caller and outcome.

Question 674

An operations team needs to identify whether a p95 latency spike comes from Redis or PostgreSQL but only has one service-wide latency metric. Which TWO choices together identify the recommended action and a meaningful success test?

  1. Collect metrics for alerting and distributed traces with dependency spans for sampled slow requests.
  2. A slow test request yields a trace attributing delay to the actual downstream operation.
  3. A diagnostic chart displays failure counts grouped by endpoint and five-minute interval.
  4. Use a KQL query filtering a relevant requests table by timestamp, result code, and success status.
  5. Use KQL to join or correlate requests and dependency records on operation or trace identifier and time range.

Explanation

Correct Answers

A:

Collect metrics for alerting and distributed traces with dependency spans for sampled slow requests. A slow test request yields a trace attributing delay to the actual downstream operation.

B:

A slow test request yields a trace attributing delay to the actual downstream operation. Collect metrics for alerting and distributed traces with dependency spans for sampled slow requests.

Incorrect Answers

C:

A diagnostic chart displays failure counts grouped by endpoint and five-minute interval. A slow test request yields a trace attributing delay to the actual downstream operation.

D:

Use a KQL query filtering a relevant requests table by timestamp, result code, and success status. Collect metrics for alerting and distributed traces with dependency spans for sampled slow requests. A slow test request yields a trace attributing delay to the actual downstream operation.

E:

Use KQL to join or correlate requests and dependency records on operation or trace identifier and time range. Collect metrics for alerting and distributed traces with dependency spans for sampled slow requests.

Question 675

An App Service reads public feature flags through a hard-coded App Configuration connection string in its deployment package. How should the team confirm the targeted requirement has been met?

  1. The app can retrieve the intended secret while it cannot list or alter unrelated vault values.
  2. A rehearsal rotates both sides with no unauthorized exposure and restores service on validation failure.
  3. The app reads approved flags without a static connection string and cannot modify settings.
  4. A test pilot user sees the new path and an unassigned user retains the stable implementation.

Explanation

Correct Answer

C:

The app reads approved flags without a static connection string and cannot modify settings.

Incorrect Answers

A:

The app can retrieve the intended secret while it cannot list or alter unrelated vault values. The app reads approved flags without a static connection string and cannot modify settings.

B:

A rehearsal rotates both sides with no unauthorized exposure and restores service on validation failure. The app reads approved flags without a static connection string and cannot modify settings.

D:

A test pilot user sees the new path and an unassigned user retains the stable implementation. The app reads approved flags without a static connection string and cannot modify settings.

Question 676

Two background classifiers update the same Cosmos DB document and the slower operation overwrites the faster worker's reviewed labels. What would be the strongest observable evidence of successful remediation?

  1. The query yields the intended top-ten set with reduced response size and RU usage.
  2. A scoped read retrieves only the intended tenant's record with a low-RU point operation.
  3. A load rehearsal completes with acceptable backoff behavior and controlled RU cost.
  4. A conflicting write receives a concurrency failure and approved labels are preserved after reconciliation.

Explanation

Correct Answer

D:

A conflicting write receives a concurrency failure and approved labels are preserved after reconciliation.

Incorrect Answers

A:

The query yields the intended top-ten set with reduced response size and RU usage. A conflicting write receives a concurrency failure and approved labels are preserved after reconciliation.

B:

A scoped read retrieves only the intended tenant's record with a low-RU point operation. A conflicting write receives a concurrency failure and approved labels are preserved after reconciliation.

C:

A load rehearsal completes with acceptable backoff behavior and controlled RU cost. A conflicting write receives a concurrency failure and approved labels are preserved after reconciliation.

Question 677

A generative API attaches full user prompts and raw customer IDs as span attributes, causing high-cardinality telemetry and sensitive-data disclosure. Select TWO statements: the most appropriate corrective action and its direct verification result.

  1. Use supported KQL union or appropriately normalized projections, retaining a source-table marker for context.
  2. New traces preserve troubleshooting context without exposing sensitive prompt content or unbounded labels.
  3. A representative dependency failure marks the responsible span as error with a sanitized diagnostic event.
  4. Remove private prompt contents, use bounded sanitized attributes, and retain approved correlation identifiers.
  5. Set stable OpenTelemetry resource attributes such as service.name and environment, while retaining instance-level identifiers separately.

Explanation

Correct Answers

B:

New traces preserve troubleshooting context without exposing sensitive prompt content or unbounded labels.

D:

Remove private prompt contents, use bounded sanitized attributes, and retain approved correlation identifiers. New traces preserve troubleshooting context without exposing sensitive prompt content or unbounded labels.

Incorrect Answers

A:

Use supported KQL union or appropriately normalized projections, retaining a source-table marker for context. New traces preserve troubleshooting context without exposing sensitive prompt content or unbounded labels. Remove private prompt contents, use bounded sanitized attributes, and retain approved correlation identifiers.

C:

A representative dependency failure marks the responsible span as error with a sanitized diagnostic event. New traces preserve troubleshooting context without exposing sensitive prompt content or unbounded labels.

E:

Set stable OpenTelemetry resource attributes such as service.name and environment, while retaining instance-level identifiers separately. New traces preserve troubleshooting context without exposing sensitive prompt content or unbounded labels. Remove private prompt contents, use bounded sanitized attributes, and retain approved correlation identifiers.

Question 678

A SaaS application produces an AI review completed event that must be consumed by several services but no Azure resource raises that business event automatically. Which security principle best explains why the proposed response fits the case?

  1. Dead-lettering isolates messages that repeatedly fail processing while preserving evidence and retry options.
  2. Custom event publication decouples application domain events from Azure resource system events.
  3. ReceiveAndDelete settles delivery at transfer and can lose work if processing fails afterward.
  4. Receiving an event over HTTPS does not by itself authenticate the publisher's authorization.

Explanation

Correct Answer

B:

Custom event publication decouples application domain events from Azure resource system events. A SaaS application produces an AI review completed event that must be consumed by several services but no Azure resource raises that business event automatically.

Incorrect Answers

A:

Dead-lettering isolates messages that repeatedly fail processing while preserving evidence and retry options. A SaaS application produces an AI review completed event that must be consumed by several services but no Azure resource raises that business event automatically. Custom event publication decouples application domain events from Azure resource system events.

C:

ReceiveAndDelete settles delivery at transfer and can lose work if processing fails afterward. A SaaS application produces an AI review completed event that must be consumed by several services but no Azure resource raises that business event automatically. Custom event publication decouples application domain events from Azure resource system events.

D:

Receiving an event over HTTPS does not by itself authenticate the publisher's authorization. A SaaS application produces an AI review completed event that must be consumed by several services but no Azure resource raises that business event automatically. Custom event publication decouples application domain events from Azure resource system events.

Question 679

An AI API's average latency is acceptable, but a small percentage of users wait more than ten seconds and the SLO is expressed as p95. Which TWO selections jointly address the reported risk and demonstrate success?

  1. Use KQL summarize count() by operation name and bin(timestamp, 5m) with a suitable failure filter.
  2. Calculate percentiles(duration, 95) in a suitably scoped KQL summarize query instead of using avg alone.
  3. Validate the OpenTelemetry collector or exporter configuration, connection string, and permitted network path.
  4. The query returns a timestamped cross-table timeline with correct source labels and no unrelated records.
  5. A p95 time series reproduces known slow test requests and tracks the agreed SLO.

Explanation

Correct Answers

B:

Calculate percentiles(duration, 95) in a suitably scoped KQL summarize query instead of using avg alone. A p95 time series reproduces known slow test requests and tracks the agreed SLO.

E:

A p95 time series reproduces known slow test requests and tracks the agreed SLO. Calculate percentiles(duration, 95) in a suitably scoped KQL summarize query instead of using avg alone.

Incorrect Answers

A:

Use KQL summarize count() by operation name and bin(timestamp, 5m) with a suitable failure filter. Calculate percentiles(duration, 95) in a suitably scoped KQL summarize query instead of using avg alone.

C:

Validate the OpenTelemetry collector or exporter configuration, connection string, and permitted network path. Calculate percentiles(duration, 95) in a suitably scoped KQL summarize query instead of using avg alone.

D:

The query returns a timestamped cross-table timeline with correct source labels and no unrelated records. Calculate percentiles(duration, 95) in a suitably scoped KQL summarize query instead of using avg alone.

Question 680

A large telemetry document stores embedding metadata and verbose immutable text, but indexing every property makes high-volume writes expensive. Which TWO selections jointly address the reported risk and demonstrate success?

  1. Choose a supported vector indexing strategy such as quantizedFlat or diskANN that accepts the required dimensions.
  2. A controlled bulk insert uses fewer RUs and required production queries keep acceptable latency.
  3. Tune included and excluded paths in the indexing policy while preserving indexes required for query predicates.
  4. A test user receives relevant chunks only from the permitted tenant and unauthorized results are absent.
  5. Evaluate autoscale throughput settings, partition distribution, and retry handling against observed request patterns.

Explanation

Correct Answers

B:

A controlled bulk insert uses fewer RUs and required production queries keep acceptable latency. The accompanying action is to tune included and excluded paths in the indexing policy while preserving indexes required for query predicates.

C:

Tune included and excluded paths in the indexing policy while preserving indexes required for query predicates. A controlled bulk insert uses fewer RUs and required production queries keep acceptable latency.

Incorrect Answers

A:

Choose a supported vector indexing strategy such as quantizedFlat or diskANN that accepts the required dimensions. A controlled bulk insert uses fewer RUs and required production queries keep acceptable latency. Tune included and excluded paths in the indexing policy while preserving indexes required for query predicates.

D:

A test user receives relevant chunks only from the permitted tenant and unauthorized results are absent. A controlled bulk insert uses fewer RUs and required production queries keep acceptable latency.

E:

Evaluate autoscale throughput settings, partition distribution, and retry handling against observed request patterns. A controlled bulk insert uses fewer RUs and required production queries keep acceptable latency. Tune included and excluded paths in the indexing policy while preserving indexes required for query predicates.

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