EC2 Quiz Questions

1. Which of the following must be specified when launching a new Amazon Elastic Compute Cloud (Amazon EC2) Windows instance? (Choose 2 answers)
A. The Amazon EC2 instance ID
B. Password for the administrator account
C. Amazon EC2 instance type
D. Amazon Machine Image (AMI)

2. Which of the following are features of enhanced networking? (Choose 3 answers)
A. More Packets Per Second (PPS)
B. Lower latency
C. Multiple network interfaces
D. Border Gateway Protocol (BGP) routing
E. Less jitter

3. You are creating a High-Performance Computing (HPC) cluster and need very low latency and high bandwidth between instances. What combination of the following will allow this? (Choose 3 answers)
A. Use an instance type with 10 Gbps network performance.
B. Put the instances in a placement group.
C. Use Dedicated Instances.
D. Enable enhanced networking on the instances.
E. Use Reserved Instances.

4. Which Amazon Elastic Compute Cloud (Amazon EC2) feature ensures that your instances will not share a physical host with instances from any other AWS customer?
A. Amazon Virtual Private Cloud (VPC)
B. Placement groups
C. Dedicated Instances
D. Reserved Instances

5. Which of the following are true of instance stores? (Choose 2 answers)
A. Automatic backups
B. Data is lost when the instance stops.
C. Very high IOPS
D. Charge is based on the total amount of storage provisioned.

6. Using the correctly decrypted Administrator password and RDP, you cannot log in to a Windows instance you just launched. Which of the following is a possible reason?
A. There is no security group rule that allows RDP access over port 3389 from your IP address.
B. The instance is a Reserved Instance.
C. The instance is not using enhanced networking.
D. The instance is not an Amazon EBS-optimized instance.

7. How are you billed for elastic IP addresses?
A. Hourly when they are associated with an instance
B. Hourly when they are not associated with an instance
C. Based on the data that flows through them
D. Based on the instance type to which they are attached

8. Which of the following EC2 services can be used without charge under the Free Tier?

A. Any single EC2 instance type as long as it runs for less than one hour per day
B. Any single EC2 instance type as long as it runs for less than 75 hours per month
C. A single t2.micro EC2 instance type instance for 750 hours per month
D. t2.micro EC2 instance type instances for a total of 750 hours per month

9. How can you connect to a new Linux instance using SSH?
A. Decrypt the root password.
B. Using a certificate
C. Using the private half of the instance’s key pair
D. Using Multi-Factor Authentication (MFA)

10. Which of the following must be specified when launching a new Amazon Elastic Compute Cloud (Amazon EC2) Windows instance?

Choose 2 answers

A. The Amazon EC2 instance ID
B. Password for the administrator account
C. Amazon EC2 instance type
D. Amazon Machine Image (AMI)

11. What EC2 instance attribute would allow you to pass a script to instruct the instance to communicate with a certificate server and pass its instance ID once launched?

A. EC2 tags
B. This needs to be done manually or through an application after the instance is launched
C. You can use the user data field to pass on the required script
D. AMI roles

12. You are trying to launch a new instance in an AZ, and you receive an “insufficient capacity error”. You then try to re-start a stopped EC2 instance in the same AZ, and you get the same error.

What could be the reason for this error?

A) You have reached the account EC2 instances limit in this AZ
B) AWS does not recognize your IAM permissions
C) There was no available EC2 capacity in this AZ at the time you tried
D) You stopped your EC2 instance for too long

13. What is AWS best practices recommendation for selecting an AZ to launch an instance in a specific region?

1. Choose the AZ that is closest to your HQ or Data Center just in case if you need to connect them later on
2. Always specify the AZ and do not leave that to AWS to select it
3. Do not select an AZ, AWS will select the best one in that region for your EC2 instance
4. Always select the first AZ in the region

14. An EC2 instance is not able to access the internet. The instance is launched in a public subnet, the VPC has an internet gateway attached, and the public subnet’s route table, security groups and NACL are all configured properly

What will be a cause of this issue?

1. The instance may not have an ENI created
2. The instance could be part of a placement group
3. The instance does not have a public or Elastic IP address assigned/attached
4. The Instance might not be going through a NAT gateway

15. What is the function of an EC2 AMI?

A. To define the hardware profile used by an EC2 instance
B. To serve as an instance storage volume for high-volume data processing operations
C. To serve as a source image from which an instance’s primary storage volume is built
D. To define the way data streams are managed by EC2 instances

16. Which of the following could be included in an EC2 AMI? (Select TWO.)

A. A networking configuration
B. A software application stack
C. An operating system
D. An instance type definition

17. Which of the following describes an EC2 dedicated instance?

A. An EC2 instance running on a physical host reserved for the exclusive use of a single AWS account
B. An EC2 instance running on a physical host reserved for and controlled by a single AWS account
C. An EC2 AMI that can be launched only on an instance within a single AWS account
D. An EC2 instance optimized for a particular compute role

18. Why might you want to use an instance store volume with your EC2 instance rather than a volume from the more common EBS service? (Select TWO.)

A. Instance store volumes can be encrypted.
B. Instance store volumes, data will survive an instance shutdown.
C. Instance store volumes provide faster data read/write performance.
D. Instance store volumes are connected directly to your EC2 instance.

19. Your web application experiences periodic spikes in demand that require the provisioning of extra instances. Which of the following pricing models would make the most sense for those extra instances?

A. Spot
B. On-demand
C. Reserved
D. Dedicated

20. Your web application experiences periodic spikes in demand that require the provisioning of extra instances. Which of the following pricing models would make the most sense for the “base” instances that will run constantly?

A. Spot
B. On-demand
C. Spot fleet
D. Reserved

 

ANSWER

1. C, D

2. A, B, E

3. A, B, D

4. C

5. B, C

6. A

7. B

8. D

9. C

10. C, D

11. C

12. C

13. 3

14. 3

15. C

16. B, C

17. A

18. C, D

19. B

20. D

EC2 Quiz Questions

Leave a Reply

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

Scroll to top