Cloud Engineer · interview questions
Cloud Engineer interview questions: how you'd do it
From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.
Cloud Engineer Core 10
- Most asked How do you eliminate long-lived credentials in a cloud environment?
- Most asked How do you approach cloud cost optimisation?
- Most asked How do you choose between VMs, containers and serverless functions for a new service?
- Most asked What should you design for when using serverless functions?
- Most asked How do you process queue messages safely in the cloud?
- Most asked How would you use infrastructure as code across clouds?
- Most asked How do you decide between AWS, Azure and Google Cloud for a new company or project?
- How do you reduce object storage costs for data that ages?
- How do you migrate an application to the cloud?
- How do you share a large file from private storage with a customer for 24 hours?
AWS Cloud Engineer Core 55
- Most asked How do you avoid NAT bottlenecks in private-subnet architectures using ECS or Lambda?
- Most asked How do you make EC2 highly available across AZ failures?
- Most asked How do you optimize cost for EC2 without hurting reliability?
- Most asked How do you make Lambda highly available across AZ failures?
- Most asked How do you optimize cost for Lambda without hurting reliability?
- Most asked How do you make ECS Service highly available across AZ failures?
- Most asked How do you make VPC highly available across AZ failures?
- Most asked How do you make ALB highly available across AZ failures?
- How do you perform capacity planning for EC2?
- How do you perform capacity planning for API Gateway?
- How do you perform capacity planning for Lambda?
- How do you perform capacity planning for ECS Service?
- How do you perform capacity planning for VPC?
- How do you perform capacity planning for ALB?
- How should you design a public API with API Gateway + Lambda + VPC-based dependencies?
- How do you choose between EC2 Auto Scaling and ECS Service Auto Scaling?
- How do you do blue/green safely for ECS services behind ALB?
- How do you model cost across EC2, Lambda, API Gateway, ECS, and ALB for traffic growth?
- How do you prevent retry storms between API Gateway, Lambda, ECS clients, and dependencies?
- How do you plan multi-account AWS Cloud Engineer environments for these services?
- How do you reduce tail latency when using EC2?
- How do you validate resilience assumptions for EC2?
- How should IAM boundaries be designed around EC2?
- How do you manage versioning and compatibility for systems using EC2?
- How do you design private access patterns for EC2?
- How do you make API Gateway highly available across AZ failures?
- How do you reduce tail latency when using API Gateway?
- How do you optimize cost for API Gateway without hurting reliability?
- How do you validate resilience assumptions for API Gateway?
- How should IAM boundaries be designed around API Gateway?
- How do you manage versioning and compatibility for systems using API Gateway?
- How do you design private access patterns for API Gateway?
- How do you reduce tail latency when using Lambda?
- How do you validate resilience assumptions for Lambda?
- How should IAM boundaries be designed around Lambda?
- How do you manage versioning and compatibility for systems using Lambda?
- How do you design private access patterns for Lambda?
- How do you reduce tail latency when using ECS Service?
- How do you optimize cost for ECS Service without hurting reliability?
- How do you validate resilience assumptions for ECS Service?
- How should IAM boundaries be designed around ECS Service?
- How do you manage versioning and compatibility for systems using ECS Service?
- How do you design private access patterns for ECS Service?
- How do you reduce tail latency when using VPC?
- How do you optimize cost for VPC without hurting reliability?
- How do you validate resilience assumptions for VPC?
- How should IAM boundaries be designed around VPC?
- How do you manage versioning and compatibility for systems using VPC?
- How do you design private access patterns for VPC?
- How do you reduce tail latency when using ALB?
- How do you optimize cost for ALB without hurting reliability?
- How do you validate resilience assumptions for ALB?
- How should IAM boundaries be designed around ALB?
- How do you manage versioning and compatibility for systems using ALB?
- How do you design private access patterns for ALB?
Solutions Architect Core 1
Networking Core 7
- Most asked How should you design health checks for services behind a load balancer?
- Most asked How do you connect many VPCs together, and why isn't VPC peering always enough?
- Most asked How would you migrate a production domain to a new load balancer with no downtime?
- How do you get the real client IP behind proxies and load balancers safely?
- How would you give an application fixed outbound IP addresses for a partner's allow-list?
- How do you reduce cloud networking costs?
- How do you secure administrative access to instances in private subnets?
Terraform Core 17
- Most asked How would you run Terraform in CI/CD?
- Most asked How do you bring existing infrastructure under Terraform management?
- Most asked How do you refactor Terraform code without destroying resources? Explain moved blocks and state mv.
- Most asked How do you pin provider and module versions, and what is the dependency lock file?
- How do you use Terraform to deploy the same infrastructure to nonprod and production AWS accounts?
- How do you configure OIDC authentication between GitHub Actions and AWS for Terraform pipelines?
- How should you split Terraform state for a large organisation?
- How do you test Terraform code?
- How do you bootstrap an S3 remote state backend for Terraform without a chicken-and-egg problem?
- How do you manage RDS passwords securely with Terraform?
- How do you set up CloudFront with an S3 origin using Origin Access Control in Terraform?
- How do you manage AWS costs with Terraform, and what resources help?
- How do you manage multiple accounts, regions or subscriptions in one Terraform configuration?
- How do you structure a Terraform repository for a team?
- How do you manage Kubernetes resources with Terraform, and what are the pitfalls?
- How do you design a reusable Terraform module for an internal platform team to offer, for example 'a secure S3 bucket'?
- How do you tag resources consistently with Terraform?
EKS Recommended 11
- Most asked How do you expose services on EKS? Explain the AWS Load Balancer Controller.
- Most asked How do you upgrade an EKS cluster, and what are standard and extended support?
- Most asked How do you secure an EKS cluster end to end?
- Most asked How do you control who can access an EKS cluster? Explain access entries and the aws-auth ConfigMap.
- Most asked How should you design the VPC and subnets for an EKS cluster?
- Most asked How do you provision EKS clusters as code?
- Most asked How do you reduce EKS costs?
- How do you monitor and log an EKS cluster?
- How do you use Spot Instances safely on EKS?
- How do you pull images efficiently and securely on EKS?
- How do you implement GitOps on EKS?
Kubernetes Recommended 8
- Most asked How do you make pods shut down gracefully without dropping requests?
- Most asked How do you upgrade a Kubernetes cluster safely?
- Most asked How do you monitor a Kubernetes cluster and the applications on it?
- Most asked How do you control costs in Kubernetes?
- How do you give pods access to cloud resources such as S3 or a database without static credentials?
- How do you organise multi-tenancy in a Kubernetes cluster?
- How do you back up a Kubernetes cluster?
- How do you manage TLS certificates in Kubernetes?
Docker Recommended 11
- Most asked How do you secure Docker containers and images?
- Most asked How do you make Docker images smaller?
- Most asked How do you limit a container's CPU and memory, and what happens when it exceeds them?
- Most asked How should you tag Docker images, and why is 'latest' a problem?
- Most asked How do you debug a container that exits immediately or behaves differently in production?
- Most asked How do you run Docker builds in CI pipelines efficiently and safely?
- What should you consider when choosing a base image?
- How do you run a database in Docker for local development, and should you do it in production?
- How do you speed up a slow Docker build?
- How do you clean up disk space used by Docker?
- How do you run multiple processes in one container, and should you?
Logging & Observability Recommended 8
- What makes a good alert?
- How do you design centralized log aggregation?
- How do you collect logs and metrics in Kubernetes?
- What makes an error log line useful during an incident?
- How do you control the cost of logs and telemetry?
- How do you add observability to a frontend application?
- How do you find slow database queries in production?
- How do you observe the impact of a deployment or feature flag?
Web Security & WAF Recommended 4
Google Cloud Engineer Recommended 8
- Most asked What are service accounts, and how should workloads authenticate without service account keys?
- Most asked How do you run Terraform for Google Cloud safely in a team?
- What are Cloud Storage classes, and how do you reduce storage costs for ageing data?
- What are organisation policies, and which ones would you set from day one?
- How do you give GitHub Actions access to Google Cloud without a service account key?
- How do you monitor and log workloads on Google Cloud?
- How do you control and reduce Google Cloud costs?
- How do you build and deploy containers on Google Cloud with Cloud Build, Artifact Registry and Cloud Deploy?