You deploy a containerized web API to Azure Container Instances (ACI). The API must run continuously to process incoming client requests. Which restart policy should you configure for the container instance?
- AlwaysCevap
- BNever
- COnFailure
- DConfigure the container to use an App Service Plan autoscale rule for restarts.
Cevap
Always
The correct option is 'Always'. For Azure Container Instances (ACI), the 'Always' restart policy ensures that the container is restarted automatically when it stops. This is the correct configuration for continuous workloads such as web applications and APIs.
Adım Adım Çözüm
Anahtar Kavram
Azure Container Instances restart policies