Microsoft Azure Fundamentals (AZ-900)Describe cloud conceptsHard
A company is designing a new microservices-based application. Each microservice will perform a single, specific task and needs to be deployed independently. They want to avoid managing servers entirely and only pay for the exact compute time consumed by each function execution. Which cloud computing model is best suited for this requirement?
- AInfrastructure as a Service (IaaS)
- BServerless Computing (Functions as a Service)
- CPlatform as a Service (PaaS)
- DSoftware as a Service (SaaS)
Show answer & explanationAnswer & explanation
Correct answer: B. Serverless Computing (Functions as a Service)
Serverless Computing, specifically Functions as a Service (FaaS), is ideal for microservices, allowing developers to deploy individual functions without managing servers and paying only for the execution time.
Why the other options are wrong
- A. IaaS requires managing virtual machines and operating systems, which contradicts the goal of avoiding server management.
- C. PaaS provides a managed platform but still involves managing application deployment and often continuous running resources, not just execution time.
- D. SaaS delivers a complete, pre-built application and is not suitable for developing custom microservices.
Serverless Computing (FaaS)
A cloud execution model where the cloud provider dynamically manages the allocation and provisioning of servers, allowing developers to run code without managing infrastructure.
- No server management
- Event-driven execution
- Pay-per-execution (or value consumed)
Memory trick: Serverless is the ultimate freedom from server shackles.