Microsoft AI-200 Practice Test 39
Question 380
At Cedar Cloud, a monitoring report uses average processing time and misses rare extremely slow inference calls. Evidence: Telemetry has request duration samples with a heavy tail. The objective is to measure tail latency rather than relying only on mean request duration. Validate in a disposable environment before applying production changes. Which implementation or configuration choice best meets the stated requirement?
- Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.
- Use summarize with bin(timestamp, 5m) and appropriate role and failure filters.
- Use KQL percentile or percentiles aggregation for p95 and p99 by service and time window.
- Choose a versionless reference for approved automatic latest-version retrieval or a coordinated pinned-version rollout.
Explanation
Correct Answer
C:
Telemetry has request duration samples with a heavy tail. Use KQL percentile or percentiles aggregation for p95 and p99 by service and time window. p95 and p99 expose slow requests hidden by a mean, provided the time window and sample population are comparable.
Incorrect Answers
A:
“Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.” is a design or implementation response to the condition: A retrieval API adds a custom OpenTelemetry attribute containing raw document text to every span. This question instead requires an action that can measure tail latency rather than relying only on mean request duration. Telemetry has request duration samples with a heavy tail. Use KQL percentile or percentiles aggregation for p95 and p99 by service and time window. p95 and p99 expose slow requests hidden by a mean, provided the time window and sample population are comparable.
B:
KQL time bins organize events into intervals; binning alone cannot show tail latency within those intervals. Aggregate durations with percentile or percentiles for p95 and p99.
D:
“Choose a versionless reference for approved automatic latest-version retrieval or a coordinated pinned-version rollout.” is a design or implementation response to the condition: The application reference includes a specific version that no longer matches the managed rotation policy. This question instead requires an action that can measure tail latency rather than relying only on mean request duration. Telemetry has request duration samples with a heavy tail. Use KQL percentile or percentiles aggregation for p95 and p99 by service and time window. p95 and p99 expose slow requests hidden by a mean, provided the time window and sample population are comparable.
Question 381
Clearwater Partners is reviewing an Azure AI workload: An enterprise chatbot must rank similar policies while never exposing documents from a different customer account. The business goal is to combine semantic retrieval with mandatory tenant filtering and authorization. A change is being evaluated before rollout. The team has documented application and data boundaries. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which implementation or configuration choice best meets the stated requirement?
- Choose an appropriate autoscale or provisioned RU strategy and optimize expensive operations first.
- Apply caller-bound tenant metadata filters and partition scoping before returning vector matches.
- Configure the supported cosine, dot-product, or Euclidean distance option appropriate to the embeddings.
- Scale the appropriate server resources after eliminating avoidable query and index overhead.
Explanation
Correct Answer
B:
The query applies semantic similarity without enforcing the caller's tenant partition and metadata scope. Apply caller-bound tenant metadata filters and partition scoping before returning vector matches.
Incorrect Answers
A:
“Choose an appropriate autoscale or provisioned RU strategy and optimize expensive operations first.” is a design or implementation response to the condition: Provisioned RU capacity and partition distribution are below the write and query demand. This question instead requires an action that can combine semantic retrieval with mandatory tenant filtering and authorization. The query applies semantic similarity without enforcing the caller's tenant partition and metadata scope. Apply caller-bound tenant metadata filters and partition scoping before returning vector matches.
C:
“Configure the supported cosine, dot-product, or Euclidean distance option appropriate to the embeddings.” is a design or implementation response to the condition: A chatbot's retrieval quality falls after a team switches a vector index from cosine to an arbitrary distance metric. This question instead requires an action that can combine semantic retrieval with mandatory tenant filtering and authorization. The query applies semantic similarity without enforcing the caller's tenant partition and metadata scope. Apply caller-bound tenant metadata filters and partition scoping before returning vector matches.
D:
“Scale the appropriate server resources after eliminating avoidable query and index overhead.” is a design or implementation response to the condition: A PostgreSQL instance running vector indexing begins swapping and can no longer meet semantic search latency goals. This question instead requires an action that can combine semantic retrieval with mandatory tenant filtering and authorization. The query applies semantic similarity without enforcing the caller's tenant partition and metadata scope. Apply caller-bound tenant metadata filters and partition scoping before returning vector matches.
Question 382
At Marigold Retail, a relational retrieval table stores 1536-dimensional vectors but a newer encoder emits arrays with 3072 values. Evidence: The database column is declared as vector(1536) and reject mismatched input. The objective is to keep stored embedding dimensions aligned to the selected model and schema. Validate in a disposable environment before applying production changes. Which acceptance result most strongly demonstrates the requirement is met?
- Verify vector operators execute successfully and the extension version meets application requirements.
- Verify exact identifiers and relevant paraphrases both appear within accepted top-k results.
- Confirm the correct column accepts only its intended dimension and similarity searches work.
- Verify relevant semantic neighbors rank ahead of unrelated vectors with acceptable recall.
Explanation
Correct Answer
C:
The database column is declared as vector(1536) and reject mismatched input. Confirm the correct column accepts only its intended dimension and similarity searches work. A fixed-dimension pgvector column rejects a different-length embedding, so the selected model output and stored vector schema must match.
Incorrect Answers
A:
“Verify vector operators execute successfully and the extension version meets application requirements.” validates an outcome in a case where the evidence is: The extension is not enabled or allowlisted for the chosen server configuration. This question instead requires an action that can keep stored embedding dimensions aligned to the selected model and schema. The database column is declared as vector(1536) and reject mismatched input. Confirm the correct column accepts only its intended dimension and similarity searches work. A fixed-dimension pgvector column rejects a different-length embedding, so the selected model output and stored vector schema must match.
B:
“Verify exact identifiers and relevant paraphrases both appear within accepted top-k results.” validates an outcome in a case where the evidence is: Pure vector matching often misses rare identifiers while full-text search alone fails paraphrases. This question instead requires an action that can keep stored embedding dimensions aligned to the selected model and schema. The database column is declared as vector(1536) and reject mismatched input. Confirm the correct column accepts only its intended dimension and similarity searches work. A fixed-dimension pgvector column rejects a different-length embedding, so the selected model output and stored vector schema must match.
D:
“Verify relevant semantic neighbors rank ahead of unrelated vectors with acceptable recall.” validates an outcome in a case where the evidence is: The index similarity function differs from the metric recommended for the chosen embedding model. This question instead requires an action that can keep stored embedding dimensions aligned to the selected model and schema. The database column is declared as vector(1536) and reject mismatched input. Confirm the correct column accepts only its intended dimension and similarity searches work. A fixed-dimension pgvector column rejects a different-length embedding, so the selected model output and stored vector schema must match.
Question 383
At Sapphire Energy, a semantic cache begins evicting highly reused entries during peak demand. Evidence: Its max memory is saturated and eviction policy does not match cache workload priorities. The objective is to choose predictable memory and eviction behavior for transient AI response data. Preserve end-to-end correlation and avoid copying sensitive production data. Which acceptance result most strongly demonstrates the requirement is met?
- Verify hot keys remain available enough to meet the target cache hit rate.
- Verify subsequent reads return the new content rather than a stale cached answer.
- Verify permitted commands work securely and prohibited operations are denied.
- Verify upserts and similarity queries succeed with the expected vector dimensionality.
Explanation
Correct Answer
A:
Its max memory is saturated and eviction policy does not match cache workload priorities. Verify hot keys remain available enough to meet the target cache hit rate.
Incorrect Answers
B:
“Verify subsequent reads return the new content rather than a stale cached answer.” validates an outcome in a case where the evidence is: Its Redis cache persists until a long TTL and does not react to content version changes. This question instead requires an action that can choose predictable memory and eviction behavior for transient AI response data. Its max memory is saturated and eviction policy does not match cache workload priorities. Verify hot keys remain available enough to meet the target cache hit rate.
C:
Redis TLS and client authorization secure cache connections but do not control what gets evicted when memory is full. Size the cache budget and choose eviction behavior suited to the reuse pattern.
D:
“Verify upserts and similarity queries succeed with the expected vector dimensionality.” validates an outcome in a case where the evidence is: The container vector policy was created for a fixed dimension count and the new vectors do not match. This question instead requires an action that can choose predictable memory and eviction behavior for transient AI response data. Its max memory is saturated and eviction policy does not match cache workload priorities. Verify hot keys remain available enough to meet the target cache hit rate.
Question 384
At Crownridge Consulting, an SDK-based AI service authenticates to a Cosmos DB endpoint with a primary account key that many developers know. Evidence: The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. The objective is to prefer scoped token credentials instead of shared database secrets. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which implementation or configuration choice best meets the stated requirement?
- Configure Azure App Configuration key selection with explicit environment labels and sensible defaults.
- Register a sentinel key for refresh and update it only after related config values are published.
- Filter Log Analytics or console logs by revision and correlate startup failures with its image digest.
- Configure managed identity token credentials with appropriate Cosmos data-plane role at a narrow scope.
Explanation
Correct Answer
D:
The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. Configure managed identity token credentials with appropriate Cosmos data-plane role at a narrow scope.
Incorrect Answers
A:
App Configuration labels choose environment-specific settings. They do not replace a shared Cosmos DB key with scoped token-based authentication; use managed identity with the appropriate data-plane RBAC roles.
B:
“Register a sentinel key for refresh and update it only after related config values are published.” is a design or implementation response to the condition: A long-running model service must adopt a new ranking threshold set without downtime or inconsistent partial settings. This question instead requires an action that can prefer scoped token credentials instead of shared database secrets. The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. Configure managed identity token credentials with appropriate Cosmos data-plane role at a narrow scope.
C:
“Filter Log Analytics or console logs by revision and correlate startup failures with its image digest.” is a design or implementation response to the condition: An Azure Container App canary has failing requests while pooled dashboard metrics hide its isolated errors. This question instead requires an action that can prefer scoped token credentials instead of shared database secrets. The target Cosmos database supports Entra RBAC data-plane permissions for the intended operation. Configure managed identity token credentials with appropriate Cosmos data-plane role at a narrow scope.
Question 385
At Pine Valley Public Services, an Azure Function works on a developer laptop but fails to read Key Vault after deployment. Evidence: Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. The objective is to use deployed managed identity credentials and explicit function environment settings. Preserve end-to-end correlation and avoid copying sensitive production data. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect retry policy, event identity and deduplication or transactional sink strategy.
- Inspect the Event Grid subscription endpoint, trigger binding and event filters.
- Inspect 429 or 503 response headers, consumer retry counts and message lock renewal behavior.
- Inspect function identity, Key Vault RBAC, SDK DefaultAzureCredential resolution and app settings.
Explanation
Correct Answer
D:
Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. Inspect function identity, Key Vault RBAC, SDK DefaultAzureCredential resolution and app settings.
Incorrect Answers
A:
“Inspect retry policy, event identity and deduplication or transactional sink strategy.” is a diagnostic step for the reported condition: The trigger can invoke the handler more than once, and the side effect lacks an idempotency identifier. This question instead requires an action that can use deployed managed identity credentials and explicit function environment settings. Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. Inspect function identity, Key Vault RBAC, SDK DefaultAzureCredential resolution and app settings.
B:
“Inspect the Event Grid subscription endpoint, trigger binding and event filters.” is a diagnostic step for the reported condition: The Event Grid event subscription points to an outdated function endpoint and event type. This question instead requires an action that can use deployed managed identity credentials and explicit function environment settings. Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. Inspect function identity, Key Vault RBAC, SDK DefaultAzureCredential resolution and app settings.
C:
“Inspect 429 or 503 response headers, consumer retry counts and message lock renewal behavior.” is a diagnostic step for the reported condition: The service returns 429 and includes retry guidance while the queue consumer has no backoff. This question instead requires an action that can use deployed managed identity credentials and explicit function environment settings. Locally configured CLI credentials are not present in Azure and the Function App identity lacks permission. Inspect function identity, Key Vault RBAC, SDK DefaultAzureCredential resolution and app settings.
Question 386
At Crescent Logistics, a monitoring report uses average processing time and misses rare extremely slow inference calls. Evidence: Telemetry has request duration samples with a heavy tail. The objective is to measure tail latency rather than relying only on mean request duration. Changes must respect customer tenant boundaries and required availability targets. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect sample count, latency distribution and duration units.
- Inspect available table schema, time filter and relevant role dimensions.
- Inspect active span attributes, baggage propagation and exporter filtering rules.
- Inspect current feature flag provider, evaluation context and targeting conditions.
Explanation
Correct Answer
A:
Telemetry has request duration samples with a heavy tail. Inspect sample count, latency distribution and duration units. p95 and p99 expose slow requests hidden by a mean, provided the time window and sample population are comparable.
Incorrect Answers
B:
“Inspect available table schema, time filter and relevant role dimensions.” is a diagnostic step for the reported condition: Logs have cloud_RoleName, timestamp, success or exception fields in queryable telemetry tables. This question instead requires an action that can measure tail latency rather than relying only on mean request duration. Telemetry has request duration samples with a heavy tail. Inspect sample count, latency distribution and duration units. p95 and p99 expose slow requests hidden by a mean, provided the time window and sample population are comparable.
C:
“Inspect active span attributes, baggage propagation and exporter filtering rules.” is a diagnostic step for the reported condition: The organization needs troubleshooting context but prohibits exporting raw sensitive data. This question instead requires an action that can measure tail latency rather than relying only on mean request duration. Telemetry has request duration samples with a heavy tail. Inspect sample count, latency distribution and duration units. p95 and p99 expose slow requests hidden by a mean, provided the time window and sample population are comparable.
D:
“Inspect current feature flag provider, evaluation context and targeting conditions.” is a diagnostic step for the reported condition: The application uses hard-coded booleans in source and requires a rebuild for every rollout. This question instead requires an action that can measure tail latency rather than relying only on mean request duration. Telemetry has request duration samples with a heavy tail. Inspect sample count, latency distribution and duration units. p95 and p99 expose slow requests hidden by a mean, provided the time window and sample population are comparable.
Question 387
At Sapphire Energy, a chat history store distributes thousands of conversations across Cosmos DB for NoSQL but a single logical partition consumes most RU capacity. Evidence: The partition key uses a shared constant for nearly all writes rather than a high-cardinality conversation identifier. The objective is to avoid hot logical partitions while preserving efficient queries. Changes must respect customer tenant boundaries and required availability targets. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect processor name, monitored container, lease container, checkpoint state and logs.
- Compare request charge, physical partition utilization, key cardinality, and common query predicates.
- Inspect embedding normalization, distance function and sample nearest-neighbor results.
- Inspect representative query set, exact top-k baselines and ANN index scan parameters.
Explanation
Correct Answer
B:
The partition key uses a shared constant for nearly all writes rather than a high-cardinality conversation identifier. Compare request charge, physical partition utilization, key cardinality, and common query predicates.
Incorrect Answers
A:
“Inspect processor name, monitored container, lease container, checkpoint state and logs.” is a diagnostic step for the reported condition: The change feed processor relies on a shared lease container and correct start position. This question instead requires an action that can avoid hot logical partitions while preserving efficient queries. The partition key uses a shared constant for nearly all writes rather than a high-cardinality conversation identifier. Compare request charge, physical partition utilization, key cardinality, and common query predicates.
C:
“Inspect embedding normalization, distance function and sample nearest-neighbor results.” is a diagnostic step for the reported condition: The index similarity function differs from the metric recommended for the chosen embedding model. This question instead requires an action that can avoid hot logical partitions while preserving efficient queries. The partition key uses a shared constant for nearly all writes rather than a high-cardinality conversation identifier. Compare request charge, physical partition utilization, key cardinality, and common query predicates.
D:
“Inspect representative query set, exact top-k baselines and ANN index scan parameters.” is a diagnostic step for the reported condition: The team optimized latency but never measured recall against a labeled search baseline. This question instead requires an action that can avoid hot logical partitions while preserving efficient queries. The partition key uses a shared constant for nearly all writes rather than a high-cardinality conversation identifier. Compare request charge, physical partition utilization, key cardinality, and common query predicates.
Question 388
At Crownridge Consulting, a team needs to evaluate a new AI inference container on only 5 percent of requests without replacing its stable version. Evidence: The Container App is configured for single-revision mode and routes all ingress to the active revision. The objective is to use revision traffic splitting for a low-risk canary rollout. Only authorized Azure subscriptions and synthetic test data may be used. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor Dapr component health, retries, and mismatched topic subscriptions.
- Monitor missing log ingestion, restart counts, and diagnostic pipeline drift.
- Monitor per-revision failure rate, latency, and unexpected traffic weight changes.
- Monitor digest drift, unauthorized retags, and provenance mismatches.
Explanation
Correct Answer
C:
The Container App is configured for single-revision mode and routes all ingress to the active revision. Monitor per-revision failure rate, latency, and unexpected traffic weight changes.
Incorrect Answers
A:
“Monitor Dapr component health, retries, and mismatched topic subscriptions.” monitors this signal: The Dapr pub/sub component references an incorrect topic and lacks authorized broker access. This question instead requires an action that can use revision traffic splitting for a low-risk canary rollout. The Container App is configured for single-revision mode and routes all ingress to the active revision. Monitor per-revision failure rate, latency, and unexpected traffic weight changes.
B:
“Monitor missing log ingestion, restart counts, and diagnostic pipeline drift.” monitors this signal: The environment's diagnostic destination is misconfigured and system logs show image pull failures. This question instead requires an action that can use revision traffic splitting for a low-risk canary rollout. The Container App is configured for single-revision mode and routes all ingress to the active revision. Monitor per-revision failure rate, latency, and unexpected traffic weight changes.
D:
“Monitor digest drift, unauthorized retags, and provenance mismatches.” monitors this signal: The mutable tag was reassigned to a newer image after release approval. This question instead requires an action that can use revision traffic splitting for a low-risk canary rollout. The Container App is configured for single-revision mode and routes all ingress to the active revision. Monitor per-revision failure rate, latency, and unexpected traffic weight changes.
Question 389
Marigold Retail is reviewing an Azure AI workload: An image search pod needs 40 seconds to load its index but Kubernetes routes user requests immediately. The business goal is to route traffic only after application readiness while retaining separate restart detection. A change is being evaluated before rollout. The team has documented application and data boundaries. Only authorized Azure subscriptions and synthetic test data may be used. Which implementation or configuration choice best meets the stated requirement?
- Define distinct readiness and liveness checks with suitable startup allowances for model load time.
- Deploy an event-driven Container Apps Job with scoped queue trigger and concurrency limits.
- Configure Entra workload identity federation mapping the correct namespace/service account to a scoped Azure identity.
- Configure an ACR Task trigger for supported base-image updates with tests before promotion.
Explanation
Correct Answer
A:
A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Define distinct readiness and liveness checks with suitable startup allowances for model load time.
Incorrect Answers
B:
“Deploy an event-driven Container Apps Job with scoped queue trigger and concurrency limits.” is a design or implementation response to the condition: A nightly AI enrichment task needs a container that starts on queued work and exits when finished. This question instead requires an action that can route traffic only after application readiness while retaining separate restart detection. A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Define distinct readiness and liveness checks with suitable startup allowances for model load time.
C:
“Configure Entra workload identity federation mapping the correct namespace/service account to a scoped Azure identity.” is a design or implementation response to the condition: A multi-tenant Kubernetes cluster must let only one namespace's worker query a private storage account. This question instead requires an action that can route traffic only after application readiness while retaining separate restart detection. A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Define distinct readiness and liveness checks with suitable startup allowances for model load time.
D:
“Configure an ACR Task trigger for supported base-image updates with tests before promotion.” is a design or implementation response to the condition: The pipeline rebuilds only when developers push code and never tracks upstream base image updates. This question instead requires an action that can route traffic only after application readiness while retaining separate restart detection. A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Define distinct readiness and liveness checks with suitable startup allowances for model load time.
Question 390
At Redwood Banking, a single configuration key means different feature settings in development and production but the app always receives the default value. Evidence: The team created labeled keys yet the SDK filter does not select the requested environment label. The objective is to resolve the correct app configuration values by environment without copying application binaries. Only authorized Azure subscriptions and synthetic test data may be used. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect Cosmos data-plane roles, SDK authentication constructor and application identity.
- Inspect application secret URI, available versions and rotation schedule.
- Inspect key names, labels, connection selectors and fallback behavior.
- Inspect instrumentation, traceparent headers, producer message properties and consumer span linking.
Explanation
Correct Answer
C:
The team created labeled keys yet the SDK filter does not select the requested environment label. Inspect key names, labels, connection selectors and fallback behavior.
Incorrect Answers
A:
Managed identity changes how the SDK authenticates, not which environment label is selected for an App Configuration key. Set the correct label filter to retrieve staging or production values.
B:
“Inspect application secret URI, available versions and rotation schedule.” is a diagnostic step for the reported condition: The application reference includes a specific version that no longer matches the managed rotation policy. This question instead requires an action that can resolve the correct app configuration values by environment without copying application binaries. The team created labeled keys yet the SDK filter does not select the requested environment label. Inspect key names, labels, connection selectors and fallback behavior.
D:
“Inspect instrumentation, traceparent headers, producer message properties and consumer span linking.” is a diagnostic step for the reported condition: The applications generate spans but do not propagate W3C trace context across message boundaries. This question instead requires an action that can resolve the correct app configuration values by environment without copying application binaries. The team created labeled keys yet the SDK filter does not select the requested environment label. Inspect key names, labels, connection selectors and fallback behavior.