Cloud Fundamentals: IaaS, PaaS, SaaS and Shared Responsibility Interview Questions
261 multiple-choice tech interview questions on Cloud Fundamentals: IaaS, PaaS, SaaS and Shared Responsibility: service models, shared responsibility, regions and availability zones, elasticity, pricing models, deployment models. Written for technical phone screens and interview prep, organized by subtopic, with a short explanation for every answer. Learn the 240 key terms with the flashcards first, then test yourself.
Take the practice test · Flashcards · All study tools
What it covers
- 1.1 Service and deployment models
- 1.2 Shared responsibility and compliance
- 1.3 Global infrastructure: regions, zones and edge
- 1.4 Scalability, elasticity and availability
- 1.5 Pricing models and cloud economics
- 1.6 Core building blocks: compute, storage, networking and databases
- 1.7 Cloud-native design and well-architected principles
- 1.8 Migration strategies and cloud adoption
- 1.9 Governance, sovereignty and choosing a provider
Key terms
1.1 Service and deployment models
- IaaS
- Infrastructure as a service: rented VMs, storage and networks; you manage the OS up
- PaaS
- Platform as a service: managed runtime for your code; no server management
- SaaS
- Software as a service: a complete application delivered over the internet
- Hybrid cloud
- On-premises or private infrastructure combined with public cloud services
- FaaS
- Functions as a service: deploy individual functions that run on events, billed per execution
- CaaS
- Containers as a service: managed platforms for running container workloads
- DBaaS
- Database as a service: managed database engines run by the provider
- Community cloud
- Cloud infrastructure shared by a group of organizations with common concerns
- Resource pooling
- NIST characteristic: providers serve many tenants from shared, dynamically assigned resources
- Measured service
- NIST characteristic: resource use is metered, monitored and reported
- Broad network access
- NIST characteristic: capabilities are available over the network via standard mechanisms
- Multi-tenancy
- Many customers sharing infrastructure with logical isolation
- Noisy neighbor
- Performance impact from another tenant's heavy use of shared resources
- Buy vs build
- Choosing SaaS for commodity needs and building only what differentiates the business
- Distributed cloud
- Provider-run cloud infrastructure placed on premises or at the edge
- Managed service
- A cloud service whose operations, like patching and scaling, are handled by the provider
- Cloud bursting
- Overflowing from private or on-prem capacity into public cloud during peaks
- Azure Arc
- Extends Azure management and governance to resources running outside Azure
- Virtual private cloud
- A logically isolated network within a public cloud
- Dedicated host
- A physical server in a public cloud reserved for one customer
- PaaS trade-off
- PaaS gives less control over the runtime and OS in exchange for less ops work
- SaaS exit plan
- Knowing how to extract your data and migrate away from a SaaS product
- Bare-metal instance
- A whole physical server rented from a cloud provider without a hypervisor
- Public cloud
- Provider-owned infrastructure offered to many customers over the internet
- Multicloud trade-off
- Gaining choice and leverage across providers at the cost of complexity
1.2 Shared responsibility and compliance
- Shared responsibility model
- Division of security and operations duties between provider and customer
- Network security group
- Rules allowing or denying traffic to cloud resources, configured by the customer
- SaaS customer duties
- In SaaS, customers still own their data, users and access settings
- Hypervisor
- Software that runs and isolates virtual machines on a physical host
- Serverless responsibility
- Providers handle servers and runtimes; customers own code, dependencies and permissions
- Data classification
- Labeling data by sensitivity to decide how it must be protected
- Managed Kubernetes
- A Kubernetes service where the provider operates the control plane
- Compliance portal
- A provider site offering audit reports and certifications to customers
- Inherited controls
- Controls a customer relies on from the provider's certified environment
- BAA
- Business associate agreement: a HIPAA contract covering how a vendor protects health data
- FedRAMP
- US federal program for assessing and authorizing cloud services
- Controller and processor
- GDPR roles: the controller decides why data is processed; the processor acts on its behalf
- DPA
- Data processing agreement: contract defining a processor's duties for personal data
- Shared fate
- Google Cloud's approach of actively helping customers secure their part
- Penetration testing policy
- Provider rules on what customers may test, often banning DoS and provider-infrastructure tests
- Resilience responsibility
- Providers run resilient infrastructure; customers must architect apps to use it
- CSPM
- Cloud security posture management: tools that find misconfigurations across cloud accounts
- Confidential computing
- Protecting data while it's processed using hardware-isolated enclaves or VMs
- Audit log retention
- Keeping cloud activity logs as long as policy and regulation require
- Media sanitization
- Securely wiping or destroying storage media before disposal
- SOC 2 Type II
- An audit report testing that controls operated effectively over a period
- ISO/IEC 27017 / 27018
- Cloud-specific security controls and public cloud PII protection standards
- DDoS protection tiers
- Free baseline network protection plus paid advanced tiers with more features
1.3 Global infrastructure: regions, zones and edge
- Region
- A geographic area containing a provider's data centers
- Availability zone
- A physically separate data center group within a region
- Elasticity
- Automatically adding and removing resources as demand changes
- Regional pricing
- Cloud prices for the same service vary between regions
- Service scope
- Whether a cloud service lives in one zone, one region or globally
- Zonal resource
- A resource pinned to one availability zone
- AZ ID
- A consistent identifier for a physical AWS availability zone across accounts
- Zone-redundant
- A deployment the platform spreads across availability zones automatically
- Local Zone
- An AWS extension of a region placed in a metro area for low latency
- Wavelength
- AWS infrastructure embedded in telecom carriers' 5G networks
- Provider backbone
- A cloud provider's private global network connecting its regions and edge
- Inter-zone latency
- Round-trip time between zones in a region, usually a few milliseconds
- AZ separation
- AZs are physically separated but close enough for low latency
- Three-zone regions
- Regions usually offer at least three zones, enough for quorum designs
- China regions
- Cloud regions in mainland China run by local partners, isolated from global regions
- Speed-of-light latency
- Physical limit on network delay, about 5 µs per km in fiber
- Point of presence
- A small network site close to users, used by CDNs and edge services
- Availability set
- An Azure grouping that spreads VMs across fault and update domains
- Fault domain
- Hardware sharing a single point of failure, like a rack's power and switch
- Placement group
- AWS control over how instances are placed: cluster, spread or partition
- Edge computing
- Processing data near where it's produced rather than in a central region
- Opt-in region
- An AWS region that must be enabled per account before use
- Region-wide failure
- An event affecting every zone in a region, needing multi-region design to survive
- Azure geography
- A discrete market, usually a country, containing one or more Azure regions
- Zonal shift
- Temporarily routing traffic away from an impaired AZ
- Uptime Institute Tiers
- Ratings, Tier I to IV, of a data center facility's redundancy
- Staged rollout
- Deploying changes progressively across zones and regions to limit impact
1.4 Scalability, elasticity and availability
- Target tracking
- Autoscaling that keeps a chosen metric near a target value
- Scheduled scaling
- Changing capacity at set times for predictable load
- Predictive scaling
- Autoscaling that uses forecasts of recurring load to scale ahead of demand
- Cooldown period
- A wait after a scaling action before another one is considered
- Asymmetric scaling
- Scaling out quickly but scaling in slowly to avoid overload
- Desired capacity
- The number of instances an autoscaling group currently aims to run
- Warm-up period
- Time allowed for a new instance to start before metrics or health checks count
- Golden image
- A prebuilt machine image with software installed, used to launch instances quickly
- Service quota
- A provider limit on resources per account or region, like vCPUs
- Burstable instance
- A VM with baseline CPU that bursts using earned credits
- Elastic storage
- Storage whose capacity grows with use rather than being provisioned upfront
- VM SLA tiers
- Provider SLAs that rise with redundancy, like single VM, availability set and zones
- Service credit
- A billing discount given when a provider misses its SLA
- SLA exclusions
- Situations an SLA doesn't cover, like previews or customer-caused issues
- Fault tolerance
- Continuing to operate without interruption when components fail
- Scaling metric
- The measurement an autoscaler acts on, like CPU or requests per target
- Scaling lag
- The delay between a load spike and new capacity serving traffic
- Vertical scaling limits
- Bigger VMs need restarts and hit a size ceiling
- Serverless database
- A database that scales capacity automatically, sometimes to zero
- Self-healing
- Automatically replacing unhealthy instances
- Load testing
- Generating realistic traffic to check behavior and limits under load
- Live migration
- Moving a running VM between hosts with little or no downtime
- Scheduled events
- Notifications of upcoming VM maintenance so apps can prepare
- Lifecycle hook
- A pause in an autoscaling launch or termination for custom actions
- AZ rebalancing
- Keeping instances evenly spread across availability zones
1.5 Pricing models and cloud economics
- Reserved instance
- Discounted capacity in exchange for a one- or three-year commitment
- Egress
- Data leaving the cloud provider's network, which is usually billed
- TCO
- Total cost of ownership: all direct and indirect costs of running something over its life
- Per-second billing
- Charging for compute by the second rather than the hour
- Deallocated VM
- A stopped VM whose compute is released, so only storage is billed
- Free tier
- Provider offers of free usage, credits or trials for new or small workloads
- Spot interruption notice
- The short warning before a spot VM is reclaimed
- License-included pricing
- VM or database rates that bundle the software license cost
- Spend commitment
- A contract to spend a set amount over a term in return for discounts
- Economies of scale
- Lower unit costs from operating at very large scale
- Cloud repatriation
- Moving workloads from public cloud back to owned or colocated hardware
- Exit egress waiver
- Free data transfer offered to customers migrating off a cloud
- Managed service premium
- Paying more per unit for a service that cuts operational labor
- Tiered pricing
- Unit prices that decrease at higher volumes
- Public IPv4 charge
- AWS's hourly charge for each public IPv4 address
- Provisioned capacity
- Paying for a fixed amount of capacity whether or not it's used
- Consolidated billing
- One bill for many accounts, combining usage for volume pricing
- Pricing API
- A provider API that returns current list prices for services
- Agility
- The ability to provision and experiment quickly, a key cloud benefit
- Peak provisioning
- Buying enough capacity for the highest expected load
- Commitment risk
- Paying for committed capacity even when it's no longer needed
- Dev/Test pricing
- Discounted Azure rates for non-production workloads under eligible subscriptions
- Disk performance tier
- Disk types priced by performance as well as size
- Upfront payment option
- How much of a reservation is paid at purchase, affecting the discount
- Spot pricing
- Variable discounted prices for spare cloud capacity
1.6 Core building blocks: compute, storage, networking and databases
- Instance family
- A group of VM types tuned for a resource profile, like compute, memory or storage
- vCPU
- A virtual CPU, usually one hardware thread on x86 instances
- Instance store
- Fast local disk on a VM's host whose data doesn't survive stop or host failure
- Network-attached disk
- Block storage accessed over the network that persists independently of a VM
- S3-compatible API
- An object storage interface matching Amazon S3's, so S3 tools work elsewhere
- Network interface
- A virtual NIC attaching a VM to a subnet with its own IPs and rules
- Instance metadata service
- A VM-local endpoint giving instance details and role credentials
- Data gravity
- The tendency of apps and services to move toward where large data lives
- Machine image
- A template with an OS, software and settings used to launch VMs
- cloud-init
- The standard tool for configuring cloud VMs at first boot from user data
- GPU instance
- A VM with attached GPUs for parallel workloads like machine learning
- TPU
- Tensor Processing Unit: Google's custom machine learning accelerator
- AWS Nitro
- AWS's hardware and lightweight hypervisor that offload virtualization work
- Batch service
- A managed service that queues jobs and runs them on scalable compute pools
- VM storage limits
- Caps on disk IOPS and throughput set by the VM size
- VM network bandwidth
- Network throughput allowance that scales with VM size
- Static public IP
- A reserved public IP address that stays with a resource
- RDMA networking
- Remote direct memory access networking for low-latency HPC communication
- Instance type naming
- Names encoding family, generation, processor and size, like m7g.large
- SR-IOV
- Single-root I/O virtualization, giving VMs near-direct access to the physical NIC
- ARN
- Amazon Resource Name, uniquely identifying an AWS resource
- API-first cloud
- Cloud services exposed through APIs that every tool, including the console, uses
- IOPS
- Input/output operations per second, a measure of storage operation rate
- Hibernation
- Stopping a VM after saving its RAM to disk, for a fast resume
- Choosing VMs
- VMs suit workloads needing OS control, special software or long-running processes
- Choosing functions
- Functions suit short, event-driven tasks with variable volume
- Static website hosting
- Serving HTML, CSS and JS straight from object storage or a static web host
- Disaggregated database
- A cloud database design separating compute nodes from shared distributed storage
1.7 Cloud-native design and well-architected principles
- Cloud native
- Building and running scalable apps with containers, microservices, immutable infrastructure and declarative APIs
- CNCF
- Linux Foundation project hosting cloud-native open source like Kubernetes
- Pets vs. cattle
- Treating servers as interchangeable and replaceable rather than unique and hand-maintained
- Twelve-Factor App
- A methodology of twelve practices for building portable cloud apps
- Config in the environment
- Twelve-factor rule: keep deploy-specific settings out of code, in env vars
- Backing services
- Twelve-factor rule: treat databases, queues and caches as attached resources
- Dev/prod parity
- Twelve-factor rule: minimize differences between environments
- Build, release, run
- Twelve-factor rule: strictly separate building, releasing and running
- Port binding
- Twelve-factor rule: apps export services by binding to a port
- Admin processes
- Twelve-factor rule: run one-off tasks in the app's own environment
- Concurrency (twelve-factor)
- Scaling out via the process model, adding processes per workload type
- Explicit dependencies
- Twelve-factor rule: declare and isolate all dependencies
- Performance efficiency
- Well-Architected pillar about meeting demand efficiently as needs change
- Sustainability pillar
- Well-Architected guidance for minimizing a workload's environmental impact
- Carbon footprint tools
- Provider tools estimating emissions from your cloud usage
- Carbon-aware computing
- Scheduling flexible workloads by the carbon intensity of the power grid
- SCI
- Software Carbon Intensity: a rate of emissions per functional unit, like per request
- Design for failure
- Assuming any component can fail and building resilience in
- Undifferentiated heavy lifting
- Necessary work that gives no competitive edge, like running hardware
- Cell-based architecture
- Isolated, identical copies of a system, each serving part of the traffic
- Shuffle sharding
- Assigning each client a random combination of resources to limit shared impact
- Constant work
- A design that performs the same work regardless of load for predictable behavior
- Well-Architected review
- A structured review of a workload against framework best practices
- Well-Architected lens
- Domain-specific guidance that extends the core framework
- Pillar trade-offs
- Choices that improve one quality, like reliability, at the expense of another, like cost
- Region-agnostic code
- Code that takes its region and endpoints from config
- Control plane vs data plane
- Management APIs that change resources versus the paths that serve live traffic
- Failure mode analysis
- Identifying possible failures, their effects and mitigations
- Silo, pool and bridge
- SaaS models with dedicated, shared or mixed tenant resources
1.8 Migration strategies and cloud adoption
- Rehost
- Lift-and-shift migration of servers to cloud VMs with minimal change
- Replatform
- Migrating with small optimizations, like moving to a managed database, without redesign
- Refactor (migration)
- Re-architecting an app to use cloud-native capabilities
- Repurchase
- Replacing an application with a different product, often SaaS
- Retire
- Decommissioning applications that are no longer needed
- Retain
- Keeping an application where it is for now
- Relocate
- Moving workloads at the hypervisor level to a cloud-hosted version of the same platform
- Migrate then modernize
- Moving quickly first, then optimizing workloads in the cloud
- Server migration tools
- Services that replicate servers into the cloud for rehosting
- Dependency mapping
- Finding which servers and apps communicate, to plan move groups
- Migration wave
- A planned batch of workloads migrated together
- Online database migration
- Initial copy plus ongoing change replication, then a short cutover
- Heterogeneous migration
- Moving between different database engines, needing schema and code conversion
- Cutover plan
- The steps to switch production to the new environment, including rollback
- DNS TTL before cutover
- Shortening record lifetimes ahead of a change so it propagates fast
- Pilot migration
- Migrating a low-risk workload first to build skills and refine the process
- Landing zone
- A pre-configured, governed cloud environment ready for workloads
- Control Tower
- AWS service that sets up and governs a multi-account landing zone
- Cloud Adoption Framework
- Microsoft's end-to-end guidance for cloud adoption
- AWS CAF
- AWS's adoption guidance grouped into six perspectives
- CCoE
- Cloud center of excellence: a team driving cloud standards, enablement and governance
- Cloud skills gap
- Missing skills and habits that slow cloud adoption
- Migration driver
- A business event, like a lease ending, that motivates moving to cloud
- VMware licensing shift
- Changes after Broadcom bought VMware in 2023, prompting platform reviews
- Performance baseline
- Measurements of current behavior used to compare after a change
- Portfolio rationalization
- Reviewing applications to decide what to migrate, replace, keep or retire
- Big bang migration
- Moving everything in a single cutover
- Migration blockers
- App traits like hardcoded IPs or hardware dependencies that complicate moves
- Split-tier latency
- Slowdown when tightly coupled tiers end up on opposite sides of a WAN
1.9 Governance, sovereignty and choosing a provider
- Data sovereignty
- Data being subject to the laws and control of a particular country or bloc
- CLOUD Act
- A 2018 US law letting authorities compel US providers to produce data stored abroad
- EU-US Data Privacy Framework
- The 2023 adequacy framework for EU-to-US transfers to certified companies
- Standard contractual clauses
- EU-approved model contracts for transferring personal data abroad
- Sovereign cloud
- Cloud offerings designed to keep data, operations and control within a jurisdiction
- Partner-operated sovereign cloud
- A local company running a hyperscaler's technology under national control
- Hold your own key
- Keeping encryption keys outside the provider's control, in an external key manager
- EU Data Act
- EU regulation including cloud switching rules and limits on switching charges
- NIS2
- EU directive on cybersecurity obligations and incident reporting for key sectors
- Gaia-X
- A European initiative defining standards for federated, sovereign data and cloud services
- Vendor lock-in
- Dependence on one provider that makes switching costly
- Portability trade-off
- Using portable technology to ease switching, at the cost of managed-service benefits
- Exit plan
- A documented way to move off a provider if needed
- Concentration risk
- Systemic risk from widespread reliance on a small number of providers
- Provider selection
- Evaluating providers on services, regions, compliance, cost, support and skills
- Cloud market share
- AWS leads, followed by Microsoft Azure and Google Cloud
- Guardrails
- Controls that keep cloud use within policy, either by blocking or by detecting
- Policy as code
- Defining governance and compliance rules as versioned code that tools enforce
- Resource naming convention
- A consistent pattern for naming cloud resources
- Shadow IT
- Technology used without the knowledge or approval of IT
- Service catalog
- A curated set of approved cloud products teams can deploy themselves
- EU Data Boundary
- Microsoft's commitment to store and process EU customer data within the EU
- Cloud Smart
- US federal strategy emphasizing fit-for-purpose cloud adoption over cloud by default
- Sovereignty layers
- Control over data, over operations and staff, and over the software itself
- Audit rights
- Contract terms letting customers and regulators verify provider controls
- Service retirement
- A provider ending a service, feature or version, forcing migration
- Primary provider strategy
- Concentrating on one main cloud for depth and simplicity
- DoD impact levels
- US defense authorization levels for cloud services by data sensitivity
- DR jurisdiction
- Keeping recovery regions within the same legal boundaries as the primary
Sample practice questions
A team rents virtual machines and manages the operating system, runtime and application themselves. Which service model is this?
- Platform as a service (PaaS)
- Software as a service (SaaS)
- Infrastructure as a service (IaaS)
- Function as a service (FaaS)
Answer: C. Infrastructure as a service (IaaS) With IaaS the provider runs the hardware, network and virtualization; you manage everything from the OS up.
In the shared responsibility model, who is always responsible for the physical security of the data centers?
- The customer
- It is shared equally for IaaS
- A third-party auditor
- The cloud provider
Answer: D. The cloud provider Physical hosts, networks and facilities are always the provider's job, whatever the service model.
What is an availability zone?
- A country in which the cloud provider operates its services
- Separate data centers in a region with independent power and networking
- A single rack of servers inside one of the provider's data centers
- A global edge location used by the provider's CDN service
Answer: B. Separate data centers in a region with independent power and networking Spreading resources across zones protects against a data center failure while keeping low latency.
What is the difference between scalability and elasticity?
- They mean exactly the same thing, and cloud providers use the terms interchangeably
- Elasticity only applies to storage, while scalability only applies to compute
- Scalability handles more load with resources; elasticity adds and removes them automatically
- Scalability is only about reducing cost, while elasticity is only about performance
Answer: C. Scalability handles more load with resources; elasticity adds and removes them automatically Elasticity is what lets you pay for capacity only when you need it.
What does "consumption-based" or pay-as-you-go pricing mean?
- You pay for what you actually use, with no upfront commitment
- You pay one fixed amount each year, whatever your usage is
- You pay only for the physical hardware that you buy outright
- Every service is free until you go over a usage limit
Answer: A. You pay for what you actually use, with no upfront commitment This shifts spending from capital expense (CapEx) to operating expense (OpEx).
Which instance family fits an in-memory cache or a large analytics database?
- Compute-optimized, with a high vCPU-to-RAM ratio
- Storage-optimized, with large local disks only
- Burstable, with CPU credits for short spikes
- Memory-optimized, with a high RAM-to-vCPU ratio
Answer: D. Memory-optimized, with a high RAM-to-vCPU ratio AWS R and X families, Azure E and M series, and Google M series are examples.
How does the CNCF describe cloud-native technologies?
- Ways to build scalable apps with containers and declarative APIs
- Any software that's hosted by a public cloud provider
- Software that runs only inside a web browser
- Apps rewritten in a language created for the cloud
Answer: A. Ways to build scalable apps with containers and declarative APIs The aim is loosely coupled systems that are resilient, manageable and observable.
In cloud migration terms, what does "rehost" mean?
- Rewrite the application as cloud-native microservices
- Shut the application down because it's unused
- Lift and shift: move servers to cloud VMs with little or no change
- Replace the application with a SaaS product
Answer: C. Lift and shift: move servers to cloud VMs with little or no change It's usually the fastest way out of a data center.
How does data sovereignty differ from data residency?
- Sovereignty is about whose laws and control apply; residency is where data sits
- They mean the same thing in every regulation
- Sovereignty applies only to government data, residency to all data
- Sovereignty is where data sits; residency is who may access it
Answer: A. Sovereignty is about whose laws and control apply; residency is where data sits Data can reside in a country yet still be reachable under foreign laws.
Azure App Service, AWS Elastic Beanstalk and Google App Engine are examples of
- platform as a service (PaaS)
- infrastructure as a service (IaaS)
- software as a service (SaaS)
- on-premises hosting
Answer: A. platform as a service (PaaS) PaaS runs your code on a managed platform, so you do not patch operating systems or manage servers.
More Cloud and DevOps
- Azure Core Services
- AWS Core Services
- Google Cloud Basics
- Serverless: Azure Functions and AWS Lambda
- Containers and Docker
- Kubernetes
- Infrastructure as Code: Terraform and Bicep
- CI/CD Pipelines: GitHub Actions and Azure DevOps
- Networking: DNS, TCP/IP, Load Balancers and VPNs
- Cloud Identity and Access: Entra ID, IAM and RBAC
- Secrets Management and Key Vault
- Monitoring and Alerting: Application Insights and CloudWatch
- Cloud Cost Management