AWS

Here are some of the most commonly asked AWS interview questions and answers, suitable for freshers and candidates with 1–3 years of experience.

1. What is AWS?

Answer:

AWS (Amazon Web Services) is a cloud computing platform provided by Amazon that offers a wide range of on-demand cloud services. It enables businesses and developers to build, deploy, and manage applications without investing in physical infrastructure.

AWS provides services in areas such as:

  • Computing
  • Storage
  • Networking
  • Databases
  • Security
  • Artificial Intelligence (AI)
  • Machine Learning (ML)
  • Analytics
  • Internet of Things (IoT)

Key Features of AWS:

  • Pay-as-you-go pricing
  • Highly scalable
  • Global infrastructure
  • High availability
  • Secure cloud platform
  • Supports hundreds of cloud services

2. What are the key components of AWS?

Answer:

AWS provides hundreds of cloud services. Some of the most commonly used services are:

  • Amazon EC2 (Elastic Compute Cloud) – Virtual servers for running applications.
  • Amazon S3 (Simple Storage Service) – Object storage for files, images, videos, and backups.
  • Amazon RDS (Relational Database Service) – Managed relational database service.
  • Amazon VPC (Virtual Private Cloud) – Private virtual network in AWS.
  • AWS Lambda – Serverless computing service.
  • Amazon DynamoDB – Fully managed NoSQL database.
  • Amazon Route 53 – DNS and domain management service.
  • Amazon CloudFront – Content Delivery Network (CDN).
  • Amazon SNS (Simple Notification Service) – Messaging and notification service.
  • Amazon SQS (Simple Queue Service) – Message queue service.

3. What is an EC2 Instance?

Answer:

Amazon EC2 (Elastic Compute Cloud) is a virtual machine that provides scalable computing capacity in the AWS cloud.

It allows users to launch virtual servers with different operating systems and hardware configurations according to application requirements.

Features of EC2:

  • On-demand virtual servers
  • Multiple operating systems
  • Auto Scaling support
  • Elastic IP addresses
  • Security Groups
  • Pay only for the resources you use

4. What is an S3 Bucket in AWS?

Answer:

An Amazon S3 Bucket is a storage container used to store objects such as documents, images, videos, backups, and application data.

S3 is designed for high durability, scalability, and security.

Features:

  • Unlimited object storage
  • Versioning support
  • Lifecycle management
  • Data encryption
  • Static website hosting
  • 99.999999999% durability

5. What is the difference between Amazon S3 and Amazon EBS?

Amazon S3Amazon EBS
Object StorageBlock Storage
Stores files and objectsStores disk volumes
Accessible over the internetAttached directly to EC2
Highly scalableLimited to attached instance
Used for backups, images, videosUsed for operating systems and databases

6. What is the difference between IAM and KMS?

IAM (Identity and Access Management)

IAM is used to securely manage users, groups, roles, and permissions in AWS.

Functions of IAM:

  • User authentication
  • Access control
  • Role-based permissions
  • Multi-Factor Authentication (MFA)

KMS (Key Management Service)

KMS is used to create and manage encryption keys for protecting AWS resources and sensitive data.

Functions of KMS:

  • Create encryption keys
  • Encrypt and decrypt data
  • Automatic key rotation
  • Secure key management

7. What is the difference between Horizontal Scaling and Vertical Scaling?

Horizontal Scaling (Scale Out)

Horizontal scaling increases system capacity by adding more servers or instances.

Advantages:

  • Better availability
  • Load balancing
  • High fault tolerance

Vertical Scaling (Scale Up)

Vertical scaling increases the resources (CPU, RAM, Storage) of an existing server.

Advantages:

  • Easy implementation
  • Suitable for smaller workloads
  • No application distribution required

8. What is AWS Lambda?

Answer:

AWS Lambda is a serverless computing service that lets you run code without provisioning or managing servers.

It automatically executes code in response to events such as:

  • S3 uploads
  • API Gateway requests
  • DynamoDB updates
  • CloudWatch events

Benefits:

  • No server management
  • Automatic scaling
  • Pay only for execution time
  • Event-driven architecture

9. What is the difference between Serverless and Containers?

ServerlessContainers
No server managementServers or clusters must be managed
Automatic scalingManual or orchestrated scaling
Pay per executionPay for running containers
Fast deploymentMore configuration required
Example: AWS LambdaExample: ECS, EKS

