nerdexam
Microsoft

AZ-204 · Question #559

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…

The correct answer is B. No. While enabling ingress resolves the access issue, simply adding a TCP scale rule without setting minimum replicas does not prevent the Azure Container App from scaling to zero instances when idle, nor is it always the most appropriate scaling method for HTTP traffic.

Submitted by krish.m· Mar 30, 2026Develop Azure compute solutions

Question

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 TCP scale rule, and apply the rule to the container app. Does the solution meet the goal?

Options

  • AYes
  • BNo

How the community answered

(56 responses)
  • A
    29% (16)
  • B
    71% (40)

Why each option

While enabling ingress resolves the access issue, simply adding a TCP scale rule without setting minimum replicas does not prevent the Azure Container App from scaling to zero instances when idle, nor is it always the most appropriate scaling method for HTTP traffic.

AYes

Enabling ingress is necessary for external access. However, relying solely on a TCP scale rule, without configuring minimum replicas, may still allow the app to scale to 0 when idle, potentially leading to cold start delays or not fully resolving the observed scaling issue if continuous availability is desired.

BNoCorrect

While enabling ingress allows external access, a TCP scale rule is often not the primary or most efficient scaling method for typical HTTP-based container apps, which primarily scale on HTTP requests. Furthermore, simply adding a scale rule doesn't prevent the app from scaling to 0 instances if `minReplicas` is set to 0 and there are no active connections.

Concept tested: Azure Container Apps ingress, scaling, and replica management

Source: https://learn.microsoft.com/en-us/azure/container-apps/scale-app

Topics

#Container Apps#ingress#networking#container configuration

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice