Service Communication Flashcards
What is the maximum Step Function execution time?
1 year
True or False: You can add manual approvation steps to Step Function executions
True
What are the types of AWS Step Functions Workflows
Standard Workflows and Express Workflows
Describe the differences between Step Functions Workflow types regarding:
-Maximum duration
-Maximum execution start and state transition rate
-Pricing
-Execution Semantics
-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
True or False: there is no assynchronous execution configuration on AWS Step Functions
False
What is the max size message accepted by SQS?
256 KB
How many messages per second can you send to a FIFO SQS queue?
300/s without batching, 3.000/s with batching
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
True
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?
Structure your achitecture in such a way that there are no problems even if a message is processed twice.
What is Amazon MQ?
It is a managed message broker service for RabbitMQ and ActiveMQ
What is the expected use case of Amazon MQ?
Replatforms where you already use RabbitMQ or ActiveMQ on your original architecture and don’t want to change to SQS / SNS
True or False: Amazon MQ can only perform queue features or topic features, not both
False
True or False: Amazon MQ cannot be configured as Multi-AZ
False
How many topics and subscriptions per topic can SNS support?
-Topics: 100.000
-Subscriptions per topic: 12.500.000
Complete the following statement:
SNS has in-transit encryption using ______ and at-rest encryption using ________
-HTTPS
-KMS keys
For which use case is the fan-out SNS pattern useful?
If you have multiple SQS Queues receiving messages from the same place
Describe the Fan-Out SNS pattern
One SNS topic has subscriptions to multiple SQS Queues, Lambda Function triggers, etc
Whats one example of the SNS Fan-Out using S3?
Sending S3 events to multiple SQS queues or Lambda functions
True or False: SNS, like SQS, has a FIFO functionality, but only SQS FIFO Queues can subscribe to them
False, any SQS Queue can subscribe to FIFO SNS Topics
True or False: A FIFO SNS Topic has the same thoroughput as an SQS FIFO Queue
True
True or False: It is possible to filter the messages sent to subscriptions of an SNS topic, meaning not all subcriptions get all messages
True
True or False: You can setup SQS DLQs for failed SNS Messages
True