10. What is the difference between Amazon RDS and Amazon DynamoDB?

Amazon RDSAmazon DynamoDB
Relational DatabaseNoSQL Database
Supports SQLKey-value and Document Database
MySQL, PostgreSQL, Oracle, SQL ServerProprietary AWS NoSQL
Fixed schemaFlexible schema
Best for transactional applicationsBest for high-performance web and mobile applications

11. What is Auto Scaling in AWS?

Answer:

Auto Scaling is an AWS service that automatically adjusts the number of Amazon EC2 instances based on application demand. It ensures that your application always has the right amount of computing resources while minimizing costs.

Benefits of Auto Scaling:

  • Automatically adds or removes EC2 instances.
  • Maintains high application availability.
  • Reduces infrastructure costs.
  • Improves fault tolerance.
  • Integrates with Elastic Load Balancer (ELB).

12. What is an AMI in AWS?

Answer:

An Amazon Machine Image (AMI) is a pre-configured template used to launch EC2 instances.

An AMI includes:

  • Operating System
  • Application Server
  • Required Software
  • Configuration Settings
  • Storage Information

Types of AMIs:

  • Public AMI
  • Private AMI
  • AWS Marketplace AMI

13. What is the difference between Amazon CloudFront and Amazon S3?

Amazon CloudFrontAmazon S3
Content Delivery Network (CDN)Object Storage Service
Delivers cached content globallyStores files and objects
Reduces latencyStores original data
Uses Edge LocationsUses AWS Regions
Improves website performanceProvides durable storage

14. What is AWS VPC?

Answer:

Amazon VPC (Virtual Private Cloud) is a logically isolated virtual network within AWS where you can launch AWS resources securely.

It allows you to control networking configurations such as IP addresses, subnets, routing tables, and security.

Key Features:

  • Private network
  • Public and Private Subnets
  • Route Tables
  • Internet Gateway
  • NAT Gateway
  • Security Groups
  • Network ACLs

15. What is the difference between Amazon EBS and Amazon EFS?

Amazon EBSAmazon EFS
Block StorageFile Storage
Attached to one EC2 instanceShared across multiple EC2 instances
High-performance storageScalable shared storage
Used for databases and operating systemsUsed for shared applications and file systems

16. What is AWS CloudFormation?

Answer:

AWS CloudFormation is an Infrastructure as Code (IaC) service that allows you to create and manage AWS resources using JSON or YAML templates.

Instead of manually creating resources, you define them in templates.

Benefits:

  • Infrastructure automation
  • Repeatable deployments
  • Version control
  • Faster provisioning
  • Easy rollback

17. What is AWS SNS?

Answer:

Amazon SNS (Simple Notification Service) is a fully managed messaging service used to send notifications to multiple subscribers.

SNS supports:

  • Email
  • SMS
  • HTTP/HTTPS
  • AWS Lambda
  • Amazon SQS

Common Use Cases:

  • Alert notifications
  • Mobile push notifications
  • Event-driven applications
  • Application monitoring

18. What is AWS CLI?

Answer:

AWS CLI (Command Line Interface) is a command-line tool used to interact with AWS services.

Using AWS CLI, users can:

  • Create EC2 instances
  • Upload files to S3
  • Configure IAM users
  • Automate deployments
  • Manage AWS resources using scripts

Advantages:

  • Automation
  • Faster management
  • Easy scripting
  • Cross-platform support

19. What is the difference between Amazon RDS and Amazon Redshift?

Amazon RDSAmazon Redshift
Relational DatabaseData Warehouse
Designed for OLTPDesigned for OLAP
Supports transactionsOptimized for analytics
MySQL, PostgreSQL, Oracle, SQL ServerColumnar storage
Used for applicationsUsed for Business Intelligence and reporting

20. What is AWS CloudTrail?

Answer:

AWS CloudTrail is a service that records all API calls made within your AWS account.

It helps organizations monitor, audit, and troubleshoot AWS activities.

Features:

  • Records API activity
  • Security auditing
  • Compliance monitoring
  • User activity tracking
  • Event history

21. What is the difference between CloudWatch Logs and CloudTrail?

CloudWatch LogsCloudTrail
Stores application and system logsRecords AWS API calls
Used for monitoring applicationsUsed for auditing AWS activity
Helps troubleshoot applicationsTracks user actions
Supports log analysisSupports security compliance

22. What is AWS Elastic Beanstalk?

