AWS_Interview_Preparation_Guide
AWS_Interview_Preparation_Guide
Key Concepts: Instances, AMIs, instance types, EBS volumes, security groups, key pairs.
Documentation: https://docs.aws.amazon.com/ec2/index.html
Overview: S3 is an object storage service that offers industry-leading scalability, data availability,
Key Concepts: Buckets, objects, storage classes, versioning, lifecycle policies, permissions.
Documentation: https://docs.aws.amazon.com/s3/index.html
Overview: RDS makes it easy to set up, operate, and scale a relational database in the cloud.
Key Concepts: Instances, databases, snapshots, backups, Multi-AZ deployments, read replicas.
Documentation: https://docs.aws.amazon.com/rds/index.html
Overview: IAM enables you to manage access to AWS services and resources securely.
Documentation: https://docs.aws.amazon.com/iam/index.html
AWS Interview Preparation Guide
Overview: VPC allows you to launch AWS resources in a logically isolated virtual network.
Key Concepts: Subnets, route tables, internet gateways, NAT gateways, security groups, network
ACLs.
Documentation: https://docs.aws.amazon.com/vpc/index.html
Overview: AWS Lambda lets you run code without provisioning or managing servers.
Documentation: https://docs.aws.amazon.com/lambda/index.html
2.3 CloudFormation
Overview: CloudFormation gives you an easy way to model a collection of related AWS and
third-party resources, provision them quickly and consistently, and manage them throughout their
lifecycles.
Documentation: https://docs.aws.amazon.com/cloudformation/index.html
Common Questions:
Scenarios:
AWS S3 offers various storage classes designed for different use cases:
- S3 Standard: General-purpose storage for frequently accessed data. Provides high durability,
- S3 Standard-IA (Infrequent Access): For data that is accessed less frequently but requires rapid
access when needed. Offers lower storage costs but higher retrieval costs.
- S3 One Zone-IA: Similar to Standard-IA but stores data in a single Availability Zone, offering lower
- S3 Glacier: Low-cost storage for data archiving and long-term backup. Retrieval times range from
minutes to hours.
- S3 Glacier Deep Archive: The lowest-cost storage for long-term data archiving with retrieval times
of up to 12 hours.
AWS Interview Preparation Guide
- IAM Policies: Implement the principle of least privilege, using IAM roles and policies to restrict
access.
- Network Security: Use VPCs, subnets, security groups, and network ACLs to control inbound and
outbound traffic.
- Encryption: Encrypt data at rest using services like AWS KMS and enable encryption in transit
using SSL/TLS.
- Monitoring and Logging: Use AWS CloudTrail, CloudWatch, and GuardDuty for logging,
- Security Best Practices: Regularly update and patch systems, conduct security reviews, and use
A VPC (Virtual Private Cloud) is a logically isolated section of the AWS cloud where you can launch
AWS resources in a virtual network that you define. Key components include:
- Subnets: Divide the VPC IP address range into smaller ranges. Subnets can be public
- Route Tables: Direct network traffic within the VPC and between subnets. Custom route tables can
- Internet Gateway: A horizontally scaled, redundant, and highly available VPC component that
- NAT Gateway: Enables instances in a private subnet to connect to the internet or other AWS
services, but prevents the internet from initiating a connection with those instances.
AWS Interview Preparation Guide
- Security Groups: Act as a virtual firewall for your instances to control inbound and outbound traffic.
- Network ACLs: Provide an additional layer of security by controlling traffic to and from subnets.
- Vertical Scaling: Increase the instance size (CPU, RAM) for your EC2 instances.
- Auto Scaling: Automatically adjusts the number of EC2 instances based on demand.
- Elastic Load Balancing (ELB): Distributes incoming application traffic across multiple targets, such
as EC2 instances.
- Amazon RDS: Supports read replicas and Multi-AZ deployments for scaling databases.
- Amazon ECS/EKS: For containerized applications, use services like ECS (Elastic Container
- AWS Lambda: For serverless applications, use AWS Lambda to automatically scale based on the
- Assessment and Planning: Evaluate the existing application, dependencies, and architecture. Plan
- Choosing the Right Services: Select appropriate AWS services (e.g., EC2, RDS, S3) based on the
application's needs.
AWS Interview Preparation Guide
- Networking Setup: Set up VPCs, subnets, security groups, and VPN or Direct Connect for secure
connectivity.
- Data Migration: Use AWS Data Migration Service (DMS), AWS Snowball, or S3 for transferring
large datasets.
- Application Deployment: Deploy the application on AWS using services like EC2, RDS, and Elastic
Beanstalk.
- Testing and Validation: Test the application thoroughly to ensure it works as expected in the AWS
environment.
- Optimization and Monitoring: Optimize resources and set up monitoring using CloudWatch,