2052 AWS Interview Questions and Answers for Freshers and Experienced (Complete Set)
This is the complete set of 2052 AWS interview questions with full answers, written in easy English. The questions are split into 43 topic pages in three sets. Every question is labelled Fresher, Mid level or Senior, so you can practise at the right level.
1. An everyday example: preparing for a driving test
Interviewers do not want you to recite the AWS website. They want to see that you can explain a service simply, choose the right option, and fix problems calmly. A large, well-organised question bank helps you practise all three.
Think of learning to drive. First you learn the controls. Then you drive in traffic. Finally you handle a breakdown on the highway. Fresher questions are the controls, mid-level questions are the traffic, and senior scenario questions are the breakdown.
How to use this set
- Start with Set 1 for the core services. Then use Set 2 for deeper topics: RDS, hosting apps, Linux on EC2, networking, security and real incidents.
- Use Set 3 for hands-on CLI practice, SQL, storage, "difference between" questions, cost optimisation, APIs and HTTPS, web security, disaster recovery, migration and the most frequently asked questions.
- Pick one topic page per study session.
- Answer each question aloud in 30 to 90 seconds before you open the answer.
- Mark the ones you missed and revise them the next morning.
- Run the safe, read-only CLI commands in your own practice account.
- Before the interview, revise the senior scenarios of the topics in the job description.
2. All topic pages
Total: 2052 questions. Fresher: 701, Mid level: 737, Senior: 614.
Set 1: core AWS services (500 questions)
Fresher: 170, Mid level: 180, Senior: 150.
| # | Topic page | What it covers | Questions | Fresher / Mid / Senior |
|---|---|---|---|---|
| 1 | AWS IAM and Security Interview Questions and Answers (50 Questions for Freshers to Senior) | IAM users, roles and policies, STS, Identity Center, SCPs, KMS, Secrets Manager, GuardDuty, WAF and security incidents | 50 | 17 / 18 / 15 |
| 2 | AWS VPC and Networking Interview Questions and Answers (50 Questions with Scenarios) | VPC, CIDR, subnets, route tables, security groups, NACLs, NAT, endpoints, peering, Transit Gateway, Route 53 and network troubleshooting | 50 | 17 / 18 / 15 |
| 3 | AWS EC2, EBS, Auto Scaling and Load Balancer Interview Questions and Answers (50 Questions) | EC2 instance types and pricing, AMIs, EBS and snapshots, Auto Scaling groups, ALB and NLB, 502/503/504 errors | 50 | 17 / 18 / 15 |
| 4 | AWS S3 and Storage Interview Questions and Answers (50 Questions on S3, EFS, FSx and Backup) | S3 storage classes, versioning, lifecycle, replication, encryption, presigned URLs, performance, EFS, FSx, DataSync and AWS Backup | 50 | 17 / 18 / 15 |
| 5 | AWS Database Interview Questions and Answers: RDS, Aurora, DynamoDB and ElastiCache (50 Questions) | RDS, Multi-AZ, read replicas, Aurora, DynamoDB keys, capacity and indexes, ElastiCache, DMS and database incidents | 50 | 17 / 18 / 15 |
| 6 | AWS Lambda and Serverless Interview Questions and Answers (50 Questions on Lambda, API Gateway, SQS, SNS, EventBridge, Step Functions) | Lambda, API Gateway, SQS, SNS, EventBridge, Step Functions, retries, idempotency and serverless troubleshooting | 50 | 17 / 18 / 15 |
| 7 | AWS Container Interview Questions and Answers: ECS, EKS, Fargate and ECR (50 Questions) | Docker basics on AWS, ECR, ECS tasks and services, Fargate, EKS, IAM for pods, scaling and container troubleshooting | 50 | 17 / 18 / 15 |
| 8 | AWS Monitoring Interview Questions and Answers: CloudWatch, CloudTrail, Config and Systems Manager (50 Questions) | CloudWatch metrics, logs and alarms, CloudTrail, AWS Config, X-Ray, Systems Manager and incident response | 50 | 17 / 18 / 15 |
| 9 | AWS Infrastructure as Code Interview Questions and Answers: CloudFormation, CDK, CLI, Terraform and CI/CD (50 Questions) | CloudFormation, change sets, drift, StackSets, CDK, AWS CLI, Terraform on AWS and CI/CD pipelines | 50 | 17 / 18 / 15 |
| 10 | AWS Architecture Interview Questions and Answers: High Availability, Disaster Recovery, Cost and Scenarios (50 Questions) | Well-Architected, high availability, disaster recovery, cost optimisation, migration and system design scenarios | 50 | 17 / 18 / 15 |
Set 2: RDS, hosting apps, Linux, networking, security and real scenarios (500 questions)
Fresher: 170, Mid level: 180, Senior: 150.
| # | Topic page | What it covers | Questions | Fresher / Mid / Senior |
|---|---|---|---|---|
| 11 | Amazon RDS Interview Questions and Answers: Backups, Multi-AZ, Read Replicas, Encryption and Troubleshooting (50 Questions) | RDS engines, instance classes, storage, Multi-AZ, read replicas, backups and PITR, parameter groups, encryption, IAM auth, RDS Proxy, blue/green, connections and failover | 50 | 17 / 18 / 15 |
| 12 | Hosting Node.js, Python, Java, PHP and .NET Websites on AWS: Interview Questions and Answers (50 Questions) | Static sites on S3 and CloudFront, Amplify, Node.js, Python, Java, PHP, .NET, Go and Ruby on EC2, Elastic Beanstalk, ECS, Lambda and App Runner, Nginx, HTTPS, domains and deploy errors | 50 | 17 / 18 / 15 |
| 13 | Linux on AWS EC2 Interview Questions and Answers for Cloud Engineers (50 Questions) | Amazon Linux and Ubuntu on EC2: cloud-init, user data, IMDSv2, EBS and NVMe disks, growing file systems, packages, users, SSM agent and time sync | 50 | 17 / 18 / 15 |
| 14 | Linux Troubleshooting Interview Questions on AWS EC2 Servers: SSH, Boot, Disk, CPU, Memory and Network (50 Questions) | EC2 Linux troubleshooting: SSH and boot failures, full disks, high CPU and memory, network checks, logs, services and recovery with serial console and rescue instances | 50 | 17 / 18 / 15 |
| 15 | AWS Networking Interview Questions and Answers: Route 53, CloudFront, Transit Gateway, Direct Connect and VPN (50 Questions) | Route 53 records and Resolver, CloudFront behaviours and caching, Global Accelerator, Transit Gateway, Direct Connect, Site-to-Site VPN, PrivateLink and IPv6 | 50 | 17 / 18 / 15 |
| 16 | AWS Security Services Interview Questions and Answers: KMS, WAF, Shield, GuardDuty, Inspector, Macie and Security Hub (50 Questions) | KMS keys and policies, Secrets Manager, ACM, WAF rules, Shield, GuardDuty, Inspector, Macie, Security Hub, Detective and incident response | 50 | 17 / 18 / 15 |
| 17 | AWS Multi-Account Interview Questions and Answers: Organizations, SCPs, Control Tower and IAM Identity Center (50 Questions) | AWS Organizations, OUs, SCPs, Control Tower, IAM Identity Center, delegated admin, RAM sharing, tagging and account vending | 50 | 17 / 18 / 15 |
| 18 | AWS Data Analytics and AI Interview Questions and Answers: Kinesis, Glue, Athena, Redshift, EMR, SageMaker and Bedrock (50 Questions) | Kinesis, Data Firehose, MSK, Glue, Athena, EMR, Redshift, Lake Formation, SageMaker AI and Bedrock basics | 50 | 17 / 18 / 15 |
| 19 | AWS DevOps and Migration Interview Questions and Answers: CodePipeline, CodeBuild, CodeDeploy, DMS, Application Migration Service and DataSync (50 Questions) | CodePipeline, CodeBuild, CodeDeploy, blue/green and canary releases, artifacts, DMS, Application Migration Service, DataSync and Transfer Family | 50 | 17 / 18 / 15 |
| 20 | AWS Troubleshooting Scenario Interview Questions: Site Down, What Do You Check First? Plus Well-Architected Questions (50 Questions) | Real incident scenarios: site down, slow pages, access denied, high bills, failed deployments, plus Well-Architected review questions | 50 | 17 / 18 / 15 |
Set 3: hands-on services, SQL, storage, comparisons, cost, APIs, security, DR, migration and most asked (1052 questions)
Fresher: 361, Mid level: 377, Senior: 314.
| # | Topic page | What it covers | Questions | Fresher / Mid / Senior |
|---|---|---|---|---|
| 21 | AWS EC2 Hands-On Interview Questions: CLI Commands, Launch Templates and Instance Troubleshooting (50 Questions) | EC2 from the CLI: queries and filters, launch templates, instance states, placement groups, hibernation, CPU credits, Nitro and ENA, AMI copy and sharing, Image Builder, instance refresh, warm pools and launch errors | 50 | 17 / 18 / 15 |
| 22 | AWS Lambda and Serverless Scenario Interview Questions: SAM, Aliases, Powertools and Real Designs (50 Questions) | SAM templates and deploys, versions and aliases, canary releases, container images, function URLs, response streaming, extensions, Powertools, partial batch failures, Pipes, Scheduler, Step Functions patterns and serverless designs | 50 | 17 / 18 / 15 |
| 23 | Amazon ECS and EKS Hands-On Interview Questions: AWS CLI, kubectl and Real Debugging (50 Questions) | ECS stopped reasons, service events, circuit breaker, Fargate sizes, private subnets, Container Insights, kubectl events and rollouts, EKS add-ons, access entries, control plane logs, node issues and Karpenter | 50 | 17 / 18 / 15 |
| 24 | Amazon DynamoDB Hands-On Interview Questions: CLI Queries, Expressions, Errors and Operations (50 Questions) | DynamoDB from the CLI: put, get, update and query, expressions and reserved words, pagination, batch calls, error codes, export and import with S3, backups and PITR, Contributor Insights, resource policies and warm throughput | 50 | 17 / 18 / 15 |
| 25 | Amazon Aurora and Redshift Interview Questions: Deep Dive with CLI, Scaling and Performance (50 Questions) | Aurora storage, failover tiers, cloning, Backtrack, custom endpoints, replica auto scaling, I/O-Optimized, Serverless v2, write forwarding, Global switchover; Redshift Serverless and RA3, WLM, concurrency scaling, COPY and UNLOAD, data sharing and zero-ETL | 50 | 17 / 18 / 15 |
| 26 | AWS VPC Hands-On Interview Questions: Subnets, Route Tables, NAT, VPN and Direct Connect with CLI (50 Questions) | Building VPCs from the CLI, subnet attributes, real route table lookups, blackhole routes, prefix lists, secondary CIDRs, NAT port exhaustion, private NAT, VPN tunnel status and BGP, Direct Connect VIFs, LAGs, MACsec and failover tests | 50 | 17 / 18 / 15 |
| 27 | AWS IAM, KMS, Secrets Manager and GuardDuty Interview Questions: Hands-On CLI and Security Scenarios (50 Questions) | IAM policy simulator, credential reports, conditions, decoding failures, role chaining, session tags, OIDC trust; KMS data keys, key states, throttling, BYOK; Secrets Manager labels and rotation; GuardDuty findings, plans and alerts | 50 | 17 / 18 / 15 |
| 28 | AWS CloudWatch, CloudTrail and X-Ray Debugging Interview Questions Plus SQS, SNS, EventBridge, API Gateway and Systems Manager (50 Questions) | Custom metrics, percentiles, metric math alarms, alarm history, log retention and classes, Live Tail, CloudTrail lookups and Lake queries, X-Ray sampling and annotations, SQS DLQ redrive, SNS filters, EventBridge transformers, API Gateway logs and caching, Systems Manager | 50 | 17 / 18 / 15 |
| 29 | SQL Interview Questions for AWS Cloud Engineers: Queries, Joins, Window Functions and Indexes on RDS (50 Questions) | Relational basics, keys, psql and mysql on RDS, outer, self and cross joins, anti-joins, subqueries, CTEs, window functions, top N per group, composite, covering, partial and expression indexes, online index builds, schema design | 50 | 17 / 18 / 15 |
| 30 | SQL Interview Questions for AWS Cloud Engineers: Transactions, Isolation Levels, EXPLAIN Tuning and SQL on RDS, Aurora, Redshift and DynamoDB PartiQL (50 Questions) | ACID, commits and savepoints, isolation levels and anomalies, locking and SKIP LOCKED, deadlocks, normalization and star schemas, EXPLAIN tuning, pg_stat_statements, bloat, blocking sessions, partitioning, S3 loads, Redshift SQL, DynamoDB PartiQL | 50 | 17 / 18 / 15 |
| 31 | Amazon S3 and Glacier Storage Interview Questions: CLI, Lifecycle, Replication, Encryption and Recovery Scenarios (50 Questions) | head-object, prefix sizing, storage class changes, Deep Archive restores, Inventory, Batch Operations, checksums, Requester Pays, Transfer Acceleration, CORS, versioned lifecycle, KMS replication, Multi-Region Access Points, Access Grants, conditional writes, recovery scenarios | 50 | 17 / 18 / 15 |
| 32 | AWS EBS, EFS, FSx, Storage Gateway and AWS Backup Interview Questions: Snapshots, Performance and Hybrid Storage (50 Questions) | io2 Block Express, st1 and sc1, Multi-Attach, Elastic Volumes, incremental and multi-volume snapshots, archive, Recycle Bin, snapshot lock, Fast Snapshot Restore, DLM, EFS mount targets, access points, throughput and replication, FSx types, Storage Gateway, AWS Backup plans and Vault Lock | 50 | 17 / 18 / 15 |
| 33 | AWS Difference Between Interview Questions: Compute, Storage and Database Comparisons with Tables (Lambda vs EC2, S3 vs EBS, RDS vs DynamoDB) (50 Questions) | Comparison tables for Lambda, EC2, Fargate, ECS, EKS, Beanstalk, Batch, placement groups, Graviton, S3, EBS, EFS, FSx, Glacier classes, RDS, Aurora, DynamoDB, Redshift, DocumentDB, ElastiCache, MemoryDB, Neptune, OpenSearch | 50 | 17 / 18 / 15 |
| 34 | AWS Difference Between Interview Questions: Networking, Messaging, Security and DevOps Comparisons with Tables (SQS vs SNS vs EventBridge, VPN vs Direct Connect) (50 Questions) | Comparison tables for security groups, NACLs, NAT, ALB, NLB, VPN, Direct Connect, peering, Transit Gateway, Cloud WAN, SQS, SNS, EventBridge, Kinesis, MSK, Amazon MQ, AppSync, CloudWatch, CloudTrail, Config, KMS, CloudHSM, Secrets Manager, IaC tools and deployment styles | 50 | 17 / 18 / 15 |
| 35 | AWS Cost Optimization Interview Questions: Compute Optimizer, Savings Plans vs Reserved Instances, Spot, Lambda and Fargate Tuning (50 Questions) | Compute Optimizer, Savings Plans types and sizing, utilization and coverage, RIs, capacity reservations, Spot notices and allocation, mixed instances, Graviton, Lambda and Fargate tuning, RDS and licence costs, FinOps scenarios | 50 | 17 / 18 / 15 |
| 36 | AWS Cost Optimization Interview Questions: Storage, Data Transfer, Tagging, Budgets, CUR and FinOps Scenarios (50 Questions) | Parts of S3 bills, gp3, orphaned volumes and snapshots, public IPv4, free vs charged transfer, NAT and cross-AZ costs, CloudFront and DX egress, tags, Budgets, anomaly detection, CUR with Athena, showback, unit costs, FinOps scenarios | 50 | 17 / 18 / 15 |
| 37 | CloudFront, IAM, Lambda and DynamoDB Interview Questions (Deep Dive): 90 Advanced Questions with CLI Examples | CloudFront invalidations, policies, signed URLs and cookies, geo restriction, staging distributions; IAM evaluation, boundaries, SCP testing, Access Analyzer; Lambda invocation, concurrency, ESMs, SnapStart; DynamoDB single-table, sharding, streams, global tables | 90 | 31 / 32 / 27 |
| 38 | API and HTTPS Interview Questions for AWS Engineers: REST, HTTP Methods, Status Codes, TLS and API Testing (35 Questions) | API basics, HTTP methods, status codes, TLS handshake, SNI, certificate chains, idempotency keys, versioning, pagination, API auth, mTLS, HSTS, curl, SigV4, Postman, Newman, contract tests, load tests, synthetic canaries | 35 | 12 / 13 / 10 |
| 39 | Microservices vs Monolith vs Serverless and Push vs Pull Notification Interview Questions (40 Questions with AWS Examples) | microservices, monolith, serverless, bounded contexts, service boundaries, database per service, outbox, sagas, service discovery, strangler fig, push vs pull, polling, webhooks, WebSockets, SNS mobile push, SES, End User Messaging, Pinpoint end of support | 40 | 14 / 14 / 12 |
| 40 | How to Prevent Hacking of a Web Application: Web Security Interview Questions on SQL Injection, XSS, CSRF and DDoS Defence (20 Questions) | how to prevent hacking, layered defence, SQL injection, XSS, CSRF, security headers, CSP, clickjacking, AWS WAF managed rules, CAPTCHA, SSRF-safe URL fetching, secrets, dependency scanning, STRIDE, CI/CD security gates | 20 | 7 / 7 / 6 |
| 41 | Fault Tolerance, High Availability and Disaster Recovery Interview Questions on AWS: Nines, Static Stability, Zonal Shift, Chaos Tests and Restore Testing (20 Questions) | fault tolerance vs HA vs resilience, availability nines, single points of failure, self-healing, stateless servers, graceful degradation, static stability, ARC zonal shift and autoshift, AWS FIS, composite availability, retry storms, health checks, Resilience Hub, cells, air-gapped backups, restore testing, Elastic Disaster Recovery | 20 | 7 / 7 / 6 |
| 42 | AWS Data Migration Interview Questions: MySQL to RDS, MySQL to PostgreSQL, RDS to DynamoDB, DMS, MGN, DataSync and S3 Transfers (20 Questions) | homogeneous vs heterogeneous, cloud to cloud, MySQL to RDS options, binlog settings, MySQL to PostgreSQL types, SCT vs DMS Schema Conversion, DMS table mappings, cutover runbook, data transfer tool choice, Glue and Kinesis pipelines, Cloud Migration Factory, RDS to DynamoDB, rollback, hybrid, EBS snapshot copy, S3 Batch Replication, retired tools | 20 | 7 / 7 / 6 |
| 43 | Most Asked AWS Interview Questions in MNC Interviews: 27 Frequently Asked Questions Not Covered Elsewhere (with CLI and Code) | most asked AWS interview questions at MNCs: NAT and NACL, route tables, S3 consistency and object size, EBS on termination, scaling types, EKS creation, boto3, CodePipeline, ECR pull policy, scheduled snapshots, cross-account Lambda to S3, Terraform drift, EKS node roles, instance types, safe automation, database scaling, production-ready containers, behavioural questions | 27 | 11 / 9 / 7 |
3. The answer pattern that works in every AWS interview
A clear structure stops you from rambling and shows the interviewer how you think.
Use four short steps: what it is, why it is used, how you set it up or fix it, and one real example from a project or lab.
- What: one simple sentence. For example, "An SQS queue holds messages until a consumer processes them."
- Why: the problem it solves. For example, "It decouples services so a slow consumer does not break the producer."
- How: the main settings or steps, such as visibility timeout and a dead-letter queue.
- Example: "In my lab, orders went to a queue and a Lambda function processed them in batches of 10."
4. Study plan for six weeks
- Week 1: IAM, VPC, EC2, S3 and the two Linux on EC2 pages, plus the most asked questions page.
- Week 2: databases, the RDS page, the two SQL pages, DynamoDB, Aurora and Redshift.
- Week 3: serverless, containers, hosting apps, APIs and HTTPS, and architecture styles.
- Week 4: storage pages, networking, VPN and Direct Connect, monitoring and IaC.
- Week 5: security pages, web security, multi-account, DevOps, migration and data analytics.
- Week 6: "difference between" pages, cost optimisation, high availability and disaster recovery, troubleshooting scenarios, then mock interviews with a friend.
5. Frequently asked questions
Are these the exact questions companies ask?
They are typical of what service companies, product companies and startups ask for AWS, cloud, DevOps and support roles. Each interviewer is different, so learn the idea behind each answer, not the exact words.
Are the facts current?
The answers were checked against current AWS documentation when each set was written. AWS changes limits, prices and features often, so for numbers such as quotas, say "the current default is" and check the documentation before you rely on it at work.
I am a fresher. Should I read the senior questions?
Yes, read them once for ideas. But spend most of your time on fresher and mid-level questions, and practise the hands-on labs in this course.
Is there a certification dump here?
No. All questions and answers are original teaching material written for this course. Use them to understand AWS, not to memorise exam answers.
6. More interview practice
- Linux Complete Interview Pack 1: 300 Linux Interview Questions and Answers for Beginner, Mid and Senior Level
- Linux Complete Interview Pack 2: 150 Shell Scripting Interview Questions and Answers with Coding Exercises
- Linux Complete Interview Pack 3: Linux Interview Questions Commonly Asked at TCS, Infosys, Accenture, Wipro, Amazon, Google and Red Hat, with RHCSA-Style Tasks
- Quick-Revision Summary (All Chapters)
- AWS Well-Architected Framework: Six Pillars Explained for Beginners