Cloud Engineer · interview questions
Cloud Engineer interview questions: comparison
From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.
Cloud Engineer Core 4
- Most asked Compare object, block and file storage in the cloud.
- Which data transfer charges surprise teams, and how do you reduce them?
- How do monitoring and logging differ between AWS, Azure and Google Cloud, and what defaults would you set?
- What is the difference between AWS Organizations SCPs, Azure Policy and Google Cloud organization policies?
AWS Cloud Engineer Core 30
- Most asked When should you choose EC2 over alternatives?
- Most asked When should you choose Lambda over alternatives?
- Most asked Compare Lambda with adjacent AWS options for the same problem space.
- Most asked When should you choose ECS Service over alternatives?
- Most asked Compare ECS Service with adjacent AWS options for the same problem space.
- Most asked When should you choose VPC over alternatives?
- Most asked When should you choose ALB over alternatives?
- Most asked EC2 vs Lambda: when should each be the primary compute layer?
- Most asked ECS Service vs Lambda for APIs: what are the key scaling and operations tradeoffs?
- Most asked API Gateway vs ALB for HTTP APIs: how do you decide?
- Most asked When should ECS Service be fronted by ALB instead of API Gateway?
- Most asked When should VPC endpoints be mandatory in this architecture?
- Most asked When is EC2 a poor fit, and what would you pick instead?
- Most asked When is Lambda a poor fit, and what would you pick instead?
- Most asked When is ECS Service a poor fit, and what would you pick instead?
- Compare EC2 with adjacent AWS options for the same problem space.
- When should you choose API Gateway over alternatives?
- Compare API Gateway with adjacent AWS options for the same problem space.
- Compare VPC with adjacent AWS options for the same problem space.
- Compare ALB with adjacent AWS options for the same problem space.
- What metrics should trigger scaling or incident response across this stack?
- How does stateful vs stateless design impact EC2 architecture?
- When is API Gateway a poor fit, and what would you pick instead?
- How does stateful vs stateless design impact API Gateway architecture?
- How does stateful vs stateless design impact Lambda architecture?
- How does stateful vs stateless design impact ECS Service architecture?
- When is VPC a poor fit, and what would you pick instead?
- How does stateful vs stateless design impact VPC architecture?
- When is ALB a poor fit, and what would you pick instead?
- How does stateful vs stateless design impact ALB architecture?
Solutions Architect Core 42
- Most asked When would you choose Amazon EC2 in an AWS architecture, and what are its key characteristics?
- Most asked When would you choose Amazon S3 in an AWS architecture, and what are its key characteristics?
- Most asked When would you choose Amazon VPC in an AWS architecture, and what are its key characteristics?
- Most asked When would you choose Amazon RDS in an AWS architecture, and what are its key characteristics?
- Most asked When would you choose Amazon DynamoDB in an AWS architecture, and what are its key characteristics?
- Most asked When would you choose AWS Lambda in an AWS architecture, and what are its key characteristics?
- Most asked When would you choose Amazon SQS in an AWS architecture, and what are its key characteristics?
- Most asked When would you choose AWS IAM in an AWS architecture, and what are its key characteristics?
- Most asked Difference between Security Groups and NACLs?
- Most asked When do you use NAT Gateway vs Internet Gateway?
- Most asked RPO vs RTO?
- Most asked When choose DynamoDB over RDS?
- Most asked What is eventual consistency vs strong consistency in DynamoDB?
- Most asked Horizontal vs vertical scaling on AWS?
- When would you choose Application Load Balancer in an AWS architecture, and what are its key characteristics?
- When would you choose AWS KMS in an AWS architecture, and what are its key characteristics?
- When would you choose AWS Auto Scaling in an AWS architecture, and what are its key characteristics?
- When would you choose Network Load Balancer in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon Aurora in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon ElastiCache in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon CloudFront in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon API Gateway in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon SNS in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon EventBridge in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon CloudWatch in an AWS architecture, and what are its key characteristics?
- When would you choose AWS CloudTrail in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon Route 53 in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon ECS in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon EKS in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon EBS in an AWS architecture, and what are its key characteristics?
- When would you choose AWS Organizations in an AWS architecture, and what are its key characteristics?
- How do SCPs differ from IAM policies?
- When would you choose AWS Config in an AWS architecture, and what are its key characteristics?
- When would you choose AWS Step Functions in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon Cognito in an AWS architecture, and what are its key characteristics?
- When would you choose AWS WAF in an AWS architecture, and what are its key characteristics?
- When would you choose AWS Shield in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon EFS in an AWS architecture, and what are its key characteristics?
- When would you choose AWS Glue in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon Athena in an AWS architecture, and what are its key characteristics?
- When would you choose Amazon Redshift in an AWS architecture, and what are its key characteristics?
- When would you choose AWS Control Tower in an AWS architecture, and what are its key characteristics?
Networking Core 7
- Most asked What's the difference between TCP and UDP, and when would you choose UDP?
- Most asked What's the difference between stateful and stateless firewalls? Give cloud examples.
- Most asked Security groups versus network ACLs: how do they differ and how would you use them together?
- Most asked Compare HTTP/1.1, HTTP/2 and HTTP/3.
- Most asked Compare layer 4 and layer 7 load balancers. When would you use each?
- Most asked What makes a subnet public or private in AWS?
- What's the difference between Azure VNets and Google Cloud VPCs compared with AWS VPCs?
Terraform Core 11
- Most asked count or for_each: when do you use each?
- Most asked When do you need depends_on in Terraform, and when is it a code smell?
- Most asked Terraform and Ansible: how do they differ, and do you need both?
- Most asked Compare Terraform with CloudFormation, CDK and Pulumi.
- Most asked Terraform or OpenTofu: what is the difference, and how would you choose?
- How should nonprod and production Terraform configurations differ, and how do you enforce those differences?
- What is the difference between an ECS task execution role and a task role, and how do you define them in Terraform?
- How do variable validation rules work in Terraform, and when should you use them?
- What is the difference between variables, locals and outputs?
- What are data sources, and when should you use them?
- What is the difference between terraform refresh, plan -refresh-only and apply -refresh-only?
Azure Fundamentals Recommended 3
EKS Recommended 9
- Most asked What is Amazon EKS, and what does AWS manage versus what do you manage?
- Most asked Compare the EKS compute options: managed node groups, self-managed nodes, Fargate, Karpenter and EKS Auto Mode.
- Most asked IRSA or EKS Pod Identity: how do pods get AWS permissions?
- Most asked Why is Karpenter popular on EKS, and how does it differ from the Cluster Autoscaler?
- Most asked EKS or ECS: how would you choose?
- Should the EKS API endpoint be public or private?
- Should you use one big EKS cluster or many small ones?
- How do you run GPU or machine-learning workloads on EKS?
- What is the difference between EKS managed node group updates and Karpenter drift for keeping nodes patched?
Kubernetes Recommended 8
- Most asked ConfigMaps and Secrets: how do they differ, and how should secrets really be handled?
- Most asked What is the difference between resource requests and limits, and what are the QoS classes?
- Most asked How does autoscaling work in Kubernetes? Compare HPA, VPA, Cluster Autoscaler and Karpenter.
- Most asked Ingress or Gateway API: how do you expose HTTP services, and what has changed recently?
- Most asked Helm or Kustomize: how do you manage manifests?
- Should you run databases on Kubernetes?
- What are labels, selectors and annotations, and how should you use them?
- What is the difference between a Deployment's rollout and a restart, and when would you use kubectl rollout restart?
Docker Recommended 5
- Most asked What is a container, and how does it differ from a virtual machine?
- Most asked What is the difference between an image and a container, and how do image layers work?
- Most asked CMD or ENTRYPOINT: what is the difference, and what are exec and shell forms?
- Most asked ARG or ENV: what is the difference, and how do you pass secrets into a build safely?
- COPY or ADD: what is the difference?
Logging & Observability Recommended 3
Web Security & WAF Recommended 1
Google Cloud Engineer Recommended 5
- Most asked How is networking in a Google Cloud VPC different from AWS?
- Most asked When would you choose Cloud Run, GKE or Compute Engine?
- Most asked Compare Google Cloud's database options: Cloud SQL, AlloyDB, Spanner, Firestore and Bigtable.
- How do Pub/Sub, Cloud Tasks and Eventarc differ, and when do you use each?
- Google Cloud or AWS: how would you compare them for a new project?