AWS interview questions and answers 2024

Q1) What is AWS?
Ans: AWS stands for Amazon Web Services. AWS is a platform that provides on-demand resources for hosting web services, storage, networking, databases and other resources over the internet with a pay-as-you-go pricing.


Q2) What are the components of AWS?
Ans: EC2 – Elastic Compute Cloud, S3 – Simple Storage Service, Route53, EBS – Elastic Block Store, CloudWatch, Key-Paris are few of the components of AWS.


Q3) What are key-pairs?
Ans: Key-pairs are secure login information for your instances/virtual machines. To connect to the instances we use key-pairs that contain a public-key and private-key.

Q4) What is S3?
Ans: S3 stands for Simple Storage Service. It is a storage service that provides an interface that you can use to store any amount of data, at any time, from anywhere in the world. With S3 you pay only for what you use and the payment model is pay-as-you-go.

Q5) What are EBS volumes?
Ans: EBS stands for Elastic Block Stores. They are persistent volumes that you can attach to the instances. With EBS volumes, your data will be preserved even when you stop your instances, unlike your instance store volumes where the data is deleted when you stop the instances.

Q6) What are the types of volumes in EBS?
Ans: Following are the types of volumes in EBS,

  • General purpose
  • Provisioned IOPS
  • Magnetic
  • Cold HDD
  • Throughput optimized

Q7) What are the types of volumes for EC2 instances?
Ans:

There are two types of volumes,

  • Instance store volumes
  • EBS – Elastic Block Stores

Q8) What is glacier?
Ans: Glacier is the back up or archival tool that you use to back up your data in S3.

Q9) What is the default storage class in S3?
Ans: The default storage class in S3 in Standard frequently accessed.

Q10) What is the minimum and maximum size of individual objects that you can store in S3?
Ans: The minimum size of individual objects that you can store in S3 is 0 bytes and the maximum
bytes that you can store for individual objects is 5TB.

Q11) What is an EIP?
Ans: EIP stands for Elastic IP address. It is designed for dynamic cloud computing. When you
want to have a static IP address for your instances when you stop and restart your instances, you will
be using EIP address.

Q12) What are the types in CloudWatch?
Ans: There are 2 types in CloudWatch. Basic monitoring and detailed monitoring. Basic monitoring is free and detailed monitoring is chargeable.

Q13) What are the CloudWatch metrics that are available for EC2 instances?
Answer: Diskreads, Diskwrites, CPU utilization, networkpacketsIn, networkpacketsOut, networkIn, networkOut, CPUCreditUsage, CPUCreditBalance.

Q14) What are reserved instances?
Ans: Reserved instances are the instance that you can reserve a fixed capacity of EC2 instances. In reserved instances you will have to get into a contract of 1 year or 3 years.

Q15) What are the different types of instances?

Ans: Following are the types of instances,

  • General purpose
  • Computer Optimized
  • Storage Optimized
  • Memory Optimized
  • Accelerated Computing


Q16)What is an AMI?
Ans: AMI stands for Amazon Machine Image. AMI is a template that contains the software configurations, launch permission and a block device mapping that specifies the volume to attach to the instance when it is launched.

Q17) What is CloudWatch?
Ans: CloudWatch is a monitoring tool that you can use to monitor your various AWS resources. Like health check, network, Application, etc.

Q18) What is an auto-scaling and what are the components?
Answer: Auto scaling allows you to automatically scale-up and scale-down the number of instances depending on the CPU utilization or memory utilization. There are 2 components in Auto scaling, they are Auto-scaling groups and Launch Configuration.

Q19) What are the different storage classes in S3?

Ans: Following are the types of storage classes in S3,

  • Standard frequently accessed
  • Standard infrequently accessed • One-zone infrequently accessed.
  • Glacier
  • RRS – reduced redundancy storage


Q20) What are the pricing models for EC2instances?
Ans: The different pricing model for EC2 instances are as below

  • On-demand
  • Reserved
  • Spot
  • Scheduled
  • Dedicated










Leave a Reply

Your email address will not be published. Required fields are marked *