Answer:

AWS Elastic Beanstalk is a Platform as a Service (PaaS) that makes it easy to deploy and manage web applications.

Developers only upload their application code, while AWS automatically handles:

  • EC2 provisioning
  • Load Balancing
  • Auto Scaling
  • Health Monitoring
  • Application deployment

Supported Languages:

  • Java
  • Python
  • PHP
  • Node.js
  • .NET
  • Ruby
  • Go
  • Docker

23. What is the difference between AWS ECS and AWS EKS?

Amazon ECSAmazon EKS
AWS-managed container serviceManaged Kubernetes service
Simpler to configureSupports Kubernetes ecosystem
Docker containersKubernetes containers
AWS-native orchestrationKubernetes orchestration
Easier for beginnersBest for Kubernetes workloads

24. What is the difference between AWS CloudFront and Amazon Route 53?

Amazon CloudFrontAmazon Route 53
Content Delivery Network (CDN)Domain Name System (DNS) Service
Delivers cached contentResolves domain names
Improves website speedRoutes internet traffic
Uses Edge LocationsUses DNS routing policies

25. What is the AWS Serverless Application Model (SAM)?

Answer:

AWS Serverless Application Model (SAM) is an open-source framework used to build, test, and deploy serverless applications on AWS.

It simplifies the creation of:

  • AWS Lambda Functions
  • API Gateway
  • DynamoDB Tables
  • Event Sources

Advantages of AWS SAM:

  • Simplified YAML templates
  • Local testing
  • Easy deployment
  • Infrastructure as Code
  • Native integration with AWS CloudFormation

26. What is the difference between Amazon S3 and Amazon Glacier?

Answer:

Amazon S3 and Amazon Glacier are AWS storage services, but they are designed for different use cases.

Amazon S3 (Simple Storage Service)

Amazon S3 is an object storage service used for storing and retrieving frequently accessed data.

Features:

  • Fast data access
  • Highly scalable
  • High durability (99.999999999%)
  • Ideal for websites, backups, images, and videos

Amazon Glacier

Amazon Glacier is a low-cost archival storage service designed for long-term data retention.

Features:

  • Very low storage cost
  • Long retrieval time
  • Suitable for archives and compliance data
  • Highly durable storage
Amazon S3Amazon Glacier
Frequently accessed dataRarely accessed archived data
Fast retrievalSlow retrieval
Higher storage costLower storage cost
Used for active applicationsUsed for backups and archives

27. What is the difference between AWS Direct Connect and VPN?

Answer:

Both AWS Direct Connect and VPN connect on-premises infrastructure to AWS, but they use different networking methods.

AWS Direct Connect

AWS Direct Connect provides a dedicated private network connection between your data center and AWS.

Advantages:

  • High bandwidth
  • Low latency
  • Stable connection
  • Better security
  • Suitable for enterprise applications

AWS VPN

AWS VPN creates a secure encrypted connection over the public internet.

Advantages:

  • Easy to configure
  • Lower cost
  • Secure communication
  • Ideal for small businesses
AWS Direct ConnectAWS VPN
Dedicated private connectionInternet-based connection
High bandwidthModerate bandwidth
Low latencyHigher latency
Higher costLower cost
Best for enterprise workloadsBest for remote connectivity

28. What is an AWS CloudFormation Stack?

Answer:

An AWS CloudFormation Stack is a collection of AWS resources that are created, updated, and managed together using a CloudFormation template.

Instead of creating resources manually, developers define infrastructure in JSON or YAML templates.

Benefits:

  • Infrastructure as Code (IaC)
  • Automated deployments
  • Easy updates
  • Version control
  • Consistent infrastructure

29. What is the AWS Snowball Device?

Answer:

AWS Snowball is a physical data transfer device used to migrate large amounts of data into and out of AWS.

It is useful when transferring data over the internet is slow or impractical.

Features:

  • Secure data transfer
  • Encrypted storage
  • Rugged physical device
  • Supports petabyte-scale migration
  • Faster than internet uploads for large datasets

Common Use Cases:

  • Data migration
  • Disaster recovery
  • Large backup transfers
  • Data center migration

30. What is the difference between AWS IoT Core and AWS Greengrass?

Answer:

AWS IoT Core connects IoT devices to the AWS Cloud, while AWS Greengrass extends AWS capabilities to edge devices for local processing.

