Skip to content

Latest commit

 

History

History
137 lines (109 loc) · 3.33 KB

File metadata and controls

137 lines (109 loc) · 3.33 KB

Integration

What does Amazon SWF stand for? Simple Work Flow
Your website has premium and free tier members, whose actions are stored in SQS. How can you ensure your premium members have higher priority in your app? Create one premium tier SQS queue and one free tier SQS queue, then have your app prioritize the actions stored in the premium queue - once it is empty, start working on the free tier queue.
SWF helps users coordinate synchronous and asynchronous _____  tasks
SQS can retain stored messages for up to _____ 2 weeks (4 days by default)
SQS long polling can wait up to _____ 20 seconds
Can SWF create EC2 instances for certain steps? Yes
Does SQS guarantee no duplicate messages sent? No
Is an ARN (Amazon Resource Name) created upon creating an SNS topic? Yes
SNS is a service used for _____ push notifications
SQS visibility timeout can be up to ____ 12 hours
S3 Event Notifications events can be sent to _____, _____, _____. SNS, SQS, Lambda
Is Lambda a valid SNS subscriber? Yes
Are you charged for polling requests? Yes
Could you use SWF for a video encoding application, where encoding is done in a number of pre-defined steps? Yes
Could you use SWF for an application which requires co-ordination between different tasks? Yes
You can decouple your infrastructure using messaged based queues via _____ SQS
Does SQS guarantee a message will be delivered at least once? Yes
Does SWF ensure that a task is assigned only once and is never duplicated? Yes
How could CloudWatch send an alert regarding the billing metrics of an EC2 Instance? With SNS (Simple Notification Service)
SWF workflows have tasks of type ____ and ____ Activity and Decision
In SWF, a Domain is a collection of related _____ Workflows
SQS is message system that requires worker nodes to poll the _____. queue
Is SQS a valid SNS subscriber? Yes
Is e-mail or SMS a valid SNS subscriber? Yes
Can users be set as SWF "workers" and "deciders"?  Yes
Using SQS, higher receive performance can be achieved by requesting multiple messages in a single _____ call
You need to process a queue of messages where each message is a task that needs to be completed. This can be achieved via _____ SQS