exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 3 question 6 discussion

Actual exam question from Microsoft's AZ-400
Question #: 6
Topic #: 3
[All AZ-400 Questions]

You have an Azure DevOps organization named Contoso and an Azure subscription.
You use Azure DevOps to build a containerized app named App1 and deploy App1 to an Azure container instance named ACI1.
You need to restart ACI1 when App1 stops responding.
What should you do?

  • A. Add a liveness probe to the YAML configuration of App1.
  • B. Add a readiness probe to the YAML configuration of App1.
  • C. Use Connection Monitor in Azure Network Watcher.
  • D. Use IP flow verify in Azure Network Watcher.
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
SkyDream
Highly Voted 4 years, 7 months ago
Should be A Liveness Probe https://docs.microsoft.com/en-us/azure/container-instances/container-instances-liveness-probe
upvoted 80 times
...
Appsuri
Highly Voted 4 years, 7 months ago
Answer is A
upvoted 19 times
...
Neckbread
Most Recent 6 months, 3 weeks ago
No Probe, No Fun
upvoted 1 times
...
ablioma
11 months, 1 week ago
Selected Answer: A
A is correct
upvoted 1 times
...
ozbonny
1 year, 3 months ago
Selected Answer: A
Correct A since it need to restart if it fails
upvoted 2 times
...
ozbonny
1 year, 3 months ago
Selected Answer: A
for me is A
upvoted 1 times
...
vsvaid
1 year, 5 months ago
Selected Answer: A
Liveness Probe
upvoted 1 times
...
UtsavShah01
1 year, 9 months ago
Selected Answer: A
Liveness probe to restart the container
upvoted 1 times
...
flafernan
1 year, 10 months ago
57. When using Helth check in Kubernets, there are two types of resources: - Readiness probe: this feature is used during the creation of a new pod, where it informs if the pods in question can already receive “requests”. - Liveness probe: here is a process to know if the pods are live or inactive. It is this feature that configures the automatic restart when the power stops responding.
upvoted 8 times
...
Lence123
1 year, 11 months ago
A liveness probe is a diagnostic tool used to check the health of a container and determine if it is running properly. By adding a liveness probe to the YAML configuration of App1, you can periodically check if the application is responsive. If the liveness probe fails, indicating that the application is not responding, Azure DevOps can automatically restart ACI1.
upvoted 1 times
...
ShomaV
2 years ago
If your main goal is to restart the container when the application within it becomes unresponsive or enters an invalid state, then you should include a liveness probe in the YAML configuration of App1.
upvoted 1 times
...
cluqueg
2 years, 1 month ago
Selected Answer: A
Agree on A
upvoted 1 times
...
RonZhong
2 years, 1 month ago
(A) Liveness Probe - To restart the instance Both liveness & readiness probes are used to control the health of an application. Failing liveness probe will restart the container, whereas failing readiness probe will stop our application from serving traffic.
upvoted 1 times
...
mohiniu
2 years, 3 months ago
Answer should be liveness container. As in case of readiness probe failure , container is never restarted.But only traffic is not send to the container. Only in case of liveness probe , container is restarted.
upvoted 1 times
mohiniu
2 years, 3 months ago
Typo: Liveness probe**
upvoted 1 times
...
...
fkaracan
2 years, 3 months ago
Selected Answer: A
A. Add a liveness probe to the YAML configuration of App1. A liveness probe is used to detect when an application is no longer responding and take action to restart the application, such as restarting the container. By adding a liveness probe to the YAML configuration of App1, you can configure the probe to check if the application is responding and if not, trigger a restart of the container instance ACI1.
upvoted 1 times
...
AshutoshSingh
2 years, 5 months ago
Simply put ReadinessProbe will check the app until its active once it gets confirmation it will loop out Liveness Probe will come into play after the ReadinessProbe & it will keep on checking the application until it stops.
upvoted 3 times
...
Matharax
2 years, 8 months ago
Selected Answer: A
When it stops responding, not check if is ready to take requests. Should be 'Liveliness probe'.
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 ...