How to Use This Lesson
Read each answer, then say it in your own words out loud. Interviewers like short answers with one real example.
Cloud and Global Infrastructure
Q1. What is cloud computing?
Using computing resources (servers, storage, databases) over the internet on demand and paying only for what you use, instead of buying and running your own hardware.
Q2. What are the benefits of the AWS cloud?
Pay-as-you-go cost, fast setup, scaling up and down with demand, global reach, high availability and strong security tools.
Q3. What is a Region and an Availability Zone?
A Region is a geographic area with several separate data center groups. An Availability Zone is one or more data centers in a Region with independent power and network. Use at least two AZs for high availability.
Q4. What is an edge location?
A site used by CloudFront and Route 53 to deliver content close to users and reduce delay.
Q5. What is the shared responsibility model?
AWS secures the cloud itself (hardware, data centers, network). You secure what you put in the cloud (data, IAM, OS patches on EC2, security group rules, encryption choices). The split changes by service: more is AWS's job with managed services such as RDS or Lambda.
IAM and Security
Q1. What is IAM?
Identity and Access Management controls who can do what in AWS using users, groups, roles and policies. It is global and free.
Q2. User vs role?
A user has long-term credentials for one person. A role has temporary credentials and is assumed by services, applications or other accounts. Prefer roles for EC2 and Lambda.
Q3. What is the principle of least privilege?
Give only the permissions needed for the job and nothing more.
Q4. Why protect the root user?
It has full control and cannot be limited by IAM policies. Enable MFA, do not create access keys for it and do not use it daily.
Q5. What is MFA?
Multi-factor authentication adds a second proof, such as a code from an app, beyond the password.
Q6. Security group vs network ACL?
A security group is a stateful firewall on the instance or network interface with allow rules only. A network ACL is a stateless firewall on the subnet with allow and deny rules.
Q7. What does CloudTrail do?
Records API calls and console actions in your account: who did what, when and from where. It is used for auditing and investigation.
Compute
Q1. What is EC2?
Elastic Compute Cloud gives you virtual servers. You choose the operating system, size, storage and network.
Q2. What are EC2 purchase options?
On-Demand for flexibility, Savings Plans and Reserved for steady use with a discount, Spot for interruptible work at a large discount and Dedicated Hosts for licensing or compliance.
Q3. What is an AMI?
An Amazon Machine Image is a template with the operating system and software used to launch instances.
Q4. What is user data?
A script that runs at first boot to install and configure software.
Q5. What is AWS Lambda?
A serverless service that runs your code in response to events. You pay per request and run time, with no servers to manage.
Q6. ECS vs EKS vs Fargate?
ECS is AWS's container service. EKS is managed Kubernetes. Fargate runs containers without managing servers and works with both.
Storage
Q1. What is S3?
Simple Storage Service is object storage with very high durability for files of any type, organized in buckets.
Q2. Name S3 storage classes.
Standard, Intelligent-Tiering, Standard-IA, One Zone-IA, Glacier Instant Retrieval, Glacier Flexible Retrieval and Glacier Deep Archive. Colder classes cost less to store but more or slower to retrieve.
Q3. How do you secure an S3 bucket?
Keep Block Public Access on, use IAM and bucket policies, enable default encryption, turn on versioning and logging, and use pre-signed URLs for temporary sharing.
Q4. EBS vs EFS vs S3?
EBS is a block disk for one EC2 instance (in one AZ). EFS is a shared network file system for many Linux instances. S3 is object storage accessed over HTTP.
Q5. What is a snapshot?
A point-in-time backup of an EBS volume stored in S3-backed storage. Snapshots are incremental.
Networking and Databases
Q1. What is a VPC?
A Virtual Private Cloud is your own isolated network in AWS where you define IP ranges, subnets, routes and gateways.
Q2. Public vs private subnet?
A public subnet has a route to an Internet Gateway. A private subnet has no direct route and uses a NAT gateway for outbound internet if needed.
Q3. What does a NAT gateway do?
Lets private instances reach the internet for updates without allowing inbound connections from the internet.
Q4. What is Route 53?
AWS's DNS service. It also supports health checks and routing policies such as failover, latency and weighted.
Q5. RDS vs DynamoDB?
RDS is managed relational SQL (MySQL, PostgreSQL and others). DynamoDB is a managed NoSQL key-value and document database with single-digit millisecond speed at any scale.
Q6. What is RDS Multi-AZ?
A standby copy in another AZ with automatic failover for high availability. It is not meant for read scaling. Read replicas scale reads.
Q7. What is a load balancer?
It spreads traffic across healthy targets in several AZs. ALB handles HTTP and HTTPS with path and host rules, NLB handles TCP and UDP with very high performance.
Conclusion
Know the basics clearly: Regions and AZs, shared responsibility, IAM, EC2, S3, VPC, databases and load balancers. Give short answers with an example.

