Developing AI Cloud Solutions on Azure AI-200 Practice Test 8
Question 70
The team changes the container image and target environment variables and expects to preserve the old release for rollback. A team instead suggests: "Edit the running container filesystem and treat it as a release." What is the decisive flaw in that proposal?
- Ephemeral filesystem changes do not constitute durable revision configuration
- Registry storage location alone does not explain a running revision's HTTP failures
- Revision-scoped template changes produce a new independently addressable deployment state
- Image-embedded credentials can be extracted by image readers
Explanation
Correct Answer
A:Ephemeral filesystem changes do not constitute durable revision configuration. The proposal Edit the running container filesystem and treat it as a release cannot meet the requirement; Deploy a new immutable Container Apps revision and retain the prior healthy revision is the targeted remediation.
Incorrect Answers
B:Registry storage location alone does not explain a running revision's HTTP failures. In this question, ephemeral filesystem changes do not constitute durable revision configuration.
C:Revision-scoped template changes produce a new independently addressable deployment state. This does not establish the required control: ephemeral filesystem changes do not constitute durable revision configuration.
D:Image-embedded credentials can be extracted by image readers. The decisive condition here is different: ephemeral filesystem changes do not constitute durable revision configuration.
Question 71
The team changes the container image and target environment variables and expects to preserve the old release for rollback. After the planned remediation, which result should an engineer record after the change?
- Test metric from one enabled rule causes scale-out despite idle CPU
- The rollout maintains ready service endpoints while updating the container image
- The pod obtains runtime configuration while the image scan contains no secret
- Two revision histories show distinct image/config values and a working rollback
Explanation
Correct Answer
D:Two revision histories show distinct image/config values and a working rollback. This directly verifies that the required change, Deploy a new immutable Container Apps revision and retain the prior healthy revision, produced the specified outcome.
Incorrect Answers
A:Test metric from one enabled rule causes scale-out despite idle CPU. In this question, two revision histories show distinct image/config values and a working rollback.
B:The rollout maintains ready service endpoints while updating the container image. This does not establish the required control: two revision histories show distinct image/config values and a working rollback.
C:The pod obtains runtime configuration while the image scan contains no secret. The decisive condition here is different: two revision histories show distinct image/config values and a working rollback.
Question 72
The team changes the container image and target environment variables and expects to preserve the old release for rollback. What is the most defensible next technical step?
- Configure internal ingress for the worker and use the environment's internal service discovery
- Deploy a new immutable Container Apps revision and retain the prior healthy revision
- Grant the cluster kubelet identity appropriate ACR pull access and inspect image reference
- Edit the running container filesystem and treat it as a release
Explanation
Correct Answer
B:Deploy a new immutable Container Apps revision and retain the prior healthy revision. Revision-scoped template changes produce a new independently addressable deployment state. Evidence: two revision histories show distinct image/config values and a working rollback.
Incorrect Answers
A:Configure internal ingress for the worker and use the environment's internal service discovery. This does not establish the required control: deploy a new immutable Container Apps revision and retain the prior healthy revision.
C:Grant the cluster kubelet identity appropriate ACR pull access and inspect image reference. In this question, deploy a new immutable Container Apps revision and retain the prior healthy revision.
D:Ephemeral filesystem changes do not constitute durable revision configuration. This does not establish the required control: deploy a new immutable Container Apps revision and retain the prior healthy revision.
Question 73
A service is deployed in a Container Apps environment with incorrect VNet routing, preventing a private database connection. After the planned remediation, which verification result is specific to this issue?
- The corrected environment value yields a healthy revision without restart loops
- A container-side network test resolves and reaches the private database endpoint
- Test metric from one enabled rule causes scale-out despite idle CPU
- The front-end can call the internal worker while an external test cannot
Explanation
Correct Answer
B:A container-side network test resolves and reaches the private database endpoint. This directly verifies that the required change, Inspect environment network configuration, ingress, and effective DNS before changing the application code, produced the specified outcome.
Incorrect Answers
A:The corrected environment value yields a healthy revision without restart loops. The decisive condition here is different: a container-side network test resolves and reaches the private database endpoint.
C:Test metric from one enabled rule causes scale-out despite idle CPU. This does not establish the required control: a container-side network test resolves and reaches the private database endpoint.
D:The front-end can call the internal worker while an external test cannot. The decisive condition here is different: a container-side network test resolves and reaches the private database endpoint.
Question 74
A service is deployed in a Container Apps environment with incorrect VNet routing, preventing a private database connection. A reviewer recommends: Inspect environment network configuration, ingress, and effective DNS before changing the application code. What is the key mechanism behind this approach?
- AKS image pulling requires both a valid reference and registry authorization
- Container Apps scale can be driven by any configured rule crossing its threshold
- HTTP scaling evaluates active request demand instead of unrelated broker length
- Environment-level connectivity is distinct from container image behavior
Explanation
Correct Answer
D:Environment-level connectivity is distinct from container image behavior. This is the behavior that makes Inspect environment network configuration, ingress, and effective DNS before changing the application code appropriate for the given scenario.
Incorrect Answers
A:AKS image pulling requires both a valid reference and registry authorization. In this question, environment-level connectivity is distinct from container image behavior.
B:Container Apps scale can be driven by any configured rule crossing its threshold. This does not establish the required control: environment-level connectivity is distinct from container image behavior.
C:HTTP scaling evaluates active request demand instead of unrelated broker length. The decisive condition here is different: environment-level connectivity is distinct from container image behavior.
Question 75
A service is deployed in a Container Apps environment with incorrect VNet routing, preventing a private database connection. A team instead suggests: "Increase CPU limits to repair a missing private network route." What is the decisive flaw in that proposal?
- Requiring all rules to fire misrepresents the scaling behavior
- Compute resources cannot establish absent network reachability
- Image naming does not fix incorrect broker or scaler credentials
- Environment-level connectivity is distinct from container image behavior
Explanation
Correct Answer
B:Compute resources cannot establish absent network reachability. The proposal Increase CPU limits to repair a missing private network route cannot meet the requirement; Inspect environment network configuration, ingress, and effective DNS before changing the application code is the targeted remediation.
Incorrect Answers
A:Requiring all rules to fire misrepresents the scaling behavior. This does not establish the required control: compute resources cannot establish absent network reachability.
C:Image naming does not fix incorrect broker or scaler credentials. In this question, compute resources cannot establish absent network reachability.
D:Environment-level connectivity is distinct from container image behavior. This does not establish the required control: compute resources cannot establish absent network reachability.
Question 76
A service is deployed in a Container Apps environment with incorrect VNet routing, preventing a private database connection. Which design best meets the requirement?
- Check the scale-rule entity, authentication secret or identity, and scaler observations
- Configure a supported KEDA Service Bus scale rule with minimum replicas zero and proper authentication
- Inspect environment network configuration, ingress, and effective DNS before changing the application code
- Increase CPU limits to repair a missing private network route
Explanation
Correct Answer
C:Inspect environment network configuration, ingress, and effective DNS before changing the application code. Environment-level connectivity is distinct from container image behavior. Evidence: a container-side network test resolves and reaches the private database endpoint.
Incorrect Answers
A:Check the scale-rule entity, authentication secret or identity, and scaler observations. The decisive condition here is different: inspect environment network configuration, ingress, and effective DNS before changing the application code.
B:Configure a supported KEDA Service Bus scale rule with minimum replicas zero and proper authentication. In this question, inspect environment network configuration, ingress, and effective DNS before changing the application code.
D:Compute resources cannot establish absent network reachability. The decisive condition here is different: inspect environment network configuration, ingress, and effective DNS before changing the application code.
Question 77
A queue-based embedding worker on Container Apps should scale to zero when idle and increase replicas as Service Bus messages accumulate. After the planned remediation, which result should an engineer record after the change?
- Traffic remains on the healthy revision and the failed rollout has no user errors
- The pod pulls the digest using the kubelet identity without static registry credentials
- Three ready pods back a DNS-resolvable ClusterIP Service without public IP
- Replicas fall to zero when idle and rise when the test queue backlog grows
Explanation
Correct Answer
D:Replicas fall to zero when idle and rise when the test queue backlog grows. This directly verifies that the required change, Configure a supported KEDA Service Bus scale rule with minimum replicas zero and proper authentication, produced the specified outcome.
Incorrect Answers
A:Traffic remains on the healthy revision and the failed rollout has no user errors. In this question, replicas fall to zero when idle and rise when the test queue backlog grows.
B:The pod pulls the digest using the kubelet identity without static registry credentials. This does not establish the required control: replicas fall to zero when idle and rise when the test queue backlog grows.
C:Three ready pods back a DNS-resolvable ClusterIP Service without public IP. The decisive condition here is different: replicas fall to zero when idle and rise when the test queue backlog grows.
Question 78
A queue-based embedding worker on Container Apps should scale to zero when idle and increase replicas as Service Bus messages accumulate. Which configuration is the best fit for these constraints?
- Set a fixed replica count of five for every hour
- Use multiple-revision mode with explicit 90/10 traffic weights between healthy revisions
- Configure a supported KEDA Service Bus scale rule with minimum replicas zero and proper authentication
- Account for independent scale conditions where a triggered rule can cause scale-out
Explanation
Correct Answer
C:Configure a supported KEDA Service Bus scale rule with minimum replicas zero and proper authentication. KEDA uses event source metrics such as queue length to adjust replica counts. Evidence: replicas fall to zero when idle and rise when the test queue backlog grows.
Incorrect Answers
A:Fixed replicas cannot satisfy dynamic scale-to-zero requirements. This does not establish the required control: configure a supported KEDA Service Bus scale rule with minimum replicas zero and proper authentication.
B:Use multiple-revision mode with explicit 90/10 traffic weights between healthy revisions. The decisive condition here is different: configure a supported KEDA Service Bus scale rule with minimum replicas zero and proper authentication.
D:Account for independent scale conditions where a triggered rule can cause scale-out. This does not establish the required control: configure a supported KEDA Service Bus scale rule with minimum replicas zero and proper authentication.
Question 79
A queue-based embedding worker on Container Apps should scale to zero when idle and increase replicas as Service Bus messages accumulate. A reviewer recommends: Configure a supported KEDA Service Bus scale rule with minimum replicas zero and proper authentication. Which underlying behavior justifies the implementation?
- KEDA uses event source metrics such as queue length to adjust replica counts
- Internal Container Apps ingress can restrict access to the environment boundary
- Revision-specific runtime logs expose process exit and configuration failures
- Correct scale behavior still requires in-flight work and message-lock handling
Explanation
Correct Answer
A:KEDA uses event source metrics such as queue length to adjust replica counts. This is the behavior that makes Configure a supported KEDA Service Bus scale rule with minimum replicas zero and proper authentication appropriate for the given scenario.
Incorrect Answers
B:Internal Container Apps ingress can restrict access to the environment boundary. In this question, KEDA uses event source metrics such as queue length to adjust replica counts.
C:Revision-specific runtime logs expose process exit and configuration failures. This does not establish the required control: KEDA uses event source metrics such as queue length to adjust replica counts.
D:Correct scale behavior still requires in-flight work and message-lock handling. The decisive condition here is different: KEDA uses event source metrics such as queue length to adjust replica counts.
Question 80
A queue-based embedding worker on Container Apps should scale to zero when idle and increase replicas as Service Bus messages accumulate. A team instead suggests: "Set a fixed replica count of five for every hour." Which risk would the review team identify in the shortcut?
- Fixed replicas cannot satisfy dynamic scale-to-zero requirements
- Ephemeral filesystem changes do not constitute durable revision configuration
- Image naming does not fix incorrect broker or scaler credentials
- KEDA uses event source metrics such as queue length to adjust replica counts
Explanation
Correct Answer
A:Fixed replicas cannot satisfy dynamic scale-to-zero requirements. The proposal Set a fixed replica count of five for every hour cannot meet the requirement; Configure a supported KEDA Service Bus scale rule with minimum replicas zero and proper authentication is the targeted remediation.
Incorrect Answers
B:Ephemeral filesystem changes do not constitute durable revision configuration. This does not establish the required control: fixed replicas cannot satisfy dynamic scale-to-zero requirements.
C:Image naming does not fix incorrect broker or scaler credentials. The decisive condition here is different: fixed replicas cannot satisfy dynamic scale-to-zero requirements.
D:KEDA uses event source metrics such as queue length to adjust replica counts. In this question, fixed replicas cannot satisfy dynamic scale-to-zero requirements.