Back to blog Backend Interview

50 AWS basic interview questions frequently asked in MNC

22 min readBackend Interview

AWS Basics — Core Concepts

1. What is AWS (Amazon Web Services)?

Amazon Web Services (AWS) is a comprehensive cloud computing platform that provides on-demand access to computing power, storage, databases, networking, and security services over the internet.

Instead of investing in physical servers and data centers, organizations can use AWS to provision resources instantly and scale them as needed. AWS follows a pay-as-you-go pricing model, which reduces upfront costs and allows businesses to focus more on application development rather than infrastructure management. In real-world production systems, AWS is commonly used to build scalable, highly available, and globally distributed applications.

2. What are the three types of cloud computing? (IaaS, PaaS, SaaS)

3. What are AWS Regions and Availability Zones?

4. What is an AWS EC2 instance?

5. What is an AMI (Amazon Machine Image)?

6. What is the difference between stopping and terminating an EC2 instance?

7. What is AWS S3?

8. Explain S3 storage classes (STANDARD, IA, GLACIER etc.).

9. What is IAM (Identity and Access Management)?

10. Explain IAM User, Group, and Role differences.

AWS Networking & Security

1. What is a VPC (Virtual Private Cloud)?

A VPC (Virtual Private Cloud) is a logically isolated virtual network inside AWS where you can launch resources such as EC2, RDS, and Load Balancers. It gives you full control over networking, including IP address range, subnets, route tables, and gateways.

In simple terms, a VPC is your own private data center in the AWS cloud, where you decide what is public, what is private, and how traffic flows.

Key components inside a VPC:

  • Subnets (public & private)
  • Route tables
  • Internet Gateway / NAT Gateway
  • Security Groups & NACLs

2. What are Security Groups vs Network ACLs?

3. What is an Internet Gateway?

4. What is a NAT Gateway vs NAT Instance?

5. What is an Elastic IP?

6. What is AWS Route 53?

7. What is VPC Peering?

8. How do you secure S3 buckets (policies, block public access)?

9. Explain AWS KMS (Key Management Service).

10. What are AWS Security Best Practices?

AWS Storage & Databases

1. What is Amazon EBS?

Amazon EBS (Elastic Block Store) is a block-level storage service designed to be attached to EC2 instances. It works like a virtual hard disk where data persists independently of the EC2 instance lifecycle.

EBS is mainly used when applications need low-latency, consistent performance, such as databases or file systems. Even if an EC2 instance is stopped or terminated, the data on EBS volumes can be retained. EBS is ideal for workloads that need fast, reliable disk storage.

Real-Life Example

Think of:

  • EC2 instance → Computer / Laptop
  • EBS volume → Hard disk (SSD/HDD)

You:

  • Install software
  • Store files
  • Save databases

All of this data is stored in EBS.

Why is Amazon EBS Useful?

✔ Data stays safe even if EC2 stops
✔ Fast and reliable storage
✔ Can increase or decrease size anytime
✔ Used for OS, apps, and databases

If EC2 crashes, your data is still safe in EBS.

2. What is Amazon EFS?

3. Difference between S3 and EBS.

4. What is Amazon Glacier used for?

5. What database services does AWS offer? (RDS, DynamoDB)

6. What is Amazon RDS?

7. What types of engines can RDS support?

8. Explain DynamoDB basics.

AWS Compute & Scaling

1. What is AWS Lambda (serverless)?

AWS Lambda is a serverless compute service that allows you to run code without provisioning or managing servers. You simply upload your code, define the trigger, and AWS automatically handles execution, scaling, and infrastructure management.

Lambda follows an event-driven model, meaning the function runs only when an event occurs. You are billed only for the execution time, making it highly cost-effective for intermittent workloads. Lambda lets you focus purely on code, not infrastructure.

Key highlights:

  • No server management
  • Auto-scales automatically
  • Supports multiple languages (Java, Python, Node.js, etc.)
  • Ideal for microservices and event-driven systems

2. What are triggers for AWS Lambda functions?

3. What is Auto Scaling?

4. What is Elastic Load Balancer (ELB)?

5. What is AWS Elastic Beanstalk?

6. What is AWS Batch?

7. Explain scheduled tasks in AWS using CloudWatch Events.

AWS Monitoring & Management

1. What is Amazon CloudWatch?

Amazon CloudWatch is a monitoring and observability service used to collect metrics, logs, and events from AWS resources and applications. It helps teams understand how their systems are performing in real time and react quickly to issues. CloudWatch tells you how your AWS resources and applications are behaving.

CloudWatch monitors services like EC2, RDS, Lambda, and Load Balancers by default and also allows custom application metrics. It is widely used for performance monitoring, troubleshooting, and alerting.

Key capabilities:

  • Metrics (CPU, memory, latency, request count)
  • Log collection and analysis
  • Alarms and notifications
  • Event-based automation

2. What is AWS CloudTrail?

3. Why use AWS Config?

4. What is a CloudWatch Alarm?

5. What are AWS Tags and why are they important?

Summary of Monitoring & Management

Tags → organization & cost control

CloudWatch → monitoring & observability

CloudTrail → auditing & security tracking

AWS Config → configuration compliance

CloudWatch Alarms → automated responses

AWS Advanced Fundamentals

1. What is AWS CloudFormation?

AWS CloudFormation is an Infrastructure as Code (IaC) service that lets you define and provision AWS resources using templates written in JSON or YAML. Instead of creating resources manually, you describe the desired state, and CloudFormation handles creation, updates, and deletion in a controlled, repeatable way.

CloudFormation turns infrastructure into reusable, auditable code.

Key Points of AWS CloudFormation:

  • Consistency across environments (dev/test/prod)
  • Version-controlled infrastructure
  • Easy rollback using stacks and change sets

2. What is AWS OpsWorks?

3. What is AWS API Gateway?

4. What is AWS Direct Connect?

5. What is Amazon SNS vs SQS?

6. What is AWS Elasticache?

7. What is Amazon Kinesis?

8. What is AWS Global Accelerator?

9. How do you optimize AWS costs?

10. How would you migrate on-premise applications to AWS?

Interview Tips

  • Always explain why a service is used and when you’d choose it over alternatives (e.g., Lambda vs EC2).
  • Prepare real-life examples where possible — recruiters often probe scenario-based follow-ups.
  • Learn IAM security defaults and best practices — these are common focus areas in MNC interviews.

InterviewExpert.org

Writing about interviews, stacks, and getting hired.

Leave a comment