AWS Certified SysOps Administrator – Associate (legacy) — Question 541
A SysOps Administrator needs to retrieve a file from the GLACIER storage class of Amazon S3. The Administrator wants to receive an Amazon SNS notification when the file is available for access.
What action should be taken to accomplish this?
Answer options
- A. Create an Amazon CloudWatch Events event for file restoration from Amazon S3 Glacier using the GlacierJobDescription API and send the event to an SNS topic the Administrator has subscribed to.
- B. Create an AWS Lambda function that performs a HEAD request on the object being restored and checks the storage class of the object. Then send a notification to an SNS topic the Administrator has subscribed to when the storage class changes to STANDARD.
- C. Enable an Amazon S3 event notification for the s3:ObjectCreated:Post event that sends a notification to an SNS topic the Administrator has subscribed to.
- D. Enable S3 event notification for the s3:ObjectCreated:Completed event that sends a notification to an SNS topic the Administrator has subscribed to.
Correct answer: C
Explanation
Option C is correct because configuring Amazon S3 event notifications is the most native and efficient way to trigger an Amazon SNS notification upon the initiation or completion of an object restore. Option B is incorrect because running a continuous AWS Lambda polling loop using HEAD requests is highly inefficient and costly. Options A and D are incorrect because they rely on invalid event configurations or APIs that do not natively support direct Glacier restoration notifications in this manner.