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

A company hosts an application used to upload files to an Amazon S3 bucket. Once uploaded, the files are processed to extract metadata, which takes less than
5 seconds. The volume and frequency of the uploads varies from a few files each hour to hundreds of concurrent uploads. The company has asked a solutions architect to design a cost-effective architecture that will meet these requirements.
What should the solutions architect recommend?

  • A. Configure AWS CloudTrail trails to log S3 API calls. Use AWS AppSync to process the files.
  • B. Configure an object-created event notification within the S3 bucket to invoke an AWS Lambda function to process the files.
  • C. Configure Amazon Kinesis Data Streams to process and send data to Amazon S3. Invoke an AWS Lambda function to process the files.
  • D. Configure an Amazon Simple Notification Service (Amazon SNS) topic to process the files uploaded to Amazon S3. Invoke an AWS Lambda function to process the files.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
sctmp
Highly Voted 3 years, 7 months ago
The problem with C is how it sends the data to S3, if it was Firehose it would make sense. I think it's B.
upvoted 39 times
Sparks026
3 years, 7 months ago
Amazon Kinesis Data Streams is integrated with a number of AWS services, including Amazon Kinesis Data Firehose for near real-time transformation and delivery of streaming data into an AWS data lake like Amazon S3, Kinesis Data Analytics for managed stream processing, AWS Lambda for event or record processing, AWS PrivateLink for private connectivity, Amazon Cloudwatch for metrics and log processing, and AWS KMS for server-side encryption.
upvoted 3 times
...
...
yass18
Highly Voted 3 years, 7 months ago
B is the correct answer https://docs.aws.amazon.com/AmazonS3/latest/user-guide/enable-event-notifications.html
upvoted 15 times
...
Karthikeyan_nick
Most Recent 3 years, 1 month ago
Hint => less than 5 seconds and Cost effective architecture So AWS Lambda function to process file triggered by S3 event notification
upvoted 3 times
...
examJack
3 years, 1 month ago
Selected Answer: B
"cost-effective" B. https://docs.aws.amazon.com/AmazonS3/latest/user-guide/enable-event-notifications.html
upvoted 3 times
OliRom
1 year, 1 month ago
This is the right answer.
upvoted 1 times
...
...
shamg
3 years, 5 months ago
B, We can trigger AWS Lambda on S3 when there are any file uploads in S3 buckets, metadata extraction takes less than 5 seconds is key too
upvoted 2 times
...
syu31svc
3 years, 6 months ago
B for sure; simple and direct
upvoted 6 times
...
Ni_yot
3 years, 6 months ago
B. With C and D the data is processed twice. Not necessary! The event notification can call a lamda function to process the request.
upvoted 7 times
...
linuxjm
3 years, 6 months ago
B https://docs.aws.amazon.com/lambda/latest/dg/with-s3.html
upvoted 3 times
...
dmscountera
3 years, 6 months ago
B S3 events trigger Lambda
upvoted 2 times
...
dineshc
3 years, 6 months ago
Currently, Amazon S3 can publish notifications for the following events: New object created events — Amazon S3 supports multiple APIs to create objects. You can request notification when only a specific API is used (for example, s3:ObjectCreated:Put), or you can use a wildcard (for example, s3:ObjectCreated:*) to request notification when an object is created regardless of the API used.
upvoted 3 times
...
CCNPWILL
3 years, 6 months ago
B end of story.
upvoted 5 times
...
Atanu_M
3 years, 6 months ago
Using Lambda to process the file is the best solution as it takes just 5 seconds per process. The best and easiest way to invoke lambda is to use the S3 bucket "create event notification" property and use the "object create" type event. So B is the correct answer.
upvoted 2 times
...
yogen
3 years, 7 months ago
I cleared the exam today on 26-Jan, This question was there in the exam, I marked B i.e. S3 event notifications along with Lambda Function
upvoted 6 times
nadal
3 years, 6 months ago
I have my exam on Feb 1 ...any suggestions ??
upvoted 3 times
...
...
LordHammer
3 years, 7 months ago
they even have a page on B and troubleshooting the lambda triggers from S3 https://aws.amazon.com/premiumsupport/knowledge-center/lambda-configure-s3-event-notification/
upvoted 3 times
...
argol
3 years, 7 months ago
You can first create a Lambda function with the code to process the file. You can then use an Event Notification from the S3 bucket to invoke the Lambda function whenever a file is uploaded. B is the correct answer
upvoted 2 times
...
Jane500
3 years, 7 months ago
D is correct; cannot be B because S3 event notification happens at the bucket level not the object level https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html Look in "How to enable event notifications". Says "Enabling notifications is a bucket-level operation; that is, you store notification configuration information in the notification subresource associated with a bucket."
upvoted 1 times
GogoRomX
3 years, 7 months ago
No, I'm sure it works on all S3 items events.
upvoted 1 times
...
FrostForrest
3 years, 7 months ago
The link you provided tells us that you can publish events for any S3:objectcreated:* to request notification regardless of the API that was used to create an object.
upvoted 1 times
...
lucesarano
3 years, 6 months ago
We do it regularly and B is the correct answer. It’s common to have a Drop Zone bucket where users upload stuff into it and a Lambda get accordingly called to elaborate the files. The link is misleading.
upvoted 1 times
...
...
anpt
3 years, 7 months ago
BBBBBBBBBBBBBBBBB
upvoted 6 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago