1 AWS EC2 Interview Questions - MindMajix
1 AWS EC2 Interview Questions - MindMajix
Are you ready to dive into Amazon EC2? Explore the latest interview questions and
answers created by experts with real-world experience below and start taking your AWS
EC2 skills to the next level today!
In the AWS cloud, Amazon EC2 offers scalable processing power. By utilizing it, businesses may
create and scale-out applications more quickly without having to make an upfront hardware
investment. An easy-to-use dashboard allows users to launch virtual servers, set up networking
and security, and control cookies.
But in order to start your AWS EC2 career, you must plan some interviews and succeed in them.
In that vein, here are some AWS EC2 interview questions and answers to aid you in the
interview process.
Answer : Cloud Services can be mainly classified into three types, namely,
Storage
Networking
Computing
However, the sites included under these regions are called availability zones.
Usually, only isolated regions are included, capable of replicating themselves as per
requirement.
1. FIFO Queues
2. Standard Queues
1. Analytics
2. Identity
3. Security
4. Compliance
5. Storage
6. Database
7. Machine learning
5. Under AWS, mention the snow family members?
1. AWS Snowmobile
2. AWS Snowcone
3. AWS Snowball
Answer : The AWS shield safeguards the Amazon EC2 from common infrastructure layer and
the DDoS attacks like UDP reflection attacks, such as NTP reflection, DNS reflection, SSDP
reflection, etc.
The US standard falls among the cheapest AWS regions in the World.
Answer : The AWS services can be availed across 18 regions across South America, North
America, Asia Pacific, and the EU.
Answer :
1. Amazon Glacier
2. Amazon SNS
3. Amazon Kinesis
4. Amazon VPC
5. Amazon CloudFront
6. Amazon S3
7. Amazon Lambda
1. Accelerated Computing
2. Compute-optimized Instances
3. Memory-optimized
4. Storage Optimized
5. General-purpose Instances.
Answer: Amazon S3 has a global e-commerce network run on scalable storage infrastructure
and a web interface for object storage. Thus one can say that Amazon S3 is a global service.
Answer: Not all the services provided are region-based, but most of them are.
16. Explain the function of Amazon EC2 in Amazon Auto Scaling fleet
management.
Answer:
1. Firstly, it has the job of balancing capacity across various availability zones.
2. Secondly, the malfunctioning EC2 instances are replaced with new ones.
3. Lastly, the health of the running EC2 instances is monitored in the cloud infrastructure.
Answer:
RPO stands for Recovery Point Objective. It can be defined as the amount of time or data loss
one can afford after a disaster in the service. It is generally measured in the sub-second range.
RTO can be defined as the time taken as the recovery time after a disaster to return to regular
operations. Generally measured in minutes, the RTO stands for Recovery Time Objective.
Answer: The Amazon ElastiCache functions as a message, cache, queue, database, etc., which
majorly serves as a fast in-memory data store. Nevertheless, it also supports session stores,
gaming leaderboards, real-time transactions, and Business intelligence tools.
Answer: The connectivity of Amazon RDS with Amazon Neptune stands in the shared
technologies while managing security group management, instance lifestyle management, and
encryption at rest with Amazon KMS keys.
Answer: A Global network infrastructure consisting of more than 300 Points of Presence (PoPs)
speeds up content delivery. The required optimization of the content delivery is achieved
through Websockets and edge termination.
21. Name the tools and techniques the user can employ to identify whether
you are paying the correct amount?
Answer: The ways by which you can check whether you are paying the correct amount are by
employing the following resources
1. Cost explorer
2. AWS budget
3. Cost allocation Tags
4. By checking the top table services
22. Other than Console, what are the tools by which you can log into the
cloud environment?
Answer: The tools that can help you log into cloud applications are as follows
1. AWS SDK
2. AWS CLI for Linux
3. AWS CLI for Windows
4. Eclipse
5. Putty
1. Amazon CloudFront
2. ALL
3. VPC
4. AWS Shield
5. AWS WAF
24. What ways to set up a system for monitoring metrics in real-time in AWS?
Answer: The application status of various custom events and AWS services can be monitored
using Amazon Cloudwatch
1. Data as a service
2. Platform as a service
3. Software as a service
4. Infrastructure as a service
27. Name some of the DB Engines the user can use in AWS RDS?
1. MariaDB
2. OracleDB
3. PostgreDB
4. MS-SQL DB
5. MYSQL DB
1. Scheduled
2. Reserved
3. Spot
4. Dedicated
5. on-demand
Answer: A tool capable of monitoring different types of AWS services, such as application,
health inspection, networking, etc., is called Cloudwatch.
1. Detailed Monitoring
2. Basic Monitoring
Answer: AN archiving or backup tool that helps in backing up data to S3 is referred to as Glacier.
1. Failover routing
2. Geolocation routing
3. Weighted routing
4. Multivalue answer
5. Simple routing
6. Latency routing
1. No IT maintenance
2. Better performance
3. Device-independent
4. Lesser Computing Cost
5. Business connectivity
1. AWS SDK
2. AWS CLI
3. AWS Console.
1. Prefix searches
2. Range searches
3. Entire text search
4. Boolean searches
40. Mention the year when the company officially launched amazon company
EC2?
43. What are the possible storage options available for EC2 instances?
Answer: The possible storage options available for EC2 instances are
1. Amazon S3
2. Amazon Storage
3. Amazon EBS
4. Amazon EC2 instance store
Answer: The famous well known DevOps tools are listed below
1. Capacity Controller
2. Group Controller
3. Cloud regulator
4. Hub Controller
1. EBS upheld
2. Example Store Upheld
47. Name the AWS service that only exists for images and rudimentary cache
data?
Answer: The AWS service that exists only to rudimentary cache data and images is AWS Edge
locations.
48. What is the maximum boot time taken for a store-backed AMI?
Answer: The maximum boot time for an Amazon occasion store-backed AMI Is 5 minutes.
49. What are the processes through which Amazon Route 3 provides low
latency and high availability?
Answer: The Amazon Route 3 provides both HIgh availability and low latency, which can be seen
through
1. Reliance
2. Ideal Locations
3. Universally Distributed Servers.
51. What is the maximum number of Elastic IPs a user can create in AWS?
Answer: The maximum number of Elastic IPs created per AWS account per area is 5.
52. Under which Cloud service, we can categorize Load Balancer and DNS
service?
Answer: IAAS-stockpiling Cloud administration includes DNS and Load Balancer administrations.
1. Provisioned IOPS
2. Cold HODD
3. Throughput optimized
4. Magnetic
5. General-purpose
54. List some connection issues that can be faced while connecting to an EC2
instance?
Answer: The connection issues which you might face while connecting to the EC2 instance are
1. C(Client-side)
2. S3(AES 256 encryption)
3. KMS(Key management service).
Answer: A web service of the AWS which notifies the user of any activity in the Cloud that
requires attention as per the user's desire in the form of messages or emails is referred to as
SNS or Simple Notification Service.
1. Volume gateway
2. File gateway
3. Tape gateway
1. Manual
2. Automated
1. Paravirtualization
2. Hardware-assisted virtualization.
Answer: The role of a buffer is to synchronize and integrate various components in AWS. It links
multiple apparatus delivering quick services at a uniform rate, thus maintaining equilibrium.
Answer: The Snowball plays the role of transferring a large amount of data in and out of the
AWS at a meager networking cost.
Answer: The permissions attached to the Created AWS users to access their accounts are
referred to as policies.
63. Name the cloud watch merits available for EC2 instances?
Checkout: Choosing The Right EC2 Instance Type For Your Application
Answer: The security of a Virtual Private Cloud can be regulated with the help of the Network
Access Control List and Security Groups.
Answer: The connection of two or more Virtual Private Clouds is achieved through VPC peering,
where the connected VPCs function coherently.
Answer: Redshift is Amazon's data warehouse product through which we can access powerful
and fast services.
Answer: Multipart Upload Utility of the AWS helps upload large files. Here, the files are generally
divided into parts and then uploaded parallel and independently to reduce the upload time.
After completing the upload, the software will convert the files into a single file.
Answer: The highly functional block-level storage provided by Elastic Block Storage can be
connected to any EC2 instance and can be accessed with great ease.
1. Auto-scaling groups
2. Launch configuration
Answer: A Stateful Firewall is a security group that helps in the regulation of traffic among
various AWS resources and instances.
On the other hand, a security group that allows or denies traffic based on rules and is an Access
control List at the Subnet level is called Stateless Firewall.
Answer: Amazon's product provides a reliable and fast database with enhanced scalability for
storing vast data and increased performance.
75. How can you differentiate between the Service and SAML Federated roles?
Answer: The benefits of Security Token Service say that as the credentials are temporary, there
is no necessity to rotate or revoke them.
77. Define IaaS.
Answer: The Cloud service, with the help of various services run on a pay-as-you-go basis in
AWS, is called IaaS.
Answer: The service that helps in the managing memory caching environment is denoted as
Amazon ElastiCache
1. Cost-effectiveness
2. Scalable Caching environment
3. High performance
Answer: The significant role of PaaS is to successfully run cloud platforms predominantly to
monitor, develop and test the software that is functioning.
Answer: The health check failed, and non-updated instances are rerouted with the help of
Connection draining.
In Horizontal scaling, the power and performance are enhanced by the augmentation of new
machines.
84. What are the network parameters while launching instances in a cluster
placement group?
Answer: On launching instances in Cluster placement groups, we can expect the following
parameters
85. Suggest a possible way to reduce the Amazon EC2 instance load?
Answer: Attaching a load balancer to an autoscaling group effectively reduces the load by
distributing it among various instances.
Answer: In Amazon AWS, there are situations when you need to install necessary software or
extract log files. During these situations, lifecycle hooks help add wait time before an instance's
termination or launch.
Answer: Lambda facilitates deploying functions that are triggered by events and also help to run
server-less applications
Answer: SES is an Amazon service that helps send bulk emails to users at a low cost.
Answer: Functions such as the response to CloudFront events to execute functions in AWS
without a managing server is performed by Lambda edge.
Answer: Amazon Kinesis Firehose is a data Firehouse that helps stack information in devices or
information stores without a continuous organization.
Do you want to know more about AWS EC2? Take a Look at this AWS EC2 Tutorial
Answer: Amazon EC2 is an on-demand computing resource that helps host applications. During
uncertain workloads, it is amicable. This computing resource is time friendly and allows quick
scaling as per the requirement.
Answer:
Restricts access and makes it available only for trusted hosts or networks to access
Only open up permissions according to your requirement
Disable password-based login
AWS identity usage and management of access to control AWS resources
Answer: Key-pairs is password or login information used to prove identity whenever connected
to the Amazon EC2 instance.
Answer: As per the changing demands in workloads, the Amazon EC2 service removes or adds
EC2 instances. It also detects unhealthy EC2 instances.
Answer: This efficient serving computing resource automatically replaces unhealthy EC2
instances with new instances. Therefore, we can say that it continuously surveils the health of
Amazon EC2 instances.
Answer: When you stop an instance, it means that the model shuts down, and again when you
start the sample, the attached volumes to the instance remain attached.
When you terminate an instance, it automatically deletes the EBS volumes attached; hence, the
system can never restore it.
Spot instance
Reserved Instance
On-demand instance
13. Discuss the regions and availability zones of Amazon EC2 instances.
Answer: This instance is hosted in multiple locations across the World. All the isolated places
are called Availability zones.
Answer: Rebooting an Ebs device is like rebooting your PC, which means it does not affect your
hard disk. Rebooting does not have any effect as such.
1. You plan to design an application by encrypting all the data in an Amazon Redshift cluster.
How will you encrypt the data at rest?
2. An organization decides to build an Amazon Redshift cluster to host sensitive data in their
shared services VPC. What control does the organization implement for networks accessing the
cluster?
Providing access to networks that connect with share services through VPN.
For users on the network, creating a database user inside the Amazon Redshift cluster.
Defining a cluster security group for the cluster allowing access from the allowed networks.
3. An application saves the logs to an S3 bucket. A user needs to keep the logs for one month for
troubleshooting purposes and then clear the logs. What action will enable this?
4. A website experiences inconstant traffic, and the database cannot keep up with the write
requests during peak traffic times. What AWS Service helps to decouple the web application
from the database?
AWS Lambda
Amazon S3
Amazon EFS
Amazon SQS
5. A solution architect is designing a new web application on AWS. To make the application very
popular, the architect focuses on software development and new features without managing or
provisioning instances. Which solution is best suited for that?
Elastic Load Balancing with Amazon EC2 and Auto Scaling groups
Name
Subscribe
Course Schedule
Name Dates
SaiKumar Kalla
Read More
Recommended Courses
30 hours 1623
★★★★★ 4.7
15 /15
EXPLORE COURSES
No comments Sign up Sign in