A development team wants to deploy microservices where each service runs independently and scales automatically based on incoming requests, without needing to provision or manage any servers. They only want to pay for the actual execution time of their code. Which cloud computing concept best describes this approach?
- AContainers
- BVirtual Machines
- CServerless Computing
- DLoad Balancing
Show answer & explanationAnswer & explanation
Correct answer: C. Serverless Computing
Serverless computing (often implemented as Function as a Service or FaaS) allows developers to build and run applications without managing servers. The cloud provider automatically provisions, scales, and manages the infrastructure, and the customer pays only for the compute resources consumed during code execution, fitting all aspects of the scenario.
Why the other options are wrong
- A. Containers encapsulate applications but still run on provisioned servers (VMs or hosts).
- B. Virtual Machines require explicit server management and provisioning.
- D. Load Balancing distributes traffic but doesn't eliminate server management or provide 'pay-per-execution'.
Serverless Computing (FaaS)
A cloud execution model where the cloud provider dynamically manages the allocation and provisioning of servers. Developers write and deploy code (functions) which are executed in response to events, and they are billed only for the resources consumed during execution.
- No server management required by the developer.
- Automatic scaling of functions.
- Pay-per-execution (consumption-based billing).
- Ideal for event-driven architectures and microservices.
Memory trick: Serverless: Your code runs, but the servers are invisible and you only pay for the magic.