Module2 Flashcards

1
Q

Scalability

A

Scalability involves beginning with only the resources you need and designing your architecture to automatically respond to changing demand by scaling out or in. As a result, you pay for only the resources you use. You don’t have to worry about a lack of computing capacity to meet your customers’ needs.

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

Amazon EC2 Auto Scaling

A

Amazon EC2 Auto Scaling enables you to automatically add or remove Amazon EC2 instances in response to changing application demand.

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

What are the two approaches to Amazon EC2 Auto scaling

A

Within Amazon EC2 Auto Scaling, you can use two approaches: dynamic scaling and predictive scaling

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

Dynamic scaling responds to?

A

Dynamic scaling responds to changing demand.

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

What is predictive scaling?

A

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

Elastic Load Balancing

A

is the AWS service that automatically distributes incoming application traffic across multiple resources, such as Amazon EC2 instances.

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

Amazon (SNS)

A

A messaging service used to deliver push notifications to recipients
publish/subscribe service.
SNS topics, a publisher publishes messages to subscribers.

Simple notification service
Subscribers get all messages
Send message to topics
push-based

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

Examples of SNS?

A

web servers, email addreses, AWS Lambda funcitons

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

What is SQS?

A

Using Amazon SQS, you can send, store, and receive messages between software components, without losing messages or requiring other services to be available. In Amazon SQS, an application sends messages into a queue. A user or service retrieves a message from the queue, processes it, and then deletes it from the queue.

Simple queue service
Fully managed queue
pull-based

allows you to send, store, receive messages between software components at any volume.

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

What is payload?

A

Data contained within a message.

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

What problem does SQS solve and how much volume of msg can it receive?

A

You can send, store, and receive messages between software components at any volume, without losing messages or requiring other services to be available

Eliminates the complixity and overhead associated with managing and operating message-oriented middleware, and empowers developers to focus on differentiating work

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

What’s the drawback of tighly coupled architecture?

A

If one component fails, the other starts failing too.
the whole system can fail.

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

Loosely coupled architecture?

A

if one component fails, the others can continue.
the whole system wont fail

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

What does serverless computing mean?

A

your code runs on servers but you do not need to provision or manage these servers.

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

What are the benefits of serverless computing?

A

focus on innovating new products and features instead of maintaining servers
the flexibility to scale serverless applications automatically.

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

Example of serverless computing?

A

AWS Lambda

17
Q

What is AWS Lambda?

A

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

While using AWS Lambda, you pay only for the compute time that you consume. Charges apply only when your code is running. You can also run code for virtually any type of application or backend service, all with zero administration.

18
Q

AWS lambda features?

A
  1. No need server
  2. Short execution (code under 15 mins)
  3. Run on demand
  4. Automated scaling
  5. Connect to relational databases
  6. Pay per request & compute time
  7. Can run containers using Lambda Container Image
19
Q

How can you invoke aws lambda by?

A

The lambda console
Function URL (https)
The Lambda API
AWS CLI
AWS SDK
AWS toolkits

20
Q

How does AWS lamda work?

A
  1. upload code to Lambda
  2. Set code to trigger from an event source
  3. Code runs only when triggered
  4. Pay only for the compute time you use
21
Q

What are containers?

A

a standard way to package your application’s code and dependencies into a single object.

22
Q

What is Amazon ECS?

A

is a highly scalable, high-performance container management system that enables you to run and scale containerized applications on AWS.

23
Q

Amazon ECS supports what?

A

Docker containers.

24
Q

What is a docker?

A

is a software platform that enables you to build, test, and deploy applications quickly.

25
Q

Fargate

A

Serverless, plug and run
No need EC2

26
Q

What factors region in AWS?

A
  1. compliance
  2. Proximity (how close you are bc of latency problem)
  3. Feature availably
  4. Pricing
27
Q

Whats AZ?

A

Availability zone

28
Q

What is AWS region?

A

Isolated between each other
ends with a number (e.g. eu-west-1)
Have at least 2 AZ

29
Q

What is Availability zone?

A

children of regions
include ONE or more data centers with redundant networking, power and connectivity
suffix with a b c (eu-west-1a)
connected with high bandwidth, ultra-low latency connections
help you solve high availability and disaster recovery scenarios

30
Q

CDN

A

Amazon cloudfront

31
Q

Edge locations

A

the places where data are cached to reduce latency
used by CloudFront to cache copies

help get content closer to your customers, no matter where they are in the world.

32
Q

What are the benefits of using Edge locations in AWS?

A

Improves application performance by delivering content closer to your users
Provides caching which reduces the load on your origin servers