Section 13 - Cloud integrations Flashcards
- Synchronous communication
- Asynchronous communication
A - communication is application to application
B - communication is triggered by some type of event and the communication involves some type of queue
1 - A
2 - B
Amazon’s oldest offering, one of the first services offered, a queue based service
Amazon SQS
If you see “decoupled” on the exam, what service should you think of?
Amazon SQS
Amazon SQS is a (managed/non managed) service
managed
SQS scales from x message per second to x per second
1 message per second to 10,000 per second
SQS messages are retained from x days to a maximum of xx days
4 days, to a maximum of 14 days
what is the limit of how many messages can be stored in the SQS queue
there is no limit
After SQS messages are read by customers they are (cached/deleted)
deleted
SQS messages are (high/low) latency (<xx ms on publish and recieve)
low latency / <10 ms on publish and receive
Does SNS retain messages that are sent via the service?
No
Which service is a pub/sub messaging service?
AWS SNS
Which service is used for real time analysis on data streaming (i.e. video streams)?
AWS Kinesis
what is pub/sub short for?
publish/subscribe
What two services are associated with “decoupling”?
AWS SQS and AWS SNS
In a pub/sub type service, are all messages sent to a queue or instantly received by all subscribers?
all messages are instantly received by all subscribers
Which principle 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?
AWS SNS
AWS SQS
Auto Scaling Group (asg)
AWS SQS
What type of application is this?
A d________ application architecture allows each component to perform its tasks independently - it allows components to remain completely autonomous and unaware of each other. A change in one service shouldn’t require a change in the other services.
decoupled
consumers share the work to r___ messages and scale horizontally
read
A data c_______ can be any user, application, or system that uses data collected by another system or stored in a data repository. Within an organization or a company, many systems can be considered data p________ as they collect or generate data that is stored to be later used by data c________.
consumers / producers / consumers
What does Amazon SNS stand for? SQS?
Simple Notification Service / Simple Queue Service
“Event publishers” sends message to (many/ a few / one) SNS topic
one
What is the limit to the number of “event subscribers” that can listen to an SNS topic?
theoretical limit -
default limit -
practical limit -
no theoretical limit
default - 10,000
practical - 12,500,000
Subscribers to SNS messages will get (random / all) messages
all
AWS SMS - what is the limit to number of topics allowed?
100,000
in AWS SQS, consumers (get every message / share who gets the message).
share who gets the message
When migrating to the cloud, instead of re-engineering the application to use SQS and SNS, this service can be used
Amazon MQ
This service is a managed message broker service for two on prem technologies, RabbitMQ and ActiveMQ
Amazon MQ
How does scaling for Amazon MQ compare to SQS and SNS?
It doesn’t scale as much
These are all potential subscribers of what Amazon messaging service? Email, SMS, Lambda, SQS
AWS SNS