AWS IoT CoreAWS Greengrass
Cloud-based IoT platformEdge computing platform
Device communicationLocal device processing
Requires internet connectivityCan work offline
Processes data in AWS CloudProcesses data on local devices

31. What is the AWS Shared Responsibility Model?

Answer:

The AWS Shared Responsibility Model defines the security responsibilities shared between AWS and the customer.

AWS is responsible for:

  • Physical security
  • Data centers
  • Networking infrastructure
  • Hardware maintenance
  • Virtualization layer

Customer is responsible for:

  • IAM users and permissions
  • Data encryption
  • Operating system updates
  • Application security
  • Network configuration
  • Firewall settings

This model ensures both AWS and customers contribute to maintaining a secure cloud environment.


32. What is the difference between AWS CodeCommit and AWS CodePipeline?

Answer:

AWS CodeCommit is a source code repository, while AWS CodePipeline automates the software release process.

AWS CodeCommitAWS CodePipeline
Git repositoryCI/CD service
Stores source codeAutomates deployment
Version controlContinuous delivery
Developer collaborationRelease automation

33. What is the difference between Amazon S3 and Amazon EFS?

Answer:

Amazon S3 and Amazon EFS are storage services but serve different purposes.

Amazon S3Amazon EFS
Object StorageFile Storage
Stores objectsStores files
Internet accessibleMounted on EC2 instances
Unlimited scalabilityShared file system
Ideal for backups and mediaIdeal for shared applications

34. What is the difference between AWS CloudWatch and AWS CloudTrail?

Answer:

AWS CloudWatch is used for monitoring resources, while AWS CloudTrail records AWS account activity.

AWS CloudWatchAWS CloudTrail
Resource monitoringAPI activity logging
Metrics and alarmsAudit and compliance
Performance monitoringSecurity tracking
Logs and dashboardsAPI history

35. What is the difference between Amazon DynamoDB and Amazon Aurora?

Answer:

Amazon DynamoDB is a NoSQL database, whereas Amazon Aurora is a relational database service.

Amazon DynamoDBAmazon Aurora
NoSQL DatabaseRelational Database
Key-value storeSQL database
Flexible schemaFixed schema
Serverless scalingHigh-performance relational database
Best for web/mobile appsBest for enterprise applications

36. What is AWS Data Pipeline?

Answer:

AWS Data Pipeline is a managed service that automates the movement and transformation of data between AWS services and on-premises systems.

Features:

  • Data scheduling
  • Workflow automation
  • Data transformation
  • Error handling
  • Monitoring

Use Cases:

  • ETL processes
  • Data migration
  • Data warehousing
  • Analytics pipelines

37. What is the difference between AWS CloudFormation and AWS Elastic Beanstalk?

Answer:

CloudFormation manages infrastructure, whereas Elastic Beanstalk simplifies application deployment.

AWS CloudFormationAWS Elastic Beanstalk
Infrastructure as CodePlatform as a Service
Creates AWS resourcesDeploys applications
Uses JSON/YAML templatesUpload application code
Full infrastructure controlManaged application platform

38. What is the difference between Amazon RDS and Amazon Aurora?

Answer:

Amazon RDS supports multiple relational database engines, while Amazon Aurora is an AWS-optimized relational database compatible with MySQL and PostgreSQL.

Amazon RDSAmazon Aurora
Supports multiple enginesMySQL & PostgreSQL compatible
Standard performanceUp to 5× faster than MySQL
General-purpose databaseHigh-performance enterprise database
Lower costHigher performance and availability

39. What is AWS DataSync?

Answer:

AWS DataSync is a managed data transfer service that simplifies moving data between on-premises storage and AWS storage services.

Features:

  • High-speed transfer
  • Secure encryption
  • Automated synchronization
  • Data validation
  • Scheduling support

Supported Services:

  • Amazon S3
  • Amazon EFS
  • Amazon FSx

40. What is AWS X-Ray?

Answer:

AWS X-Ray is a monitoring and debugging service used to analyze distributed applications.

It helps developers trace requests as they move through microservices.

Benefits:

  • Application tracing
  • Performance monitoring
  • Error detection
  • Service dependency mapping
  • Root cause analysis

41. What is AWS Service Catalog?

Answer:

AWS Service Catalog allows organizations to create and manage a catalog of approved AWS services that users can deploy.

Features:

  • Centralized service management
  • Governance and compliance
  • Standardized infrastructure
  • Self-service provisioning
  • Cost control

