You deploy an Azure Container Instance (ACI) with a container that runs a script and then exits. What will happen to the container after the script finishes?
Think about the default restart policy of ACI containers.
By default, ACI containers stop after the process inside finishes. They do not restart unless configured with a restart policy.
You want to deploy an Azure Container Instance with 2 CPUs and 3.5 GB of memory. Which of the following Azure CLI commands correctly specifies these resources?
Check the official Azure CLI parameter names for CPU and memory.
The correct parameters are --cpu for CPU cores and --memory for memory in GB without units.
You need to run a batch job that processes files uploaded to Azure Blob Storage. The job runs for about 10 minutes per file and should scale automatically based on the number of files. Which architecture best uses Azure Container Instances?
Think about event-driven scaling and automation.
Using Azure Functions triggered by Blob Storage events to start ACI containers allows automatic scaling and parallel processing per file.
You want to pass sensitive data like API keys to your Azure Container Instance securely. Which method is the best practice to provide these secrets to the container?
Consider secure secret storage and access methods in Azure.
Azure Key Vault with managed identities allows secure secret injection without exposing secrets in plain text.
You run many short-lived containers in Azure Container Instances that complete tasks in under 5 minutes. What is the best practice to minimize cost while ensuring fast startup?
Think about balancing startup time and billing granularity.
Pre-warming containers avoids startup delays and can reduce total cost by minimizing idle billed time during startup.