Azure Container Apps Scale to Zero Resolution
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You deploy an Azure Container Apps app and disable ingress on the container app. Users report that they are unable to access the container app. You investigate and observe that the app has scaled to 0 instances. You need to resolve the issue with the container app. Solution: Enable ingress, create an HTTP scale rule, and apply the rule to the container app. Does the solution meet the goal?
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
Azure Container Apps can scale from zero instances when ingress is enabled, as the ingress proxy queues requests and triggers the scale rule, unlike non-HTTP custom scalers that require minReplicas.
This page determines if enabling ingress and applying an HTTP scale rule resolves an Azure Container App scaling to zero issue. Enabling ingress allows the app to scale from zero instances upon receiving requests.
Choosing 'No' because of the misconception that an HTTP scale rule cannot trigger a scale-up from zero instances since no app instances exist to process the initial request.
Community Discussion (10 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Enabling ingress on an Azure Container App allows the built-in Envoy proxy to intercept incoming HTTP requests. Even when the app is scaled to zero instances, the proxy holds the request and triggers the KEDA HTTP scaler to spin up an instance. Creating and applying an HTTP scale rule explicitly defines the scaling behavior, ensuring the app scales up from zero to handle traffic. Therefore, this solution successfully resolves the issue of the app being stuck at zero instances and inaccessible.Why the Other Options Are Wrong
Option B is incorrect because it assumes the proposed solution fails to resolve the scaling issue. Many learners mistakenly believe that if an app is at zero instances, it cannot process HTTP requests to trigger a scale rule. However, Azure Container Apps' ingress architecture specifically supports scaling from zero by handling the request at the environment's ingress proxy before routing it to the container.Community Comment Notes
Several commenters argued that an HTTP scale rule will not work if the app is already at zero instances, as noted by Mahesh1222 who stated "it will work based on Http traffic coming in when the Instance is already running." This reflects a misunderstanding of how Azure Container Apps handles HTTP ingress; the ingress proxy operates independently of the app instances to wake the app up. MarcosAn highlighted the documentation stating that without ingress or minReplicas, the app has "no way of starting back up," which implicitly confirms that enabling ingress does provide a way to start back up.Official Reference
Exam Strategy
Understand how Azure Container Apps scale from zero. Remember that HTTP ingress allows scaling from zero because the environment's proxy handles the initial connection, whereas TCP or custom scalers without minReplicas cannot wake the app.