Question 460
A Container App uses a connection-string access key to load App Configuration despite having a managed identity available. An application cannot retrieve configuration after App Configuration is moved behind private networking. What is the most appropriate plan for this situation?
- Configure a supported private endpoint and linked private DNS for the client path; do not use managed identity with the App Configuration Data Reader role.
- Use managed identity with the App Configuration Data Reader role; configure a supported private endpoint and linked private DNS for the client path.
- Use managed identity with the App Configuration Data Reader role; assign a suitably scoped App Configuration Data Owner or write-capable role.
- Assign a suitably scoped App Configuration Data Owner or write-capable role; configure a supported private endpoint and linked private DNS for the client path.
Explanation
Correct Answer
B:Identity-based data access removes a reusable access key from application settings. config-store authorization and private network reachability are independent requirements.
Incorrect Answers
A:Configure a supported private endpoint and linked private DNS for the client path; do not use managed identity with the App Configuration Data Reader role: config-store authorization and private network reachability are independent requirements; requirement 1 requires: using managed identity with the App Configuration Data Reader role.
C:Read-only roles cannot publish configuration changes; requirement 2 requires: configuring a supported private endpoint and linked private DNS for the client path.
D:Use managed identity with the App Configuration Data Reader role.
Question 461
An application exports 10 percent of requests as traces, but a dashboard naively treats trace count as exact total traffic. A retry loop produces many spans under one request and makes the chart look like many independent user requests. Which course of action addresses the stated issues?
- Separate request-level metrics from dependency-attempt spans when aggregating; do not Account for sampling or use unsampled metrics for total request counts.
- Account for sampling or use unsampled metrics for total request counts; check exporter drops and sampling settings before interpreting missing spans.
- Account for sampling or use unsampled metrics for total request counts; separate request-level metrics from dependency-attempt spans when aggregating.
- Check exporter drops and sampling settings before interpreting missing spans; separate request-level metrics from dependency-attempt spans when aggregating.
Explanation
Correct Answer
C:Sampled traces do not necessarily represent every request and cannot be counted as complete traffic. multiple attempt spans may belong to a single business request.
Incorrect Answers
A:Separate request-level metrics from dependency-attempt spans when aggregating; do not Account for sampling or use unsampled metrics for total request counts: multiple attempt spans may belong to a single business request; Requirement 1 requires: account for sampling or use unsampled metrics for total request counts.
B:Telemetry absence can result from collection loss, not an absence of failures; Requirement 2 requires: separate request-level metrics from dependency-attempt spans when aggregating.
D:Account for sampling or use unsampled metrics for total request counts.
Question 462
An AI assistant caches responses by exact prompt string and misses nearly identical paraphrased questions. A semantic Redis cache reuses a sensitive answer between different user roles because its similarity search ignores access context. Which response best addresses these needs?
- Use embedding-based similarity lookup in a semantic Redis cache with relevance thresholds; Version cache entries by source revision and invalidate entries after content updates.
- Filter semantic cache results by user or tenant authorization metadata before reuse; do not use embedding-based similarity lookup in a semantic Redis cache with relevance thresholds.
- Use embedding-based similarity lookup in a semantic Redis cache with relevance thresholds; Filter semantic cache results by user or tenant authorization metadata before reuse.
- Version cache entries by source revision and invalidate entries after content updates; Filter semantic cache results by user or tenant authorization metadata before reuse.
Explanation
Correct Answer
C:Semantic caching compares meaning-based vectors rather than requiring byte-identical prompts. high vector similarity does not justify sharing restricted content across principals.
Incorrect Answers
A:Retrieval relevance cannot compensate for obsolete underlying evidence; Requirement 2 requires: filter semantic cache results by user or tenant authorization metadata before reuse.
B:Filter semantic cache results by user or tenant authorization metadata before reuse; do not use embedding-based similarity lookup in a semantic Redis cache with relevance thresholds: high vector similarity does not justify sharing restricted content across principals; requirement 1 requires using embedding-based similarity lookup in a semantic Redis cache with relevance thresholds.
D:Use embedding-based similarity lookup in a semantic Redis cache with relevance thresholds.
Question 463
Container logs store a JSON field with an embedded tenant and request id, but a query treats the payload as an opaque string. A KQL query joins an enormous unfiltered trace table to another huge table and times out. What is the most appropriate plan for this situation?
- Join relevant KQL tables on the shared operation id with a suitable join kind; Filter and project both datasets before a selective join.
- Parse the JSON field with KQL parse_json and extract the needed keys; Filter and project both datasets before a selective join.
- Parse the JSON field with KQL parse_json and extract the needed keys; Join relevant KQL tables on the shared operation id with a suitable join kind.
- Filter and project both datasets before a selective join; do not Parse the JSON field with KQL parse_json and extract the needed keys.
Explanation
Correct Answer
B:Dynamic JSON parsing exposes structured attributes for safe filtering and grouping. The second works because reducing input rows and columns lowers join cost while preserving relevant evidence. Both parts are needed to meet the stated constraints.
Incorrect Answers
A:Parse the JSON field with KQL parse_json and extract the needed keys.
C:Correlation keys connect request and dependency rows belonging to the same operation; Requirement 2 requires: filter and project both datasets before a selective join.
D:Filter and project both datasets before a selective join; do not Parse the JSON field with KQL parse_json and extract the needed keys: reducing input rows and columns lowers join cost while preserving relevant evidence; Requirement 1 requires: parse the JSON field with KQL parse_json and extract the needed keys.
Question 464
Two microservices must communicate privately inside a Container Apps environment while only the gateway is internet-facing. An environment must sit within a restricted network and use organization-approved egress paths to dependent services. Which course of action addresses the stated issues?
- Connect the Container Apps environment to a suitable Log Analytics workspace; deploy the Container Apps environment with the supported virtual-network configuration and routes.
- Deploy the Container Apps environment with the supported virtual-network configuration and routes; do not configure internal ingress for the backend app and external ingress only for the gateway.
- Configure internal ingress for the backend app and external ingress only for the gateway; 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.
Explanation
Correct Answer
D:Internal ingress limits direct public exposure while allowing approved environment-level routing. environment-level network integration determines permitted workload paths beyond application code.
Incorrect Answers
A:Configure internal ingress for the backend app and external ingress only for the gateway.
B:Deploy the Container Apps environment with the supported virtual-network configuration and routes; do not configure internal ingress for the backend app and external ingress only for the gateway: environment-level network integration determines permitted workload paths beyond application code; requirement 1 requires: configuring internal ingress for the backend app and external ingress only for the gateway.
C:Environment logging makes platform and console events available for centralized investigation; requirement 2 requires: deploying the Container Apps environment with the supported virtual-network configuration and routes.
Question 465
An ACR repository accumulates unreferenced manifests after weeks of CI builds and storage costs grow without retention governance. A cleanup script deletes a production image from the registry because it assumes older tags are always unused. Which response best addresses these needs?
- Protect digests referenced by active deployments before applying image cleanup rules; do not apply an ACR retention or approved cleanup policy to eligible untagged manifests.
- Apply an ACR retention or approved cleanup policy to eligible untagged manifests; Record source commit, build pipeline identity and immutable digest as image release metadata.
- Record source commit, build pipeline identity and immutable digest as image release metadata; Protect digests referenced by active deployments before applying image cleanup rules.
- Apply an ACR retention or approved cleanup policy to eligible untagged manifests; Protect digests referenced by active deployments before applying image cleanup rules.
Explanation
Correct Answer
D:Targeted artifact cleanup avoids removing images still referenced by active releases. registry age alone does not establish that an artifact is safe to delete.
Incorrect Answers
A:Protect digests referenced by active deployments before applying image cleanup rules; do not apply an ACR retention or approved cleanup policy to eligible untagged manifests: registry age alone does not establish that an artifact is safe to delete; requirement 1 requires: applying an ACR retention or approved cleanup policy to eligible untagged manifests.
B:Traceable provenance connects a deployed artifact to the source and build that produced it; Requirement 2 requires: protect digests referenced by active deployments before applying image cleanup rules.
C:Apply an ACR retention or approved cleanup policy to eligible untagged manifests.
Question 466
A deployment pipeline uses an external registry whose latest tag can be reassigned by its owner, and production must run one exact approved build despite those tag changes. A rollback plan cannot determine which container build served last Tuesday because registry images have only informal labels. What is the most appropriate plan for this situation?
- Pin deployment manifests to an approved immutable image digest; 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.
- Publish versioned image tags and record their digests with each deployment; do not 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
D:A digest identifies exact image content even when a human-readable tag is reassigned. version-plus-digest records associate each deployment with a reproducible image artifact.
Incorrect Answers
A:Locked tags prevent accidental or unauthorized replacement of the referenced release artifact; requirement 2 requires: publishing versioned image tags and record their digests with each deployment.
B:Pin deployment manifests to an approved immutable image digest.
C:Publish versioned image tags and record their digests with each deployment; do not Pin deployment manifests to an approved immutable image digest: version-plus-digest records associate each deployment with a reproducible image artifact; requirement 1 requires: pinning deployment manifests to an approved immutable image digest.
Question 467
A new AKS pod enters CrashLoopBackOff after deploying a broken environment variable. An AKS application cannot resolve its internal Service DNS name after a networking change. Which course of action addresses the stated issues?
- Verify CoreDNS health, service namespace and cluster DNS configuration; do not inspect pod status, previous container logs and deployment environment settings.
- Inspect scheduler events and right-size requests or available node capacity; verify CoreDNS health, service namespace and cluster DNS configuration.
- Inspect pod status, previous container logs and deployment environment settings; inspect scheduler events and right-size requests or available node capacity.
- Inspect pod status, previous container logs and deployment environment settings; verify CoreDNS health, service namespace and cluster DNS configuration.
Explanation
Correct Answer
D:Previous container output and events identify the failure that occurs before each restart. cluster DNS resolution depends on the configured resolver and correct service namespace.
Incorrect Answers
A:Verify CoreDNS health, service namespace and cluster DNS configuration; do not inspect pod status, previous container logs and deployment environment settings: cluster DNS resolution depends on the configured resolver and correct service namespace; requirement 1 requires: inspecting pod status, previous container logs and deployment environment settings.
B:Inspect pod status, previous container logs and deployment environment settings.
C:Scheduling is blocked when requested resources cannot fit the available node capacity; Requirement 2 requires: verify CoreDNS health, service namespace and cluster DNS configuration.
Question 468
A global conversational app needs read locality for users in two distant regions while maintaining a consistent operational dataset. An asynchronous loader submits one item at a time and underutilizes provisioned Cosmos throughput despite independent documents. Which response best addresses these needs?
- Configure supported multiregion Cosmos DB replication with appropriate read-region preferences; 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.
- Use SDK bulk or concurrent operations with bounded concurrency and retry handling; do not configure supported multiregion Cosmos DB replication with appropriate read-region preferences.
- Configure supported multiregion Cosmos DB replication with appropriate read-region preferences; use SDK bulk or concurrent operations with bounded concurrency and retry handling.
Explanation
Correct Answer
D:Regional replicas reduce read distance when clients route requests to nearby available replicas. bounded parallelism can improve throughput while respecting RU throttling and backpressure.
Incorrect Answers
A:Provisioned throughput and hot partitions should be diagnosed at the consuming scope; requirement 2 requires: using SDK bulk or concurrent operations with bounded concurrency and retry handling.
B:Configure supported multiregion Cosmos DB replication with appropriate read-region preferences.
C:Use SDK bulk or concurrent operations with bounded concurrency and retry handling; do not configure supported multiregion Cosmos DB replication with appropriate read-region preferences: bounded parallelism can improve throughput while respecting RU throttling and backpressure; requirement 1 requires: configuring supported multiregion Cosmos DB replication with appropriate read-region preferences.
Question 469
A support engineer searches logs without any time limit and accidentally includes a similar incident from last month. A deployment occurred at 15:00 UTC and operators need to compare error rates before and after the exact release. What is the most appropriate plan for this situation?
- Normalize timestamps to a consistent UTC basis before comparing them; Partition the KQL aggregation into pre- and post-deployment time windows.
- Bound the KQL query with an explicit incident time range; Normalize timestamps to a consistent UTC basis before comparing them.
- Partition the KQL aggregation into pre- and post-deployment time windows; do not Bound the KQL query with an explicit incident time range.
- Bound the KQL query with an explicit incident time range; Partition the KQL aggregation into pre- and post-deployment time windows.
Explanation
Correct Answer
D:Time predicates focus conclusions on evidence relevant to the actual event. The second works because a controlled time split makes it possible to compare behavior around the release boundary. Both parts are needed to meet the stated constraints.
Incorrect Answers
A:Bound the KQL query with an explicit incident time range.
B:Misaligned time zones can make real correlated records appear outside the search window; Requirement 2 requires: partition the KQL aggregation into pre- and post-deployment time windows.
C:Partition the KQL aggregation into pre- and post-deployment time windows; do not Bound the KQL query with an explicit incident time range: a controlled time split makes it possible to compare behavior around the release boundary; Requirement 1 requires: bound the KQL query with an explicit incident time range.
Question 470
An ingestion event must be delivered independently to audit and embedding workers without duplicate sends from the publisher. A topic consumer unexpectedly receives the same publication under two rules, causing duplicate downstream jobs. Which course of action addresses the stated issues?
- Publish to a Service Bus topic with separate subscriptions for each consumer; apply an appropriate SQL filter to that Service Bus subscription.
- Apply an appropriate SQL filter to that Service Bus subscription; review overlapping subscription rules and their message actions or filters.
- Review overlapping subscription rules and their message actions or filters; do not publish to a Service Bus topic with separate subscriptions for each consumer.
- Publish to a Service Bus topic with separate subscriptions for each consumer; review overlapping subscription rules and their message actions or filters.
Explanation
Correct Answer
D:Topic subscriptions each receive the matching published message for independent processing. multiple matching rules can produce unintended duplicated subscription deliveries under supported configurations.
Incorrect Answers
A:Subscription filters select matching messages at the broker before delivery; requirement 2 requires reviewing overlapping subscription rules and their message actions or filters.
B:Publish to a Service Bus topic with separate subscriptions for each consumer.
C:Review overlapping subscription rules and their message actions or filters; do not publish to a Service Bus topic with separate subscriptions for each consumer: multiple matching rules can produce unintended duplicated subscription deliveries under supported configurations; requirement 1 requires: publishing to a Service Bus topic with separate subscriptions for each consumer.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests