Microsoft AI-200 Practice Test 18
Question 170
At Orion Commerce, an App Service custom container appears unhealthy although its HTTP server is running inside the image. Evidence: The application listens on an internal port different from the one expected by the hosting configuration. The objective is to align container listener configuration and App Service startup routing. Only authorized Azure subscriptions and synthetic test data may be used. Which acceptance result most strongly demonstrates the requirement is met?
- Verify the resulting child image references the new base digest and has passed required checks.
- Confirm the hosting probe reaches the intended listener without port translation errors.
- Verify the deployed digest matches the signed-off artifact despite later tag movement.
- Verify the indexer receives and acknowledges the expected event on its subscribed route.
Explanation
Correct Answer
B:
The application listens on an internal port different from the one expected by the hosting configuration. Confirm the hosting probe reaches the intended listener without port translation errors. Ingress must target the actual listener port and bound interface; a mismatch can fail routing and readiness even when the container starts.
Incorrect Answers
A:
ACR Tasks can rebuild an image when a base layer changes. They do not correct the port at which an already-running App Service container listens; its listener and WEBSITES_PORT or equivalent routing settings must agree.
C:
Pinning a container image by digest stabilizes the deployed artifact but cannot correct an ingress target port that differs from the app’s listener.
D:
“Verify the indexer receives and acknowledges the expected event on its subscribed route.” validates an outcome in a case where the evidence is: The Dapr pub/sub component references an incorrect topic and lacks authorized broker access. This question instead requires an action that can align container listener configuration and App Service startup routing. The application listens on an internal port different from the one expected by the hosting configuration. Confirm the hosting probe reaches the intended listener without port translation errors. Ingress must target the actual listener port and bound interface; a mismatch can fail routing and readiness even when the container starts.
Question 171
At Pine Valley Public Services, 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. Preserve end-to-end correlation and avoid copying sensitive production data. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor stale-read symptoms and consistency-related RU or latency changes.
- Monitor normalized RU consumption, throttling and autoscale ceilings.
- Monitor hot partition metrics, throttled requests, and partition growth.
- Monitor failed inserts and unexpected embedding model version changes.
Explanation
Correct Answer
C:
The partition key uses a shared constant for nearly all writes rather than a high-cardinality conversation identifier. Monitor hot partition metrics, throttled requests, and partition growth.
Incorrect Answers
A:
“Monitor stale-read symptoms and consistency-related RU or latency changes.” monitors this signal: The application does not retain session tokens and assumes eventual consistency provides read-your-writes. 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. Monitor hot partition metrics, throttled requests, and partition growth.
B:
“Monitor normalized RU consumption, throttling and autoscale ceilings.” monitors this signal: Provisioned RU capacity and partition distribution are below the write and query demand. 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. Monitor hot partition metrics, throttled requests, and partition growth.
D:
“Monitor failed inserts and unexpected embedding model version changes.” monitors this signal: The database column is declared as vector(1536) and reject mismatched input. 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. Monitor hot partition metrics, throttled requests, and partition growth.
Question 172
At BrightPath Engineering, a pgvector deployment creates an IVFFlat index before loading any representative embeddings and then gets poor search recall. Evidence: The approximate index requires suitable data distribution and tuning for list count and probes. The objective is to tune IVFFlat indexing based on representative populated vectors. Preserve end-to-end correlation and avoid copying sensitive production data. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor CPU saturation, disk latency, and storage growth.
- Monitor corpus drift, search recall and vacuum/reindex maintenance.
- Monitor missing metadata joins and unauthorized draft document retrievals.
- Monitor invalidation failures and mismatches between cache and source versions.
Explanation
Correct Answer
B:
The approximate index requires suitable data distribution and tuning for list count and probes. Monitor corpus drift, search recall and vacuum/reindex maintenance. IVFFlat search quality depends on representative indexed vectors and list/probe tuning; poor choices can miss close matches.
Incorrect Answers
A:
Increasing PostgreSQL server capacity may change throughput but cannot correct an IVFFlat index built on an unrepresentative corpus or poorly chosen list/probe settings.
C:
“Monitor missing metadata joins and unauthorized draft document retrievals.” monitors this signal: The vector table and document ACL table are normalized with a shared document_id. This question instead requires an action that can tune IVFFlat indexing based on representative populated vectors. The approximate index requires suitable data distribution and tuning for list count and probes. Monitor corpus drift, search recall and vacuum/reindex maintenance. IVFFlat search quality depends on representative indexed vectors and list/probe tuning; poor choices can miss close matches.
D:
“Monitor invalidation failures and mismatches between cache and source versions.” monitors this signal: Its Redis cache persists until a long TTL and does not react to content version changes. This question instead requires an action that can tune IVFFlat indexing based on representative populated vectors. The approximate index requires suitable data distribution and tuning for list count and probes. Monitor corpus drift, search recall and vacuum/reindex maintenance. IVFFlat search quality depends on representative indexed vectors and list/probe tuning; poor choices can miss close matches.
Question 173
At BrightPath Engineering, a troubleshooting query shows slow API requests but cannot associate each request with its slow PostgreSQL dependency span. Evidence: Request and dependency telemetry share an operation correlation ID. The objective is to correlate request latency with downstream dependency timing using KQL. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which implementation or configuration choice best meets the stated requirement?
- Propagate W3C trace context through message metadata and instrument HTTP and worker spans using OpenTelemetry.
- Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.
- Join or summarize request and dependency records on the correct correlation key.
- Create a scoped Key Vault event subscription for near-expiry or version-new events with approved rotation handling.
Explanation
Correct Answer
C:
Request and dependency telemetry share an operation correlation ID. Join or summarize request and dependency records on the correct correlation key.
Incorrect Answers
A:
“Propagate W3C trace context through message metadata and instrument HTTP and worker spans using OpenTelemetry.” is a design or implementation response to the condition: The applications generate spans but do not propagate W3C trace context across message boundaries. This question instead requires an action that can correlate request latency with downstream dependency timing using KQL. Request and dependency telemetry share an operation correlation ID. Join or summarize request and dependency records on the correct correlation key.
B:
“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 correlate request latency with downstream dependency timing using KQL. Request and dependency telemetry share an operation correlation ID. Join or summarize request and dependency records on the correct correlation key.
D:
“Create a scoped Key Vault event subscription for near-expiry or version-new events with approved rotation handling.” is a design or implementation response to the condition: A Key Vault event is supported but no subscription has been configured for near-expiration events. This question instead requires an action that can correlate request latency with downstream dependency timing using KQL. Request and dependency telemetry share an operation correlation ID. Join or summarize request and dependency records on the correct correlation key.
Question 174
Northwind Learning is reviewing an Azure AI workload: An AI search endpoint is slow and analysts need to determine whether Cosmos DB queries caused the delay. The business goal is to correlate request latency with downstream dependency timing using KQL. 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?
- Join or summarize request and dependency records on the correct correlation key.
- Propagate W3C trace context through message metadata and instrument HTTP and worker spans using OpenTelemetry.
- Use supported parse_json or dynamic-field access and convert fields to the required type.
- Assign an appropriate Key Vault data role at the narrowest required scope under the configured model.
Explanation
Correct Answer
A:
Request and dependency telemetry share an operation correlation ID. Join or summarize request and dependency records on the correct correlation key.
Incorrect Answers
B:
“Propagate W3C trace context through message metadata and instrument HTTP and worker spans using OpenTelemetry.” is a design or implementation response to the condition: The applications generate spans but do not propagate W3C trace context across message boundaries. This question instead requires an action that can correlate request latency with downstream dependency timing using KQL. Request and dependency telemetry share an operation correlation ID. Join or summarize request and dependency records on the correct correlation key.
C:
Parsing KQL dynamic JSON extracts nested fields but does not correlate requests with downstream dependency durations. Join requests and dependencies using operation IDs, preserving the timestamps and duration fields needed to locate latency.
D:
“Assign an appropriate Key Vault data role at the narrowest required scope under the configured model.” is a design or implementation response to the condition: The vault is configured to use the Azure RBAC permission model for data-plane authorization. This question instead requires an action that can correlate request latency with downstream dependency timing using KQL. Request and dependency telemetry share an operation correlation ID. Join or summarize request and dependency records on the correct correlation key.
Question 175
At BrightPath Engineering, a Cosmos container stores large text payloads, but queries filter only metadata fields. Evidence: Default indexing captures unused large properties and increases write RU costs. The objective is to optimize index policy for actual filter and sort requirements. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect embedding normalization, distance function and sample nearest-neighbor results.
- Inspect item version identifiers, checkpoint timing, retry logs, and output document keys.
- Inspect frequent query shapes, index paths, and RU differences for writes and reads.
- Inspect Redis endpoint scheme, client TLS mode and role or access policy configuration.
Explanation
Correct Answer
C:
Default indexing captures unused large properties and increases write RU costs. Inspect frequent query shapes, index paths, and RU differences for writes and reads.
Incorrect Answers
A:
“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 optimize index policy for actual filter and sort requirements. Default indexing captures unused large properties and increases write RU costs. Inspect frequent query shapes, index paths, and RU differences for writes and reads.
B:
“Inspect item version identifiers, checkpoint timing, retry logs, and output document keys.” is a diagnostic step for the reported condition: Change feed delivery and retries require consumers to tolerate at-least-once processing. This question instead requires an action that can optimize index policy for actual filter and sort requirements. Default indexing captures unused large properties and increases write RU costs. Inspect frequent query shapes, index paths, and RU differences for writes and reads.
D:
“Inspect Redis endpoint scheme, client TLS mode and role or access policy configuration.” is a diagnostic step for the reported condition: The environment requires encrypted transport and scoped client credentials. This question instead requires an action that can optimize index policy for actual filter and sort requirements. Default indexing captures unused large properties and increases write RU costs. Inspect frequent query shapes, index paths, and RU differences for writes and reads.
Question 176
At Northwind Learning, a Function App deployed into a private VNet times out connecting to a Key Vault with public access disabled. Evidence: The vault private endpoint exists but the necessary privatelink.vaultcore.azure.net DNS zone is not linked to the app VNet. The objective is to resolve private Key Vault endpoints correctly without opening public ingress. Validate in a disposable environment before applying production changes. Which implementation or configuration choice best meets the stated requirement?
- Configure managed identity token credentials with appropriate Cosmos data-plane role at a narrow scope.
- Configure the supported private endpoint DNS zone link and application networking integration.
- Configure Azure App Configuration key selection with explicit environment labels and sensible defaults.
- Attach stable operation context to messages and record enqueue wait and processing duration as separate spans or metrics.
Explanation
Correct Answer
B:
The vault private endpoint exists but the necessary privatelink.vaultcore.azure.net DNS zone is not linked to the app VNet. Configure the supported private endpoint DNS zone link and application networking integration.
Incorrect Answers
A:
“Configure managed identity token credentials with appropriate Cosmos data-plane role at a narrow scope.” is a design or implementation response to the condition: A Container App needs to write records to one Cosmos container but currently stores a powerful account key. This question instead requires an action that can resolve private Key Vault endpoints correctly without opening public ingress. The vault private endpoint exists but the necessary privatelink.vaultcore.azure.net DNS zone is not linked to the app VNet. Configure the supported private endpoint DNS zone link and application networking integration.
C:
“Configure Azure App Configuration key selection with explicit environment labels and sensible defaults.” is a design or implementation response to the condition: The team created labeled keys yet the SDK filter does not select the requested environment label. This question instead requires an action that can resolve private Key Vault endpoints correctly without opening public ingress. The vault private endpoint exists but the necessary privatelink.vaultcore.azure.net DNS zone is not linked to the app VNet. Configure the supported private endpoint DNS zone link and application networking integration.
D:
“Attach stable operation context to messages and record enqueue wait and processing duration as separate spans or metrics.” is a design or implementation response to the condition: Time spent waiting in Service Bus is not captured in the same operation trace. This question instead requires an action that can resolve private Key Vault endpoints correctly without opening public ingress. The vault private endpoint exists but the necessary privatelink.vaultcore.azure.net DNS zone is not linked to the app VNet. Configure the supported private endpoint DNS zone link and application networking integration.
Question 177
At Riverbend Health, a once-per-message batch transformer is deployed as a continuously running HTTP app with no work at idle. Evidence: The workflow is short-lived and triggered by queue events, not interactive requests. The objective is to run bounded event-triggered tasks using a suitable Container Apps execution mode. Changes must respect customer tenant boundaries and required availability targets. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect Service type, selectors, ingress objects, network policy selectors, and CNI policy support.
- Inspect Deployment YAML image digest, replica count, selectors, and rollout status.
- Compare the image digest in the test evidence with the digest resolved by the production deployment.
- Inspect message characteristics, execution timeout, retry behavior, and job trigger settings.
Explanation
Correct Answer
D:
The workflow is short-lived and triggered by queue events, not interactive requests. Inspect message characteristics, execution timeout, retry behavior, and job trigger settings.
Incorrect Answers
A:
An AKS NetworkPolicy restricts access between pods and services, but it does not turn an idle HTTP container into a bounded event-triggered job. Container Apps Jobs provide queue/event-driven execution with completion semantics.
B:
“Inspect Deployment YAML image digest, replica count, selectors, and rollout status.” is a diagnostic step for the reported condition: The cluster requires repeatable rollout history, desired replica management, and readiness assurance. This question instead requires an action that can run bounded event-triggered tasks using a suitable Container Apps execution mode. The workflow is short-lived and triggered by queue events, not interactive requests. Inspect message characteristics, execution timeout, retry behavior, and job trigger settings.
C:
“Compare the image digest in the test evidence with the digest resolved by the production deployment.” is a diagnostic step for the reported condition: The mutable tag was reassigned to a newer image after release approval. This question instead requires an action that can run bounded event-triggered tasks using a suitable Container Apps execution mode. The workflow is short-lived and triggered by queue events, not interactive requests. Inspect message characteristics, execution timeout, retry behavior, and job trigger settings.
Question 178
At Lighthouse Systems, a Container App cannot read an Azure data service because its container image expects a developer's local secret. Evidence: The managed identity exists but lacks data-plane permission on the target resource. The objective is to provide short-lived service authorization without bundled credentials. Changes must respect customer tenant boundaries and required availability targets. Which acceptance result most strongly demonstrates the requirement is met?
- Verify completed executions persist output and retries do not duplicate committed work.
- Verify application and system logs contain correlation details and correct timestamps.
- Verify allowed resource operations succeed and unrelated resource access is denied.
- Confirm registry data and login endpoints resolve privately and image pull succeeds with public network disabled.
Explanation
Correct Answer
C:
The managed identity exists but lacks data-plane permission on the target resource. Verify allowed resource operations succeed and unrelated resource access is denied.
Incorrect Answers
A:
“Verify completed executions persist output and retries do not duplicate committed work.” validates an outcome in a case where the evidence is: The workflow is short-lived and triggered by queue events, not interactive requests. This question instead requires an action that can provide short-lived service authorization without bundled credentials. The managed identity exists but lacks data-plane permission on the target resource. Verify allowed resource operations succeed and unrelated resource access is denied.
B:
“Verify application and system logs contain correlation details and correct timestamps.” validates an outcome in a case where the evidence is: The environment's diagnostic destination is misconfigured and system logs show image pull failures. This question instead requires an action that can provide short-lived service authorization without bundled credentials. The managed identity exists but lacks data-plane permission on the target resource. Verify allowed resource operations succeed and unrelated resource access is denied.
D:
“Confirm registry data and login endpoints resolve privately and image pull succeeds with public network disabled.” validates an outcome in a case where the evidence is: The ACR private endpoint exists but the VNet is not linked to the necessary private DNS zone. This question instead requires an action that can provide short-lived service authorization without bundled credentials. The managed identity exists but lacks data-plane permission on the target resource. Verify allowed resource operations succeed and unrelated resource access is denied.
Question 179
Aspen Manufacturing is reviewing an Azure AI workload: A Python Azure Function should ingest a blob and write processed metadata without embedding a shared connection string in source. The business goal is to use supported input and output bindings without distributing hard-coded storage keys. A change is being evaluated before rollout. The team has documented application and data boundaries. Validate in a disposable environment before applying production changes. Which implementation or configuration choice best meets the stated requirement?
- Define a supported schedule in the correct time standard and document daylight-saving behavior.
- Choose a supported scaling plan and cap concurrency or split long work into queues appropriately.
- Publish completion events to a Service Bus topic with separate subscriptions per downstream service.
- Configure appropriate storage bindings with identity-backed connections and restricted container access.
Explanation
Correct Answer
D:
The function uses a modern supported runtime and can obtain scoped storage identity permissions. Configure appropriate storage bindings with identity-backed connections and restricted container access.
Incorrect Answers
A:
A timer-trigger CRON schedule controls when a function runs, not how it authenticates or reads storage. Storage bindings handle input and output without spreading hard-coded account keys.
B:
Concurrency and scale settings control how many Functions instances or invocations run; they do not replace manually embedded storage account keys. Supported storage input/output bindings and scoped identities handle that data access.
C:
“Publish completion events to a Service Bus topic with separate subscriptions per downstream service.” is a design or implementation response to the condition: Each independent service requires its own durable copy of the event. This question instead requires an action that can use supported input and output bindings without distributing hard-coded storage keys. The function uses a modern supported runtime and can obtain scoped storage identity permissions. Configure appropriate storage bindings with identity-backed connections and restricted container access.
Question 180
At Sapphire Energy, a private web app cannot pull its container from Azure Container Registry after its registry administrator account was disabled. Evidence: The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. The objective is to allow registry image pulls without storing a registry password. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect slot health checks, deployment history, and configuration settings marked sticky.
- Inspect container startup logs, listener bind address, and configured port environment or platform settings.
- Inspect ingress external flag, FQDN, environment network boundaries, and callers.
- Inspect the application's identity, registry authorization model, image reference, and image pull failure codes.
Explanation
Correct Answer
D:
The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. Inspect the application's identity, registry authorization model, image reference, and image pull failure codes.
Incorrect Answers
A:
“Inspect slot health checks, deployment history, and configuration settings marked sticky.” is a diagnostic step for the reported condition: The team has a healthy staging slot with a previously verified container image. This question instead requires an action that can allow registry image pulls without storing a registry password. The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. Inspect the application's identity, registry authorization model, image reference, and image pull failure codes.
B:
“Inspect container startup logs, listener bind address, and configured port environment or platform settings.” is a diagnostic step for the reported condition: The application listens on an internal port different from the one expected by the hosting configuration. This question instead requires an action that can allow registry image pulls without storing a registry password. The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. Inspect the application's identity, registry authorization model, image reference, and image pull failure codes.
C:
“Inspect ingress external flag, FQDN, environment network boundaries, and callers.” is a diagnostic step for the reported condition: The Container App ingress configuration is external and the environment has no intended public API for the worker. This question instead requires an action that can allow registry image pulls without storing a registry password. The app has a system-assigned managed identity but no AcrPull-equivalent repository permission. Inspect the application's identity, registry authorization model, image reference, and image pull failure codes.