Microsoft AI-200 Practice Test 47
Question 460
Atlas Support is reviewing an Azure AI workload: A nightly AI enrichment task needs a container that starts on queued work and exits when finished. The business goal is to run bounded event-triggered tasks using a suitable Container Apps execution mode. A change is being evaluated before rollout. The team has documented application and data boundaries. Changes must respect customer tenant boundaries and required availability targets. Which implementation or configuration choice best meets the stated requirement?
- Use a ClusterIP Service and enforce supported namespace/pod NetworkPolicies for allowed traffic.
- Apply a versioned Deployment manifest with appropriate rolling-update strategy and pinned image.
- Configure an App Service Key Vault reference backed by a narrowly authorized managed identity.
- Deploy an event-driven Container Apps Job with scoped queue trigger and concurrency limits.
Explanation
Correct Answer
D:
The workflow is short-lived and triggered by queue events, not interactive requests. Deploy an event-driven Container Apps Job with scoped queue trigger and concurrency limits.
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:
“Apply a versioned Deployment manifest with appropriate rolling-update strategy and pinned image.” is a design or implementation response to the condition: An operations team wants an AKS-hosted AI endpoint upgraded consistently across multiple worker nodes. 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. Deploy an event-driven Container Apps Job with scoped queue trigger and concurrency limits.
C:
“Configure an App Service Key Vault reference backed by a narrowly authorized managed identity.” is a design or implementation response to the condition: An internal Azure service connector needs a database password without adding the secret text to deployment manifests. 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. Deploy an event-driven Container Apps Job with scoped queue trigger and concurrency limits.
Question 461
At Sapphire Energy, a support search engine needs to match exact product codes as well as semantic descriptions. Evidence: Pure vector matching often misses rare identifiers while full-text search alone fails paraphrases. The objective is to combine keyword and vector retrieval with controlled ranking and metadata filters. Validate in a disposable environment before applying production changes. Which implementation or configuration choice best meets the stated requirement?
- Load representative embeddings before creating or rebuilding the IVFFlat index and tune lists/probes.
- Build an HNSW index with the appropriate vector_cosine_ops operator class where supported.
- Run a hybrid query with supported full-text search and vector ranking merged under tenant filters.
- Right-size cache capacity and choose a supported LRU/LFU/TTL-aware eviction policy appropriate to the workload.
Explanation
Correct Answer
C:
Pure vector matching often misses rare identifiers while full-text search alone fails paraphrases. Run a hybrid query with supported full-text search and vector ranking merged under tenant filters.
Incorrect Answers
A:
“Load representative embeddings before creating or rebuilding the IVFFlat index and tune lists/probes.” is a design or implementation response to the condition: The approximate index requires suitable data distribution and tuning for list count and probes. This question instead requires an action that can combine keyword and vector retrieval with controlled ranking and metadata filters. Pure vector matching often misses rare identifiers while full-text search alone fails paraphrases. Run a hybrid query with supported full-text search and vector ranking merged under tenant filters.
B:
“Build an HNSW index with the appropriate vector_cosine_ops operator class where supported.” is a design or implementation response to the condition: The vector column has no suitable approximate nearest neighbor index for the cosine operator. This question instead requires an action that can combine keyword and vector retrieval with controlled ranking and metadata filters. Pure vector matching often misses rare identifiers while full-text search alone fails paraphrases. Run a hybrid query with supported full-text search and vector ranking merged under tenant filters.
D:
“Right-size cache capacity and choose a supported LRU/LFU/TTL-aware eviction policy appropriate to the workload.” is a design or implementation response to the condition: Its max memory is saturated and eviction policy does not match cache workload priorities. This question instead requires an action that can combine keyword and vector retrieval with controlled ranking and metadata filters. Pure vector matching often misses rare identifiers while full-text search alone fails paraphrases. Run a hybrid query with supported full-text search and vector ranking merged under tenant filters.
Question 462
Cedar Cloud is reviewing an Azure AI workload: An AI search database loads millions of embeddings but still uses stale row estimates when filtering by tenant. The business goal is to refresh planner knowledge and maintain index effectiveness after major data change. 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?
- Use supported PostgreSQL connection pooling and sensible client-side reuse/limits.
- Use a new compatible vector column or migration path instead of inserting mismatched embeddings.
- Run an appropriate ANALYZE and maintenance plan after bulk ingestion.
- Use deterministic sink IDs and version checks before committing processed embeddings.
Explanation
Correct Answer
C:
Planner statistics are stale after bulk insert and the plan estimates row counts incorrectly. Run an appropriate ANALYZE and maintenance plan after bulk ingestion.
Incorrect Answers
A:
Connection pooling limits database connection churn from bursty functions; it does not refresh PostgreSQL planner statistics after a large embedding load. Run ANALYZE and inspect plans to restore accurate row/selectivity estimates.
B:
“Use a new compatible vector column or migration path instead of inserting mismatched embeddings.” is a design or implementation response to the condition: The database column is declared as vector(1536) and reject mismatched input. This question instead requires an action that can refresh planner knowledge and maintain index effectiveness after major data change. Planner statistics are stale after bulk insert and the plan estimates row counts incorrectly. Run an appropriate ANALYZE and maintenance plan after bulk ingestion.
D:
“Use deterministic sink IDs and version checks before committing processed embeddings.” is a design or implementation response to the condition: An updated knowledge article gets indexed twice after processor failover and changes search ranking. This question instead requires an action that can refresh planner knowledge and maintain index effectiveness after major data change. Planner statistics are stale after bulk insert and the plan estimates row counts incorrectly. Run an appropriate ANALYZE and maintenance plan after bulk ingestion.
Question 463
Redwood Banking is reviewing an Azure AI workload: An AI document upload service saturates its Cosmos RU budget every morning and retries aggressively. The business goal is to plan provisioned or autoscale throughput around measured RU consumption. 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?
- Enable container or per-item TTL with approved expiration windows and explicit exceptions.
- Configure the supported cosine, dot-product, or Euclidean distance option appropriate to the embeddings.
- Implement cache-aside lookup with a bounded TTL and version-aware key names.
- Choose an appropriate autoscale or provisioned RU strategy and optimize expensive operations first.
Explanation
Correct Answer
D:
Provisioned RU capacity and partition distribution are below the write and query demand. Choose an appropriate autoscale or provisioned RU strategy and optimize expensive operations first.
Incorrect Answers
A:
“Enable container or per-item TTL with approved expiration windows and explicit exceptions.” is a design or implementation response to the condition: The container has TTL disabled and application cleanup jobs miss archived records. This question instead requires an action that can plan provisioned or autoscale throughput around measured RU consumption. Provisioned RU capacity and partition distribution are below the write and query demand. Choose an appropriate autoscale or provisioned RU strategy and optimize expensive operations first.
B:
“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 plan provisioned or autoscale throughput around measured RU consumption. Provisioned RU capacity and partition distribution are below the write and query demand. Choose an appropriate autoscale or provisioned RU strategy and optimize expensive operations first.
C:
“Implement cache-aside lookup with a bounded TTL and version-aware key names.” is a design or implementation response to the condition: It currently bypasses Redis and stores no expiration for cacheable responses. This question instead requires an action that can plan provisioned or autoscale throughput around measured RU consumption. Provisioned RU capacity and partition distribution are below the write and query demand. Choose an appropriate autoscale or provisioned RU strategy and optimize expensive operations first.
Question 464
At Northwind Learning, an Azure Key Vault permission grant has no effect because the team mixed RBAC role assignments with old access policies. Evidence: The vault is configured to use the Azure RBAC permission model for data-plane authorization. The objective is to apply permissions in the active Key Vault authorization model. Only authorized Azure subscriptions and synthetic test data may be used. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect refresh registration, cache expiration and sentinel update order.
- Inspect key names, labels, connection selectors and fallback behavior.
- Inspect event timestamps, timezone assumptions and selected aggregation interval.
- Inspect vault permission model, effective role assignments and inherited scope.
Explanation
Correct Answer
D:
The vault is configured to use the Azure RBAC permission model for data-plane authorization. Inspect vault permission model, effective role assignments and inherited scope.
Incorrect Answers
A:
“Inspect refresh registration, cache expiration and sentinel update order.” is a diagnostic step for the reported condition: The SDK refresh provider observes no sentinel key and the keys update at different moments. This question instead requires an action that can apply permissions in the active Key Vault authorization model. The vault is configured to use the Azure RBAC permission model for data-plane authorization. Inspect vault permission model, effective role assignments and inherited scope.
B:
“Inspect key names, labels, connection selectors and fallback behavior.” is a diagnostic step for the reported 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 apply permissions in the active Key Vault authorization model. The vault is configured to use the Azure RBAC permission model for data-plane authorization. Inspect vault permission model, effective role assignments and inherited scope.
C:
“Inspect event timestamps, timezone assumptions and selected aggregation interval.” is a diagnostic step for the reported condition: The current results lack time bucketing and cannot reveal when an issue began. This question instead requires an action that can apply permissions in the active Key Vault authorization model. The vault is configured to use the Azure RBAC permission model for data-plane authorization. Inspect vault permission model, effective role assignments and inherited scope.
Question 465
At Riverbend Health, a pgvector table has an HNSW index with a vector_l2_ops class but queries sort by cosine distance. Evidence: The mismatch keeps the query from using the intended nearest-neighbor index plan. The objective is to match PostgreSQL vector index operator class to the query distance operator. Changes must respect customer tenant boundaries and required availability targets. Which controlled pilot most directly validates the proposed approach?
- Query a synthetic corpus containing public, draft, and tenant-restricted document records.
- Build a staging cosine index and compare query plans against the L2-indexed table.
- Insert synthetic embeddings of both lengths into separate compatible test columns.
- Update a benign record and read it through the same session across test regions.
Explanation
Correct Answer
B:
The mismatch keeps the query from using the intended nearest-neighbor index plan. Build a staging cosine index and compare query plans against the L2-indexed table.
Incorrect Answers
A:
“Query a synthetic corpus containing public, draft, and tenant-restricted document records.” tests a proposed change for the condition: The vector table and document ACL table are normalized with a shared document_id. This question instead requires an action that can match PostgreSQL vector index operator class to the query distance operator. The mismatch keeps the query from using the intended nearest-neighbor index plan. Build a staging cosine index and compare query plans against the L2-indexed table.
C:
“Insert synthetic embeddings of both lengths into separate compatible test columns.” tests a proposed change for the condition: The database column is declared as vector(1536) and reject mismatched input. This question instead requires an action that can match PostgreSQL vector index operator class to the query distance operator. The mismatch keeps the query from using the intended nearest-neighbor index plan. Build a staging cosine index and compare query plans against the L2-indexed table.
D:
“Update a benign record and read it through the same session across test regions.” tests a proposed change for the condition: The application does not retain session tokens and assumes eventual consistency provides read-your-writes. This question instead requires an action that can match PostgreSQL vector index operator class to the query distance operator. The mismatch keeps the query from using the intended nearest-neighbor index plan. Build a staging cosine index and compare query plans against the L2-indexed table.
Question 466
At Mosaic Robotics, 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. Changes must respect customer tenant boundaries and required availability targets. Which controlled pilot most directly validates the proposed approach?
- Insert synthetic embeddings of both lengths into separate compatible test columns.
- In a test table, compare query plans and latency before and after refreshed statistics.
- Compare fixed code-specific and semantic search cases against a labeled staging corpus.
- Update a test policy document and trigger the cache invalidation workflow.
Explanation
Correct Answer
A:
The database column is declared as vector(1536) and reject mismatched input. Insert synthetic embeddings of both lengths into separate compatible test columns. A fixed-dimension pgvector column rejects a different-length embedding, so the selected model output and stored vector schema must match.
Incorrect Answers
B:
ANALYZE updates planner statistics after data changes, but cannot make a 3072-element embedding fit a vector(1536) column. Fix the model/vector-dimension mismatch first.
C:
“Compare fixed code-specific and semantic search cases against a labeled staging corpus.” tests a proposed change for the condition: 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. Insert synthetic embeddings of both lengths into separate compatible test columns. A fixed-dimension pgvector column rejects a different-length embedding, so the selected model output and stored vector schema must match.
D:
“Update a test policy document and trigger the cache invalidation workflow.” tests a proposed change for the condition: Its Redis cache persists until a long TTL and does not react to content version changes. 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. Insert synthetic embeddings of both lengths into separate compatible test columns. A fixed-dimension pgvector column rejects a different-length embedding, so the selected model output and stored vector schema must match.
Question 467
At Summit Finance, 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. Validate in a disposable environment before applying production changes. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor malformed JSON events and schema field name drift.
- Monitor gaps between event windows and sudden error-rate changes.
- Monitor missing correlation IDs and dependency latency outliers.
- Monitor purge attempts, deleted-object inventory and retention exceptions.
Explanation
Correct Answer
C:
Request and dependency telemetry share an operation correlation ID. Monitor missing correlation IDs and dependency latency outliers.
Incorrect Answers
A:
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.
B:
“Monitor gaps between event windows and sudden error-rate changes.” monitors this signal: The current results lack time bucketing and cannot reveal when an issue began. 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. Monitor missing correlation IDs and dependency latency outliers.
D:
“Monitor purge attempts, deleted-object inventory and retention exceptions.” monitors this signal: The vault supports soft-delete retention and purge protection but neither is documented in recovery procedures. 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. Monitor missing correlation IDs and dependency latency outliers.
Question 468
At Cobalt Research, a multi-tenant retrieval system can find similar embeddings but sometimes retrieves another tenant's documents. Evidence: The query applies semantic similarity without enforcing the caller's tenant partition and metadata scope. The objective is to combine semantic retrieval with mandatory tenant filtering and authorization. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect generated query text, parameter bindings, and server-side query filters.
- Inspect frequent query shapes, index paths, and RU differences for writes and reads.
- Inspect durability, failover behavior, key eviction settings and source-of-truth design.
- Inspect vector query predicates, partition keys, tenant identity mapping and authorization tests.
Explanation
Correct Answer
D:
The query applies semantic similarity without enforcing the caller's tenant partition and metadata scope. Inspect vector query predicates, partition keys, tenant identity mapping and authorization tests.
Incorrect Answers
A:
“Inspect generated query text, parameter bindings, and server-side query filters.” is a diagnostic step for the reported condition: Users can enter quotation marks and unexpectedly alter query predicates. 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. Inspect vector query predicates, partition keys, tenant identity mapping and authorization tests.
B:
“Inspect frequent query shapes, index paths, and RU differences for writes and reads.” is a diagnostic step for the reported condition: Default indexing captures unused large properties and increases write RU costs. 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. Inspect vector query predicates, partition keys, tenant identity mapping and authorization tests.
C:
“Inspect durability, failover behavior, key eviction settings and source-of-truth design.” is a diagnostic step for the reported condition: The configured eviction policy can discard keys when memory pressure rises. 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. Inspect vector query predicates, partition keys, tenant identity mapping and authorization tests.
Question 469
At Harbor Technology, an AI application retrieves one stored embedding document by its known id but performs a cross-partition SQL query for every request. Evidence: The SDK already has both the item id and its exact partition key value. The objective is to use efficient point reads for known Cosmos DB document identities. Validate in a disposable environment before applying production changes. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor point-read failure rate, 429 responses, and unexpected cross-partition queries.
- Monitor replay frequency, version conflicts, and duplicate side effects.
- Monitor query metrics, write RU, and index transformation progress.
- Monitor extension upgrades, privileges and index compatibility.
Explanation
Correct Answer
A:
The SDK already has both the item id and its exact partition key value. Monitor point-read failure rate, 429 responses, and unexpected cross-partition queries.
Incorrect Answers
B:
“Monitor replay frequency, version conflicts, and duplicate side effects.” monitors this signal: Change feed delivery and retries require consumers to tolerate at-least-once processing. This question instead requires an action that can use efficient point reads for known Cosmos DB document identities. The SDK already has both the item id and its exact partition key value. Monitor point-read failure rate, 429 responses, and unexpected cross-partition queries.
C:
“Monitor query metrics, write RU, and index transformation progress.” monitors this signal: Default indexing captures unused large properties and increases write RU costs. This question instead requires an action that can use efficient point reads for known Cosmos DB document identities. The SDK already has both the item id and its exact partition key value. Monitor point-read failure rate, 429 responses, and unexpected cross-partition queries.
D:
“Monitor extension upgrades, privileges and index compatibility.” monitors this signal: The extension is not enabled or allowlisted for the chosen server configuration. This question instead requires an action that can use efficient point reads for known Cosmos DB document identities. The SDK already has both the item id and its exact partition key value. Monitor point-read failure rate, 429 responses, and unexpected cross-partition queries.
Question 470
At Blue Ridge Technology, 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. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which implementation or configuration choice best meets the stated requirement?
- Configure an Azure Service Bus KEDA scale rule using a supported managed identity and queue-length thresholds.
- Configure a supported HTTP-based scale rule and reasonable replica bounds for the service.
- Link the required private DNS zones to the consuming VNet and configure a supported registry private endpoint path.
- Assign a least-privilege managed identity role and use Azure Identity credentials from the app.
Explanation
Correct Answer
D:
The managed identity exists but lacks data-plane permission on the target resource. Assign a least-privilege managed identity role and use Azure Identity credentials from the app.
Incorrect Answers
A:
“Configure an Azure Service Bus KEDA scale rule using a supported managed identity and queue-length thresholds.” is a design or implementation response to the condition: Its scale rule tracks HTTP requests instead of queue length and the scaler cannot authenticate to the broker. 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. Assign a least-privilege managed identity role and use Azure Identity credentials from the app.
B:
“Configure a supported HTTP-based scale rule and reasonable replica bounds for the service.” is a design or implementation response to the condition: A public AI text-analysis endpoint needs automatic horizontal scaling during brief demand peaks. 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. Assign a least-privilege managed identity role and use Azure Identity credentials from the app.
C:
“Link the required private DNS zones to the consuming VNet and configure a supported registry private endpoint path.” is a design or implementation response to the condition: 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. Assign a least-privilege managed identity role and use Azure Identity credentials from the app.