Microsoft AI-200 Practice Test 3
Question 20
At Sapphire Energy, 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. Preserve end-to-end correlation and avoid copying sensitive production data. Which implementation or configuration choice best meets the stated requirement?
- Choose a stable high-cardinality partition key aligned to dominant conversation access patterns.
- Use supported session consistency with proper session-token handling for read-your-writes where required.
- Enable supported TLS and appropriately scoped Microsoft Entra or Redis access controls.
- Exclude large unused body fields from indexing while preserving needed metadata indexes.
Explanation
Correct Answer
D:
Default indexing captures unused large properties and increases write RU costs. Exclude large unused body fields from indexing while preserving needed metadata indexes.
Incorrect Answers
A:
“Choose a stable high-cardinality partition key aligned to dominant conversation access patterns.” is a design or implementation response to the condition: The partition key uses a shared constant for nearly all writes rather than a high-cardinality conversation identifier. 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. Exclude large unused body fields from indexing while preserving needed metadata indexes.
B:
Cosmos DB consistency levels govern read visibility across sessions or replicas; they do not reduce write RU spent indexing large fields that no query uses. Adjust included and excluded indexing paths to actual filter and sort patterns.
C:
“Enable supported TLS and appropriately scoped Microsoft Entra or Redis access controls.” is a design or implementation response to the condition: A model-serving API must authenticate to a private Azure Managed Redis cache without transmitting secrets in cleartext. 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. Exclude large unused body fields from indexing while preserving needed metadata indexes.
Question 21
Seabright Media is reviewing an Azure AI workload: A billing enrichment producer resends a work item whenever it misses an acknowledgment. The business goal is to handle uncertain message delivery with stable message identity and idempotent side effects. 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?
- Use stable MessageId with supported duplicate detection and maintain idempotent consumer writes.
- Use PeekLock processing and call Complete only after the output is persisted successfully.
- Configure supported Event Grid retry and dead-letter storage settings with restricted access.
- Define a supported schedule in the correct time standard and document daylight-saving behavior.
Explanation
Correct Answer
A:
The first send may have succeeded and a second identical command could duplicate work. Use stable MessageId with supported duplicate detection and maintain idempotent consumer writes.
Incorrect Answers
B:
“Use PeekLock processing and call Complete only after the output is persisted successfully.” is a design or implementation response to the condition: If the database transaction fails afterward the work is lost because the message was already removed. This question instead requires an action that can handle uncertain message delivery with stable message identity and idempotent side effects. The first send may have succeeded and a second identical command could duplicate work. Use stable MessageId with supported duplicate detection and maintain idempotent consumer writes.
C:
“Configure supported Event Grid retry and dead-letter storage settings with restricted access.” is a design or implementation response to the condition: An image processing endpoint goes offline during a deploy and the team needs an auditable recovery path for missed events. This question instead requires an action that can handle uncertain message delivery with stable message identity and idempotent side effects. The first send may have succeeded and a second identical command could duplicate work. Use stable MessageId with supported duplicate detection and maintain idempotent consumer writes.
D:
“Define a supported schedule in the correct time standard and document daylight-saving behavior.” is a design or implementation response to the condition: An AI cache cleanup function must run every night at a stable UTC time rather than an assumed local offset. This question instead requires an action that can handle uncertain message delivery with stable message identity and idempotent side effects. The first send may have succeeded and a second identical command could duplicate work. Use stable MessageId with supported duplicate detection and maintain idempotent consumer writes.
Question 22
At Crescent Logistics, an AI ingestion queue retries malformed JSON indefinitely and blocks healthy work from progressing. Evidence: The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. The objective is to isolate unrecoverable messages without losing audit evidence. Preserve end-to-end correlation and avoid copying sensitive production data. Which controlled pilot most directly validates the proposed approach?
- Schedule a harmless test job for a short future interval and observe visibility before due time.
- Create harmless test blobs in both included and excluded prefixes.
- Send one malformed synthetic payload and one valid payload to the staging queue.
- Run a benign test invocation that reads and writes an object in a sandbox container.
Explanation
Correct Answer
C:
The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. Send one malformed synthetic payload and one valid payload to the staging queue.
Incorrect Answers
A:
“Schedule a harmless test job for a short future interval and observe visibility before due time.” tests a proposed change for the 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 isolate unrecoverable messages without losing audit evidence. The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. Send one malformed synthetic payload and one valid payload to the staging queue.
B:
“Create harmless test blobs in both included and excluded prefixes.” tests a proposed change for the condition: The subscription has no subject filter and triggers expensive embedding for unrelated images. This question instead requires an action that can isolate unrecoverable messages without losing audit evidence. The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. Send one malformed synthetic payload and one valid payload to the staging queue.
D:
“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 isolate unrecoverable messages without losing audit evidence. The same message repeatedly fails schema validation and the broker supports a dead-letter subqueue. Send one malformed synthetic payload and one valid payload to the staging queue.
Question 23
At Harbor Technology, a request passes through a Python API, Service Bus, and an embedding worker but monitoring displays disconnected traces. Evidence: The applications generate spans but do not propagate W3C trace context across message boundaries. The objective is to reconstruct end-to-end distributed request paths with propagated context. Only authorized Azure subscriptions and synthetic test data may be used. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor ingestion volume, dropped errors and adaptive sampling bias.
- Monitor newly introduced high-cardinality or secret-bearing telemetry fields.
- Monitor mislabeled key values and unexpected cross-environment feature settings.
- Monitor broken trace chains, context propagation gaps and exporter failures.
Explanation
Correct Answer
D:
Track whether W3C traceparent and related context propagate from the HTTP request into the Service Bus message metadata and are extracted by the worker. Monitor missing parent-child or linked spans, broken operation identifiers and exporter failures while excluding sensitive payloads from telemetry. A successful API request without a correlated worker span does not prove end-to-end observability.
Incorrect Answers
A:
“Monitor ingestion volume, dropped errors and adaptive sampling bias.” monitors this signal: The exporter captures all success events without sampling and does not retain error context. This question instead requires an action that can reconstruct end-to-end distributed request paths with propagated context. Track whether W3C traceparent and related context propagate from the HTTP request into the Service Bus message metadata and are extracted by the worker. Monitor missing parent-child or linked spans, broken operation identifiers and exporter failures while excluding sensitive payloads from telemetry. A successful API request without a correlated worker span does not prove end-to-end observability.
B:
“Monitor newly introduced high-cardinality or secret-bearing telemetry fields.” monitors this signal: The organization needs troubleshooting context but prohibits exporting raw sensitive data. This question instead requires an action that can reconstruct end-to-end distributed request paths with propagated context. Track whether W3C traceparent and related context propagate from the HTTP request into the Service Bus message metadata and are extracted by the worker. Monitor missing parent-child or linked spans, broken operation identifiers and exporter failures while excluding sensitive payloads from telemetry. A successful API request without a correlated worker span does not prove end-to-end observability.
C:
“Monitor mislabeled key values and unexpected cross-environment feature settings.” monitors this signal: The team created labeled keys yet the SDK filter does not select the requested environment label. This question instead requires an action that can reconstruct end-to-end distributed request paths with propagated context. Track whether W3C traceparent and related context propagate from the HTTP request into the Service Bus message metadata and are extracted by the worker. Monitor missing parent-child or linked spans, broken operation identifiers and exporter failures while excluding sensitive payloads from telemetry. A successful API request without a correlated worker span does not prove end-to-end observability.
Question 24
At Blue Ridge Technology, a worker hammers a downstream Azure service during throttling and rapidly requeues every message. Evidence: The service returns 429 and includes retry guidance while the queue consumer has no backoff. The objective is to recover from transient failures without amplification and unnecessary duplicate work. Changes must respect customer tenant boundaries and required availability targets. Which acceptance result most strongly demonstrates the requirement is met?
- Verify the handler extracts the expected subject and payload and rejects malformed envelopes.
- Verify only the translation event enters the translation subscription.
- Verify retries are spaced and the message ultimately settles or dead-letters under defined limits.
- Verify the operation is recorded once even though multiple function invocations occur.
Explanation
Correct Answer
C:
The service returns 429 and includes retry guidance while the queue consumer has no backoff. Verify retries are spaced and the message ultimately settles or dead-letters under defined limits.
Incorrect Answers
A:
“Verify the handler extracts the expected subject and payload and rejects malformed envelopes.” validates an outcome in a case where the evidence is: The Python function expects the older Event Grid event wrapper and reads nonexistent fields. This question instead requires an action that can recover from transient failures without amplification and unnecessary duplicate work. The service returns 429 and includes retry guidance while the queue consumer has no backoff. Verify retries are spaced and the message ultimately settles or dead-letters under defined limits.
B:
“Verify only the translation event enters the translation subscription.” validates an outcome in a case where the evidence is: The worker subscription has no rule and receives irrelevant indexing and billing events. This question instead requires an action that can recover from transient failures without amplification and unnecessary duplicate work. The service returns 429 and includes retry guidance while the queue consumer has no backoff. Verify retries are spaced and the message ultimately settles or dead-letters under defined limits.
D:
“Verify the operation is recorded once even though multiple function invocations occur.” validates an outcome in a case where the evidence is: The trigger can invoke the handler more than once, and the side effect lacks an idempotency identifier. This question instead requires an action that can recover from transient failures without amplification and unnecessary duplicate work. The service returns 429 and includes retry guidance while the queue consumer has no backoff. Verify retries are spaced and the message ultimately settles or dead-letters under defined limits.
Question 25
Pine Valley Public Services is reviewing an Azure AI workload: A retrieval API adds a custom OpenTelemetry attribute containing raw document text to every span. The business goal is to collect useful spans without leaking secrets or customer content. 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?
- Filter Log Analytics or console logs by revision and correlate startup failures with its image digest.
- Use KQL percentile or percentiles aggregation for p95 and p99 by service and time window.
- Store a supported feature flag in Azure App Configuration with explicit targeting and fallback.
- Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.
Explanation
Correct Answer
D:
The organization needs troubleshooting context but prohibits exporting raw sensitive data. Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.
Incorrect Answers
A:
“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 collect useful spans without leaking secrets or customer content. The organization needs troubleshooting context but prohibits exporting raw sensitive data. Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.
B:
“Use KQL percentile or percentiles aggregation for p95 and p99 by service and time window.” is a design or implementation response to the condition: Telemetry has request duration samples with a heavy tail. This question instead requires an action that can collect useful spans without leaking secrets or customer content. The organization needs troubleshooting context but prohibits exporting raw sensitive data. Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.
C:
“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 collect useful spans without leaking secrets or customer content. The organization needs troubleshooting context but prohibits exporting raw sensitive data. Use structured low-cardinality non-sensitive attributes and redact secrets before trace export.
Question 26
At Orion Commerce, an AKS model server accepts TCP connections before it finishes loading its embedding model and clients receive errors. Evidence: A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. The objective is to route traffic only after application readiness while retaining separate restart detection. Only authorized Azure subscriptions and synthetic test data may be used. Which diagnostic investigation most directly isolates the issue before changing Azure resources?
- Inspect startup, readiness, and liveness probe endpoints and their failure thresholds.
- Inspect AKS OIDC configuration, Kubernetes service account annotation, and federated credential subject.
- Inspect Deployment YAML image digest, replica count, selectors, and rollout status.
- Compare manifest digest, registry access logs, and available build provenance or signature evidence.
Explanation
Correct Answer
A:
A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Inspect startup, readiness, and liveness probe endpoints and their failure thresholds.
Incorrect Answers
B:
“Inspect AKS OIDC configuration, Kubernetes service account annotation, and federated credential subject.” is a diagnostic step for the reported condition: The cluster supports OIDC issuer and workload identity federation with scoped Kubernetes service accounts. This question instead requires an action that can route traffic only after application readiness while retaining separate restart detection. A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Inspect startup, readiness, and liveness probe endpoints and their failure thresholds.
C:
“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 route traffic only after application readiness while retaining separate restart detection. A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Inspect startup, readiness, and liveness probe endpoints and their failure thresholds.
D:
“Compare manifest digest, registry access logs, and available build provenance or signature evidence.” is a diagnostic step for the reported condition: An engineer can push an image directly to the registry without required provenance checks. This question instead requires an action that can route traffic only after application readiness while retaining separate restart detection. A single liveness probe is being used as a readiness gate, causing repeated restarts during model warm-up. Inspect startup, readiness, and liveness probe endpoints and their failure thresholds.
Question 27
Cedar Cloud is reviewing an Azure AI workload: A team centralizes API endpoint settings but wants credential values protected outside App Configuration. The business goal is to keep centralized configuration while resolving secrets at the correct protected resource. 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 the Azure Identity credential chain and App Configuration endpoint with minimal role assignments.
- Use a Key Vault reference in App Configuration and grant the runtime identity secret retrieval permission.
- Configure Azure App Configuration key selection with explicit environment labels and sensible defaults.
- Use supported parse_json or dynamic-field access and convert fields to the required type.
Explanation
Correct Answer
B:
The consuming app identity can be authorized to both App Configuration and Key Vault. Use a Key Vault reference in App Configuration and grant the runtime identity secret retrieval permission.
Incorrect Answers
A:
“Use the Azure Identity credential chain and App Configuration endpoint with minimal role assignments.” is a design or implementation response to the condition: A private AKS worker needs model routing configuration without mounting a broad App Configuration access key. This question instead requires an action that can keep centralized configuration while resolving secrets at the correct protected resource. The consuming app identity can be authorized to both App Configuration and Key Vault. Use a Key Vault reference in App Configuration and grant the runtime identity secret retrieval permission.
C:
App Configuration labels distinguish environment-specific values, but they cannot turn a literal application password into a protected secret. A Key Vault reference keeps secret material under vault access policy and rotation.
D:
“Use supported parse_json or dynamic-field access and convert fields to the required type.” is a design or implementation response to the condition: A Function App logs dynamic metadata including queue type and AI model revision that dashboards must filter. This question instead requires an action that can keep centralized configuration while resolving secrets at the correct protected resource. The consuming app identity can be authorized to both App Configuration and Key Vault. Use a Key Vault reference in App Configuration and grant the runtime identity secret retrieval permission.
Question 28
At Juniper Analytics, a containerized classification API stays at one replica while request concurrency spikes. Evidence: The app has no tuned HTTP scale rule and the maximum replica count is too low. The objective is to scale replica counts based on measured inbound HTTP load. Prefer least privilege, measurable acceptance criteria, and reversible deployment. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor unauthorized ingress changes and new public hostnames.
- Monitor rollout failures, image pull errors, and unexpected changes to desired replicas.
- Monitor unresolved secret references, revoked identity permissions, and version changes.
- Monitor throttling, scaling latency, replica saturation, and scale rule drift.
Explanation
Correct Answer
D:
The app has no tuned HTTP scale rule and the maximum replica count is too low. Monitor throttling, scaling latency, replica saturation, and scale rule drift.
Incorrect Answers
A:
“Monitor unauthorized ingress changes and new public hostnames.” monitors this signal: 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 scale replica counts based on measured inbound HTTP load. The app has no tuned HTTP scale rule and the maximum replica count is too low. Monitor throttling, scaling latency, replica saturation, and scale rule drift.
B:
“Monitor rollout failures, image pull errors, and unexpected changes to desired replicas.” monitors this signal: The cluster requires repeatable rollout history, desired replica management, and readiness assurance. This question instead requires an action that can scale replica counts based on measured inbound HTTP load. The app has no tuned HTTP scale rule and the maximum replica count is too low. Monitor throttling, scaling latency, replica saturation, and scale rule drift.
C:
“Monitor unresolved secret references, revoked identity permissions, and version changes.” monitors this signal: The application can use managed identity and the secret already exists in Azure Key Vault. This question instead requires an action that can scale replica counts based on measured inbound HTTP load. The app has no tuned HTTP scale rule and the maximum replica count is too low. Monitor throttling, scaling latency, replica saturation, and scale rule drift.
Question 29
At BrightPath Engineering, an internal vector processing endpoint is reachable publicly even though only sibling workloads should call it. Evidence: The Container App ingress configuration is external and the environment has no intended public API for the worker. The objective is to constrain ingress scope to the internal application environment. Only authorized Azure subscriptions and synthetic test data may be used. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor throttling, scaling latency, replica saturation, and scale rule drift.
- Monitor unauthorized ingress changes and new public hostnames.
- Monitor role assignment drift, identity authentication failures, and unexpected secret use.
- Monitor replication health, regional pull errors, and replica capacity.
Explanation
Correct Answer
B:
The Container App ingress configuration is external and the environment has no intended public API for the worker. Monitor unauthorized ingress changes and new public hostnames.
Incorrect Answers
A:
“Monitor throttling, scaling latency, replica saturation, and scale rule drift.” monitors this signal: The app has no tuned HTTP scale rule and the maximum replica count is too low. 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. Monitor unauthorized ingress changes and new public hostnames.
C:
“Monitor role assignment drift, identity authentication failures, and unexpected secret use.” monitors this signal: The managed identity exists but lacks data-plane permission on the target resource. 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. Monitor unauthorized ingress changes and new public hostnames.
D:
“Monitor replication health, regional pull errors, and replica capacity.” monitors this signal: Its Premium registry has no replica in the region where new workloads are starting. 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. Monitor unauthorized ingress changes and new public hostnames.
Question 30
At Northwind Learning, 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. Only authorized Azure subscriptions and synthetic test data may be used. Which ongoing observation is most useful for detecting recurrence or configuration drift?
- Monitor lease ownership churn, processing lag and change feed failures.
- Monitor stale-read symptoms and consistency-related RU or latency changes.
- Monitor query metrics, write RU, and index transformation progress.
- Monitor stranded pending documents and repeated ingest failures.
Explanation
Correct Answer
C:
Default indexing captures unused large properties and increases write RU costs. Monitor query metrics, write RU, and index transformation progress.
Incorrect Answers
A:
“Monitor lease ownership churn, processing lag and change feed failures.” monitors this signal: The change feed processor relies on a shared lease container and correct start position. 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. Monitor query metrics, write RU, and index transformation progress.
B:
Cosmos DB consistency levels govern read visibility across sessions or replicas; they do not reduce write RU spent indexing large fields that no query uses. Adjust included and excluded indexing paths to actual filter and sort patterns.
D:
“Monitor stranded pending documents and repeated ingest failures.” monitors this signal: The database stores document status and embeddings in related rows without a reliable completion boundary. 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. Monitor query metrics, write RU, and index transformation progress.