Integration Flashcards

1
Q

Step Functions tasks

A
  • Lambda tasks
  • Activity tasks: HTTP worker (EC2, mobile device, on premise)
  • Service task: connect to supported aws services
  • Wait task
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Step Functions Standard vs Express

A
  • Standard: maximum 1 year duration. Priced per state transition. Executions can be listed and described
  • Express: maximum 5 minutes duration. Higher start and transition rate. Priced by number of executions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

SQS

A
  • Used to decouple services
  • Max 256KB for message size
  • Could be used as a write buffer for DynamoDB
  • Supports FIFO
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

SQS Dead Letter Queue

A

After the MaximumReceives threshold is exceeded the message goes into a DLQ.
It is useful for debugging.

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

SQS Idempotency

A

Messages can be processed twice by consumer. Idempotency must be implemented at the consumer level.

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

Amazon MQ

A

Managed Message broker for RabbitMQ and ActiveMQ, doesn’t scale as much as SQS.

Use it with traditional protocols when migrating to the cloud, insted of re-engineering the application.

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

S3 events to multiple queues

A

Use the fan-out pattern with SNS+SQS to send the same S3 event type and prefix.

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

Integration between SNS and S3

A

From SNS send to Kinesis Data Firehose and from there to S3.

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

SNS Message Filtering

A

Policy to filter messages sent to SNS topics subscriptions. If a subscription doesn’t have a filter policy, it receives every message.

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

SNS Message Delivery Retries

A

In case of server side error a delivery policy is applied
* Immediate retry phase (no delay): 3 times for AWS managed endpoints
* Pre backoff phase
* Backoff phase
* Post backoff phase

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

SNS Custom Delivery Policies

A

Only HTTP/S supports custom policies.
1. Healthy Retry Policy
2. Sickly Retry Policy
3. Throttle Policy

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

SNS - Dead Letter Queue

A

After exhausting the delivery policy, messages are sent to a DLQ.

DLQ are attached to a subscription.

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