You have a containerized solution that runs in Azure Container Instances. The solution contains a frontend container named App1 and a backend container named DB1. DB1 loads a large amount of data during startup.
You need to verify that DB1 can handle incoming requests before users can submit requests to App1.
What should you configure?
Click on the arrows to vote for the correct answer
A. B. C. D.C
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.
Incorrect Answers:
A: Containerized applications may run for extended periods of time, resulting in broken states that may need to be repaired by restarting the container. Azure
Container Instances supports liveness probes so that you can configure your containers within your container group to restart if critical functionality is not working.
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-readiness-probeThe correct answer is C. a readiness probe.
Explanation: In containerized solutions, readiness probes are used to check whether a container is ready to accept incoming traffic or not. A readiness probe determines whether a container is ready to receive traffic by periodically sending requests to the container and waiting for a response. If the response is successful, the container is considered ready to accept traffic.
In this scenario, the backend container DB1 loads a large amount of data during startup. This means that it may take some time for the container to be fully ready to accept incoming requests. Therefore, a readiness probe should be configured to ensure that DB1 is ready before users can submit requests to App1.
A liveness probe checks whether a container is running or not. It does not verify whether the container is ready to accept incoming traffic or not. Therefore, A is not the correct answer.
A performance log is used to monitor the performance of a container. It does not ensure that the container is ready to accept incoming traffic. Therefore, B is not the correct answer.
An Azure Load Balancer health probe checks the health of a load balancer. It does not verify the readiness of a container to accept incoming traffic. Therefore, D is not the correct answer.