AWS Interview Notes (Senior Java / Spring Boot)

What is AWS?

Amazon Web Services (AWS) is a cloud platform providing Compute, Storage, Networking, Databases, Security, DevOps, AI/ML and Analytics services using a pay-as-you-go model.

AWS Global Infrastructure

Core Compute Services

ServicePurpose
EC2Virtual Machines
ECSAWS Container Service
EKSManaged Kubernetes
LambdaServerless Functions

Storage Services

ServicePurpose
S3Object Storage
EBSBlock Storage for EC2
EFSShared File System

Database Services

ServicePurpose
RDSManaged Relational Databases
AuroraHigh Performance Managed DB
DynamoDBNoSQL Database

Networking

Security

SQS vs SNS

SQSSNS
QueuePub/Sub
One ConsumerMultiple Subscribers
Message RetentionPush Notifications

API Gateway

Managed API service with Authentication, Authorization, Throttling, Monitoring and Lambda Integration.

Auto Scaling

ASG automatically adds/removes EC2 instances based on CloudWatch metrics.

Multi-AZ vs Read Replica

Multi-AZRead Replica
High AvailabilityRead Scaling
SynchronousAsynchronous
Automatic FailoverNo Automatic Failover

Deployment Strategies

AWS Well Architected Framework

Enterprise Spring Boot Architecture

Route53
  |
CloudFront
  |
WAF
  |
ALB
  |
EKS Cluster
  |- Auth Service
  |- User Service
  |- Product Service
  |- Order Service
  |
RDS Multi-AZ
Redis
S3
CloudWatch

Frequently Asked Interview Questions