Cloud interview questions
220 questions tagged by difficulty. Sign up to unlock full answers and track your weak areas.
- View
Explain IaaS, PaaS, and SaaS with examples.
Easy · Cloud, Cloud Fundamentals, Fresher
- View
What is the cloud shared responsibility model?
Easy · Cloud, Cloud Fundamentals, Fresher
- View
What is the difference between a Region and an Availability Zone?
Easy · Cloud, Cloud Fundamentals, Fresher
- View
Compare public cloud, private cloud, and hybrid cloud.
Easy · Cloud, Cloud Fundamentals, Fresher
- View
What is elasticity vs scalability in the cloud?
Easy · Cloud, Cloud Fundamentals, Fresher
- View
Explain CapEx vs OpEx in cloud economics.
Easy · Cloud, Cloud Fundamentals, Fresher
- View
What are the six pillars of the AWS Well-Architected Framework?
Medium · Cloud, Cloud Fundamentals, Fresher
- View
Explain RPO, RTO, and DR strategies (backup, pilot light, warm standby, active-active).
Medium · Cloud, Cloud Fundamentals, Senior
- View
What causes cold starts in serverless, and how do you mitigate them?
Medium · Cloud, Cloud Fundamentals, Senior
- View
How do you handle data residency and compliance in the cloud?
Hard · Cloud, Cloud Fundamentals, Architect
- View
How do you choose EC2 instance families (general, compute, memory, storage optimised)?
Medium · Cloud, AWS, EC2
- View
When do you choose EC2/containers over Lambda?
Medium · Cloud, AWS, EC2
- View
Compare ECS vs EKS for running containers on AWS.
Medium · Cloud, AWS, ECS
- View
ECS Fargate vs EC2 launch type — trade-offs?
Medium · Cloud, AWS, Fargate
- View
How does EC2 Auto Scaling work? What metrics drive scaling policies?
Medium · Cloud, AWS, EC2
- View
Explain On-Demand, Reserved, and Spot instances.
Medium · Cloud, AWS, EC2
- View
How do you run Kubernetes workloads on AWS (EKS, node groups, add-ons)?
Hard · Cloud, AWS, EKS
- View
Explain S3 storage classes and when to use each.
Easy · Cloud, AWS, S3
- View
What are S3 durability, availability, and consistency guarantees?
Medium · Cloud, AWS, S3
- View
Compare S3, EBS, and EFS.
Medium · Cloud, AWS, S3
- View
What is Amazon RDS and which engines does it support?
Easy · Cloud, AWS, RDS
- View
RDS Multi-AZ vs Read Replicas — differences?
Medium · Cloud, AWS, RDS
- View
What makes Amazon Aurora different from standard RDS?
Medium · Cloud, AWS, Aurora
- View
When do you choose DynamoDB over RDS?
Medium · Cloud, AWS, DynamoDB
- View
How does DynamoDB partitioning work? What is a hot partition?
Hard · Cloud, AWS, DynamoDB
- View
What is ElastiCache and Redis vs Memcached on AWS?
Medium · Cloud, AWS, ElastiCache
- View
Explain VPC, subnets, route tables, and internet gateway.
Medium · Cloud, AWS, VPC
- View
What is a NAT Gateway and why do private subnets need it?
Medium · Cloud, AWS, NAT
- View
Security Groups vs Network ACLs?
Easy · Cloud, AWS, VPC
- View
How do IAM users, roles, and policies work?
Medium · Cloud, AWS, IAM
- View
What is IAM role assumption and cross-account access?
Hard · Cloud, AWS, IAM
- View
Route 53 routing policies (simple, weighted, latency, failover, geolocation).
Medium · Cloud, AWS, Route53
- View
Application Load Balancer vs Network Load Balancer?
Medium · Cloud, AWS, ALB
- View
What are AWS WAF and Shield?
Medium · Cloud, AWS, WAF
- View
How does AWS KMS encrypt data at rest and in transit?
Medium · Cloud, AWS, KMS
- View
Compare SQS and SNS.
Easy · Cloud, AWS, SQS
- View
SQS Standard vs FIFO queues?
Medium · Cloud, AWS, SQS
- View
What is SQS visibility timeout and how do you tune it?
Medium · Cloud, AWS, SQS
- View
Kinesis Data Streams vs SQS — when to use which?
Medium · Cloud, AWS, Kinesis
- View
What is Amazon EventBridge?
Medium · Cloud, AWS, EventBridge
- View
What does API Gateway provide for microservices?
Medium · Cloud, AWS, API Gateway
- View
When do you use Step Functions?
Medium · Cloud, AWS, Step Functions
- View
What is Amazon MSK (Managed Streaming for Kafka)?
Medium · Cloud, AWS, MSK
- View
How does AWS Lambda work? Limits and pricing model?
Easy · Cloud, AWS, Lambda
- View
Reserved vs provisioned concurrency in Lambda?
Hard · Cloud, AWS, Lambda
- View
How do you handle Lambda failures and DLQs?
Medium · Cloud, AWS, Lambda
- View
DynamoDB Streams + Lambda pattern?
Medium · Cloud, AWS, Serverless
- View
Design a serverless REST API with API Gateway and Lambda.
Medium · Cloud, AWS, Serverless
- View
CloudWatch metrics, alarms, and dashboards — best practices?
Medium · Cloud, AWS, CloudWatch
- View
CloudWatch Logs vs CloudWatch Logs Insights?
Easy · Cloud, AWS, CloudWatch
- View
What is AWS X-Ray and how does it help debug distributed systems?
Medium · Cloud, AWS, X-Ray
- View
CloudTrail vs CloudWatch — when to use each?
Easy · Cloud, AWS, CloudTrail
- View
Outline a CI/CD pipeline on AWS (CodeCommit/CodeBuild/CodeDeploy/CodePipeline).
Medium · Cloud, AWS, CI/CD
- View
CloudFormation vs Terraform?
Medium · Cloud, AWS, IaC
- View
Blue/green vs rolling deployments on AWS?
Medium · Cloud, AWS, CI/CD
- View
Design a classic three-tier web application on AWS.
Medium · Cloud, AWS, Architecture
- View
What are trade-offs of multi-region active-active on AWS?
Hard · Cloud, AWS, Multi-Region
- View
Top AWS cost optimisation strategies?
Medium · Cloud, AWS, Cost
- View
What are VPC endpoints and how do they reduce cost?
Medium · Cloud, AWS, VPC
- View
How do you design for high availability and fault tolerance on AWS?
Medium · Cloud, AWS, HA
- View
What is Google Compute Engine (GCE) and when do you choose it over managed services?
Easy · Cloud, GCP, Compute
- View
How does Google Kubernetes Engine (GKE) work and what makes it different from self-managed Kubernetes?
Medium · Cloud, GCP, Compute
- View
Compare GKE Autopilot vs GKE Standard mode.
Medium · Cloud, GCP, Compute
- View
What is Cloud Run and how does it differ from GKE and App Engine?
Medium · Cloud, GCP, Compute
- View
Explain App Engine Standard vs Flexible environments.
Medium · Cloud, GCP, Compute
- View
How do Managed Instance Groups (MIGs) and autoscaling policies work on GCE?
Medium · Cloud, GCP, Compute
- View
What are preemptible VMs and Spot VMs? How do you use them safely?
Medium · Cloud, GCP, Compute
- View
How do you choose GCE machine families (E2, N2, C2, M, Tau)?
Medium · Cloud, GCP, Compute
- View
What is GCE live migration and why does it matter for availability?
Easy · Cloud, GCP, Compute
- View
Decision framework: when to use GCE vs GKE vs Cloud Run vs App Engine?
Hard · Cloud, GCP, Compute
- View
Explain Cloud Storage classes and when to use each.
Easy · Cloud, GCP, Storage
- View
How do GCS bucket versioning, uniform access, and IAM work together?
Medium · Cloud, GCP, Storage
- View
What is Cloud SQL and how does high availability work?
Easy · Cloud, GCP, Database
- View
How does AlloyDB differ from Cloud SQL?
Medium · Cloud, GCP, Database
- View
When do you choose Firestore over Cloud SQL or Spanner?
Medium · Cloud, GCP, Database
- View
What is Cloud Spanner and when is it the right choice?
Hard · Cloud, GCP, Database
- View
How do you avoid hotspotting in Cloud Spanner?
Hard · Cloud, GCP, Database
- View
What are Cloud Bigtable use cases and design principles?
Medium · Cloud, GCP, Database
- View
Compare Memorystore for Redis vs Memcached.
Medium · Cloud, GCP, Database
- View
How do you choose between Cloud SQL, AlloyDB, Spanner, Firestore, and Bigtable?
Hard · Cloud, GCP, Database
- View
Explain VPC networks, subnets, and firewall rules in GCP.
Medium · Cloud, GCP, Networking
- View
What is Shared VPC and when do you use it?
Hard · Cloud, GCP, Networking
- View
What is Cloud NAT and how do you design it for high availability?
Medium · Cloud, GCP, Networking
- View
How does GCP IAM work — roles, bindings, and policies?
Medium · Cloud, GCP, Security
- View
What are service accounts and how do you secure them?
Medium · Cloud, GCP, Security
- View
How does Workload Identity work on GKE?
Hard · Cloud, GCP, Security
- View
What does Cloud DNS provide and how does routing work?
Easy · Cloud, GCP, Networking
- View
Compare GCP load balancer types (HTTP(S), TCP/SSL proxy, Network, Internal).
Hard · Cloud, GCP, Networking
- View
What is Cloud Armor and how do you protect applications with it?
Medium · Cloud, GCP, Security
- View
How do Cloud KMS and Secret Manager work together?
Medium · Cloud, GCP, Security
- View
Explain Pub/Sub topics, subscriptions, and message flow.
Easy · Cloud, GCP, Messaging
- View
How do Pub/Sub dead-letter topics and retry policies work?
Medium · Cloud, GCP, Messaging
- View
When do you use Cloud Tasks vs Pub/Sub?
Medium · Cloud, GCP, Messaging
- View
What is Cloud Scheduler and common use cases?
Easy · Cloud, GCP, Integration
- View
What is Eventarc and how does it route events?
Medium · Cloud, GCP, Integration
- View
When do you use Workflows for orchestration?
Medium · Cloud, GCP, Integration
- View
Compare Apigee vs Cloud Endpoints vs API Gateway.
Hard · Cloud, GCP, Integration
- View
How do Pub/Sub and Dataflow integrate for stream processing?
Medium · Cloud, GCP, Messaging
- View
How do Cloud Functions (2nd gen) work and what are key limits?
Easy · Cloud, GCP, Serverless
- View
How does Cloud Run autoscaling, concurrency, and cold starts work?
Medium · Cloud, GCP, Serverless
- View
Explain Cloud Logging architecture and best practices.
Medium · Cloud, GCP, Observability
- View
How does Cloud Monitoring support SLOs and alerting?
Medium · Cloud, GCP, Observability
- View
What is Cloud Trace and how do you instrument distributed systems?
Medium · Cloud, GCP, Observability
- View
What are the types of Cloud Audit Logs?
Easy · Cloud, GCP, Observability
- View
How do Logging, Monitoring, Trace, and Error Reporting work together?
Hard · Cloud, GCP, Observability
- View
Outline a CI/CD pipeline with Cloud Build.
Medium · Cloud, GCP, DevOps
- View
What is Artifact Registry and how do you secure container images?
Easy · Cloud, GCP, DevOps
- View
Best practices for Terraform on GCP.
Medium · Cloud, GCP, DevOps
- View
How do you design multi-region architectures on GCP?
Hard · Cloud, GCP, Architecture
- View
Top GCP cost optimization and reliability strategies?
Medium · Cloud, GCP, Architecture
- View
How do Spring Boot profiles work for cloud deployments?
Easy · Cloud, Java & Cloud, Spring Boot Config
- View
Explain externalized configuration in Spring Boot for cloud-native apps.
Easy · Cloud, Java & Cloud, Spring Boot Config
- View
How should Java services read environment variables in production?
Easy · Cloud, Java & Cloud, Spring Boot Config
- View
When would you use Spring Cloud Config vs platform-native config (Parameter Store, Secret Manager)?
Medium · Cloud, Java & Cloud, Spring Boot Config
- View
What are AWS SDK for Java v2 client builder best practices?
Medium · Cloud, Java & Cloud, AWS SDK v2
- View
When should you use async AWS SDK v2 clients in Java?
Medium · Cloud, Java & Cloud, AWS SDK v2
- View
How do you integrate Amazon S3 with a Spring Boot application?
Medium · Cloud, Java & Cloud, S3
- View
How do you build a reliable SQS consumer in Spring Boot?
Medium · Cloud, Java & Cloud, SQS
- View
Explain SNS fan-out patterns with Java producers.
Medium · Cloud, Java & Cloud, SNS
- View
How do you access DynamoDB from Spring Boot?
Medium · Cloud, Java & Cloud, DynamoDB
- View
How do you handle DynamoDB pagination and batch operations in Java?
Hard · Cloud, Java & Cloud, DynamoDB
- View
How do you load secrets from AWS Secrets Manager in Spring Boot?
Medium · Cloud, Java & Cloud, Secrets Manager
- View
How is AWS Systems Manager Parameter Store used with Java apps?
Medium · Cloud, Java & Cloud, Parameter Store
- View
How do you use GCP Secret Manager with a Java/Spring service on Cloud Run or GKE?
Medium · Cloud, Java & Cloud, GCP Secret Manager
- View
What does Spring Cloud AWS provide, and when should you adopt it?
Medium · Cloud, Java & Cloud, Spring Cloud AWS
- View
How does Spring Cloud GCP simplify Google Cloud integration?
Medium · Cloud, Java & Cloud, Spring Cloud GCP
- View
Compare @Scheduled, Amazon EventBridge, and Cloud Scheduler for Java workloads.
Medium · Cloud, Java & Cloud, Scheduling
- View
When is Quartz still relevant in cloud-native Java applications?
Hard · Cloud, Java & Cloud, Scheduling
- View
How do you prevent duplicate scheduled job execution across pods?
Medium · Cloud, Java & Cloud, Scheduling
- View
What are the trade-offs of running Spring Boot on AWS Lambda?
Hard · Cloud, Java & Cloud, Lambda
- View
How does Spring Cloud Function simplify serverless Java deployment?
Medium · Cloud, Java & Cloud, Lambda
- View
How do you deploy a Spring Boot JAR to Google Cloud Run?
Medium · Cloud, Java & Cloud, Cloud Run
- View
How do you configure Redis/ElastiCache caching in Spring Boot?
Medium · Cloud, Java & Cloud, Redis
- View
What should Java developers know about ElastiCache vs Memorystore?
Easy · Cloud, Java & Cloud, Redis
- View
How do you prevent cache stampede and thundering herd in cloud caches?
Hard · Cloud, Java & Cloud, Redis
- View
How do you implement idempotency for cloud API handlers in Java?
Hard · Cloud, Java & Cloud, Idempotency
- View
Explain the transactional outbox pattern for reliable event publishing.
Hard · Cloud, Java & Cloud, Outbox Pattern
- View
How do you build an idempotent SQS message consumer?
Hard · Cloud, Java & Cloud, Message Consumers
- View
How do you export Micrometer metrics to CloudWatch or GCP Monitoring?
Medium · Cloud, Java & Cloud, Observability
- View
How do you add distributed tracing with OpenTelemetry in Spring Boot?
Medium · Cloud, Java & Cloud, Observability
- View
What does production-grade structured logging look like in Java cloud services?
Medium · Cloud, Java & Cloud, Observability
- View
How do you configure Spring Boot health checks for Kubernetes and ECS?
Medium · Cloud, Java & Cloud, Health Checks
- View
How does graceful shutdown work for Spring Boot on Kubernetes?
Medium · Cloud, Java & Cloud, Graceful Shutdown
- View
Outline a CI/CD pipeline deploying a Spring Boot app to AWS ECS.
Medium · Cloud, Java & Cloud, CI/CD
- View
How do CI/CD flows differ for Java apps on EKS vs GKE?
Medium · Cloud, Java & Cloud, CI/CD
- View
Explain DefaultCredentialsProvider and why static AWS keys are avoided.
Easy · Cloud, Java & Cloud, IAM & Credentials
- View
How does workload identity work for Java apps on GKE and EKS?
Medium · Cloud, Java & Cloud, IAM & Credentials
- View
What IAM practices matter for Java microservices calling AWS APIs?
Medium · Cloud, Java & Cloud, IAM & Credentials
- View
How do you apply Resilience4j circuit breakers to cloud API calls?
Medium · Cloud, Java & Cloud, Resilience4j
- View
When should you use Resilience4j retry vs SDK built-in retries?
Medium · Cloud, Java & Cloud, Resilience4j
- View
Explain bulkhead and time limiter patterns for cloud dependencies.
Hard · Cloud, Java & Cloud, Resilience4j
- View
How do Testcontainers improve integration testing for cloud-backed Java services?
Medium · Cloud, Java & Cloud, Testing
- View
What are LocalStack limitations when testing AWS integrations?
Medium · Cloud, Java & Cloud, Testing
- View
How do you test message contracts between Java services and cloud queues?
Hard · Cloud, Java & Cloud, Testing
- View
What techniques help debug production issues in cloud-hosted Java services?
Medium · Cloud, Java & Cloud, Production Debugging
- View
How do you tune database connection pools for cloud microservices?
Hard · Cloud, Java & Cloud, Connection Pooling
- View
What patterns suit large batch processing in Java on cloud?
Medium · Cloud, Java & Cloud, Batch Processing
- View
What cost-aware coding practices apply to Java cloud backends?
Medium · Cloud, Java & Cloud, Cost Optimization
- View
How do you optimize SQS throughput from a Java consumer?
Hard · Cloud, Java & Cloud, SQS
- View
What JVM and container settings matter for Spring Boot on ECS Fargate?
Hard · Cloud, Java & Cloud, ECS
- View
What is Amazon EC2 and when do you use it?
Easy · Cloud, Cloud Fundamentals, Fresher
- View
What is a load balancer and how do health checks work?
Easy · Cloud, Cloud Fundamentals, Fresher
- View
When do you choose SQL (RDS) vs NoSQL (DynamoDB) in the cloud?
Easy · Cloud, Cloud Fundamentals, Fresher
- View
What are containers and Docker, and why do clouds use them?
Easy · Cloud, Cloud Fundamentals, Fresher
- View
What is Kubernetes and why is it used on cloud?
Easy · Cloud, Cloud Fundamentals, Fresher
- View
What is CI/CD and how does it work in cloud deployments?
Easy · Cloud, Cloud Fundamentals, Fresher
- View
How does DNS work in cloud architectures?
Easy · Cloud, Cloud Fundamentals, Fresher
- View
Explain encryption at rest vs in transit in the cloud.
Easy · Cloud, Cloud Fundamentals, Fresher
- View
What is the difference between public and private subnets?
Easy · Cloud, Cloud Fundamentals, Fresher
- View
How do you achieve high availability using multiple Availability Zones?
Easy · Cloud, Cloud Fundamentals, Fresher
- View
What is cloud monitoring and why is it essential?
Easy · Cloud, Cloud Fundamentals, Fresher
- View
What is a message queue and when do you use SQS or Pub/Sub?
Easy · Cloud, Cloud Fundamentals, Fresher
- View
How do you troubleshoot VPC connectivity issues?
Medium · Cloud, Cloud Fundamentals, Fresher
- View
Explain SLI, SLO, and SLA in cloud reliability engineering.
Medium · Cloud, Cloud Fundamentals, Senior
- View
What is Amazon CloudFront and when do you use a CDN?
Easy · Cloud, AWS, Senior
- View
VPC Peering vs Transit Gateway — when to use each?
Medium · Cloud, AWS, Senior
- View
How do VPN and Direct Connect enable hybrid cloud?
Medium · Cloud, AWS, Senior
- View
What is Amazon Cognito and when do you use it?
Medium · Cloud, AWS, Senior
- View
What are AWS Glue and Athena for data analytics?
Medium · Cloud, AWS, Senior
- View
When do you choose Amazon Redshift?
Medium · Cloud, AWS, Senior
- View
What is Amazon ECR and how does it fit in container workflows?
Easy · Cloud, AWS, Fresher
- View
How do AWS Config, GuardDuty, and Security Hub improve security posture?
Medium · Cloud, AWS, Staff
- View
Terraform state management, modules, and drift detection — best practices?
Medium · Cloud, AWS, Senior
- View
How does SAML/OIDC federation work for cloud access?
Medium · Cloud, AWS, Senior
- View
How do you implement FinOps with Cost Explorer, CUR, and budgets?
Medium · Cloud, AWS, Senior
- View
What is BigQuery and when do you use it?
Medium · Cloud, GCP, Senior
- View
How does Apache Beam and Dataflow handle stream and batch processing?
Medium · Cloud, GCP, Staff
- View
What is Cloud Composer and when do you use Airflow?
Medium · Cloud, GCP, Staff
- View
What are VPC Service Controls and how do they protect data?
Hard · Cloud, GCP, Staff
- View
How does Identity-Aware Proxy (IAP) implement zero-trust access?
Hard · Cloud, GCP, Staff
- View
Design a scalable REST API on AWS or GCP.
Medium · Cloud, System Design Scenarios, Senior
- View
Design an event-driven architecture on the cloud.
Medium · Cloud, System Design Scenarios, Senior
- View
Design an e-commerce platform on AWS (catalog, cart, orders, payments).
Medium · Cloud, System Design Scenarios, Senior
- View
Design a cloud-based notification system (email, SMS, push).
Medium · Cloud, System Design Scenarios, Senior
- View
How do you design and test a cloud disaster recovery runbook?
Medium · Cloud, System Design Scenarios, Senior
- View
Design a multi-tenant SaaS application on AWS.
Hard · Cloud, System Design Scenarios, Staff
- View
Design a payment processing system on the cloud.
Hard · Cloud, System Design Scenarios, Staff
- View
Design a global video streaming platform using CDN.
Hard · Cloud, System Design Scenarios, Staff
- View
How do you migrate a production workload to the cloud with zero downtime?
Hard · Cloud, System Design Scenarios, Staff
- View
How do you design an AWS Organization with landing zones and Control Tower?
Hard · Cloud, Cloud Architecture & Strategy, Staff
- View
What is platform engineering and how do you build an Internal Developer Platform (IDP)?
Hard · Cloud, Cloud Architecture & Strategy, Staff
- View
How do you implement chaos engineering on cloud infrastructure?
Medium · Cloud, Cloud Architecture & Strategy, Staff
- View
Explain the strangler fig pattern for cloud migration.
Medium · Cloud, Cloud Architecture & Strategy, Staff
- View
When should an organisation adopt a multi-cloud strategy?
Hard · Cloud, Cloud Architecture & Strategy, Staff
- View
How do you design a cloud data lake architecture?
Hard · Cloud, Cloud Architecture & Strategy, Staff
- View
How do error budgets drive cloud reliability decisions?
Medium · Cloud, Cloud Architecture & Strategy, Staff
- View
When do you use a service mesh (Istio/Linkerd/App Mesh) on cloud?
Hard · Cloud, Cloud Architecture & Strategy, Staff
- View
How do cloud architectures address SOC 2, HIPAA, and PCI compliance?
Hard · Cloud, Cloud Architecture & Strategy, Staff
- View
How do you plan cloud capacity for viral traffic events?
Hard · Cloud, Cloud Architecture & Strategy, Staff
- View
Explain the 6 Rs of cloud migration and the Cloud Adoption Framework.
Medium · Cloud, Cloud Architecture & Strategy, Architect
- View
How do you align enterprise architecture with cloud strategy?
Hard · Cloud, Cloud Architecture & Strategy, Architect
- View
Design a hybrid and multi-cloud architecture for a global enterprise.
Hard · Cloud, Cloud Architecture & Strategy, Architect
- View
How do you establish a FinOps Center of Excellence?
Hard · Cloud, Cloud Architecture & Strategy, Architect
- View
What is a lakehouse and how do you govern data across cloud platforms?
Hard · Cloud, Cloud Architecture & Strategy, Architect
- View
How would you present a 3-year cloud strategy to executive leadership?
Hard · Cloud, Cloud Architecture & Strategy, Architect
- View
Explain unit economics and chargeback models in cloud.
Hard · Cloud, Cloud Architecture & Strategy, Architect
- View
How do you design cloud infrastructure for AI/ML at scale?
Hard · Cloud, Cloud Architecture & Strategy, Architect
- View
How do you design sustainable, carbon-aware cloud workloads?
Medium · Cloud, Cloud Architecture & Strategy, Architect
- View
How do you decide build vs buy for cloud platform capabilities?
Hard · Cloud, Cloud Architecture & Strategy, Architect
- View
Design an enterprise cloud landing zone for 50+ development teams.
Hard · Cloud, Cloud Architecture & Strategy, Architect