What should you do?

Posted by: Pdfprep Category: AZ-400 Tags: , ,

You have an Azure DevOps organization named Contoso and an Azure subscription.

You use Azure DevOps to build a containerized app named Appl and deploy App1 to an Azure container instance named ACM.

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 . Use Connection Monitor in Azure Network Watcher.
C . Add a readiness probe to the YAML configuration of App1.
D . Use IP flow verify in Azure Network Watcher.

Answer: C

Explanation:

For containerized applications that serve traffic, you might want to verify that your container is ready to handle incoming requests. Azure Container Instances supports readiness probes to include configurations so that your container can’t be accessed under certain conditions. The readiness probe behaves like a Kubernetes readiness probe. For example, a container app might need to load a large data set during startup, and you don’t want it to receive requests during this time.

YAML is used to setup a liveness probe.

Reference:

https://docs.microsoft.com/en-us/azure/container-instances/container-instances-readiness-probe

Leave a Reply

Your email address will not be published.