You deploy a containerized application (App1) to an Azure Container Instance (ACI1). You need ACI1 to automatically restart the container when App1 becomes unresponsive. What should you add to App1's YAML configuration?
Choose an answer
Tap an option to check your answer.
Correct answer: Add a liveness probe to the YAML configuration of App1..
Why this is the answer
A liveness probe detects if an application within a container is running correctly and can restart the container if it fails. This directly addresses the requirement for ACI1 to automatically restart App1 when it becomes unresponsive. A readiness probe, conversely, determines if a container is ready to serve traffic, not if it needs a restart due to unresponsiveness. Connection Monitor and IP flow verify are networking diagnostic tools within Azure Network Watcher; they are used for analyzing network connectivity and traffic flow, not for managing container lifecycle or restarting unresponsive applications.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed