Question 510
A service keeps a local App Configuration provider that refreshes normally, but dependent components retain their old configuration object references after refresh callbacks. A deployment needs several configuration keys to change together without clients seeing a mixed intermediate state. Which response best addresses these needs?
- Rebind affected components to updated options when the configuration refresh callback fires; Invoke the App Configuration refresher on a controlled schedule inside the long-running worker.
- Update related settings and then change a sentinel key that triggers coordinated refresh; do not Rebind affected components to updated options when the configuration refresh callback fires.
- Rebind affected components to updated options when the configuration refresh callback fires; update related settings and then change a sentinel key that triggers coordinated refresh.
- Invoke the App Configuration refresher on a controlled schedule inside the long-running worker; update related settings and then change a sentinel key that triggers coordinated refresh.
Explanation
Correct Answer
C:Central refresh coordination lowers request volume while preserving controlled update visibility. sentinel-based refresh can delay reloading until the related changes are ready.
Incorrect Answers
A:Update related settings and then change a sentinel key that triggers coordinated refresh.
B:Sentinel-based refresh can delay reloading until the related changes are ready; Requirement 1 requires: rebind affected components to updated options when the configuration refresh callback fires.
D:Invoke the App Configuration refresher on a controlled schedule inside the long-running worker; update related settings and then change a sentinel key that triggers coordinated refresh: rebind affected components to updated options when the configuration refresh callback fires.
Question 511
A vault must protect critical keys from immediate permanent deletion by an overprivileged operator. An environment cleanup process tries to reuse a recently deleted Key Vault name and hits a name conflict. What is the most appropriate plan for this situation?
- Enable and retain appropriate Key Vault purge protection; inspect the soft-deleted vault state and use the authorized recovery or purge lifecycle.
- Inspect the soft-deleted vault state and use the authorized recovery or purge lifecycle; do not enable and retain appropriate Key Vault purge protection.
- Enable and retain appropriate Key Vault purge protection; Recover the soft-deleted secret within its retention window.
- Recover the soft-deleted secret within its retention window; inspect the soft-deleted vault state and use the authorized recovery or purge lifecycle.
Explanation
Correct Answer
A:Purge protection prevents bypassing the retention period to destroy deleted vault objects. soft-deleted vaults can retain their names until the retention process is resolved.
Incorrect Answers
B:Soft-deleted vaults can retain their names until the retention process is resolved; Requirement 1 requires: enable and retain appropriate Key Vault purge protection.
C:Inspect the soft-deleted vault state and use the authorized recovery or purge lifecycle.
D:Recover the soft-deleted secret within its retention window; inspect the soft-deleted vault state and use the authorized recovery or purge lifecycle: enable and retain appropriate Key Vault purge protection.
Question 512
A dedicated RU/s container repeatedly reaches capacity during ingestion even though the account-level monitoring dashboard appears healthy. An asynchronous loader submits one item at a time and underutilizes provisioned Cosmos throughput despite independent documents. Which course of action addresses the stated issues?
- Configure supported multiregion Cosmos DB replication with appropriate read-region preferences; use SDK bulk or concurrent operations with bounded concurrency and retry handling.
- Inspect container-level normalized RU consumption and adjust indexing or throughput; configure supported multiregion Cosmos DB replication with appropriate read-region preferences.
- Use SDK bulk or concurrent operations with bounded concurrency and retry handling; do not inspect container-level normalized RU consumption and adjust indexing or throughput.
- Inspect container-level normalized RU consumption and adjust indexing or throughput; use SDK bulk or concurrent operations with bounded concurrency and retry handling.
Explanation
Correct Answer
D:Provisioned throughput and hot partitions should be diagnosed at the consuming scope. bounded parallelism can improve throughput while respecting RU throttling and backpressure.
Incorrect Answers
A:Configure supported multiregion Cosmos DB replication with appropriate read-region preferences; use SDK bulk or concurrent operations with bounded concurrency and retry handling: inspect container-level normalized RU consumption and adjust indexing or throughput.
B:Use SDK bulk or concurrent operations with bounded concurrency and retry handling.
C:Bounded parallelism can improve throughput while respecting RU throttling and backpressure; requirement 1 requires: inspecting container-level normalized RU consumption and adjust indexing or throughput.
Question 513
Security policy requires an internal build agent to reach ACR without the registry accepting general public-network connections. A pipeline cannot push to ACR after public access was disabled, although its managed identity has push permission. Which response best addresses these needs?
- Enable ACR geo-replication at a supported service tier and deploy from suitable replicas; Move the build agent onto an authorized private path to the registry endpoint.
- Configure an ACR private endpoint and the required private DNS and network access; Move the build agent onto an authorized private path to the registry endpoint.
- Move the build agent onto an authorized private path to the registry endpoint; do not configure an ACR private endpoint and the required private DNS and network access.
- Configure an ACR private endpoint and the required private DNS and network access; enable ACR geo-replication at a supported service tier and deploy from suitable replicas.
Explanation
Correct Answer
B:Private Link provides a scoped private path only when name resolution and policy allow it. iAM authorization cannot repair a missing network route or DNS resolution to a private registry.
Incorrect Answers
A:Enable ACR geo-replication at a supported service tier and deploy from suitable replicas; Move the build agent onto an authorized private path to the registry endpoint: configure an ACR private endpoint and the required private DNS and network access.
C:IAM authorization cannot repair a missing network route or DNS resolution to a private registry; requirement 1 requires: configuring an ACR private endpoint and the required private DNS and network access.
D:Move the build agent onto an authorized private path to the registry endpoint.
Question 514
Search latency spikes because the working vector index is much larger than available memory and reads from storage surge. A PostgreSQL embedding store approaches its provisioned disk limit during ingestion of new vector data. What is the most appropriate plan for this situation?
- Scale supported storage capacity and plan index growth before bulk ingestion; do not evaluate a compute and memory tier with sufficient cache capacity for the workload.
- Evaluate a compute and memory tier with sufficient cache capacity for the workload; Scale supported storage capacity and plan index growth before bulk ingestion.
- Right-size server memory and index-build settings before retrying the build; Scale supported storage capacity and plan index growth before bulk ingestion.
- Evaluate a compute and memory tier with sufficient cache capacity for the workload; Right-size server memory and index-build settings before retrying the build.
Explanation
Correct Answer
B:A larger working set than memory increases disk I/O and retrieval latency. stored vectors and indexes both consume space, and running out of capacity blocks writes.
Incorrect Answers
A:Stored vectors and indexes both consume space, and running out of capacity blocks writes; requirement 1 requires: evaluating a compute and memory tier with sufficient cache capacity for the workload.
C:Right-size server memory and index-build settings before retrying the build; Scale supported storage capacity and plan index growth before bulk ingestion: evaluate a compute and memory tier with sufficient cache capacity for the workload.
D:Scale supported storage capacity and plan index growth before bulk ingestion.
Question 515
A developer needs to compare failed inference calls by deployment revision across a one-hour incident. An operator wants to count how many messages failed per hour by exception type. Which course of action addresses the stated issues?
- Use KQL summarize count() by revision and a suitable time bin; Calculate p95 or p99 with KQL percentile aggregation.
- Use KQL summarize count() by revision and a suitable time bin; use KQL summarize count() by bin(TimeGenerated, 1h) and exception type.
- Calculate p95 or p99 with KQL percentile aggregation; use KQL summarize count() by bin(TimeGenerated, 1h) and exception type.
- Use KQL summarize count() by bin(TimeGenerated, 1h) and exception type; do not use KQL summarize count() by revision and a suitable time bin.
Explanation
Correct Answer
B:Grouping by revision and time reveals where failure counts concentrate. time-windowed aggregation converts individual errors into a comparable hourly pattern.
Incorrect Answers
A:Use KQL summarize count() by bin(TimeGenerated, 1h) and exception type.
C:Use KQL summarize count() by revision and a suitable time bin.
D:Time-windowed aggregation converts individual errors into a comparable hourly pattern; requirement 1 requires: using KQL summarize count() by revision and a suitable time bin.
Question 516
A production App Service container fails to pull from a private registry although the repository and tag both exist. A testing job should fetch approved ACR images but must never push or remove repository content. Which response best addresses these needs?
- Give its workload identity a narrowly scoped ACR push role instead of a shared admin password; assign the job identity an ACR pull-only permission at the correct scope.
- Grant the App Service managed identity the required ACR pull permission and configure identity-based pulls; Give its workload identity a narrowly scoped ACR push role instead of a shared admin password.
- Grant the App Service managed identity the required ACR pull permission and configure identity-based pulls; assign the job identity an ACR pull-only permission at the correct scope.
- Assign the job identity an ACR pull-only permission at the correct scope; do not grant the App Service managed identity the required ACR pull permission and configure identity-based pulls.
Explanation
Correct Answer
C:Registry authentication requires both a usable application identity and authorized pull access. pull-only access permits downloads without authorizing image modification.
Incorrect Answers
A:Give its workload identity a narrowly scoped ACR push role instead of a shared admin password; assign the job identity an ACR pull-only permission at the correct scope: grant the App Service managed identity the required ACR pull permission and configure identity-based pulls.
B:Assign the job identity an ACR pull-only permission at the correct scope.
D:Pull-only access permits downloads without authorizing image modification; requirement 1 requires: granting the App Service managed identity the required ACR pull permission and configure identity-based pulls.
Question 517
A timer Function fires one hour later than expected after daylight-saving changes because operators assumed local time. An hourly Function sometimes runs again after host recovery and its database task is not safe to repeat. What is the most appropriate plan for this situation?
- Document the timezone convention and configure a correct UTC or supported timezone schedule; Make the scheduled operation idempotent with a durable execution checkpoint.
- Configure a timer-triggered Azure Function with an appropriate NCRONTAB expression; Make the scheduled operation idempotent with a durable execution checkpoint.
- Make the scheduled operation idempotent with a durable execution checkpoint; do not document the timezone convention and configure a correct UTC or supported timezone schedule.
- Document the timezone convention and configure a correct UTC or supported timezone schedule; configure a timer-triggered Azure Function with an appropriate NCRONTAB expression.
Explanation
Correct Answer
A:Timer schedules must use the intended time basis rather than an unstated local offset. scheduling can be disrupted or retried, so business effects need deduplication beyond the clock.
Incorrect Answers
B:Configure a timer-triggered Azure Function with an appropriate NCRONTAB expression; Make the scheduled operation idempotent with a durable execution checkpoint: document the timezone convention and configure a correct UTC or supported timezone schedule.
C:Scheduling can be disrupted or retried, so business effects need deduplication beyond the clock; Requirement 1 requires: document the timezone convention and configure a correct UTC or supported timezone schedule.
D:Make the scheduled operation idempotent with a durable execution checkpoint.
Question 518
A locked Service Bus message is delivered again after a consumer crash and a payment-side effect executes twice. A queue's duplicate-detection feature rejects intended follow-up jobs because every new job uses the same fixed MessageId. Which course of action addresses the stated issues?
- Assign a unique stable identifier per logical operation, not a constant value; do not Make the consumer idempotent using a durable business-operation key.
- Make the consumer idempotent using a durable business-operation key; enable Service Bus duplicate detection and reuse a stable MessageId during retry.
- Make the consumer idempotent using a durable business-operation key; assign a unique stable identifier per logical operation, not a constant value.
- Enable Service Bus duplicate detection and reuse a stable MessageId during retry; assign a unique stable identifier per logical operation, not a constant value.
Explanation
Correct Answer
C:Send-side duplicate detection cannot prevent reprocessing caused by receive and settlement failures. identifier reuse makes distinct operations look like duplicate submissions.
Incorrect Answers
A:Identifier reuse makes distinct operations look like duplicate submissions; Requirement 1 requires: make the consumer idempotent using a durable business-operation key.
B:Assign a unique stable identifier per logical operation, not a constant value.
D:Enable Service Bus duplicate detection and reuse a stable MessageId during retry; assign a unique stable identifier per logical operation, not a constant value: make the consumer idempotent using a durable business-operation key.
Question 519
A log query compares numeric latency stored as text, producing incorrect lexical sorting of response times. An incident dashboard uses distinct user counts from logs but service accounts are repeated across requests and it shows request counts instead. Which response best addresses these needs?
- Convert the latency field to a numeric KQL type before comparisons; use an appropriate KQL mv-expand on the parsed dynamic array.
- Use a KQL distinct-count aggregation for the intended identity dimension; do not Convert the latency field to a numeric KQL type before comparisons.
- Convert the latency field to a numeric KQL type before comparisons; use a KQL distinct-count aggregation for the intended identity dimension.
- Use an appropriate KQL mv-expand on the parsed dynamic array; use a KQL distinct-count aggregation for the intended identity dimension.
Explanation
Correct Answer
C:Numeric conversion avoids treating '100' as less than '20' in string ordering. The second works because a distinct-count expression measures unique identities rather than total event rows. Both parts are needed to meet the stated constraints.
Incorrect Answers
A:Use a KQL distinct-count aggregation for the intended identity dimension. A distinct-count expression measures unique identities rather than total event rows.
B:A distinct-count expression measures unique identities rather than total event rows; Requirement 1 requires: convert the latency field to a numeric KQL type before comparisons.
D:Convert the latency field to a numeric KQL type before comparisons.
Question 520
An API container completes initialization after a long model load, but the platform marks it unhealthy before it becomes ready. An App Service site loads over HTTP despite a requirement that browser requests be redirected to HTTPS. What is the most appropriate plan for this situation?
- Enable App Service container logging and inspect startup and application output; enable App Service HTTPS-only enforcement and verify secure endpoint behavior.
- Set appropriate startup readiness behavior and supported warm-up limits for the application; enable App Service HTTPS-only enforcement and verify secure endpoint behavior.
- Set appropriate startup readiness behavior and supported warm-up limits for the application; enable App Service container logging and inspect startup and application output.
- Enable App Service HTTPS-only enforcement and verify secure endpoint behavior; do not Set appropriate startup readiness behavior and supported warm-up limits for the application.
Explanation
Correct Answer
B:Readiness configuration must reflect legitimate initialization time without masking persistent failures. the hosting platform can reject or redirect cleartext HTTP before application handlers run.
Incorrect Answers
A:Enable App Service container logging and inspect startup and application output; enable App Service HTTPS-only enforcement and verify secure endpoint behavior: set appropriate startup readiness behavior and supported warm-up limits for the application.
C:Enable App Service HTTPS-only enforcement and verify secure endpoint behavior.
D:The hosting platform can reject or redirect cleartext HTTP before application handlers run; Requirement 1 requires: set appropriate startup readiness behavior and supported warm-up limits for the application.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests