Amazon Services Flashcards

1
Q

multitenancy

A

sharing physical machines with multiple other users

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

hypervisor

A

used to manage and coordinage isolation of multitenant VMs

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

CaaS

A

Compute as a Service

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

scaling

A

vertical scaling - instances are resizable

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

EC2

A

Elastic Compute Cloud

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

types of EC2 instances

A
  • general purpoe
  • compute optimized
  • storage optimized
  • memory optimized
  • accelerated computing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

compute optimized instances - uses

A
  • gaming
  • hpc
  • scientific modeling
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

memory optimized instances - uses

A
  • high performance DBs
  • real time data processing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

accelerated computing - uses

A
  • FP calculations
  • graphics
  • data pattern matching
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

storage optimized instances - uses

A
  • distributed file systems
  • data warehousing
  • OLTP (online transactional processing)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

storage optimized instances - what is the optimization?

A

high IOPS - tens of thousands

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

accelerated computing instances - what is the optimization?

A

use of hardware accelerators (coprocessors)

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

EC2 instance pricing types

A
  • on demand (per hour, per second)
  • savings plan
  • reserved instances
  • spot instances
  • dedicated host
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is savings plan?

A

Reduced pricing in exchange for committment to use.

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

How long are savings plan agreements for?

A

1 or 3 years

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

How cheaper can the savings plan be?

A

Up to 60%.

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

What are reserved instances used for?

A

Steady-state workloads or workloads with predictable usage.

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

How long are reserved instances agreements for?

A

1 or 3 years.

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

How cheaper the reserved instances can be?

A

Up to 72%.

20
Q

What is the deal with spot instances?

A

AWS can claim an instance back at any time with 2-minute warning.

21
Q

What are spot instances good for?

A

Workflows which are not affected by sudden disruptions.

22
Q

How cheaper are spot instances?

A

Up to 90%.

23
Q

Why someone would choose a dedicated host?

A

For meeting compliance requirements.

24
Q

What is a dedicated host?

A

A physical host, no shared tenancy.

25
Q

Amazon EC2 Auto Scaling

A

EC2 service which allows for automatically scaling in response to changing demand.

26
Q

2x2 types of scaling

A
  • dynamic scaling vs. predictive scaling
  • scaling up vs. scaling out
27
Q

What is dynamic scaling?

A

Scaling responds to the actual demand.

28
Q

What is predictive scaling?

A

Scheduling the right amount of instances based on predicted demand.

29
Q

What is scaling up?

A

Adding more power to an instance.

30
Q

What is scaling out?

A

Adding more instances.

31
Q

What can be configured in an Auto Scaling Group?

A

Minimum capacity, desired capacity, maximum capacity.

32
Q

Elastic Load Balancing (ELB)

A

A managed service. A load balancer which routes requests to instances to properly distribute traffic in:
- high performant
- cost efficient
- highly available
- automatically scalable
way.

33
Q

Features of the ELB

A
  • regional construct (single URL)
  • automatically highly available
  • automatically scalable (handles additional traffic without additional cost)
  • not only for external traffic
  • single point of contact to an autoscaling group
34
Q

Amazon SNS (Simple Notification Service) - features

A
  • send messages to services
  • send notifications to end users
  • publish/subscribe model (topic + publisher + subscribers)
35
Q

SNS subscribers include…

A
  • push
  • sms
  • email
36
Q

SNS publishers include…

A
  • SQS
  • http(s)
  • lambda
37
Q

Amazon SQS (Simple Queue Service) is used for…

A

sending, storing, receiving messages between software components (at any volume)

38
Q

Amazon SQS - features

A
  • scales automatically
  • reliable
  • protects payload
39
Q

Why would you want to use messaging and queuing

A

to avoid tight coupling of components -> to achieve loosely coupled architecture

40
Q

What is the name of the architecture that makes use of messaging and queuing?

A

Microservice architecture

41
Q

What is serverless compute?

A

User cannot access the underlying infrasctructure.

42
Q

What are the steps to use Amazon Lambda?

A
  • upload code to a lambda function
  • configure a trigger
  • lambda waits for the trigger
  • when the trigger happens, the code is run in a managed environment
43
Q

What is the runtime limit for Amazon Lambda?

A

15 minutes

44
Q

What do you pay for using Amazon Lambda?

A

For the time the code is running.

45
Q

Amazon ECS

A

Elastic Container Service - docker container orchestration tools run on an instance managed by the user

46
Q

Amazon EKS

A

Elastic Kubernetes Service

47
Q

Amazon Fargate

A

serverless platform for ECS and EKS