Messaging and Integration
Decouple applications with SQS and SNS, route events with EventBridge, orchestrate workflows with Step Functions, stream data with Kinesis and expose GraphQL with AppSync.
Chapter quiz
Messaging and Integration · 10 questions
1.Messages in an SQS standard queue are sometimes processed twice because a task takes about 2 minutes while the queue uses the default settings. What is the best fix?
2.An order event must reach billing, shipping and analytics systems independently, with each system able to fall behind without losing messages. Which design fits?
3.A workflow must wait up to several days for a manager's approval before continuing. Which solution is most appropriate?
4.A Kinesis producer receives ProvisionedThroughputExceededException even though overall stream traffic is low. Most records share the same partition key. What is the likely issue and fix?
5.A team wants to react when a CodePipeline execution fails and route the event to a Lambda function without polling. What should they use?
6.Only the billing service should receive SNS messages whose attribute eventType equals 'invoice'. How do you do this without code changes in the publisher?
7.Orders for the same customer must be processed in order, with no duplicates. Which queue is right?
8.A workflow needs human approval that may take days, plus retries and parallel branches. Which service fits?
9.Several Lambda functions consume the same Kinesis shard and one slow consumer delays others. What improves this?
10.A mobile client needs real-time updates to a GraphQL query result when data changes. What should be used?
0 of 10 answered

