EC2 - Elastic Compute Cloud Flashcards

1
Q

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

a) Scheduled instances
b) Convertible Instances
c) Dedicated Hosts
d) Spot Instances

A

d) Spot Instances

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
2
Q

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

a) Network Access Control List (NACL)
b) Identity and Management Access (IAM)
c) GuardDuty
d) Security Groups

A

d) Security Groups

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
3
Q

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

a) The customer
b) AWS
c) Both AWS and the customer

A

a) The customer

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
4
Q

How long can you reserve an EC2 Reserved Instance?

a) 1 or 3 years
b) 2 or 4 years
c) 6 months or 1 year
d) Anytime between 1 and 3 years

A

a) 1 or 3 years

1 year or 3 years terms are available for EC2 Reserved Instances.

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

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

a) Spot Instances
b) Reserved Instances
c) On-demand Instances
d) Connect Instances

A

d) Connect Instances

This EC2 Instance purchasing option does not exist.

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

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

a) Reserved Instances
b) Spot Instances
c) On-demand instances
d) Convertible Instances

A

a) Reserved Instances

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
7
Q

For EC2 On Demand, you pay for what you use, how are billed Linux and all other OS (ex: Windows)?

A

For Linux, billing per second, after the first minute

For all other OS, billing per hour

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

What are the types of reserved instances available?

A
  • Normal Reserved Instance, a specific instance type is reserved.
  • Convertible Reserved Instance, where you can change the EC2 type over time.
  • Scheduled Reserved Instances, these are launched within reserved time window.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are EC2 Spot Instances and what could be used for?

A

Are the most cost-efficient instances, they are lost at any point of time if the max price a customer is willing to pay for them is less than the current spot price.

Useful for workload that are resilient to failure like:

  • Batch jobs
  • Data analysis
  • Image processing
  • Any distrubuted workloads, it doesn’t matter if an instance gets lost while other instances can continue working.
  • Workloads with a flexible start and end time

NEVER CONSIDER A SPOT INSTANCE FOR CRITICAL JOBS OR DATABASES

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

What are the EC2 Dedicated Hosts?

A

Are physical servers with EC2 instance capacity fully dedicated for customer’s use.
Deciated Hosts can help customers to address compliance requirements and reduce costs by allowing them to use existing server-bound software licenses.

They are allocated for an account for 3 year period reservation and they are more expensive.

Are useful for software that has complicated licensing model (BYOL Bring Your Own License) or companies that have strong regulatory or compliance needs

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