Question 1
Topic: Develop containerized solutions on Azure
Skill tested: Diagnoses Azure Container Apps revision health, ingress connectivity, and scaling behavior.
A retailer deploys a container image to Azure Container Apps with ingress enabled and a minimum replica count of zero. A new revision appears in the portal, but requests to the app's hostname return errors and no replicas start. The container exits shortly after startup when run locally unless the application receives a required setting. The team configured that setting as a revision-scoped environment variable, but the manifest references a different variable name. The retailer needs the quickest reliable diagnosis before changing scaling settings. What should the engineer do first?
A failed startup caused by a missing required setting can leave a revision unable to serve traffic; logs and replica events provide the evidence needed to confirm that failure. Correcting the variable-name mismatch and deploying a new revision addresses the known configuration defect. Raising the minimum replica count does not fix startup, while HTTP scaling cannot help an application that has not become healthy. Toggling ingress is unrelated to the container's configuration and would not repair the revision.