Pass Microsoft AI-200 Exam in First Attempt Guaranteed!
Get 100% Latest Exam Questions, Accurate & Verified Answers!
30 Days Free Updates, Instant Download!
Microsoft AI-200 Practice Test 40
Question 390
A SaaS application produces an AI review completed event that must be consumed by several services but no Azure resource raises that business event automatically. Which recorded observation would most clearly support the suspected issue?
Explanation
Correct Answer
The application emits an internal log entry but no externally consumable event with subject and type. Custom event publication decouples application domain events from Azure resource system events.
Incorrect Answers
Delivery attempts share the same event ID while the database contains duplicated records. Custom event publication decouples application domain events from Azure resource system events. The application emits an internal log entry but no externally consumable event with subject and type.
Webhook requests time out under model latency and redelivery increases duplicate processing. Custom event publication decouples application domain events from Azure resource system events. The application emits an internal log entry but no externally consumable event with subject and type.
Dead-letter records contain meaningful reasons but replay automation ignores them and requeues every item. Custom event publication decouples application domain events from Azure resource system events. The application emits an internal log entry but no externally consumable event with subject and type.
Question 391
An AKS inference pod is repeatedly killed when a slow embedding query exceeds the liveness probe timeout. Which recorded observation would most clearly support the suspected issue?
Explanation
Correct Answer
Pod events show recurring failed liveness probes and increasing restarts despite successful eventual requests. Liveness probes should detect irrecoverable process failure, not transient dependence on a slow service.
Incorrect Answers
Queue active-message counts rise sharply while the Container Apps worker stays at one replica. Liveness probes should detect irrecoverable process failure, not transient dependence on a slow service. Pod events show recurring failed liveness probes and increasing restarts despite successful eventual requests.
Request metrics show high concurrent requests per replica with increasing tail latency. Liveness probes should detect irrecoverable process failure, not transient dependence on a slow service. Pod events show recurring failed liveness probes and increasing restarts despite successful eventual requests.
The prior revision was deactivated or removed when the new single-revision deployment became active. Liveness probes should detect irrecoverable process failure, not transient dependence on a slow service. Pod events show recurring failed liveness probes and increasing restarts despite successful eventual requests.
Question 392
Conversation turns must be processed in order per user session but can be parallelized across different users. Which design change MOST directly addresses the organization's stated security requirement?
Explanation
Correct Answer
Use a session-enabled Service Bus entity with a stable SessionId per conversation and session-aware consumers. The case reports: Conversation turns must be processed in order per user session but can be parallelized across different users.
Incorrect Answers
Use bounded automatic lock renewal or split long computation into durable stages and make the handler idempotent. The case reports: Conversation turns must be processed in order per user session but can be parallelized across different users. Use a session-enabled Service Bus entity with a stable SessionId per conversation and session-aware consumers.
Inspect the Service Bus dead-letter queue, record the dead-letter reason, fix or quarantine the payload, and replay only after validation. The case reports: Conversation turns must be processed in order per user session but can be parallelized across different users. Use a session-enabled Service Bus entity with a stable SessionId per conversation and session-aware consumers.
Configure a supported dead-letter destination and monitor failed delivery, permissions, and retention settings. The case reports: Conversation turns must be processed in order per user session but can be parallelized across different users. Use a session-enabled Service Bus entity with a stable SessionId per conversation and session-aware consumers.
Question 393
An inference webhook was deployed as a Functions HTTP endpoint with anonymous access despite requiring an authenticated internal caller. Which outcome would demonstrate that the control meets its stated goal?
Explanation
Correct Answer
A permitted test caller invokes the function and an unauthenticated caller is denied.
Incorrect Answers
An eligible test upload invokes the function promptly and irrelevant object events are filtered. A permitted test caller invokes the function and an unauthenticated caller is denied.
The poison message is isolated with diagnostics and valid jobs continue to complete. A permitted test caller invokes the function and an unauthenticated caller is denied.
One synthetic job appears as a connected trace from trigger to backend calls and final response. A permitted test caller invokes the function and an unauthenticated caller is denied.
Question 394
A container build passes a database password through a Dockerfile ARG and leaves its value exposed in image build history. Which security principle best explains why the proposed response fits the case?
Explanation
Correct Answer
Build-time secrets must not be persisted in container layers or exposed in image metadata.
Incorrect Answers
Base-image triggers detect dependency changes that source-code-only pipelines can miss. Build-time secrets must not be persisted in container layers or exposed in image metadata.
Artifact lifecycle control must respect active deployment references and operational recovery windows. Build-time secrets must not be persisted in container layers or exposed in image metadata.
Central image builds make provenance easier to validate, though pinning and scanning are still needed. Build-time secrets must not be persisted in container layers or exposed in image metadata.
Question 395
A team wrote a polling loop inside an Azure Function to check Service Bus for queued jobs and the loop runs continuously without scaling. What evidence should be examined to narrow the cause?
Explanation
Correct Answer
Application traces show timer-based polls even though Service Bus already contains queued messages. Azure Functions bindings integrate event delivery with the platform execution and scaling model.
Incorrect Answers
Storage creates blob events but the function only executes on a periodic schedule. Azure Functions bindings integrate event delivery with the platform execution and scaling model. Application traces show timer-based polls even though Service Bus already contains queued messages.
Application logs show individual component errors without a shared correlation or trace identifier. Azure Functions bindings integrate event delivery with the platform execution and scaling model. Application traces show timer-based polls even though Service Bus already contains queued messages.
Function execution history shows repeated failures for the same message with no quarantine destination. Azure Functions bindings integrate event delivery with the platform execution and scaling model. Application traces show timer-based polls even though Service Bus already contains queued messages.
Question 396
A Python inference endpoint inserts user-provided project identifiers directly into a PostgreSQL WHERE clause and a review flags unsafe query concatenation. Which evidence would MOST directly substantiate the reported gap?
Explanation
Correct Answer
The database query string contains unsanitized client values embedded in SQL text. Parameterized SQL separates untrusted values from executable statement syntax.
Incorrect Answers
New inserts fail because vector dimensions do not match the destination column definition. Parameterized SQL separates untrusted values from executable statement syntax. The database query string contains unsanitized client values embedded in SQL text.
Connection metrics spike during bursts and logs show too many clients or connection failures. Parameterized SQL separates untrusted values from executable statement syntax. The database query string contains unsanitized client values embedded in SQL text.
Maintenance metrics show index build pressure and vector-query latency exceeding budget. Parameterized SQL separates untrusted values from executable statement syntax. The database query string contains unsanitized client values embedded in SQL text.
Question 397
An Azure Functions burst opens a new PostgreSQL connection per request and soon reaches the flexible server connection limit. Which security principle best explains why the proposed response fits the case?
Explanation
Correct Answer
Connection pooling reuses expensive database connections and must be sized against backend resource limits. The completion signal is: A representative burst completes without exhausting the server's permitted connection slots.
Incorrect Answers
Vector column dimensions must align with the embedding model; mixing model spaces is not a valid search upgrade. The completion signal is: A representative burst completes without exhausting the server's permitted connection slots. Connection pooling reuses expensive database connections and must be sized against backend resource limits.
Vector relevance ranking does not replace relational authorization predicates and tenant isolation. The completion signal is: A representative burst completes without exhausting the server's permitted connection slots. Connection pooling reuses expensive database connections and must be sized against backend resource limits.
At-least-once message delivery requires idempotent database mutations for predictable application state. The completion signal is: A representative burst completes without exhausting the server's permitted connection slots. Connection pooling reuses expensive database connections and must be sized against backend resource limits.
Question 398
Developers build the same Dockerfile from different laptops and obtain images with untracked versions of packages and no auditable build trail. Which evidence would MOST directly substantiate the reported gap?
Explanation
Correct Answer
Two manually built images carry the same release label but have different package inventories. Central image builds make provenance easier to validate, though pinning and scanning are still needed.
Incorrect Answers
The platform reports request failures while the container's own error messages are not collected. Central image builds make provenance easier to validate, though pinning and scanning are still needed. Two manually built images carry the same release label but have different package inventories.
App Service container logs show the process starting but the platform times out before the first healthy response. Central image builds make provenance easier to validate, though pinning and scanning are still needed. Two manually built images carry the same release label but have different package inventories.
The image's environment reports a hard-coded test endpoint despite production app settings. Central image builds make provenance easier to validate, though pinning and scanning are still needed. Two manually built images carry the same release label but have different package inventories.
Question 399
An AKS inference pod requires a credential stored in Key Vault, but the team wants to avoid putting a permanent token in a Kubernetes Secret. Select TWO statements: the most appropriate corrective action and its direct verification result.
Explanation
Correct Answers
A test pod receives the needed secret securely and a neighboring unauthorized pod is denied. An AKS inference pod requires a credential stored in Key Vault, but the team wants to avoid putting a permanent token in a Kubernetes Secret.
Use a supported Secrets Store CSI Driver or equivalent workload-identity integration with carefully scoped vault authorization. An AKS inference pod requires a credential stored in Key Vault, but the team wants to avoid putting a permanent token in a Kubernetes Secret.
Incorrect Answers
Use an appropriately versioned secret reference or controlled secret alias strategy with explicit promotion checks. An AKS inference pod requires a credential stored in Key Vault, but the team wants to avoid putting a permanent token in a Kubernetes Secret. Use a supported Secrets Store CSI Driver or equivalent workload-identity integration with carefully scoped vault authorization.
Store secret content in Key Vault and use an App Configuration Key Vault reference with authorized identity access. An AKS inference pod requires a credential stored in Key Vault, but the team wants to avoid putting a permanent token in a Kubernetes Secret. A test pod receives the needed secret securely and a neighboring unauthorized pod is denied.
The recovered secret is available to authorized callers and its access audit is recorded. An AKS inference pod requires a credential stored in Key Vault, but the team wants to avoid putting a permanent token in a Kubernetes Secret. A test pod receives the needed secret securely and a neighboring unauthorized pod is denied.
Question 400
An updated RAG backend must pass a smoke test before its production traffic is switched to the new container build. Which TWO selections jointly address the reported risk and demonstrate success?
Explanation
Correct Answers
The staging health check passes before promotion and rollback restores the known-good version. An updated RAG backend must pass a smoke test before its production traffic is switched to the new container build.
Deploy the candidate to a staging slot with slot-specific settings and perform tested slot swap or safe promotion. An updated RAG backend must pass a smoke test before its production traffic is switched to the new container build.
Incorrect Answers
Move environment-specific connection settings to App Service application configuration and restart or deploy with the correct values. An updated RAG backend must pass a smoke test before its production traffic is switched to the new container build. The staging health check passes before promotion and rollback restores the known-good version.
Configure an ACR Task with an appropriate base-image update trigger and validate its downstream promotion gate. An updated RAG backend must pass a smoke test before its production traffic is switched to the new container build. Deploy the candidate to a staging slot with slot-specific settings and perform tested slot swap or safe promotion.
A synthetic failing request produces a timestamped stack trace linked to the application instance. An updated RAG backend must pass a smoke test before its production traffic is switched to the new container build. The staging health check passes before promotion and rollback restores the known-good version.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests
- Microsoft AI-200 Practice Test 38 - 10 Questions (Last Reviewed 27-Oct-2026)
- Microsoft AI-200 Practice Test 39 - 10 Questions (Last Reviewed 26-Oct-2026)
- Microsoft AI-200 Practice Test 40 - 10 Questions (Last Reviewed 25-Oct-2026)
- Microsoft AI-200 Practice Test 41 - 10 Questions (Last Reviewed 24-Oct-2026)
- Microsoft AI-200 Practice Test 42 - 10 Questions (Last Reviewed 23-Oct-2026)
