Cloud Integrations Flashcards
What are the two types of patterns for application communication?
- Synchronous communications (application to application)
2. Asynchronous / Event based (application to queue to application)
What is Amazon SQS (Simple Queue Service) Standard Queue?
- Oldest AWS offering
- Fully managed service, use to decouple applications
- Scales from 1 message per second to 10,000s per second
- Default retention of messages: 4 days, maximum of 14 days
- No limit to how many messages in queue
- Low latency (<10 ms on publish and receive)
- Consumers share the work to read messages and scale horizontally
When are messages in Amazon SQS Standard Queue deleted?
Messages are deleted after they are read by consumers
What is Amazon SNS?
The event publishes only sends message to one SNS topic. As many event subscribers as we want. Each subscriber to the topic will get all the messages
What does SNS stand for?
Simple Notification Service
What is Amazon Kinesis?
Real time big data streaming
What is Amazon MQ?
Managed Apache ActiveMQ
Does Amazon MQ scale as much as SQS / SNS?
No
Is Amazon MQ serverless?
No, runs on a dedicated machine
When would you use Amazon MQ?
If a company is migrating to the cloud and doesn’t want to re-engineer the application to use SQS and SNS
A company using Apache ActiveMQ is migrating to the cloud. Which AWS service can it use to easily set up and operate its message brokers in the cloud?
- SQS
- SNS
- MQ
- Kinesis
MQ
Which service is a fully managed pub/sub messaging service that makes it easy to set up, operate, and send notifications from the cloud, using a push-based system?
- Simple Notification Service (SNS)
- Simple Queue Service (SQS)
- Auto Scaling Groups (ASG)
Simple Notification Service (SNS)
You can use Kinesis to perform real-time analysis from video streams.
- True
- False
True
Which principe is mainly applied when using Amazon SQS or Amazon SNS?
- Scalability
- Automation
- Decouple your applications
Decouple your applications
Which service allows you to send, store, and receive messages between software components at any volume, without losing messages or requiring other services to be available, using a pull-based system?
- Simple Notification System (SNS)
- Simple Queue Service (SQS)
- Auto Scaling Groups (ASG)
Simple Queue Service (SQS)