42. What is the difference between AWS CloudWatch Logs and AWS CloudTrail?

Answer:

Both services collect information, but they serve different purposes.

CloudWatch LogsCloudTrail
Stores application logsRecords AWS API calls
Used for monitoringUsed for auditing
Performance troubleshootingSecurity and compliance
Application-level loggingAccount activity logging

43. What is the difference between Amazon Athena and Amazon Redshift?

Answer:

Amazon Athena is a serverless query service, while Amazon Redshift is a data warehouse.

Amazon AthenaAmazon Redshift
ServerlessManaged Data Warehouse
Queries S3 dataStores data internally
Pay per queryPay for provisioned cluster
Best for ad hoc queriesBest for business analytics

44. What is AWS Transit Gateway?

Answer:

AWS Transit Gateway is a networking service that connects multiple Amazon VPCs, VPNs, and on-premises networks through a single centralized gateway.

Benefits:

  • Simplified networking
  • Centralized routing
  • Reduced management complexity
  • Scalable connectivity
  • Improved network performance

45. What is AWS Snowball Edge?

Answer:

AWS Snowball Edge is an advanced version of the Snowball device that provides storage, computing, and data transfer capabilities.

It supports running AWS Lambda functions and EC2 instances at edge locations.

Features:

  • Edge computing
  • Data migration
  • Local processing
  • Secure storage
  • Offline operation
  • Large-scale data transfer

Common Use Cases:

  • Edge analytics
  • Remote data processing
  • Disaster recovery
  • IoT applications
  • Large data migrations

46. What is the difference between AWS Secrets Manager and AWS Parameter Store?

Answer:

AWS Secrets Manager and AWS Systems Manager Parameter Store are both used to securely store sensitive information, but they serve different purposes.

AWS Secrets Manager

AWS Secrets Manager is designed specifically for storing and managing secrets such as database credentials, API keys, passwords, and tokens.

Features:

  • Secure secret storage
  • Automatic secret rotation
  • Encryption using AWS KMS
  • Fine-grained IAM access control
  • Supports secret versioning

AWS Parameter Store

Parameter Store is used to store application configuration values, environment variables, and non-sensitive parameters.

Features:

  • Store configuration data
  • Supports encrypted parameters
  • Integration with Systems Manager
  • Cost-effective configuration management
AWS Secrets ManagerAWS Parameter Store
Stores secretsStores configuration parameters
Automatic secret rotationNo automatic rotation
Best for passwords and API keysBest for application settings
Additional costStandard tier is free

47. What is the difference between Amazon ECS and Amazon EKS?

Answer:

Amazon ECS and Amazon EKS are container orchestration services provided by AWS.

Amazon ECS (Elastic Container Service)

ECS is AWS’s native container management service.

Features:

  • Fully managed
  • Supports Docker containers
  • Easy to configure
  • Tight integration with AWS services

Amazon EKS (Elastic Kubernetes Service)

EKS is a managed Kubernetes service that allows you to run Kubernetes workloads on AWS.

Features:

  • Kubernetes-compatible
  • Highly scalable
  • Supports open-source Kubernetes tools
  • Ideal for multi-cloud environments
Amazon ECSAmazon EKS
AWS-native container serviceManaged Kubernetes service
Easier to useMore complex setup
Docker containersKubernetes clusters
Best for AWS environmentsBest for Kubernetes applications

48. What is the AWS Global Infrastructure?

Answer:

AWS Global Infrastructure is the worldwide network of AWS data centers that delivers cloud services with high availability, scalability, and low latency.

It consists of:

  • Regions
  • Availability Zones (AZs)
  • Edge Locations
  • Regional Edge Caches

Benefits:

  • High availability
  • Disaster recovery
  • Global application deployment
  • Low latency
  • Secure infrastructure

49. What is the difference between AWS IoT Core and AWS IoT Greengrass?

Answer:

AWS IoT Core connects IoT devices to the cloud, while AWS IoT Greengrass extends AWS services to edge devices.

AWS IoT CoreAWS IoT Greengrass
Cloud-based IoT platformEdge computing platform
Processes data in the cloudProcesses data locally
Requires internet connectionCan operate offline
Device managementLocal device intelligence

50. What is AWS AppSync?

Answer:

AWS AppSync is a fully managed GraphQL service that simplifies the development of APIs for web and mobile applications.

