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 572 discussion

A development team is creating an event-based application that uses AWS Lambda functions. Events will be generated when files are added to an Amazon S3 bucket. The development team currently has Amazon Simple Notification Service (Amazon SNS) configured as the event target form Amazon S3.
What should a solutions architect do to process the events form Amazon S3 in a scalable way?

  • A. Create an SNS subscription that processes the event in Amazon Elastic Container Service (Amazon ECS) before the event runs in Lambda.
  • B. Create an SNS subscription that processes the event in Amazon Elastic Kubernetes Service (Amazon EKS) before the event runs in Lambda.
  • C. Create an SNS subscription that sends the event to Amazon Simple Queue Service (Amazon SQS). Configure the SQS queue to trigger a Lambda function.
  • D. Create an SNS subscription that sends the event to AWS Server Migration Service (AWS SMS). Configure the Lambda function to poll from the SMS event.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Reference:
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-subscribe-queue-sns-topic.html

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
[Removed]
Highly Voted 3 years, 3 months ago
Option C, seems to be the most viable answer because a Lambda function can pol the SQS queue: "Configuring a queue to trigger an AWS Lambda function (console) You can use an AWS Lambda function to process messages in an Amazon SQS queue. Lambda polls the queue and invokes your Lambda function synchronously with an event that contains queue messages. You can specify another queue to act as a dead-letter queue for messages that your Lambda function can't process. A Lambda function can process items from multiple queues (using one Lambda event source for each queue). You can use the same queue with multiple Lambda functions." https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-lambda-function-trigger.html
upvoted 5 times
...
omunoz
Most Recent 3 years, 1 month ago
Answer C - https://aws.amazon.com/sns/faqs/?nc1=h_ls#:~:text=provides%20developers%20with%20a-,highly%20scalable,-%2C%20flexible%2C%20and%20cost
upvoted 2 times
...
Robert_B
3 years, 4 months ago
C - is the most appropriate to a correct answer, however I am not in agreement that SQS will trigger something. Correct should be "configure lambda to poll from SQS". A&B do not make sense; D completely false, AWS SMS is a service for migrating to AWS.
upvoted 2 times
trojan123
3 years, 3 months ago
configure lambda to poll from SQS - yes this is strange, probably answers are not exactly correct. But only this answer has logic.
upvoted 1 times
...
...
MikeDuB
3 years, 4 months ago
Process of elimination! C
upvoted 1 times
...
azure_kai
3 years, 5 months ago
Answer: C
upvoted 1 times
...
hmc929
3 years, 5 months ago
c is the answer
upvoted 1 times
...
jennyka76
3 years, 5 months ago
C Going have to agree with the answer given. other three answer do not make sense.
upvoted 1 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 ...