Soru

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

A developer needs to run a quick test of a new containerized API. The test will run for exactly two hours on a single container. The developer wants a serverless solution where they only pay for the CPU and memory resources consumed while the container is active, with no virtual machine management or orchestration overhead. Which Azure service should the developer use?

  1. Azure Container InstancesCevap
  2. B
    Azure Kubernetes Service (AKS)
  3. C
    Azure Virtual Machines
  4. D
    Microsoft 365

Cevap

Azure Container Instances
Azure Container Instances is the correct choice because it is a serverless service that allows deploying a single container on demand without managing virtual servers. It provides per-second billing for the CPU and memory resources used, making it ideal for short-lived tasks and quick testing.

Adım Adım Çözüm

1
Analyze the application requirements: running a single container for a short duration (two hours) without orchestrator complexity or VM management.
Identified that the deployment only requires a single container and must avoid the administrative overhead of VMs or complex orchestration.
This rules out solutions that require cluster configuration (AKS) or operating system management (Virtual Machines).
2
Compare the remaining serverless hosting options based on billing and features.
Azure Container Instances (ACI) matches the requirements perfectly as it is serverless, bills per second of resource consumption, and requires no infrastructure management.
ACI is specifically designed for quick, isolated container execution without container orchestrator configuration.

Anahtar Kavram

Azure Container Instances (ACI) provides a serverless, low-overhead platform for running single containers without VM or orchestrator management.
Tahmini Süre:45s
Bu soruyu puanla