aws Interview Questions

Beginner Level8 questions
Amazon's cloud platform with 200+ services — compute, storage, databases on demand.
Virtual server in the cloud — rent compute power with custom CPU, RAM, and OS.
Object storage service — store files, host static websites, 99.999999999% durable.
Controls who can access what in AWS — users, roles, permissions, policies.
Regions = geographic areas; AZs = isolated data centers within a region.
Network of global servers caching content close to users for faster delivery.
Virtual firewall for EC2 — controls which ports and IPs can access your server.
Managed relational database — AWS handles backups, patches, scaling for you.
Intermediate Level11 questions
Launch EC2 → SSH → install Node.js → clone repo → PM2 + Nginx → open ports.
Build React → upload to S3 → CloudFront CDN → custom domain via Route 53.
PaaS that auto-manages EC2, scaling, load balancing — just upload your code.
Node.js process manager — auto-restart, cluster mode, logs, survives reboots.
Nginx handles HTTP/HTTPS on port 80/443 and forwards to Node.js on port 3000.
Use Parameter Store (free) or Secrets Manager — never commit .env to Git.
AWS DNS service — maps domains to IPs, supports routing policies and health checks.
Distributes traffic across EC2 instances — ALB for HTTP, NLB for TCP/UDP.
Automatically adds/removes EC2 instances based on demand — scales up and down.
AWS monitoring service — metrics, logs, alarms for tracking app health.
ECR stores Docker images; ECS runs containers — use Fargate for serverless containers.
Advanced Level11 questions
React on S3+CloudFront, Node.js on EC2+Nginx+PM2, MongoDB Atlas, Route 53+ACM.
GitHub Actions: push → build → deploy to S3/EC2 automatically on every commit.
AWS CDN — caches content at edge locations worldwide for faster delivery + free HTTPS.
ACM for free SSL + CloudFront/ALB, or Certbot + Nginx on EC2.
Serverless functions — write code, set trigger, pay per execution. No servers to manage.
CloudWatch alarms trigger Auto Scaling; ALB health checks replace unhealthy instances.
AWS MongoDB-compatible DB inside your VPC — vs Atlas which is fully managed with free tier.
Isolated network — public subnets for ALB, private subnets for EC2/DB, secured with SGs.
Web firewall on CloudFront/ALB — blocks SQL injection, XSS, DDoS, bad bots.
AWS email service — send verification, reset, notification emails from Node.js cheaply.
Managed Redis/Memcached — cache API responses, store sessions, reduce DB load.