Explain the difference between IaaS, PaaS and SaaS with an example of each.
What the interviewer wants to hear
- IaaS gives raw compute, storage and network; customer manages OS and up
- PaaS manages the runtime and OS; customer deploys code and data
- SaaS is a complete application used by end users
- Responsibility shifts to the provider as you move from IaaS to SaaS
- Gives a correct real example of each
Model answer
These are service models that differ in how much the provider manages. IaaS, Infrastructure as a Service, gives you virtual machines, disks and networks, like Amazon EC2 or Azure Virtual Machines. You manage the operating system, patches, runtime and application. PaaS, Platform as a Service, also manages the OS and runtime, so you just deploy code, for example AWS Elastic Beanstalk, Google App Engine or Azure App Service. SaaS, Software as a Service, is a finished application you simply use, such as Gmail, Microsoft 365 or Salesforce. As you move from IaaS to SaaS you get less control but also less operational work, and the shared responsibility line moves toward the provider. In practice, many teams mix them, for example running containers on a managed Kubernetes service, which sits between IaaS and PaaS.
Can you answer it under time pressure?
Take a timed easy round and get scored on every answer.
More easy Cloud Engineer questions
- What is a VPC and what are its main building blocks?
- Explain IAM users, groups, roles and policies. When would you use a role instead of a user?
- How would you make a simple web application highly available in the cloud?
- What pricing models do cloud providers offer for compute, and when would you use each?
- What is the difference between containers and virtual machines, and when would you choose each?
- What is Infrastructure as Code and why do teams use it instead of the cloud console?
- Explain metrics, logs and traces. How does each help you run a cloud application?
- How does a CDN work, and what should you consider when caching content with one?
- Compare block, object and file storage in the cloud. Give a use case for each.