exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 303 discussion

A company has two applications: a sender application that sends messages with payloads to be processed and a processing application intended to receive messages with payloads. The company wants to implement an AWS service to handle messages between the two applications. The sender application can send about 1,000 messages each hour. The messages may take up to 2 days to be processed. If the messages fail to process, they must be retained so that they do not impact the processing of any remaining messages.
Which solution meets these requirements and is the MOST operationally efficient?

  • A. Set up an Amazon EC2 instance running a Redis database. Configure both applications to use the instance. Store, process, and delete the messages, respectively.
  • B. Use an Amazon Kinesis data stream to receive the messages from the sender application. Integrate the processing application with the Kinesis Client Library (KCL).
  • C. Integrate the sender and processor applications with an Amazon Simple Queue Service (Amazon SQS) queue. Configure a dead-letter queue to collect the messages that failed to process.
  • D. Subscribe the processing application to an Amazon Simple Notification Service (Amazon SNS) topic to receive notifications to process. Integrate the sender application to write to the SNS topic.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
DrCloud
Highly Voted 3 years, 8 months ago
Ans: C https://aws.amazon.com/blogs/compute/building-loosely-coupled-scalable-c-applications-with-amazon-sqs-and-amazon-sns/ https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
upvoted 37 times
...
CountryGent
Highly Voted 3 years, 8 months ago
C Indeed.
upvoted 13 times
...
aws_aspirant
Most Recent 3 years, 6 months ago
Selected Answer: C
CCCCCCCCCC
upvoted 3 times
...
Deyemzy
3 years, 7 months ago
CCCCCCCC
upvoted 3 times
...
arkandi
3 years, 7 months ago
Clearly C Tip : dead letter queue
upvoted 6 times
...
bororo
3 years, 7 months ago
I have doubts about SQS answer What about "The messages may take up to 2 days to be processed"? maximum SQS Visibility timeout : 12 h retention period could be up to 14 days, but then the messages cuuld be processed several times Can anyone clarify this point?
upvoted 6 times
sugarwall09
3 years, 7 months ago
paraphrase " If the messages fail to process, they must be retained so that they do not impact the processing of any remaining messages." >> DLQ --> leads to Answer (C).
upvoted 3 times
...
szhang2004
3 years, 7 months ago
Visibility timeout is processing time. the message may take up to 2 days to be processed I think it means retention time 2 days but not processing time two days.
upvoted 4 times
...
Azure1971
3 years, 7 months ago
Good question , could not find a answer. Can anyone answer 2 days to process and 12 H maximum Visibility timeout? We can understand the DLQ.
upvoted 3 times
...
AnandP21
3 years, 7 months ago
Dead letter Queue defines the maximumReceives to the SQS queue, if exceeds the threshold the messages go into DLQ
upvoted 3 times
...
...
KK_uniq
3 years, 8 months ago
C is ok
upvoted 2 times
...
syu31svc
3 years, 8 months ago
C for correct https://docs.aws.amazon.com/sns/latest/dg/sns-dead-letter-queues.html: "A dead-letter queue is an Amazon SQS queue that an Amazon SNS subscription can target for messages that can't be delivered to subscribers successfully"
upvoted 5 times
...
dave0808
3 years, 8 months ago
C is the way
upvoted 2 times
...
YoYoDat
3 years, 8 months ago
ccccccccccccc
upvoted 2 times
...
AK003
3 years, 8 months ago
C is the ans
upvoted 3 times
...
algreat
3 years, 8 months ago
C looks good
upvoted 2 times
...
reddy535
3 years, 8 months ago
C correct
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...