# Top AWS Interview Questions

Aced (formerly Exponent) publishes a public search API over its indexed pages; the guide is at https://www.aced.io/agents/agent-access.

Source: https://www.aced.io/blog/top-aws-interview-questions
Source observed: 2026-11-04T21:34:32.233Z
Last checked: 2026-11-04T21:34:32.233+00:00
Indexed: 2026-11-05T09:16:28.084+00:00

---

# Top AWS Interview Questions

We created this guide for candidates preparing for cloud engineering, AWS, and Amazon interviews. It explains common AWS concepts and provides a short preview of our [Amazon Interview Course](https://www.aced.io/courses/amazon-interview/?src=blog&ref=exponent-blog.ghost.io), including video answers to behavioral prompts such as solving a customer pain point, solving a complex problem, and raising the bar. The article was written by [Hrittik Roy](https://www.linkedin.com/in/hrittikhere/?ref=exponent-blog.ghost.io) and is tagged [Amazon](https://www.aced.io/blog/tag/amazon).

![Aced article illustration](https://storage.ghost.io/c/a5/f5/a5f5c2f0-4c62-43c7-891b-662a0b6d68b3/content/images/2022/06/mega-creator--2-.png)

## AWS fundamentals

### What is Amazon Web Services?

[AWS](https://aws.amazon.com/?ref=exponent-blog.ghost.io) is Amazon’s cloud vendor, offering storage, networking, analytics, and other services. AWS can reduce infrastructure costs and make scaling easier than on-premises infrastructure through [pay-as-you-go pricing](https://aws.amazon.com/pricing/?ref=exponent-blog.ghost.io).

The article notes that AWS held a **33% worldwide cloud-infrastructure market share in Q4 2021**, more than [Microsoft Azure](https://azure.microsoft.com/en-in/?ref=exponent-blog.ghost.io) and [Google Cloud](https://cloud.google.com/?ref=exponent-blog.ghost.io) combined. It also names [Netflix](https://www.aced.io/companies/netflix?ref=exponent-blog.ghost.io), Adobe, and other enterprises as AWS customers.

### What is S3 and how does it work?

Amazon S3 is scalable storage designed to provide security and performance. It stores data in **buckets**, which contain **objects**. An object can be a file with or without metadata. You must create a bucket before storing data; the article says a bucket has no size limit. Each object receives a unique key (name) and version ID, and duplicate keys are not allowed within a bucket.

### How many S3 buckets can you have?

The article gives a default limit of **100 buckets per AWS account** and says you can request an increase to **1,000 buckets**.

### How do you make a request to an S3 server?

S3 is a REST service. You can contact it through the REST API or an AWS SDK wrapper. The article also says the S3 stream wrapper lets users retrieve and store data using PHP functions.

## Load balancing and scaling

### What are load balancers?

![Load balancer diagram: users connect through the internet to a load balancer, which distributes traffic among multiple servers.](https://storage.ghost.io/c/a5/f5/a5f5c2f0-4c62-43c7-891b-662a0b6d68b3/content/images/2022/07/load_balancer_891b3528f0.png)

Load balancers act as reverse proxies that distribute incoming traffic across servers. The two types covered are:

- **Network Load Balancers (Layer 4/L4):** balance traffic at the transport layer using protocols such as IP, TCP, FTP, and UDP. Algorithms include round robin, weighted round robin, least response time, and fewest connections.
- **Application Load Balancers (Layer 7/L7):** balance traffic at the application layer, such as HTTP. They can distribute traffic using cookies, SSL sessions, HTTP headers, and other parameters.

Benefits include improved performance, reduced response time, and increased availability. If some server instances fail, traffic can be directed to the remaining servers. For interview preparation, see [How to cover load balancing in a system design interview](https://www.aced.io/courses/system-design-interviews/load-balancers?ref=exponent-blog.ghost.io).

### Horizontal scaling versus vertical scaling

**Vertical scaling** increases the compute, storage, or I/O resources of one server. **Horizontal scaling** adds servers to a load-balanced pool to handle more traffic.

### How do you vertically scale an Amazon instance?

1. Create and start a new instance with more storage than the current instance.
2. Pause the instance and detach the volume.
3. Completely stop the currently running instance and detach it.
4. Find the device’s unique ID and attach it to the root of the new server instance.
5. Restart the instance.

### Can you upload files larger than 100 MB with Amazon S3?

Yes. Use the AWS multipart upload tool to split a file into independently uploaded pieces. Uploading pieces concurrently can increase speed; after completion, AWS merges them into one object.

### When should an organization use a hybrid cloud architecture?

A business can keep sensitive data on private, local servers while using the public cloud for resource-intensive workloads. A hybrid cloud can preserve security while reducing workload on local infrastructure.

## Databases and containers

### SQL versus NoSQL

SQL databases use a relational model and tabular structure. They are described here as ACID-compliant—Atomicity, Consistency, Isolation, and Durability—and are commonly scaled vertically; sharding must be implemented manually. [Amazon RDS](https://aws.amazon.com/rds/?ref=exponent-blog.ghost.io) is given as a SQL example.

NoSQL databases use a non-relational model and can support dynamic schemas for unstructured data. They are described as easier to scale horizontally and as having built-in sharding. [Amazon DynamoDB](https://aws.amazon.com/dynamodb/?ref=exponent-blog.ghost.io) is given as a NoSQL example.

### What is database sharding?

Database sharding horizontally partitions a database into smaller pieces called shards. Each shard is stored on a separate server and contains part of the data. Sharding can improve performance, scalability, and availability; it is built into NoSQL databases and can be implemented manually in SQL databases.

### How do EKS and ECS compare?

[Amazon Elastic Kubernetes Service (EKS)](https://aws.amazon.com/eks/?ref=exponent-blog.ghost.io) is a managed Kubernetes service compatible with the open-source Kubernetes API. The article lists storage, networking, security, monitoring, and logging among its supported features.

[Amazon Elastic Container Solution (ECS)](https://aws.amazon.com/ecs/?ref=exponent-blog.ghost.io) is a container-management service for running and managing Docker containers on Amazon EC2 machines. Its APIs abstract container-management details and support running applications at scale. See also our [Docker interview questions](https://www.aced.io/blog/top-docker-interview-questions/?ref=exponent-blog.ghost.io).

## AWS and OpenStack

AWS and [OpenStack](https://www.openstack.org/?ref=exponent-blog.ghost.io) both provide on-demand pools of resources for building, testing, and deploying applications. AWS is described as the more mature platform, with a broader set of services and features and better suitability for large-scale deployments. OpenStack is described as a more customizable, flexible open-source platform suited to private-cloud deployments and environments requiring more control.

| Service | OpenStack | AWS |
| --- | --- | --- |
| Virtual Servers | Nova Instance | EC2 |
| Docker | Magnum | ECS |
| Scalability | Heat with Scaling | AWS Scaling |
| Load Balancing | LBaas | Elastic Load Balancing |
| API | OpenStack API | EC2 AP |
| GUI | Horizon | Console |
| Storage Object | Swift | S3 |
| Block Storage | Cinder | EBS |
| Networking | Neutron | Networking |

## Identity, networking, and architecture

### Authentication versus authorization

**Authentication** verifies a user’s identity. **Authorization** grants resources to a user who has already been authenticated. For example, checking a username and password is authentication; checking whether the logged-in user may view a page is authorization.

### What are key pairs in AWS?

A key pair contains a public key for data encryption and a private key for data decryption.

### How many Elastic IPs can AWS generate?

The article gives a maximum of **5 VPC Elastic IP addresses per AWS account**.

### What are the principles of system design?

Important principles include maintainability, scalability, availability, efficiency, and reliability. We also provide a [system design interview guide](https://www.aced.io/blog/system-design-interview-guide?ref=exponent-blog.ghost.io).

### What AWS service is commonly used for data archiving?

[Amazon Glacier](https://aws.amazon.com/s3/storage-classes/glacier/?ref=exponent-blog.ghost.io) is described as an extremely low-priced service commonly used for data archiving.

### What is an AWS CUR?

An [AWS Cost & Usage Report (CUR)](https://docs.aws.amazon.com/cur/latest/userguide/what-is-cur.html?ref=exponent-blog.ghost.io) reports AWS account costs and usage, including usage, charges, refunds, and credits. The article links to a [CUR setup tutorial](https://www.economize.cloud/blog/set-up-cost-usage-report/?ref=exponent-blog.ghost.io).

### What is the maximum number of S3 buckets you can create?

The guide repeats a default limit of **100 S3 buckets per AWS account** and says a paid AWS account can request an increase to **1,000**. See [S3](https://aws.amazon.com/s3/?ref=exponent-blog.ghost.io).

### What is a VPC?

A **virtual private cloud (VPC)** is a virtual network provisioned within a public cloud. A **subnet** is a portion of a VPC’s IP address range allocated to an instance or group of instances.

### How many subnets per VPC and VPCs per account or region can you have?

The article states a limit of **5 VPCs per region**, with up to **200 subnets per VPC**.

### Will a standby RDS launch in the same availability zone as the primary RDS?

No. The article says standby instances launch in a different availability zone so they operate on separate infrastructure. If the primary RDS fails, the standby can help retrieve lost data.

### AWS Regions, Availability Zones, and Edge Locations

[**AWS Regions**](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/?ref=exponent-blog.ghost.io) are physical locations worldwide where AWS operates data centers, engineered to be isolated from failures in other regions. **Availability Zones** are physically separated data centers within a region. **Edge locations** are AWS endpoints used to cache content through services such as CloudFront.

### What is Amazon CloudFront?

[Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html?ref=exponent-blog.ghost.io) is AWS’s content delivery network. It distributes static and dynamic web content more quickly and reduces latency.

## Deployment and EC2 operations

### How do you upgrade or downgrade a system with near-zero downtime?

Two commonly used strategies are:

- **Blue/green deployment:** run the current and new versions on separate systems, use a load balancer to direct incoming traffic to the new version, and then decommission the old version.
- **Canary release:** roll the new version out to a small subset of users first. After testing and verification, roll it out to everyone. Roll back during initial testing if results are not as expected.

### Stopping versus terminating an EC2 instance

Stopping an [EC2 (Elastic Compute Cloud)](https://aws.amazon.com/ec2/?ref=exponent-blog.ghost.io) instance is like powering off a machine: the instance remains in Amazon’s EC2 infrastructure and, according to the article, you continue to be charged. Terminating permanently deletes the machine and ends those charges.

### What happens when you restart an EC2 instance in a VPC with an Elastic IP?

If the instance is terminated completely, its Elastic IP is no longer associated with it. If you only turn off the EC2 instance, the article says you can restart it without changes or data loss.

## Conclusion and next steps

We recommend practicing in the AWS console while building and deploying services to deepen your understanding. You can also practice cloud and system-design topics through [Aced practice questions](https://www.aced.io/questions?type=system-design&ref=exponent-blog.ghost.io).

Related reading:

- [How to Get an Amazon Referral](https://www.aced.io/blog/how-to-get-an-amazon-referral/?ref=exponent-blog.ghost.io)
- [How to Prepare for a Solutions Architect Interview (Questions & Answers)](https://www.aced.io/blog/how-to-prepare-for-a-solutions-architect/?ref=exponent-blog.ghost.io)
- [How to Find a Great Software Engineer Recruiter](https://www.aced.io/blog/how-to-find-a-great-software-engineering-recruiter/?ref=exponent-blog.ghost.io)

## Amazon preparation with Aced

- [Browse Amazon interview questions](https://www.aced.io/questions?company=amazon&src=blog): review recently asked Amazon questions and answers from real candidates.
- [Book time with an Amazon coach](https://www.aced.io/coaching?company=amazon): mock interviews, career coaching, and resume review. 
- [Browse coaches](https://www.aced.io/coaching?company=amazon&src=blog)
- [Create your free account](https://www.aced.io/signup?src=blog)

### Related courses

- [Amazon Interview Prep Course](https://www.aced.io/courses/amazon-interview) — **3 courses, 13,400 students**. Covers the Amazon interview process, preparation tips, and example questions.
- [Amazon Software Development Manager (SDM) Interview Course](https://www.aced.io/courses/amazon-sdm-interview) — **5 courses, 2,800 students**. Covers the engineering-management interview loop, people management, team planning, and system design, with practical examples and strategies from Amazon managers.

### Related blog posts

- [How to Get an Amazon Referral](https://www.aced.io/blog/how-to-get-an-amazon-referral) — 7 min read.
- [Amazon's 16 Leadership Principles: Interview Guide (2026)](https://www.aced.io/blog/amazon-leadership-principles-interview) — 16 min read.
- [Amazon Behavioral Interview Questions and Answers (2026 Guide)](https://www.aced.io/blog/how-to-nail-amazons-behavioral-interview-questions) — 15 min read.
- [What Are The Amazon Leadership Principles?](https://www.aced.io/blog/what-are-the-amazon-leadership-principles) — 7 min read.

Aced, formerly Exponent, provides tech interview preparation through courses, guides, practice questions, coaching, mock interviews, resume review, and career resources.

---

[Read this page’s summary](https://www.aced.io/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fblog%2Ftop-aws-interview-questions&trace=t_679ff9ab98f3)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Aced (formerly Exponent)’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.aced.io/agents/agent/faq?q={question}&trace=t_679ff9ab98f3`

[Tool guide and examples](https://www.aced.io/agents/agent-access) · [OpenAPI](https://www.aced.io/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.aced.io/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fblog%2Ftop-aws-interview-questions). Opening a form does not execute a tool.