exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 810 discussion

Exam question from Amazon's AWS-SysOps
Question #: 810
Topic #: 1
[All AWS-SysOps Questions]

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?

  • 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.
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
nicat
Highly Voted 2 years, 9 months ago
D. Enable S3 event notification for the s3:ObjectCreated:Completed event that sends a notification to an SNS topic the Administrator has subscribed to. Restore object events — Amazon S3 supports the restoration of objects archived to the S3 Glacier storage class. You request to be notified of object restoration completion by using s3:ObjectRestore:Completed. You use s3:ObjectRestore:Post to request notification of the initiation of a restore. https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html
upvoted 17 times
SysOps
2 years, 8 months ago
I agree that the best option is not listed here, but according to "nicat" AWS article reference, there is no such even as "s3:ObjectCreated:Completed", that's why I think "D" is not the best option here. "A" option is not what the question asked, because it will show only the status of the job (btw the command is written incorrect, it should be something like "aws glacier describe-job". I think the "C" answer is the most appropriate option here.
upvoted 2 times
...
...
kung07
Highly Voted 2 years, 9 months ago
Actually all answers are wrong. Most correct is D, but the event is still wrong: s3:ObjectRestore:Completed You use s3:ObjectRestore:Post to request notification of object restoration initiation. You use s3:ObjectRestore:Completed to request notification of restoration completion. Refer to https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html
upvoted 6 times
Phil31
2 years, 9 months ago
Yes, you're right. Should be s3:ObjectRestore:Completed to be notified of object restoration completion s3:ObjectRestore:Post should be used to be notified of the initiation of the restore. https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html
upvoted 1 times
...
joe_smoe
2 years, 9 months ago
@kung07 Keep in mind it is possible that all the questions on here are not exactly word for word.
upvoted 1 times
...
Golddust
2 years, 9 months ago
Agreed that the best option is not listed here... Specifically for Glacier is: S3 Glacier defines events specifically related to job completion (ArchiveRetrievalCompleted, InventoryRetrievalCompleted) that you can add to the vault's notification configuration. When a specific job completes, S3 Glacier publishes a notification message to the SNS topic. https://docs.aws.amazon.com/amazonglacier/latest/dev/configuring-notifications.html
upvoted 1 times
...
...
albert_kuo
Most Recent 11 months, 4 weeks ago
Selected Answer: D
When a file in the GLACIER storage class is requested for retrieval (restore), Amazon S3 initiates a Glacier restore job to make the file accessible again in the S3 Standard storage class. Once the restoration process is completed, Amazon S3 generates an s3:ObjectCreated:Completed event, indicating that the object has been restored and is available for access. To receive a notification when the restoration is complete and the file is accessible, you can enable S3 event notification for the s3:ObjectCreated:Completed event on the S3 bucket containing the Glacier object. The event notification can be configured to send a notification to an Amazon SNS topic that the Administrator has subscribed to.
upvoted 1 times
...
RicardoD
2 years, 8 months ago
D is the answer
upvoted 1 times
...
nik351
2 years, 8 months ago
Its D Restore object events — Amazon S3 supports the restoration of objects archived to the S3 Glacier storage classes. You request to be notified of object restoration completion by using s3:ObjectRestore:Completed. You use s3:ObjectRestore:Post to request notification of the initiation of a restore
upvoted 1 times
...
abhishek_m_86
2 years, 8 months ago
D. Enable S3 event notification for the s3:ObjectCreated:Completed event that sends a notification to an SNS topic the Administrator has subscribed to. Seem correct if the notification would be : s3:ObjectRestore:Post to request notification of object restoration initiation. You use s3:ObjectRestore:Completed to request notification of restoration completion.
upvoted 2 times
...
jackdryan
2 years, 8 months ago
I'll go with D
upvoted 1 times
...
gilbertlelancelo
2 years, 9 months ago
D. Enable S3 event notification for the s3:ObjectCreated:Completed event that sends a notification to an SNS topic the Administrator has subscribed to. https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html https://docs.aws.amazon.com/AmazonS3/latest/user-guide/enable-event-notifications.html
upvoted 1 times
...
firstabed
2 years, 9 months ago
Using restore object event types you can receive notifications for initiation and completion when restoring objects from the S3 Glacier storage class. You use s3:ObjectRestore:Post to request notification of object restoration initiation. You use s3:ObjectRestore:Completed to request notification of restoration completion. So D.
upvoted 1 times
...
asim1982
2 years, 9 months ago
Ans A, B is invalid and C and D are related to S3 and not glacier. So I think A should be the right answer.
upvoted 1 times
...
Pavan403
2 years, 9 months ago
Why not A ? https://docs.aws.amazon.com/amazonglacier/latest/dev/api-GlacierJobDescription.html
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 ...