EC2 - Elastic Compute Cloud Flashcards

1
Q

EC2 Instance

What makes up an EC2 Instance?

A

AMI (Amazon Machine Image) OS + Instance Size (CPU + RAM) + Storage + security groups + EC2 User Data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Firewall attached to the EC2 instance

  • Security Groups
  • EC2 User Data
  • SSH
  • Spot Instances
A

Security Groups

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Script launched at the first start of an EC2 instance

  • The Customer
  • EC2 User Data
  • Spot Instances
  • SSH
A

EC2 User Data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Start a terminal and connect into our EC2 instances on port 22

  • EC2 Instance Roles
  • Connect Instances
  • SSH
  • Security Groups

What protocol do you use?

A

SSH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

link’s to IAM roles

  • SSH
  • Security Groups
  • EC2 Instance Roles
  • Connect Instances
A

EC2 Instance Roles

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which EC2 Purchasing option can provide the biggest discount, but is not suitable for critical jobs or databases?

  • Reserved Instances
  • Convertible Instances
  • Dedicated Hosts
  • Spot Instances
A

Spot Instances

NOTE: Spot instances are good for short workloads, but are less reliable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which network security tool can you use to control traffic in and out of EC2 Instances?

  • Network Access Control List (NACL)
  • Identity and Management Access (IAM)
  • GuardDuty
  • Security Groups
A

Security Groups

NOTE: Security Groups operate at instance level and can control traffic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Under the Shared Responsibility Model, who is responsible for operating-system patches and updates on EC2 Instances?

  • The customer
  • AWS
  • Both AWS and the Customer
A

The Customer

NOTE: The customer is responsible for operating-system patches and updates on EC2 Instances, as well as data security on the instances, Security Groups rules, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How long can you reserve an EC2 Reserved Instance?

  • 1 or 3 years
  • 2 or 4 years
  • 6 months or 1 year
  • Anytime between 1 and 3 years
A

1 or 3 years

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A company would like to deploy a high-performance computing (HPC) application on EC2. Which EC2 instance type should it choose?

  • Compute Optimized
  • Storage Optimized
  • Memory Optimized
  • General Purpose
A

Compute Optimized

NOTE: Compute Optimized EC2 instances are great for compute-intensive workloads requiring high performance processors, such as batch processing, media transcoding, high performance web servers, high performance computing, scientific modeling & machine learning, and dedicated gaming servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which of the following is NOT an EC2 Instance Purchasing Option?

  • Spot Instances
  • Reserved Instances
  • On-demand Instances
  • Connect Instances
A

Connect Instances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which EC2 Purchasing Option should you use for an application you plan on running on a server continuously for 1 year?

  • Reserved Instances
  • Spot Instances
  • On-demand Instances
  • Convertible Instances
A

Reserved Instances

NOTE: Reserved Instances are good for long workloads. You can reserve instances for 1 or 3 years

How well did you know this?
1
Not at all
2
3
4
5
Perfectly