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 42
Question 410
A conversational AI service makes many small sequential Redis calls for independent retrieval metadata and network round trips dominate its latency. Which security principle best explains why the proposed response fits the case?
Explanation
Correct Answer
Batching independent cache operations can reduce round-trip overhead without changing data semantics. The completion signal is: A controlled benchmark reduces network wait without changing application results or timeout handling.
Incorrect Answers
Hybrid vector filtering adds structural constraints to approximate similarity and reduces inappropriate cache reuse. The completion signal is: A controlled benchmark reduces network wait without changing application results or timeout handling. Batching independent cache operations can reduce round-trip overhead without changing data semantics.
TTL-based caching trades freshness for reduced repeated computation and must include relevant context in keys. The completion signal is: A controlled benchmark reduces network wait without changing application results or timeout handling. Batching independent cache operations can reduce round-trip overhead without changing data semantics.
An in-memory cache's eviction policy and capacity determine how frequently cached results survive. The completion signal is: A controlled benchmark reduces network wait without changing application results or timeout handling. Batching independent cache operations can reduce round-trip overhead without changing data semantics.
Question 411
A multi-tenant RAG service uses only the prompt text as a Redis cache key and risks returning one customer's retrieved context to another. Which evidence would MOST directly substantiate the reported gap?
Explanation
Correct Answer
Two distinct tenant sessions map to the same cache key for an identical question. Cache keys are part of a data isolation boundary when results depend on user or tenant permissions.
Incorrect Answers
Vector records exist in Redis but no searchable vector field or index schema has been configured. Cache keys are part of a data isolation boundary when results depend on user or tenant permissions. Two distinct tenant sessions map to the same cache key for an identical question.
Similarity queries return an embedding match whose department metadata does not match the caller. Cache keys are part of a data isolation boundary when results depend on user or tenant permissions. Two distinct tenant sessions map to the same cache key for an identical question.
Tracing shows identical requests repeatedly access the database and call the embedding service. Cache keys are part of a data isolation boundary when results depend on user or tenant permissions. Two distinct tenant sessions map to the same cache key for an identical question.
Question 412
A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index. Choose TWO: one appropriate technical intervention and one observable acceptance check for this case.
Explanation
Correct Answers
Top-k queries use the intended index and meet an agreed speed-versus-recall target. A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index.
Create and tune a supported HNSW index using the cosine operator class and validate recall and query plan. A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index.
Incorrect Answers
Plan and execute a controlled schema migration to a matching vector dimension and re-embed or segregate incompatible data. A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index. Create and tune a supported HNSW index using the cosine operator class and validate recall and query plan.
The new embedding records persist and similarity results are based on vectors of one compatible dimension. A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index. Top-k queries use the intended index and meet an agreed speed-versus-recall target.
Enable the allowed pgvector extension in the supported PostgreSQL server and then define a dimensioned vector column. A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index. Create and tune a supported HNSW index using the cosine operator class and validate recall and query plan.
Question 413
After a deployment, an Azure Functions app remains unhealthy and even its timer functions do not start because the host storage setting is invalid. What evidence should be examined to narrow the cause?
Explanation
Correct Answer
Function host logs report storage configuration or lease errors before any user function is invoked. Function host runtime dependencies can fail before application code executes.
Incorrect Answers
Invocation completes successfully while writes appear in an unexpected destination container. Function host runtime dependencies can fail before application code executes. Function host logs report storage configuration or lease errors before any user function is invoked.
Application Insights shows execution durations approaching the configured function timeout. Function host runtime dependencies can fail before application code executes. Function host logs report storage configuration or lease errors before any user function is invoked.
Storage creates blob events but the function only executes on a periodic schedule. Function host runtime dependencies can fail before application code executes. Function host logs report storage configuration or lease errors before any user function is invoked.
Question 414
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. Which outcome would demonstrate that the control meets its stated goal?
Explanation
Correct Answer
A test pod receives the needed secret securely and a neighboring unauthorized pod is denied.
Incorrect Answers
The function retrieves the authorized test secret through the private endpoint while internet access remains disabled. A test pod receives the needed secret securely and a neighboring unauthorized pod is denied.
A rehearsal rotates both sides with no unauthorized exposure and restores service on validation failure. 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. A test pod receives the needed secret securely and a neighboring unauthorized pod is denied.
Question 415
An AI ingestion event must independently trigger both audit archiving and embedding generation, but the current queue allows only one worker to take it. What concept is most relevant to understanding the decision?
Explanation
Correct Answer
Topic subscriptions give multiple consumer groups separate delivery and retry state. An AI ingestion event must independently trigger both audit archiving and embedding generation, but the current queue allows only one worker to take it.
Incorrect Answers
Service Bus queues support competing-consumer work distribution, unlike pub-sub fan-out to subscriptions. An AI ingestion event must independently trigger both audit archiving and embedding generation, but the current queue allows only one worker to take it. Topic subscriptions give multiple consumer groups separate delivery and retry state.
Service Bus sessions provide an ordered stream per session rather than global ordering across all users. An AI ingestion event must independently trigger both audit archiving and embedding generation, but the current queue allows only one worker to take it. Topic subscriptions give multiple consumer groups separate delivery and retry state.
PeekLock gives at-least-once processing semantics unless the application makes effects idempotent. An AI ingestion event must independently trigger both audit archiving and embedding generation, but the current queue allows only one worker to take it. Topic subscriptions give multiple consumer groups separate delivery and retry state.
Question 416
A document-classification API is deployed with the mutable latest image tag, and an emergency redeployment unexpectedly starts different code. Select TWO statements: the most appropriate corrective action and its direct verification result.
Explanation
Correct Answers
A redeploy starts the approved digest and the image can be traced to its build commit. Reproducible container deployments depend on an identified artifact rather than a mutable tag.
Publish a tested image with an immutable digest or specific release tag and deploy the exact approved reference. Reproducible container deployments depend on an identified artifact rather than a mutable tag. A redeploy starts the approved digest and the image can be traced to its build commit.
Incorrect Answers
A controlled base update launches the task and produces a new candidate image for review. Reproducible container deployments depend on an identified artifact rather than a mutable tag. A redeploy starts the approved digest and the image can be traced to its build commit.
Configure the app's expected container port and ensure the server binds to the reachable interface and listening port. Reproducible container deployments depend on an identified artifact rather than a mutable tag. Publish a tested image with an immutable digest or specific release tag and deploy the exact approved reference.
Enable supported App Service container logging, inspect application exceptions, and correlate startup and request logs. Reproducible container deployments depend on an identified artifact rather than a mutable tag. Publish a tested image with an immutable digest or specific release tag and deploy the exact approved reference. A redeploy starts the approved digest and the image can be traced to its build commit.
Question 417
A Python inference endpoint inserts user-provided project identifiers directly into a PostgreSQL WHERE clause and a review flags unsafe query concatenation. What concept is most relevant to understanding the decision?
Explanation
Correct Answer
Parameterized SQL separates untrusted values from executable statement syntax. The completion signal is: Synthetic SQL control characters are stored or compared as data without altering query structure.
Incorrect Answers
Relational indexing strategy should follow actual predicates, row distribution, and sort requirements. The completion signal is: Synthetic SQL control characters are stored or compared as data without altering query structure. Parameterized SQL separates untrusted values from executable statement syntax.
Connection pooling reuses expensive database connections and must be sized against backend resource limits. The completion signal is: Synthetic SQL control characters are stored or compared as data without altering query structure. Parameterized SQL separates untrusted values from executable statement syntax.
A hybrid relational and JSONB schema balances structure, flexibility, and indexable access patterns. The completion signal is: Synthetic SQL control characters are stored or compared as data without altering query structure. Parameterized SQL separates untrusted values from executable statement syntax.
Question 418
A RAG ingestion admin screen filters 2000000 metadata records by organization_id and created_at but is slower after data growth. What evidence should be examined to narrow the cause?
Explanation
Correct Answer
The plan scans most rows while filtering and sorting results for each narrow tenant request. Relational indexing strategy should follow actual predicates, row distribution, and sort requirements.
Incorrect Answers
Lock and query latency telemetry coincide with an index rebuild started during the busiest hours. Relational indexing strategy should follow actual predicates, row distribution, and sort requirements. The plan scans most rows while filtering and sorting results for each narrow tenant request.
Maintenance metrics show index build pressure and vector-query latency exceeding budget. Relational indexing strategy should follow actual predicates, row distribution, and sort requirements. The plan scans most rows while filtering and sorting results for each narrow tenant request.
EXPLAIN shows a large exact scan and sort instead of an approximate vector index path. Relational indexing strategy should follow actual predicates, row distribution, and sort requirements. The plan scans most rows while filtering and sorting results for each narrow tenant request.
Question 419
An incident investigator wants to search a common correlation ID across application requests, container logs, and function traces held in separate tables. Which implementation choice most directly resolves this service problem?
Explanation
Correct Answer
Use supported KQL union or appropriately normalized projections, retaining a source-table marker for context. Combining telemetry sources requires consistent correlation fields and preserved provenance.
Incorrect Answers
Expose queue depth and processing lag as metrics and configure targeted Azure Monitor alerts alongside tracing. Combining telemetry sources requires consistent correlation fields and preserved provenance. Use supported KQL union or appropriately normalized projections, retaining a source-table marker for context.
Remove private prompt contents, use bounded sanitized attributes, and retain approved correlation identifiers. Combining telemetry sources requires consistent correlation fields and preserved provenance. Use supported KQL union or appropriately normalized projections, retaining a source-table marker for context.
Set stable OpenTelemetry resource attributes such as service.name and environment, while retaining instance-level identifiers separately. Combining telemetry sources requires consistent correlation fields and preserved provenance. Use supported KQL union or appropriately normalized projections, retaining a source-table marker for context.
Question 420
A transcription processing handler sometimes needs hours to finish, but the Event Grid subscriber performs the entire job before acknowledging and delivery retries cascade. Which result best verifies the intended technical behavior?
Explanation
Correct Answer
The endpoint acknowledges promptly and a durable queue completes the work once logically.
Incorrect Answers
The document runs after the scheduled dependency point without exhausting deliveries or losing traceability. The endpoint acknowledges promptly and a durable queue completes the work once logically.
Both subscribed pipelines receive the allowed test event and settle their independent copies. The endpoint acknowledges promptly and a durable queue completes the work once logically.
A test batch results in one logical completion per message while workers share backlog. The endpoint acknowledges promptly and a durable queue completes the work once logically.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests
- 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)
- Microsoft AI-200 Practice Test 43 - 10 Questions (Last Reviewed 22-Oct-2026)
- Microsoft AI-200 Practice Test 44 - 10 Questions (Last Reviewed 21-Oct-2026)
