exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 14 discussion

A company is supposed to receive a data file every hour in an Amazon S3 bucket. An S3 event notification invokes an AWS Lambda function each time a file arrives. The function processes the data for use by an application.
The application team notices that sometimes the file does not arrive. The application team wants to receive a notification whenever the file does not arrive.
What is the MOST operationally efficient solution that meets these requirements?

  • A. Add an S3 Lifecycle rule on the S3 bucket with a scope that is limited to objects that were created in the last hour. Configure another S3 event notification to be invoked by the lifecycle transition when the number of objects transitioned is zero. Publish a message to an Amazon Simple Notification Service (Amazon SNS) topic to notify the application team.
  • B. Configure another S3 event notification to invoke a Lambda function that posts a message to an Amazon Simple Queue Service (Amazon SQS) queue. Create an Amazon CloudWatch alarm to publish a message to an Amazon Simple Notification Service (Amazon SNS) topic to notify the application team when the ApproximateAgeOfOldestMessage metric of the queue is greater than 1 hour.
  • C. Create an Amazon CloudWatch alarm to publish a message to an Amazon Simple Notification Service (Amazon SNS) topic to alert the application team when the Invocations metric of the Lambda function is zero for an hour. Configure the alarm to treat missing data as breaching.
  • D. Create a new Lambda function to get the timestamp of the newest file in the S3 bucket. If the timestamp is more than 1 hour ago, publish a message to an Amazon Simple Notification Service (Amazon SNS) topic to notify the application team. Create an Amazon EventBridge (Amazon CloudWatch Events) rule to invoke the new function hourly.
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
haxaffee
Highly Voted 2 years, 8 months ago
Selected Answer: C
C sounds like the best option. Tested it as well.
upvoted 9 times
...
64rl0
Most Recent 8 months ago
Selected Answer: C
Answer is C
upvoted 1 times
...
tamng
1 year, 4 months ago
C. Create an Amazon CloudWatch alarm to publish a message to an Amazon Simple Notification Service (Amazon SNS) topic to alert the application team when the Invocations metric of the Lambda function is zero for an hour. Configure the alarm to treat missing data as breaching.
upvoted 1 times
...
habros
1 year, 8 months ago
Selected Answer: C
No point sending to other Lambda functions when it cant even trigger the actual Lambda function! C is the most sane answer.
upvoted 2 times
...
thetnyeinmoe
2 years ago
Selected Answer: D
This solution is the most operationally efficient as it uses a simple and straightforward approach to check if the data file is not arriving on time. The new Lambda function can be created with minimal configuration, and the Amazon CloudWatch Events rule can be set up to trigger the function hourly. If the timestamp of the newest file in the S3 bucket is more than an hour ago, the function will publish a message to an Amazon SNS topic to notify the application team. This approach avoids complex configurations and dependencies on other AWS services, making it easier to manage and maintain over time.
upvoted 1 times
ad45
1 year, 7 months ago
You chose the D answer, we're talking about "most operationally" solution and the answer D uses 3 services instead of 2 like the answer C. In my opinion, the good answer is the C one.
upvoted 8 times
...
...
CVDON
2 years, 3 months ago
C simple and clean as f*
upvoted 1 times
...
michaldavid
2 years, 5 months ago
Selected Answer: C
ccccccc
upvoted 1 times
...
Liongeek
2 years, 5 months ago
Ans: C
upvoted 1 times
...
Atown
2 years, 6 months ago
Selected Answer: C
I vote C
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago