Amazon Elastic Compute Cloud (EC2) Interview Question-Answer

Q.1 Which of the following purchasing options cannot be canceled once purchased?

       A. Scheduled

       B. Reserved

       C. Spot

       D. Dedicated Host

Ans : Reserved


Q.2 The extension of the downloaded private key is ______.

       A. .json

       B. .ppk

       C. .txt

       D. .pem

Ans : .pem


Q.3 Which instance family provides us with computer-optimized instances?

       A. T

       B. C

       C. R

       D. X

Ans : C


Q.4 Which of the following purchasing options are not available in all the regions?

       A. Spot

       B. Dedicated Host

       C. Scheduled

       D. Reserved

Ans : Dedicated Host


Q.5 EC2 is compliant with the security standards of PCI DSS.

       A. True

       B. False

Ans : True


Q.6 AWS use standard AES-256 algorithm to encrypt EBS volumes.

       A. True

       B. False

Ans : True


Q.7 Amazon EC2 was launched in the year ______.

       A. 2002

       B. 2004

       C. 2006

       D. 2003

Ans : 2006


Q.8 What does eth0 represent in EC2?

       A. Primary network interface

       B. Elastic IP

       C. Secondary network interface

       D. Seecurity group

Ans : Primary network interface


Q.9 For big data and data processing applications, which type of EBS drives are used?

       A. SSD

       B. Magnetic

       C. HDD

       D. All the options

Ans : HDD


Q.10 Which type of placement groups is advantageous in case of hardware failure?

       A. Spread placement groups

       B. Cluster placement groups

Ans : Spread placement groups


Q.11 All AWS accounts are limited to __ EIP address per region.

       A. 5

       B. 10

       C. 15

       D. 20

Ans : 5


Q.12 Security groups are always permissive, and we can’t write rules to deny access.

       A. True

       B. False

Ans : True


Q.13 If you send a request from your instance and the response traffic for that request is allowed to flow in regardless of inbound security group rules.

       A. True

       B. False

Ans : True


Q.14 By default, a security group allows all ________.

       A. Inbound traffic

       B. Outbound traffic

       C. Both the options

       D. None of the options

Ans : Outbound traffic


Q.15 The source and destination of a security group can be either _________.

       A. Security Group

       B. IPv4 address

       C. IPv6 address

       D. All the options

Ans : All the options


Q.16 In the cluster placement groups, the type of instances grouped is ________.

       A. Different

       B. Only T2

       C. Only M series

       D. Same

Ans : Same


Q.17 CloudWatch metrics are enabled for every _____.

       A. 45 secs

       B. 30 secs

       C. 1 min

       D. 5 min

Ans : 30 secs


Q.18 What is the default cooldown period in Auto scaling?

       A. 500 sec

       B. 150 secs

       C. 500 sec

       D. 100 secs

Ans : 300 sec


Q.19 In EC2, by default, metrics are enabled for every ________ minutes.

       A. 5

       B. 10

       C. 15

       D. 30

Ans : 5


Q.20 Can load balancers perform encryption?

       A. True

       B. False

Ans : True


Q.21 Which load balancers support EC2 classic?

       A. NLB

       B. CLB

       C. ALB

Ans : ALB


Q.22 Which is the best method to give privilege to an EC2 instance to access other AWS resources?

       A. Access keys

       B. Roles

       C. Both the options

       D. None of the options

Ans : Both the options


Q.23 Which load balancers are required for extreme performances?

       A. ELB

       B. NLB

       C. ALB

       D. CLB

Ans : ALB


Q.24 Network Load balancer operates at the _______ layer of the OSI model.

       A. Fifth

       B. Seventh

       C. Third

       D. Fourth

Ans : Seventh


Q.25 Can you attach an EBS volume to more than one EC2 instance at the same time?

       A. Yes

       B. It depends on the type of AMI

       C. No

       D. It depends on the type of instance

Ans : It depends on the type of instance


Q.26 Sticky sessions are also called a session affinity.

       A. True

       B. False

Ans : True


Q.27 Auto scaling assures that the size never goes above or below the limits of scaling in groups.

       A. True

       B. False

Ans : True


Q.28 Which block drives can’t be used for root volumes?

       A. Magnetic

       B. SSD

       C. HDD

Ans : HDD


Q.29 What does eth0 represent in EC2?

       A. Elastic IP

       B. Secondary network interface

       C. Primary network interface

       D. Security group

Ans : Primary network interface


Q.30 Data persists in the instance store when the instance _________.

       A. Reboots

       B. Stops

       C. Terminates

       D. Drive failure

Ans : Terminates


Q.31 In which among the following, you can get instances at flexible times and low prices?

       A. Scheduled

       B. Spot instances

       C. Dedicated host

       D. Reserved

Ans : Spot instances


Q.32 Private AMIs can be shared with other AWS accounts.

       A. True

       B. False

Ans : True


Q.33 By default, an instance gets rebooted when we try to create an AMI from it.

       A. True

       B. False

Ans : True


Q.34 Which type of placement groups allows different kinds of instances to form a group?

       A. Spread placement groups

       B. Cluster placement groups

Ans : Cluster placement groups


Q.35 Can we merge two placement groups?

       A. Yes

       B. No

Ans : No


Q.36 Security groups are always permissive, and one cannot write rules to deny access.

       A. True

       B. False

Ans : True


Q.37 The EC2 instance and EBS volumes need to be attached to the instance that must be in ________.

       A. Same AZ

       B. Any region

       C. Same region

       D. Any AZ

Ans : Same AZ


Q.38 Which of the following purchasing options are not available in all regions?

       A. Scheduled

       B. Spot

       C. Reserved

       D. Dedicated Host

Ans : Dedicated Host


Leave a Comment