AWS Cloud Developer: Messaging and Containers Flashcards

1
Q

Differences between Notifications and Messages

A

Notifications are sent to Humans

Messaging occurs between internet-based devices and appliccations

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

SNS -simple notification service

A

Amazon Simple Notification Service (or SNS) is a cloud service that allows you to send notifications to the users of your applications. SNS allows you to decouple the notification logic from being embedded in your applications and allows notifications to be published to a large number of subscribers.

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

Features of SNS

A

SNS uses a publish/subscribe model.

SNS can publish messages to Amazon SQS queues, AWS Lambda functions, and HTTP/S webhooks.

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

Which model is used by SNS

A

Publish/subscribe model

Users need to subscribe in order to receive notifications

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

How are notifications sent to end users using SNS

A

Mobile push
text messages
email

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

How many messages can one notification contain?

A

one message

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

Can SnS be used to send messages to both people and applications?

A

Yes

Application-to-application messaging

Application-to-application messaging supports subscribers such as AWS Lambda functions, Amazon SQS queues, HTTP/S endpoints, and AWS Event Fork Pipelines. For more information, see Using Amazon SNS for application-to-application (A2A) messaging.

Application-to-person notifications

Application-to-person notifications provides user notifications to subscribers such as mobile applications, mobile phone numbers, and email addresses. For more information, see Using Amazon SNS for application-to-person (A2P) messaging.

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

Queues

A

A queue is a data structure that holds requests called messages. Messages in a queue are commonly processed in order, first in, first out (or FIFO).

Messaging queues improve:

performance
scalability
user experience

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

What type of processing does queuing support?

A

asynchronous processing

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

SQS -Simple Queue Service

A

Amazon Simple Queue Service (SQS) is a fully managed message queuing service that allows you to integrate queuing functionality in your application. SQS offers two types of message queues: standard and FIFO.

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

Features of SQS

A

send messages
store messages
receive messages

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

How many messages can FIFO queues support?

A

FIFO queues support up to 300 messages per second.

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

2 types of message queues

A

Standard and FIFO

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

When to use a FIFO queue?

A

When ordering is important

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

Main difference between FIFO and Standard queues?

A

FIFO queues guarantee the ordering of messages.

FIFO messages are processed exactly once

Standard queues offer best-effort ordering but no guarantees.

Standard queues deliver a message at least once, but occasionally more than one copy of a message is delivered.

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

A container

A

A container consists of everything an application needs to run: the application itself and its dependencies (e.g. libraries, utilities, configuration files), all bundled into one package.

Each container is an independent component that can run on its own and be moved from environment to environment.

17
Q

Docker

A

A Docker container image is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings.

18
Q

Difference between Containers and Virtual Machines

A

Containers and virtual machines have similar resource isolation and allocation benefits, but function differently because containers virtualize the operating system instead of hardware. Containers are more portable and efficient.

19
Q

ECS Elastic Container Service

A

ECS is an orchestration service used for automating deployment, scaling, and managing of your containerized applications. ECS works well with Docker containers by:

launching and stopping Docker containers
scaling your applications
querying the state of your applications

20
Q

Which is the only container platform supported by Amazon ECS?

A

Docker

21
Q

Kubernetes

A

An orchestration service for docker containers