Soru

Zorluk: OrtaAzure Container Instances, Azure Kubernetes Service, and Azure App Service

A team of developers needs to execute a database migration script packaged inside a single container image. The script takes approximately five minutes to complete and runs once a week. The team wants a serverless hosting solution that starts the container immediately, runs it to completion, and stops billing as soon as the container exits, without the need to manage virtual machine infrastructure or deploy a container orchestrator. Which Azure service should the team select for this task?

  1. A
    Azure Kubernetes Service
  2. B
    Azure Virtual Machines
  3. Azure Container InstancesCevap
  4. D
    Azure App Service

Cevap

Azure Container Instances
Azure Container Instances is correct because it offers a serverless compute option to run containers on demand. It does not require managing underlying virtual machines or configuring complex orchestration, and it bills only for the duration the container runs (per-second billing), which perfectly aligns with the requirements of a 5-minute weekly script.

Adım Adım Çözüm

1
Analyze the application requirements.
The application requires hosting a single container for a short-lived (5-minute), weekly database migration script with no orchestration requirements.
This helps determine the complexity of the compute service needed.
2
Evaluate the management and billing constraints.
The solution must avoid managing virtual machines, must be serverless, and must stop billing as soon as the container exits.
This eliminates traditional VMs (which require configuration and OS patching) and continuously running PaaS services.
3
Select the service matching these criteria.
Azure Container Instances fits perfectly because it runs single containers on-demand without VMs or orchestrators and charges only for the exact seconds of container execution.
This identifies the most cost-effective and low-overhead option.

Anahtar Kavram

Azure Container Instances provides a serverless, low-overhead solution for running isolated, short-lived containers on demand with per-second billing.
Tahmini Süre:1m 0s
Bu soruyu puanla