Features:

  • GraphQL API support
  • Real-time data synchronization
  • Offline data access
  • Connects multiple data sources
  • Secure authentication

Supported Data Sources:

  • DynamoDB
  • Lambda
  • Aurora
  • OpenSearch
  • HTTP APIs

51. What is the difference between Amazon DynamoDB and Amazon DocumentDB?

Answer:

Amazon DynamoDB is a NoSQL database, while Amazon DocumentDB is a MongoDB-compatible document database.

Amazon DynamoDBAmazon DocumentDB
NoSQL Key-Value DatabaseDocument Database
Flexible schemaJSON document model
Proprietary AWS APIMongoDB-compatible
Serverless scalingManaged MongoDB workloads

52. What is the difference between AWS Lambda and AWS Fargate?

Answer:

AWS Lambda and AWS Fargate are serverless compute services but are designed for different workloads.

AWS LambdaAWS Fargate
Executes functionsRuns containers
Event-drivenContainer-based workloads
No server managementNo container infrastructure management
Best for short tasksBest for long-running applications

53. What is the difference between Amazon S3 and Amazon EBS?

Answer:

Amazon S3 and Amazon EBS are storage services with different purposes.

Amazon S3Amazon EBS
Object StorageBlock Storage
Stores files and objectsStores disk volumes
Internet accessibleAttached to EC2
Unlimited scalabilityFixed volume size
Used for backups and mediaUsed for operating systems and databases

54. What is AWS Cloud9?

Answer:

AWS Cloud9 is a cloud-based Integrated Development Environment (IDE) that allows developers to write, run, and debug applications directly from a web browser.

Features:

  • Browser-based IDE
  • Code editor
  • Built-in terminal
  • Debugging tools
  • Team collaboration
  • Supports multiple programming languages

55. What is the difference between AWS Glue and AWS Data Pipeline?

Answer:

AWS Glue is an ETL service, whereas AWS Data Pipeline automates data movement and workflows.

AWS GlueAWS Data Pipeline
ETL ServiceWorkflow Automation
Data transformationData movement
ServerlessManaged scheduling
Data catalog includedWorkflow orchestration

56. What is the difference between Amazon S3 and Amazon EFS?

Answer:

Amazon S3 is object storage, while Amazon EFS is a shared file storage system.

Amazon S3Amazon EFS
Object StorageFile Storage
Stores objectsStores files
Unlimited scalabilityShared network file system
Used for backupsUsed for shared applications

57. What is the difference between AWS CloudFormation and AWS Elastic Beanstalk?

Answer:

AWS CloudFormation is used to create infrastructure, while Elastic Beanstalk is used to deploy applications.

AWS CloudFormationAWS Elastic Beanstalk
Infrastructure as CodePlatform as a Service
Creates AWS resourcesDeploys applications
Uses templatesUpload application code
Full infrastructure managementManaged deployment environment

58. What is AWS Secrets Manager?

Answer:

AWS Secrets Manager is a managed service that securely stores and manages sensitive information such as passwords, API keys, tokens, and database credentials.

Features:

  • Secure secret storage
  • Automatic secret rotation
  • AWS KMS encryption
  • IAM access control
  • Version management
  • Audit logging

Common Use Cases:

  • Database credentials
  • API keys
  • OAuth tokens
  • Application secrets

59. What is the AWS Well-Architected Framework?

Answer:

The AWS Well-Architected Framework is a collection of best practices that helps organizations build secure, high-performing, resilient, and cost-effective cloud applications.

It helps architects evaluate their cloud workloads and identify areas for improvement.

The Six Pillars of the AWS Well-Architected Framework:

  • Operational Excellence
  • Security
  • Reliability
  • Performance Efficiency
  • Cost Optimization
  • Sustainability

Benefits:

  • Improves application performance
  • Enhances security
  • Reduces operational costs
  • Increases reliability
  • Promotes best architectural practices

60. What is the difference between Amazon S3 and Amazon Glacier?

Answer:

Amazon S3 and Amazon Glacier are storage services used for different purposes.

Amazon S3

Amazon S3 is designed for storing and retrieving frequently accessed data.

Features:

  • Fast access
  • High durability
  • Highly scalable
  • Suitable for active workloads

Amazon Glacier

Amazon Glacier is designed for long-term archival storage at a lower cost.

Features:

  • Low-cost storage
  • Long retrieval time
  • Suitable for archives and backups
