Question 290
A nightly batch job processes one file, then exits; the team wants no long-lived app hosting platform. Which service fits?
Explanation
Correct Answer
'Run the isolated task in Azure Container Instances where appropriate' fits the case in which a nightly batch job processes one file, then exits; the team wants no long-lived app hosting platform because ACI provisions a container group directly without requiring full managed microservice revision features. By contrast, 'Inspect container termination status, logs and expected output artifacts' addresses a different condition: scheduling a container is not evidence its batch logic completed or wrote the intended result; it would not establish the outcome needed for this particular Azure resource. For 'Run the isolated task in Azure Container Instances where appropriate', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.
Incorrect Answers
'Inspect container termination status, logs and expected output artifacts' applies to a different feature boundary because scheduling a container is not evidence its batch logic completed or wrote the intended result. In the stated scenario where a nightly batch job processes one file, then exits; the team wants no long-lived app hosting platform, 'Inspect container termination status, logs and expected output artifacts' does not satisfy the mechanism that ACI provisions a container group directly without requiring full managed microservice revision features. The necessary action is 'Run the isolated task in Azure Container Instances where appropriate', which should be checked against this Azure resource's actual permissions and state.
The nearby action 'Evaluate Container Apps replica scaling versus fixed ACI group sizing' is associated with this separate need: a team proposes a single large ACI container for intermittent unpredictable HTTP demand rather than using managed autoscaling. That is because ACI sizes a container group; Container Apps can add replicas based on configured triggers. Here a nightly batch job processes one file, then exits; the team wants no long-lived app hosting platform, so 'Evaluate Container Apps replica scaling versus fixed ACI group sizing' misses the fact that ACI provisions a container group directly without requiring full managed microservice revision features. 'Run the isolated task in Azure Container Instances where appropriate' is the more defensible action; confirm its behavior in the target service before calling the task complete.
When an ACI container group repeatedly fails to start with unauthorized image errors, the action 'Provide valid registry pull credentials or identity permissions for the image' can be relevant: container group startup requires image authorization; increasing CPU won't fix a registry rejection. For the different problem of a nightly batch job processes one file, then exits; the team wants no long-lived app hosting platform, 'Provide valid registry pull credentials or identity permissions for the image' misses the mechanism that ACI provisions a container group directly without requiring full managed microservice revision features. Choosing 'Provide valid registry pull credentials or identity permissions for the image' would address that other need, whereas 'Run the isolated task in Azure Container Instances where appropriate' is intended to solve the stated condition.
'Restrict ingress and expose only required ports through approved network configuration' applies to a different feature boundary because container group endpoint design should not publish unrelated debugging services. In the stated scenario where a nightly batch job processes one file, then exits; the team wants no long-lived app hosting platform, 'Restrict ingress and expose only required ports through approved network configuration' does not satisfy the mechanism that ACI provisions a container group directly without requiring full managed microservice revision features. The necessary action is 'Run the isolated task in Azure Container Instances where appropriate', which should be checked against this Azure resource's actual permissions and state.






Microsoft Azure Administrator (AZ-104) Practice Tests