Module 2: Compute in the Cloud Flashcards

1
Q

What is Amazon Elastic Compute Cloud (Amazon EC2)?

A

Amazon Elastic Compute Cloud (Amazon EC2) is a cloud infrastructure that provides raw computing resources on demand.

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

Describe the benefits of Amazon Elastic Compute Cloud (Amazon EC2)?

A
  • Launch an Amazon EC2 instance within minutes
  • Stop using it when you finish running a workload
  • Pay only for the compute time you use when an instance is running, not when it is stopped or shut down
  • Save costs by paying only for server capacity that you need or want
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does Amazon EC2 Instances work?

A
  1. Launch an instance
  2. Connect to the instance
  3. Use the instance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the 5 Amazon EC2 instance types?

A
  1. General purpose instances provide a balance of compute, memory, and networking
    resources
  2. Compute optimized instances are ideal for compute-bound applications that benefit
    from high-performance processors.
  3. Memory optimized instances are designed to deliver fast performance for workloads
    that process large datasets in memory.
  4. Accelerated computing instances use hardware accelerators, or coprocessors, to
    perform some functions more efficiently than is possible in software running on CPUs
  5. Storage optimized instances are designed for workloads that require high, sequential
    read and write access to large datasets on local storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the 4 Amazon EC2 Instance Pricing Options?

A
  1. On-Demand Instances are an excellent option to use for this type of short-term,
    irregular workload that cannot be interrupted. No upfront costs or minimum
    contracts apply
  2. Spot Instances are ideal for these types of workloads with flexible start and end
    times, or that can withstand interruptions. Spot Instances use unused EC2 computing
    capacity and offer you cost savings at up to 90 percent of On-Demand prices
  3. Reserved Instances are a billing discount that is applied to the use of On-Demand Instances if you commit to 1 or 3 years of service
  4. Amazon EC2 Savings Plans can help you reduce your compute costs by committing to a consistent amount of compute usage for a 1-year or 3-year term. This results in savings of up to 66 percent over On-Demand costs.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the 2 Amazon EC2 Dedicated Computing options?

A
  1. Dedicated Instances are EC2 instances that run in a virtual private cloud (VPC) on hardware that is dedicated to a single customer. They have a higher cost compared to standard Amazon EC2 instances.
  2. Dedicated Hosts are physical servers with EC2 instance capacity that is fully
    dedicated to your use. Of all the EC2 options covered, Dedicated Hosts are the most expensive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is EC2 Auto Scaling, and the two approaches of scaling?

A

Amazon EC2 Auto Scaling enables you to automatically add or remove Amazon EC2 instances in response to changing application demand. Dynamic scaling responds to changing demand whereas Predictive scaling automatically schedules the right number of Amazon EC2 instances based on
predicted demand.

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

What does Elastic Load Balancing mean?

A

Elastic Load Balancing means size of a workload remains the same, but the workload is balanced by evenly distributing it across Amazon EC2 instances.

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

What is the difference between Monolithic Application Design and a Microservice Application Design?

A

In Monolithic, components including databases, servers, user interfaces, business logic, etc. are tightly coupled, meaning if a single component fails, other components fail. Microservices components are loosely coupled, so if a single component fails, the other components continue to work because they are
communicating with each other.

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

What is the Amazon Simple Notification Service and how do publishers/subscribers communicate?

A

Amazon Simple Notification Service (Amazon SNS) is a managed service that provides message delivery from publishers to subscribers. Publishers communicate asynchronously with subscribers by sending messages to a topic.

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

What is the Amazon Simple Queue Service?

A

Amazon Simple Queue Service (Amazon SQS) is a message queuing service where you can send, store, and receive messages between software
components without losing messages or requiring other services to be available.

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

What is AWS Lambda?

A

AWS Lambda is a service that lets you run code without needing to provision or manage servers.

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

What are the 4 steps involved when using AWS Lambda?

A
  1. Upload code to Lambda.
  2. Set code trigger from event source
  3. Code runs only when triggered
  4. Pay only for compute time you use
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a Container?

A

A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another.

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

What is Amazon Elastic Container Service?

A

Amazon Elastic Container Service (Amazon ECS) is a highly scalable, high-performance container management system that allows you to run and scale containerized applications on AWS.

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

What is Amazon Elastic Kubernetes Service?

A

Amazon Elastic Kubernetes Service (Amazon EKS) is a fully managed service that you can use to run Kubernetes on AWS, which is an open source software that allows you to deploy and manage containerized applications at scale

17
Q

What is AWS Fargate and why is it different to Amazon ECS and EKS?

A

AWS Fargate is a serverless compute engine for containers. Unlike Amazon ECS and Amazon EKS, which are both container orchestration services, AWS Fargate is a container hosting platform.

18
Q

What is AWS Elastic Beanstalk?

A

Platform as a service which allows you to deploy and scale web applications and services