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 the 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 are launched within the 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 distributed 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.
Dedicated 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 a 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
11
Q

What is an EC2 General Purpose?

A

General purpose instance provides a balance of compute, memory, and network resources.
These instances are ideal for applications that use these resources in equal proportions such as web servers and code repositories.

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

What is an EC2 Compute Optimized?

A
Compute Optimized instances are great for compute-intensive tasks that require high-performance processors.
Example: 
• Batch processing workloads
• Media transcoding
• High performance web servers
• High performance computing (HPC)
• Scientific modeling & machine learning
• Dedicated gaming servers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is an EC2 Memory Optimized?

A
Memory optimized instances are designed to deliver fast performance for workloads that process large data sets in memory.
Example: 
• Floating point number calculations
• Graphic processing
• Data pattern matching
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is an EC2 Storage Optimized?

A

Storage optimized instances are great for storage-intensive tasks that require high, sequential read and write access to large data sets on local storage
Example:
• High frequency online transaction processing (OLTP) systems
• Relational & NoSQL databases
• Cache for in-memory databases (for example, Redis)
• Data warehousing applications
• Distributed file systems

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