exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 62 discussion

Actual exam question from Microsoft's AZ-204
Question #: 62
Topic #: 2
[All AZ-204 Questions]

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 and configure the minimum replicas to 1 for the container app.

Does the solution meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Mahesh1222
8 months, 2 weeks ago
Selected Answer: A
The minimum replicas setting=1 ensures that the app always has at least one instance running.
upvoted 3 times
...
sky_may
10 months, 2 weeks ago
Answer is A: From the documention: Make sure you create a scale rule or set minReplicas to 1 or more if you don't enable ingress. If ingress is disabled and you don't define a minReplicas or a custom scale rule, then your container app will scale to zero and have no way of starting back up. https://learn.microsoft.com/en-us/azure/container-apps/scale-app?pivots=azure-cli#default-scale-rule
upvoted 3 times
sky_may
10 months, 2 weeks ago
From doc: If you want to ensure that an instance of your revision is always running, set the minimum number of replicas to 1 or higher.
upvoted 1 times
...
...
emysa341
10 months, 3 weeks ago
Selected Answer: B
The correct answer is B since the minimum replica of the scale can be 0 https://learn.microsoft.com/en-us/azure/container-apps/scale-app?pivots=azure-cli#:~:text=Minimum%20number%20of%20replicas%20per,300
upvoted 1 times
...
FeriAZ
10 months, 3 weeks ago
answer is A: Enable Ingress: Ingress is crucial for allowing external access to your container app. Disabling ingress had led to the app being inaccessible to users. Enabling it will reopen external traffic routes, allowing users to access the app. Configure the Minimum Replicas to 1: This setting ensures that there is always at least one instance of the app running. By setting the minimum number of replicas to 1, you prevent the app from scaling down to 0 instances, which addresses the issue observed where the app had no running instances.
upvoted 2 times
...
ryuhei
10 months, 4 weeks ago
Selected Answer: A
Answer is A Only
upvoted 2 times
...
manopeydakon
11 months ago
A, Yes, the solution meets the goal. By enabling ingress and configuring the minimum replicas to 1, you ensure that there is at least one running instance of the container app. This allows users to access the app, as there is at least one instance available to handle incoming requests.
upvoted 2 times
...
Ciupaz
11 months ago
Selected Answer: A
For me this could be a good solution. The minimum replicas setting=1 ensures that the app always has at least one instance running.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...