Microsoft AI-200 Practice Test 8
Question 70
Sapphire Energy is reviewing an Azure AI workload: A private embedding worker should be callable by its orchestration service but not by internet clients. The business goal is to constrain ingress scope to the internal application environment. 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?
- Enable supported internal-only Container Apps ingress with correct target port and authentication.
- Configure Entra workload identity federation mapping the correct namespace/service account to a scoped Azure identity.
- Use a ClusterIP Service and enforce supported namespace/pod NetworkPolicies for allowed traffic.
- Link the required private DNS zones to the consuming VNet and configure a supported registry private endpoint path.
Explanation
Correct Answer
A:
The Container App ingress configuration is external and the environment has no intended public API for the worker. Enable supported internal-only Container Apps ingress with correct target port and authentication.
Incorrect Answers
B:
“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 constrain ingress scope to the internal application environment. The Container App ingress configuration is external and the environment has no intended public API for the worker. Enable supported internal-only Container Apps ingress with correct target port and authentication.
C:
“Use a ClusterIP Service and enforce supported namespace/pod NetworkPolicies for allowed traffic.” is a design or implementation response to the condition: The Service type and network policies do not enforce the desired cluster-internal caller boundary. This question instead requires an action that can constrain ingress scope to the internal application environment. The Container App ingress configuration is external and the environment has no intended public API for the worker. Enable supported internal-only Container Apps ingress with correct target port and authentication.
D:
“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 constrain ingress scope to the internal application environment. The Container App ingress configuration is external and the environment has no intended public API for the worker. Enable supported internal-only Container Apps ingress with correct target port and authentication.
Question 71
At Seabright Media, a backend Redis client connects over an unencrypted legacy endpoint with a shared password. Evidence: The environment requires encrypted transport and scoped client credentials. The objective is to secure application-to-cache connections with supported authentication and TLS. Changes must respect customer tenant boundaries and required availability targets. Which acceptance result most strongly demonstrates the requirement is met?
- Verify no unauthorized tenant records appear among ranked results.
- Verify subsequent reads return the new content rather than a stale cached answer.
- Verify planner estimates and index choices improve on representative retrieval queries.
- Verify permitted commands work securely and prohibited operations are denied.
Explanation
Correct Answer
D:
The environment requires encrypted transport and scoped client credentials. Verify permitted commands work securely and prohibited operations are denied.
Incorrect Answers
A:
“Verify no unauthorized tenant records appear among ranked results.” validates an outcome in a case where the evidence is: The index includes tenant metadata but the query filters only the vector distance. This question instead requires an action that can secure application-to-cache connections with supported authentication and TLS. The environment requires encrypted transport and scoped client credentials. Verify permitted commands work securely and prohibited operations are denied.
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 secure application-to-cache connections with supported authentication and TLS. The environment requires encrypted transport and scoped client credentials. Verify permitted commands work securely and prohibited operations are denied.
C:
“Verify planner estimates and index choices improve on representative retrieval queries.” validates an outcome in a case where the evidence is: Planner statistics are stale after bulk insert and the plan estimates row counts incorrectly. This question instead requires an action that can secure application-to-cache connections with supported authentication and TLS. The environment requires encrypted transport and scoped client credentials. Verify permitted commands work securely and prohibited operations are denied.
Question 72
Seabright Media is reviewing an Azure AI workload: An isolated application can obtain an Entra token but DNS resolves its vault name to an unreachable public address. The business goal is to resolve private Key Vault endpoints correctly without opening public ingress. 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?
- Choose a versionless reference for approved automatic latest-version retrieval or a coordinated pinned-version rollout.
- Store a supported feature flag in Azure App Configuration with explicit targeting and fallback.
- Filter Log Analytics or console logs by revision and correlate startup failures with its image digest.
- Configure the supported private endpoint DNS zone link and application networking integration.
Explanation
Correct Answer
D:
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:
“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 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.
B:
“Store a supported feature flag in Azure App Configuration with explicit targeting and fallback.” is a design or implementation response to the condition: A chatbot must turn a new summarization feature on for beta users without re-deploying its API. 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:
“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 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 73
At Orion Commerce, a worker has received a valid job but cannot continue until a related prerequisite arrives. Evidence: The job is not malformed and should be resumed by sequence number when the prerequisite is ready. The objective is to use deferral for valid temporarily blocked work instead of treating it as poison. Validate in a disposable environment before applying production changes. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect message state, sequence number, dependency correlation and expiration.
- Inspect retry policy, TTL, endpoint response behavior and dead-letter destination.
- Inspect SessionId assignment, session-enabled entities and receiver session lock behavior.
- Inspect HTTP trigger auth level, platform authentication and API gateway policies.
Explanation
Correct Answer
A:
The job is not malformed and should be resumed by sequence number when the prerequisite is ready. Inspect message state, sequence number, dependency correlation and expiration.
Incorrect Answers
B:
“Inspect retry policy, TTL, endpoint response behavior and dead-letter destination.” is a diagnostic step for the reported condition: The subscription has a delivery retry policy but dead-letter storage was never configured. This question instead requires an action that can use deferral for valid temporarily blocked work instead of treating it as poison. The job is not malformed and should be resumed by sequence number when the prerequisite is ready. Inspect message state, sequence number, dependency correlation and expiration.
C:
“Inspect SessionId assignment, session-enabled entities and receiver session lock behavior.” is a diagnostic step for the reported condition: Parallel consumers receive updates out of order and session affinity is not configured. This question instead requires an action that can use deferral for valid temporarily blocked work instead of treating it as poison. The job is not malformed and should be resumed by sequence number when the prerequisite is ready. Inspect message state, sequence number, dependency correlation and expiration.
D:
“Inspect HTTP trigger auth level, platform authentication and API gateway policies.” is a diagnostic step for the reported condition: The application should require an approved client identity before invoking the function. This question instead requires an action that can use deferral for valid temporarily blocked work instead of treating it as poison. The job is not malformed and should be resumed by sequence number when the prerequisite is ready. Inspect message state, sequence number, dependency correlation and expiration.
Question 74
Cobalt Research is reviewing an Azure AI workload: A document service inserts a request-provided category into a Cosmos query using string formatting. The business goal is to execute safe predictable Cosmos queries without interpolating untrusted values. 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?
- Configure a common lease container and stable processor identity with correct change feed mode.
- Configure the supported cosine, dot-product, or Euclidean distance option appropriate to the embeddings.
- Use Cosmos SDK parameterized SQL queries and enforce authorization separately from user input.
- Use supported PostgreSQL connection pooling and sensible client-side reuse/limits.
Explanation
Correct Answer
C:
Users can enter quotation marks and unexpectedly alter query predicates. Use Cosmos SDK parameterized SQL queries and enforce authorization separately from user input.
Incorrect Answers
A:
“Configure a common lease container and stable processor identity with correct change feed mode.” is a design or implementation response to the condition: A catalog ingestion service adds a second processor replica and duplicate subscriptions cause gaps and replays. This question instead requires an action that can execute safe predictable Cosmos queries without interpolating untrusted values. Users can enter quotation marks and unexpectedly alter query predicates. Use Cosmos SDK parameterized SQL queries and enforce authorization separately from user input.
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 execute safe predictable Cosmos queries without interpolating untrusted values. Users can enter quotation marks and unexpectedly alter query predicates. Use Cosmos SDK parameterized SQL queries and enforce authorization separately from user input.
D:
“Use supported PostgreSQL connection pooling and sensible client-side reuse/limits.” is a design or implementation response to the condition: A serverless vector ranking API works in development but fails intermittently at higher concurrent request volumes. This question instead requires an action that can execute safe predictable Cosmos queries without interpolating untrusted values. Users can enter quotation marks and unexpectedly alter query predicates. Use Cosmos SDK parameterized SQL queries and enforce authorization separately from user input.
Question 75
At Sapphire Energy, an upload handler function does not run after blob events although the Function App is deployed. Evidence: The Event Grid event subscription points to an outdated function endpoint and event type. The objective is to connect supported storage events to the correct Azure Functions trigger. Only authorized Azure subscriptions and synthetic test data may be used. Which controlled pilot most directly validates the proposed approach?
- Run a benign test invocation that reads and writes an object in a sandbox container.
- Upload a harmless blob into a staging storage account and inspect delivery logs.
- Call the staging route with a valid test identity and an unauthenticated request.
- Defer a synthetic job, deliver its prerequisite and retrieve the deferred message.
Explanation
Correct Answer
B:
The Event Grid event subscription points to an outdated function endpoint and event type. Upload a harmless blob into a staging storage account and inspect delivery logs.
Incorrect Answers
A:
“Run a benign test invocation that reads and writes an object in a sandbox container.” tests a proposed change for the condition: The function uses a modern supported runtime and can obtain scoped storage identity permissions. This question instead requires an action that can connect supported storage events to the correct Azure Functions trigger. The Event Grid event subscription points to an outdated function endpoint and event type. Upload a harmless blob into a staging storage account and inspect delivery logs.
C:
“Call the staging route with a valid test identity and an unauthenticated request.” tests a proposed change for the condition: The application should require an approved client identity before invoking the function. This question instead requires an action that can connect supported storage events to the correct Azure Functions trigger. The Event Grid event subscription points to an outdated function endpoint and event type. Upload a harmless blob into a staging storage account and inspect delivery logs.
D:
“Defer a synthetic job, deliver its prerequisite and retrieve the deferred message.” tests a proposed change for the condition: The job is not malformed and should be resumed by sequence number when the prerequisite is ready. This question instead requires an action that can connect supported storage events to the correct Azure Functions trigger. The Event Grid event subscription points to an outdated function endpoint and event type. Upload a harmless blob into a staging storage account and inspect delivery logs.
Question 76
At Seabright Media, an Event Grid handler fails after the subscription switches event schema to CloudEvents v1.0. Evidence: The Python function expects the older Event Grid event wrapper and reads nonexistent fields. The objective is to parse the configured CloudEvents envelope and required event metadata correctly. Changes must respect customer tenant boundaries and required availability targets. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect Content-Type, event schema, id, source, type, subject and data structure.
- Inspect scheduling timestamps, clock handling, cancellation requirements and queue settings.
- Inspect application properties on published events and active subscription rule filters.
- Inspect NCRONTAB format, timezone support on the hosting plan and last-trigger logs.
Explanation
Correct Answer
A:
The Python function expects the older Event Grid event wrapper and reads nonexistent fields. Inspect Content-Type, event schema, id, source, type, subject and data structure.
Incorrect Answers
B:
“Inspect scheduling timestamps, clock handling, cancellation requirements and queue settings.” is a diagnostic step for the reported condition: The producer has an exact due time but currently places the job on an ordinary active queue. This question instead requires an action that can parse the configured CloudEvents envelope and required event metadata correctly. The Python function expects the older Event Grid event wrapper and reads nonexistent fields. Inspect Content-Type, event schema, id, source, type, subject and data structure.
C:
“Inspect application properties on published events and active subscription rule filters.” is a diagnostic step for the reported condition: The worker subscription has no rule and receives irrelevant indexing and billing events. This question instead requires an action that can parse the configured CloudEvents envelope and required event metadata correctly. The Python function expects the older Event Grid event wrapper and reads nonexistent fields. Inspect Content-Type, event schema, id, source, type, subject and data structure.
D:
“Inspect NCRONTAB format, timezone support on the hosting plan and last-trigger logs.” is a diagnostic step for the reported condition: The host interprets schedules with specific UTC and configuration semantics. This question instead requires an action that can parse the configured CloudEvents envelope and required event metadata correctly. The Python function expects the older Event Grid event wrapper and reads nonexistent fields. Inspect Content-Type, event schema, id, source, type, subject and data structure.
Question 77
At Blue Ridge Technology, an Event Grid handler fails after the subscription switches event schema to CloudEvents v1.0. Evidence: The Python function expects the older Event Grid event wrapper and reads nonexistent fields. The objective is to parse the configured CloudEvents envelope and required event metadata correctly. Preserve end-to-end correlation and avoid copying sensitive production data. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor session lock loss and out-of-order aggregate updates.
- Monitor event parsing errors and unexpected schema type changes.
- Monitor lock expirations, abandoned deliveries and uncommitted work.
- Monitor scale controller events, memory exhaustion and trigger backlog.
Explanation
Correct Answer
B:
The Python function expects the older Event Grid event wrapper and reads nonexistent fields. Monitor event parsing errors and unexpected schema type changes.
Incorrect Answers
A:
“Monitor session lock loss and out-of-order aggregate updates.” monitors this signal: Parallel consumers receive updates out of order and session affinity is not configured. This question instead requires an action that can parse the configured CloudEvents envelope and required event metadata correctly. The Python function expects the older Event Grid event wrapper and reads nonexistent fields. Monitor event parsing errors and unexpected schema type changes.
C:
“Monitor lock expirations, abandoned deliveries and uncommitted work.” monitors this signal: If the database transaction fails afterward the work is lost because the message was already removed. This question instead requires an action that can parse the configured CloudEvents envelope and required event metadata correctly. The Python function expects the older Event Grid event wrapper and reads nonexistent fields. Monitor event parsing errors and unexpected schema type changes.
D:
“Monitor scale controller events, memory exhaustion and trigger backlog.” monitors this signal: Telemetry shows request queueing and memory pressure rather than an upstream service outage. This question instead requires an action that can parse the configured CloudEvents envelope and required event metadata correctly. The Python function expects the older Event Grid event wrapper and reads nonexistent fields. Monitor event parsing errors and unexpected schema type changes.
Question 78
At Aspen Manufacturing, a new experimental answer reranker must be enabled only for a small approved tester cohort. Evidence: The application uses hard-coded booleans in source and requires a rebuild for every rollout. The objective is to manage feature rollout independently from compiled application code. Validate in a disposable environment before applying production changes. Which controlled pilot most directly validates the proposed approach?
- Run a harmless Key Vault metadata read from a staging VNet-integrated function.
- Generate an authorized test expiration event for a disposable secret or simulate an equivalent event.
- Deploy a harmless staging revision that emits a known error signature.
- Evaluate the same test flag for two different approved synthetic user groups.
Explanation
Correct Answer
D:
The application uses hard-coded booleans in source and requires a rebuild for every rollout. Evaluate the same test flag for two different approved synthetic user groups.
Incorrect Answers
A:
“Run a harmless Key Vault metadata read from a staging VNet-integrated function.” tests a proposed change for the condition: The vault private endpoint exists but the necessary privatelink.vaultcore.azure.net DNS zone is not linked to the app VNet. This question instead requires an action that can manage feature rollout independently from compiled application code. The application uses hard-coded booleans in source and requires a rebuild for every rollout. Evaluate the same test flag for two different approved synthetic user groups.
B:
“Generate an authorized test expiration event for a disposable secret or simulate an equivalent event.” tests a proposed change for 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 manage feature rollout independently from compiled application code. The application uses hard-coded booleans in source and requires a rebuild for every rollout. Evaluate the same test flag for two different approved synthetic user groups.
C:
“Deploy a harmless staging revision that emits a known error signature.” tests a proposed change for the condition: The log records include revision identifiers that are not used in the investigation. This question instead requires an action that can manage feature rollout independently from compiled application code. The application uses hard-coded booleans in source and requires a rebuild for every rollout. Evaluate the same test flag for two different approved synthetic user groups.
Question 79
At Northwind Learning, an Azure Blob Storage event endpoint receives changes for every blob although it needs only a documents prefix. Evidence: The subscription has no subject filter and triggers expensive embedding for unrelated images. The objective is to narrow an Event Grid subscription to the relevant resource subject path. Only authorized Azure subscriptions and synthetic test data may be used. Which acceptance result most strongly demonstrates the requirement is met?
- Verify retries are spaced and the message ultimately settles or dead-letters under defined limits.
- Verify the original work resumes without unauthorized dead-letter replay or duplicate completion.
- Verify only the included blob events trigger downstream processing.
- Verify successful work is completed once and permanent failures reach the DLQ without data loss.
Explanation
Correct Answer
C:
The subscription has no subject filter and triggers expensive embedding for unrelated images. Verify only the included blob events trigger downstream processing.
Incorrect Answers
A:
“Verify retries are spaced and the message ultimately settles or dead-letters under defined limits.” validates an outcome in a case where the evidence is: The service returns 429 and includes retry guidance while the queue consumer has no backoff. This question instead requires an action that can narrow an Event Grid subscription to the relevant resource subject path. The subscription has no subject filter and triggers expensive embedding for unrelated images. Verify only the included blob events trigger downstream processing.
B:
Service Bus message deferral and dead-lettering govern brokered-message processing, not which Event Grid resource subjects a subscription receives. Apply the appropriate Event Grid subject-begins-with filter.
D:
“Verify successful work is completed once and permanent failures reach the DLQ without data loss.” validates an outcome in a case where the evidence is: The trigger configuration retries and message settlement must align with actual successful work. This question instead requires an action that can narrow an Event Grid subscription to the relevant resource subject path. The subscription has no subject filter and triggers expensive embedding for unrelated images. Verify only the included blob events trigger downstream processing.
Question 80
Marigold Retail is reviewing an Azure AI workload: A serverless vector ranking API works in development but fails intermittently at higher concurrent request volumes. The business goal is to limit backend connection counts while sustaining bursty application throughput. A change is being evaluated before rollout. The team has documented application and data boundaries. Preserve end-to-end correlation and avoid copying sensitive production data. Which implementation or configuration choice best meets the stated requirement?
- Scale the appropriate server resources after eliminating avoidable query and index overhead.
- Run a hybrid query with supported full-text search and vector ranking merged under tenant filters.
- Implement cache-aside lookup with a bounded TTL and version-aware key names.
- Use supported PostgreSQL connection pooling and sensible client-side reuse/limits.
Explanation
Correct Answer
D:
The database sees many idle connections and connection setup dominates API latency. Use supported PostgreSQL connection pooling and sensible client-side reuse/limits.
Incorrect Answers
A:
“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 limit backend connection counts while sustaining bursty application throughput. The database sees many idle connections and connection setup dominates API latency. Use supported PostgreSQL connection pooling and sensible client-side reuse/limits.
B:
“Run a hybrid query with supported full-text search and vector ranking merged under tenant filters.” is a design or implementation response to the condition: A hardware troubleshooting chatbot cannot reliably retrieve a ticket by its exact error code using embeddings alone. This question instead requires an action that can limit backend connection counts while sustaining bursty application throughput. The database sees many idle connections and connection setup dominates API latency. Use supported PostgreSQL connection pooling and sensible client-side reuse/limits.
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 limit backend connection counts while sustaining bursty application throughput. The database sees many idle connections and connection setup dominates API latency. Use supported PostgreSQL connection pooling and sensible client-side reuse/limits.