Service Communication Flashcards

1
Q

What is the maximum Step Function execution time?

A

1 year

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

True or False: You can add manual approvation steps to Step Function executions

A

True

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

What are the types of AWS Step Functions Workflows

A

Standard Workflows and Express Workflows

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

Describe the differences between Step Functions Workflow types regarding:
-Maximum duration
-Maximum execution start and state transition rate
-Pricing
-Execution Semantics

A

-Standard max duration is 1 year, while for express it’s 5 minutes
-Standard start and transition rates are 2.000/s and 4.000/s, while Express are 100.000/s and almost unlimited
-Standard is priced per state transition, while express is priced by their number, duration and memory consumption
-Standard is executed exactly-once, Express is executed at-least-once

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

True or False: there is no assynchronous execution configuration on AWS Step Functions

A

False

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

What is the max size message accepted by SQS?

A

256 KB

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

How many messages per second can you send to a FIFO SQS queue?

A

300/s without batching, 3.000/s with batching

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

True or False: The DLQ of a FIFO Queue must be a FIFO Queue and the DLQ of a Standard Queue must be a Standard Queue

A

True

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

When processing SQS messages, there is no guarantee a message will not be processed twice in case of error. What is a strategy to deal with this?

A

Structure your achitecture in such a way that there are no problems even if a message is processed twice.

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

What is Amazon MQ?

A

It is a managed message broker service for RabbitMQ and ActiveMQ

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

What is the expected use case of Amazon MQ?

A

Replatforms where you already use RabbitMQ or ActiveMQ on your original architecture and don’t want to change to SQS / SNS

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

True or False: Amazon MQ can only perform queue features or topic features, not both

A

False

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

True or False: Amazon MQ cannot be configured as Multi-AZ

A

False

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

How many topics and subscriptions per topic can SNS support?

A

-Topics: 100.000
-Subscriptions per topic: 12.500.000

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

Complete the following statement:
SNS has in-transit encryption using ______ and at-rest encryption using ________

A

-HTTPS
-KMS keys

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

For which use case is the fan-out SNS pattern useful?

A

If you have multiple SQS Queues receiving messages from the same place

17
Q

Describe the Fan-Out SNS pattern

A

One SNS topic has subscriptions to multiple SQS Queues, Lambda Function triggers, etc

18
Q

Whats one example of the SNS Fan-Out using S3?

A

Sending S3 events to multiple SQS queues or Lambda functions

19
Q

True or False: SNS, like SQS, has a FIFO functionality, but only SQS FIFO Queues can subscribe to them

A

False, any SQS Queue can subscribe to FIFO SNS Topics

20
Q

True or False: A FIFO SNS Topic has the same thoroughput as an SQS FIFO Queue

A

True

21
Q

True or False: It is possible to filter the messages sent to subscriptions of an SNS topic, meaning not all subcriptions get all messages

A

True

22
Q

True or False: You can setup SQS DLQs for failed SNS Messages

A

True