CompTIA Cloud+ (CV0-004)Cloud ArchitectureHard

A cloud architect is designing a new microservices-based application that requires stateless compute components which can scale rapidly and independently based on demand. The development team prefers to focus solely on writing code without managing servers, operating systems, or runtime environments. Which cloud service model best fits these requirements?

  1. APlatform as a Service (PaaS)
  2. BInfrastructure as a Service (IaaS)
  3. CSoftware as a Service (SaaS)
  4. DFunction as a Service (FaaS)
Show answer & explanation

Correct answer: D. Function as a Service (FaaS)

Function as a Service (FaaS), a subset of Serverless computing, allows developers to deploy stateless code that scales automatically and independently, entirely abstracting away server management and runtime environments, aligning perfectly with the requirements.

Why the other options are wrong

  • A. PaaS provides a platform for development and deployment, abstracting OS and some runtime, but FaaS offers even greater abstraction and fine-grained scaling for stateless components.
  • B. IaaS provides virtualized infrastructure (VMs, networks), requiring the customer to manage OS, runtime, and application, which contradicts the 'without managing servers, operating systems, or runtime environments' requirement.
  • C. SaaS is a fully managed application, not a platform for developing new microservices.

Function as a Service (FaaS)

Function as a Service (FaaS) is a serverless computing model where developers write and deploy small, single-purpose functions that are executed in response to events. The cloud provider fully manages all the underlying infrastructure, server provisioning, and scaling.

  • Serverless compute model
  • Event-driven execution
  • Automatic scaling (scales to zero)
  • No server management for developers
  • Pay-per-execution billing
  • Ideal for stateless microservices and APIs

Memory trick: FaaS is the ultimate 'hands-off' model – just give it your function, and the cloud handles the rest.

More Cloud Architecture questions