Medium1 markMultiple Choice
AWS SAA-C03 · Question 31 · Domain 2.3: Decoupling
A company is designing a microservices architecture. Service A needs to publish events that are consumed by Service B and Service C. Service B processes events immediately, while Service C batches them and processes them hourly. If Service C is down, events must not be lost. <br/><br/>Which TWO AWS services should be combined to build this architecture? (Select TWO.)
A company is designing a microservices architecture. Service A needs to publish events that are consumed by Service B and Service C. Service B processes events immediately, while Service C batches them and processes them hourly. If Service C is down, events must not be lost. <br/><br/>Which TWO AWS services should be combined to build this architecture? (Select TWO.)
Answer options:
A.
Amazon SNS
B.
Amazon SQS
C.
AWS Step Functions
D.
Amazon Kinesis Data Firehose
E.
Amazon MQ
How to approach this question
Identify the 'fan-out' pattern, which uses SNS to publish to multiple SQS queues.
Full Answer
Amazon SNS<br/>Amazon SQS
This is the classic 'fan-out' pattern. Service A publishes a message to an Amazon SNS topic. Both Service B and Service C have their own Amazon SQS queues subscribed to that topic. SQS ensures the messages are buffered and not lost if a service is temporarily unavailable.
Common mistakes
Thinking SNS alone is enough. SNS does not buffer messages; if the consumer is down, the message is lost unless an SQS queue is used.
Practice the full AWS SAA-C03 Practice Exam 4
65 questions · hints · full answers · grading
More questions from this exam
Q01A company has multiple AWS accounts in an AWS Organizations organization. The security team wants...MediumQ02An application running on Amazon EC2 instances needs to access an Amazon DynamoDB table. Both res...EasyQ03A company is designing a web application that will be hosted on AWS. The application will use an ...MediumQ04A company is building a mobile app that requires users to authenticate using their social media a...HardQ05A solutions architect is designing a VPC for a three-tier web application. The database tier must...Medium
Expert