Question 590
A business feature should be enabled only for a controlled pilot group rather than every user. An on-call engineer cannot determine which configuration version caused a model-serving outage. Which course of action addresses the stated issues?
- Use staged labels or dedicated stores and promote approved values through change control; Record configuration revision identifiers and retain an auditable change history.
- Record configuration revision identifiers and retain an auditable change history; do not use a targeted App Configuration feature filter for the approved cohort.
- Use a targeted App Configuration feature filter for the approved cohort; Record configuration revision identifiers and retain an auditable change history.
- Use a targeted App Configuration feature filter for the approved cohort; use staged labels or dedicated stores and promote approved values through change control.
Explanation
Correct Answer
C:Cohort targeting permits measured release without changing code for all clients. versioned configuration records support correlation between rollout and observed failures.
Incorrect Answers
A:Use staged labels or dedicated stores and promote approved values through change control; Record configuration revision identifiers and retain an auditable change history: use a targeted App Configuration feature filter for the approved cohort.
B:Versioned configuration records support correlation between rollout and observed failures; requirement 1 requires: using a targeted App Configuration feature filter for the approved cohort.
D:Record configuration revision identifiers and retain an auditable change history.
Question 591
A request handler holds a database transaction open while awaiting an external model API, creating long lock waits. Idle database sessions remain open for hours after callers abandon requests, preventing fresh connections. Which response best addresses these needs?
- Keep transactions short and perform slow external calls outside the active transaction; deploy a managed PgBouncer transaction pool that shares backend connections across short-lived workers.
- Keep transactions short and perform slow external calls outside the active transaction; Set reasonable timeouts and close or recycle idle pooled connections.
- Set reasonable timeouts and close or recycle idle pooled connections; do not keep transactions short and perform slow external calls outside the active transaction.
- Deploy a managed PgBouncer transaction pool that shares backend connections across short-lived workers; Set reasonable timeouts and close or recycle idle pooled connections.
Explanation
Correct Answer
B:Long-running transactions retain locks and resources without improving external-service reliability. stale sessions consume the same finite connection capacity as useful active work.
Incorrect Answers
A:Set reasonable timeouts and close or recycle idle pooled connections.
C:Stale sessions consume the same finite connection capacity as useful active work; Requirement 1 requires: keep transactions short and perform slow external calls outside the active transaction.
D:Deploy a managed PgBouncer transaction pool that shares backend connections across short-lived workers; Set reasonable timeouts and close or recycle idle pooled connections: keep transactions short and perform slow external calls outside the active transaction.
Question 592
A release job pulls images directly from an anonymous public registry despite a requirement for internally approved artifacts. A scanner reports a fixed image but production still runs the vulnerable previous digest. What is the most appropriate plan for this situation?
- Gate promotion on approved vulnerability-scanning results for the exact image digest; compare the running deployment digest to the remediated image digest and roll out the approved build.
- Mirror approved images into ACR and deploy only from the controlled repository; Gate promotion on approved vulnerability-scanning results for the exact image digest.
- Compare the running deployment digest to the remediated image digest and roll out the approved build; do not Mirror approved images into ACR and deploy only from the controlled repository.
- Mirror approved images into ACR and deploy only from the controlled repository; compare the running deployment digest to the remediated image digest and roll out the approved build.
Explanation
Correct Answer
D:A vetted registry path makes artifact provenance and retention enforceable. image scanning changes no already running workload until its image reference is updated.
Incorrect Answers
A:Gate promotion on approved vulnerability-scanning results for the exact image digest; compare the running deployment digest to the remediated image digest and roll out the approved build: mirror approved images into ACR and deploy only from the controlled repository.
B:Compare the running deployment digest to the remediated image digest and roll out the approved build.
C:Image scanning changes no already running workload until its image reference is updated; Requirement 1 requires: mirror approved images into ACR and deploy only from the controlled repository.
Question 593
Most embedding searches filter by tenant and creation date but no ordinary index supports those predicates. A frequent SQL query joins chunks to source documents on document_id without a suitable index on the join column. Which course of action addresses the stated issues?
- Add a justified composite B-tree index covering tenant and date filters; Index the join key based on the measured query plan.
- Index the join key based on the measured query plan; do not add a justified composite B-tree index covering tenant and date filters.
- Add a justified composite B-tree index covering tenant and date filters; add an appropriate JSONB or expression index for the actual predicate.
- Add an appropriate JSONB or expression index for the actual predicate; Index the join key based on the measured query plan.
Explanation
Correct Answer
A:Conventional indexes reduce candidate rows before or around vector ranking. a join-key index can avoid repeated full-table scans during chunk attribution.
Incorrect Answers
B:A join-key index can avoid repeated full-table scans during chunk attribution; Requirement 1 requires: add a justified composite B-tree index covering tenant and date filters.
C:Index the join key based on the measured query plan.
D:Add an appropriate JSONB or expression index for the actual predicate; Index the join key based on the measured query plan: add a justified composite B-tree index covering tenant and date filters.
Question 594
A huge embedding table requires an approximate index with relatively economical build memory and acceptable recall. Vector recall drops after an IVFFlat deployment where only one list is probed from a highly partitioned index. Which response best addresses these needs?
- Increase ivfflat.probes within performance targets and remeasure recall; do not evaluate IVFFlat and tune its lists and probes against a recall baseline.
- Evaluate an HNSW vector index with tuned search parameters; Increase ivfflat.probes within performance targets and remeasure recall.
- Evaluate IVFFlat and tune its lists and probes against a recall baseline; Increase ivfflat.probes within performance targets and remeasure recall.
- Evaluate IVFFlat and tune its lists and probes against a recall baseline; evaluate an HNSW vector index with tuned search parameters.
Explanation
Correct Answer
C:IVFFlat trades lower build overhead for retrieval quality affected by list and probe choices. probing more lists raises the chance of finding the nearest candidates at additional query cost.
Incorrect Answers
A:Probing more lists raises the chance of finding the nearest candidates at additional query cost; requirement 1 requires: evaluating IVFFlat and tune its lists and probes against a recall baseline.
B:Evaluate an HNSW vector index with tuned search parameters; Increase ivfflat.probes within performance targets and remeasure recall: evaluate IVFFlat and tune its lists and probes against a recall baseline.
D:Increase ivfflat.probes within performance targets and remeasure recall.
Question 595
A private Function cannot reach Key Vault after Key Vault public access is disabled, even though its identity has permissions. A Function App is intentionally private but anonymous internet requests still reach its business HTTP trigger through a public endpoint. What is the most appropriate plan for this situation?
- Configure permitted private endpoints and DNS resolution for the Function's network path; enable supported Functions VNet integration and appropriate DNS or private network routing.
- Enable supported Functions VNet integration and appropriate DNS or private network routing; restrict inbound network access with the supported private endpoint or access restrictions.
- Configure permitted private endpoints and DNS resolution for the Function's network path; restrict inbound network access with the supported private endpoint or access restrictions.
- Restrict inbound network access with the supported private endpoint or access restrictions; do not configure permitted private endpoints and DNS resolution for the Function's network path.
Explanation
Correct Answer
C:Identity authorization cannot bypass a blocked network route to a private endpoint. network exposure must be controlled separately from code-level request authentication.
Incorrect Answers
A:Restrict inbound network access with the supported private endpoint or access restrictions.
B:Enable supported Functions VNet integration and appropriate DNS or private network routing; restrict inbound network access with the supported private endpoint or access restrictions: configure permitted private endpoints and DNS resolution for the Function's network path.
D:Network exposure must be controlled separately from code-level request authentication; requirement 1 requires: configuring permitted private endpoints and DNS resolution for the Function's network path.
Question 596
A read-heavy service repeatedly downloads large documents only to extract the title and document identifier. An AI search pipeline requests a query page but ignores continuation tokens, silently omitting most results. Which course of action addresses the stated issues?
- Use parameterized Cosmos DB SQL queries for untrusted values; Consume the query iterator's continuation tokens until the intended result set is complete.
- Project the required fields in its SQL SELECT instead of returning full documents; Consume the query iterator's continuation tokens until the intended result set is complete.
- Project the required fields in its SQL SELECT instead of returning full documents; use parameterized Cosmos DB SQL queries for untrusted values.
- Consume the query iterator's continuation tokens until the intended result set is complete; do not Project the required fields in its SQL SELECT instead of returning full documents.
Explanation
Correct Answer
B:Narrow projections reduce transfer and deserialization work for metadata-only reads. cosmos query results are paged, so one response may not contain every matching item.
Incorrect Answers
A:Use parameterized Cosmos DB SQL queries for untrusted values; Consume the query iterator's continuation tokens until the intended result set is complete: project the required fields in its SQL SELECT instead of returning full documents.
C:Consume the query iterator's continuation tokens until the intended result set is complete.
D:Cosmos query results are paged, so one response may not contain every matching item; Requirement 1 requires: project the required fields in its SQL SELECT instead of returning full documents.
Question 597
An operator must trigger a one-off backfill without changing the continuous web service's deployment. A task should launch a separate finite job when a queue contains work instead of leaving one background container running indefinitely. Which response best addresses these needs?
- Configure an event-driven Container Apps job using the supported event trigger; do not Start a manual Container Apps job execution for the backfill.
- Start a manual Container Apps job execution for the backfill; configure an event-driven Container Apps job using the supported event trigger.
- Deploy it as a scheduled Azure Container Apps job; configure an event-driven Container Apps job using the supported event trigger.
- Start a manual Container Apps job execution for the backfill; deploy it as a scheduled Azure Container Apps job.
Explanation
Correct Answer
B:Manual job execution isolates an on-demand task from long-lived application traffic. event-driven jobs create executions in response to external work rather than HTTP sessions.
Incorrect Answers
A:Event-driven jobs create executions in response to external work rather than HTTP sessions; Requirement 1 requires: start a manual Container Apps job execution for the backfill.
C:Deploy it as a scheduled Azure Container Apps job; configure an event-driven Container Apps job using the supported event trigger: start a manual Container Apps job execution for the backfill.
D:Configure an event-driven Container Apps job using the supported event trigger.
Question 598
Stale inference jobs must expire after twenty minutes instead of being processed hours after a traffic surge. A Service Bus message expires before it can be processed, but auditors need an investigation trail for expired items. What is the most appropriate plan for this situation?
- Set an appropriate message time-to-live on the entity or messages; use Service Bus scheduled message delivery for the required time.
- Configure suitable dead-lettering on expiration and review the resulting dead-letter queue; do not Set an appropriate message time-to-live on the entity or messages.
- Set an appropriate message time-to-live on the entity or messages; configure suitable dead-lettering on expiration and review the resulting dead-letter queue.
- Use Service Bus scheduled message delivery for the required time; configure suitable dead-lettering on expiration and review the resulting dead-letter queue.
Explanation
Correct Answer
C:TTL bounds useful message age independently of consumer availability. expiration policy can preserve expired work in the dead-letter subqueue for analysis.
Incorrect Answers
A:Configure suitable dead-lettering on expiration and review the resulting dead-letter queue.
B:Expiration policy can preserve expired work in the dead-letter subqueue for analysis; Requirement 1 requires: set an appropriate message time-to-live on the entity or messages.
D:Use Service Bus scheduled message delivery for the required time; configure suitable dead-lettering on expiration and review the resulting dead-letter queue: set an appropriate message time-to-live on the entity or messages.
Question 599
The team repeatedly pushes the same release tag and overwrites the image that incident responders need to reconstruct. A rollback plan cannot determine which container build served last Tuesday because registry images have only informal labels. Which course of action addresses the stated issues?
- Publish versioned image tags and record their digests with each deployment; do not enable ACR tag immutability for controlled release repositories.
- Enable ACR tag immutability for controlled release repositories; publish versioned image tags and record their digests with each deployment.
- Enable ACR tag immutability for controlled release repositories; Pin deployment manifests to an approved immutable image digest.
- Pin deployment manifests to an approved immutable image digest; publish versioned image tags and record their digests with each deployment.
Explanation
Correct Answer
B:Locked tags prevent accidental or unauthorized replacement of the referenced release artifact. version-plus-digest records associate each deployment with a reproducible image artifact.
Incorrect Answers
A:Version-plus-digest records associate each deployment with a reproducible image artifact; Requirement 1 requires: enable ACR tag immutability for controlled release repositories.
C:Publish versioned image tags and record their digests with each deployment.
D:Enable ACR tag immutability for controlled release repositories.
Question 600
Container Apps workloads have no central log destination, preventing engineers from correlating failed revision starts. An environment must sit within a restricted network and use organization-approved egress paths to dependent services. Which response best addresses these needs?
- Deploy the Container Apps environment with the supported virtual-network configuration and routes; do not connect the Container Apps environment to a suitable Log Analytics workspace.
- Configure internal ingress for the backend app and external ingress only for the gateway; deploy the Container Apps environment with the supported virtual-network configuration and routes.
- Connect the Container Apps environment to a suitable Log Analytics workspace; deploy the Container Apps environment with the supported virtual-network configuration and routes.
- Connect the Container Apps environment to a suitable Log Analytics workspace; configure internal ingress for the backend app and external ingress only for the gateway.
Explanation
Correct Answer
C:Environment logging makes platform and console events available for centralized investigation. environment-level network integration determines permitted workload paths beyond application code.
Incorrect Answers
A:Environment-level network integration determines permitted workload paths beyond application code; requirement 1 requires: connecting the Container Apps environment to a suitable Log Analytics workspace.
B:Configure internal ingress for the backend app and external ingress only for the gateway; deploy the Container Apps environment with the supported virtual-network configuration and routes: connect the Container Apps environment to a suitable Log Analytics workspace.
D:Deploy the Container Apps environment with the supported virtual-network configuration and routes.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests