AWS EC2 Interview Questions

AWS Ec2 Interview Questions

Amazon ECC or Amazon EC2 stands for Amazon Elastic Compute Cloud and is one of the other parts of the larger Amazon Cloud services for the computing-based platforms offered by it.

With the help of this service, Amazon users can avail the facility of virtual computer rentals as a framework on which they can easily run their own web programs or applications.

Download AWS Ec2 Interview Questions PDF

Below are the list of Best AWS Ec2 Interview Questions and Answers

Amazon EC2 stands for Elastic Compute Cloud which is a web service interface. It also provides resizable compute capacity in the AWS cloud. It is used by developers to have complete control over web-scaling and computing resources.

Some Pros and Cons of using Amazon EC2 is as follows.


  • It has the ability to expand resources for the deployment of your cloud according to demand makes it extremely likable.
  • Cloud hosting offers excellent backup capabilities, so it's a breeze to go back to the previous version.
  • The cloud infrastructure prevents us from maintaining local hardware resources.


  • The entire configuration and spin-up process require comprehensive technical knowledge.
  • It has a little lack of training documentation and support. We tried to use Lambda expressions in the execution of program flow and found no great resources on this subject.

The types of EC2 instances available in AWS are listed below:

  • General-Purpose instances.
  • 2. Compute Optimized instances.
  • 3. Memory Optimized instances.
  • 4. Accelerated Computing instances.
  • 5. Storage Optimized instances

EC2 instance tags are used for the following purposes:

  • It helps you to manage your instances, images, and other Amazon EC2 resources.
  • It allows you to assign your own metadata to each resource in the form of tags.
  • It enables you to categorize your AWS resources in different ways such as by purpose, owner, or environment.

We should create instances in AWS to obtain and configure capacity with minimal friction.

Some tools to monitor AWS are as follows:

  • Nagios XI
  • AppDynamics
  • SolarWinds® AppOptics
  • SolarWinds Papertrail
  • StackPath Edge Delivery
  • Paessler PRTG Network Monitor
  • ManageEngine Applications Manager
  • SolarWinds Database Performance Analyzer
  • SolarWinds Database Performance Monitor
  • SolarWinds Server & Application Monitor

To route a domain name to an EC2 Instance follow these steps:

  • Open the Route 53 console at
  • In the navigation pane, choose Hosted zones.
  • Choose the name of the hosted zone that matches the name of the domain that you want to route traffic for.
  • Choose Create Record.
  • Specify Routing policy and Choose to Create records values.

The differences between a public IP and an Elastic IP in AWS are as follows:

S. N.Public IPElastic IP
1It is assigned to your launched instance.It is assigned to your AWS account.
2When an instance is terminated the public IP attached to it gets released and further when you relaunch the same instance new IP address is assigned.Elastic IP does not change and they remain the same even if you terminate the instance and later again restart the same instance.

The difference between Amazon ECS and Amazon EC2 are as follows:

S. N.Amazon EC2Amazon ECS
1EC2 is simply a remote virtual machine that you can launch.ECS is a logical group of EC2 instances on which you can run an application without having to scale your own cluster management infrastructure because ECS manages that for you.

The following steps are used to find EC2 instances running a certain AMI.

  • Open the Amazon EC2 console at
  • In the navigation pane, choose AMIs.
  • In the navigation pane, choose Snapshots, and select the snapshot (look for the AMI ID in the Description column).
  • (Optional) If you are finished with an instance that you launched from the AMI, terminate it

‘2’ signifies the two continuous C’s such as Compute Cloud in EC2 of AWS.

An Amazon Elastic Block Store (EBS) snapshot is a point-in-time representation of the Amazon EBS volume, which is gradually copied to Amazon Simple Storage Service (Amazon S3) and are incremental images of data. This means that individual blocks of EBS volume data that have evolved since the last EBS snapshot are stored in the next EBS snapshot and this is how incremental images of data are produced in Amazon AWS EBS snapshot.