AWS Interview Questions and Answers

AWS interviews start with the core services and when to choose each: EC2 and auto scaling, S3 storage classes and consistency, IAM users, roles and policies, VPC subnets, route tables and security groups, load balancers, and managed databases such as RDS and DynamoDB.

Senior rounds ask you to design on AWS: high availability across availability zones, cost control, serverless with Lambda and API Gateway, queues and event-driven designs (SQS, SNS, EventBridge), monitoring with CloudWatch, and security best practice such as least privilege and encryption.

Questions

Related

Frequently asked questions

What is the difference between a security group and a network ACL?

A security group is a stateful firewall at the instance level; a network ACL is a stateless firewall at the subnet level, with separate inbound and outbound rules.

When would you use Lambda instead of EC2?

For short, event-driven or spiky workloads where you do not want to manage servers. Use EC2 for long-running processes, special hardware or predictable steady load.

How do you make an application highly available on AWS?

Run across multiple availability zones behind a load balancer, use auto scaling, keep state in managed multi-AZ services, and test failover.