Amazon S3Amazon Glacier
Frequently accessed dataArchived data
Fast retrievalSlow retrieval
Higher storage costLower storage cost
Active applicationsLong-term backups

61. What is AWS CodeCommit?

Answer:

AWS CodeCommit is a fully managed source control service that hosts private Git repositories securely.

It allows developers to store, manage, and version application source code.

Features:

  • Private Git repositories
  • Version control
  • IAM integration
  • Encryption at rest and in transit
  • Easy integration with AWS Developer Tools

Benefits:

  • Secure code storage
  • Team collaboration
  • Continuous integration support
  • No server management

62. What is the difference between Amazon Redshift and Amazon Athena?

Answer:

Amazon Redshift and Amazon Athena are both analytics services but serve different purposes.

Amazon RedshiftAmazon Athena
Data WarehouseServerless Query Service
Stores dataQueries data stored in S3
Provisioned clustersNo infrastructure management
Best for business intelligenceBest for ad hoc analysis
Columnar storageSQL-based querying

63. What is AWS Organizations?

Answer:

AWS Organizations is a service that helps centrally manage multiple AWS accounts.

It enables administrators to organize accounts into groups and apply centralized policies.

Features:

  • Multi-account management
  • Centralized billing
  • Service Control Policies (SCPs)
  • Account grouping
  • Cost management

Benefits:

  • Simplified governance
  • Improved security
  • Easier cost allocation
  • Better compliance management

64. What is the difference between AWS Elastic Beanstalk and AWS Lambda?

Answer:

AWS Elastic Beanstalk and AWS Lambda are deployment services designed for different application architectures.

AWS Elastic BeanstalkAWS Lambda
Platform as a Service (PaaS)Serverless Computing
Deploys complete applicationsExecutes individual functions
Long-running applicationsEvent-driven execution
Manages servers automaticallyNo server management
Suitable for web applicationsSuitable for microservices

65. What is the difference between Amazon Kinesis Data Streams and Amazon Kinesis Data Firehose?

Answer:

Amazon Kinesis provides services for processing streaming data.

Amazon Kinesis Data Streams

Used for building custom real-time streaming applications.

Amazon Kinesis Data Firehose

Used for automatically delivering streaming data into storage and analytics services.

Data StreamsData Firehose
Real-time processingAutomatic data delivery
Custom consumer applicationsNo custom consumers required
More controlFully managed
Developer-managedMinimal management

66. What is the difference between AWS CloudFront and AWS Route 53?

Answer:

CloudFront and Route 53 serve different networking purposes.

AWS CloudFrontAWS Route 53
Content Delivery Network (CDN)Domain Name System (DNS)
Delivers website contentResolves domain names
Improves website speedRoutes internet traffic
Uses edge locationsUses DNS routing policies

67. What is AWS Inspector?

Answer:

AWS Inspector is an automated security assessment service that identifies vulnerabilities and security issues in AWS workloads.

Features:

  • Vulnerability scanning
  • Security recommendations
  • Continuous monitoring
  • CVE detection
  • Integration with Amazon EC2 and ECR

Benefits:

  • Improves application security
  • Detects software vulnerabilities
  • Supports compliance requirements
  • Reduces security risks

68. What is the difference between AWS Lambda and AWS Step Functions?

Answer:

AWS Lambda executes individual functions, while AWS Step Functions coordinate multiple AWS services into workflows.

AWS LambdaAWS Step Functions
Executes codeOrchestrates workflows
Event-drivenState machine-based
Single task executionMulti-step processes
Independent functionsCoordinates multiple services

69. What is the difference between Amazon VPC and AWS Direct Connect?

Answer:

Amazon VPC provides an isolated virtual network inside AWS, while AWS Direct Connect provides a dedicated network connection between on-premises infrastructure and AWS.

Amazon VPCAWS Direct Connect
Virtual private networkDedicated physical connection
Network isolationPrivate connectivity
Configures subnets and routingConnects data center to AWS
Cloud networkingEnterprise connectivity

70. What is AWS OpsWorks?

Answer:

AWS OpsWorks is a configuration management service that automates server configuration, deployment, and application management.

It supports popular automation tools such as Chef and Puppet.

Features:

  • Automated deployments
  • Configuration management
  • Lifecycle management
  • Monitoring
  • Application stack automation

Benefits:

  • Simplifies infrastructure management
  • Automates software deployment
  • Reduces manual configuration
  • Supports scalable environments