Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 109 discussion

A company needs to store data in Amazon S3 and must prevent the data from being changed. The company wants new objects that are uploaded to Amazon S3 to remain unchangeable for a nonspecific amount of time until the company decides to modify the objects. Only specific users in the company's AWS account can have the ability 10 delete the objects.
What should a solutions architect do to meet these requirements?

  • A. Create an S3 Glacier vault. Apply a write-once, read-many (WORM) vault lock policy to the objects.
  • B. Create an S3 bucket with S3 Object Lock enabled. Enable versioning. Set a retention period of 100 years. Use governance mode as the S3 bucket’s default retention mode for new objects.
  • C. Create an S3 bucket. Use AWS CloudTrail to track any S3 API events that modify the objects. Upon notification, restore the modified objects from any backup versions that the company has.
  • D. Create an S3 bucket with S3 Object Lock enabled. Enable versioning. Add a legal hold to the objects. Add the s3:PutObjectLegalHold permission to the IAM policies of users who need to delete the objects.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
123jhl0
Highly Voted 1 year, 12 months ago
Selected Answer: D
A - No as "specific users can delete" B - No as "nonspecific amount of time" C - No as "prevent the data from being change" D - The answer: "The Object Lock legal hold operation enables you to place a legal hold on an object version. Like setting a retention period, a legal hold prevents an object version from being overwritten or deleted. However, a legal hold doesn't have an associated retention period and remains in effect until removed." https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops-legal-hold.html
upvoted 35 times
PassNow1234
1 year, 9 months ago
The Object Lock legal hold operation enables you to place a legal hold on an object version. Like setting a retention period, a legal hold prevents an object version from being overwritten or deleted. However, a legal hold doesn't have an associated retention period and remains in effect until removed. Correct
upvoted 1 times
...
...
Chunsli
Highly Voted 2 years ago
typo -- 10 delete the objects => TO delete the objects
upvoted 19 times
oddnoises
1 year ago
they were trying to speak in binary lol
upvoted 6 times
reviewmine
8 months ago
HAHAHA
upvoted 1 times
...
...
...
PaulGa
Most Recent 4 weeks, 1 day ago
Ans D - "The Object Lock legal hold operation enables you to place a legal hold on an object version. Like setting a retention period, a legal hold prevents an object version from being overwritten or deleted. However, a legal hold doesn't have an associated retention period and remains in effect until removed." https://docs.amazonaws.cn/en_us/AmazonS3/latest/userguide/batch-ops-legal-hold.html The other options do not make sense for the situation in hand.
upvoted 1 times
...
huaze_lei
1 month, 1 week ago
Selected Answer: D
The Object Lock legal hold operation enables you to place a legal hold on an object version. Like setting a retention period, a legal hold prevents an object version from being overwritten or deleted. However, a legal hold doesn't have an associated retention period and remains in effect until removed. You can use S3 Batch Operations with Object Lock to add legal holds to many Amazon S3 objects at once. You can do this by listing the target objects in your manifest and submitting that list to Batch Operations. Your S3 Batch Operations job with Object Lock legal hold runs until completion, until cancellation, or until a failure state is reached.
upvoted 1 times
...
jaradat02
2 months, 3 weeks ago
Selected Answer: D
D is the best choice
upvoted 2 times
...
professorx123
5 months, 3 weeks ago
Selected Answer: B
Adding legal holds to objects and managing permissions for users to delete objects does not provide the same level of data immutability and retention control as S3 Object Lock.
upvoted 2 times
...
awsgeek75
9 months ago
Selected Answer: B
https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html A: WORM doesn't allow delete by some users C: Irrelevant D: Permission only allows putting legal hold on objects. Not a complete solution B: Closest apart from 100 years as question is asking for indefinite. Governance allows modification by some users
upvoted 2 times
...
pentium75
9 months, 3 weeks ago
Selected Answer: B
"With governance mode, you protect objects against being deleted by most users, but you can still grant some users permission to alter the retention settings or delete the objects if necessary." D is wrong because it applies Object Lock AND Legal Hold, which are two different things that achieve similar results. 'Adding the s3:PutObjectLegalHold permission' to user's policies would allow them to remove the Legal Hold but NOT the Object Lock. (Also, it would probably make more sense to add the permissions to the bucket policy, not the "IAM policies of users".)
upvoted 4 times
LoXoL
9 months, 1 week ago
Isn't Legal Hold a subcategory of Object Lock? Object Lock itself doesn't imply anything imho: you should go either for a Retention Mode OR Legal Hold. Why would you go for B if they ask "for a nonspecific amount of time"? Open to change my mind.
upvoted 1 times
...
...
Abitek007
1 year ago
Selected Answer: D
I only picked this because of restricted users who can delete, and the easiest way of achieving this is them assuming the role
upvoted 2 times
...
TariqKipkemei
1 year, 1 month ago
Selected Answer: D
"The company wants new objects that are uploaded to Amazon S3 to remain unchangeable for a nonspecific amount of time until the company decides to modify the objects" = A legal hold prevents an object version from being overwritten or deleted. However, a legal hold doesn't have an associated retention period and remains in effect until removed. s3:PutObjectLegalHold permission is required in your IAM role to add or remove legal hold from objects.
upvoted 2 times
...
Guru4Cloud
1 year, 2 months ago
Selected Answer: D
The Object Lock legal hold operation enables you to place a legal hold on an object version. Like setting a retention period, a legal hold prevents an object version from being overwritten or deleted. However, a legal hold doesn't have an associated retention period and remains in effect until removed.
upvoted 1 times
...
RupeC
1 year, 2 months ago
Selected Answer: D
My understanding is that the s3:PutObjectLegalHold permission allows certain users to apply or remove the legal hold on objects in the S3 bucket. However, having the permission to apply or remove the legal hold does not necessarily mean users can override the hold set by another user. Once the legal hold is set on an object, it is in effect until the hold is removed by the user who applied it or an admin with the necessary permissions. Other users, even if they have the s3:PutObjectLegalHold permission, won't be able to remove the hold unless they are granted access by the user who originally applied it.
upvoted 2 times
...
omoakin
1 year, 4 months ago
I go with option B as they still need some specific users to be able to make changes so Gov mode is the best choice and 100 yrs is like infinity as well haha
upvoted 3 times
...
KZM
1 year, 7 months ago
Selected Answer: D
The correct answer is D.
upvoted 1 times
...
WherecanIstart
1 year, 7 months ago
Selected Answer: D
Option B specifies a retention period of 100 years which contradicts what the question asked for..... "The company wants new objects that are uploaded to Amazon S3 to remain unchangeable for a nonspecific amount of time until the company decides to modify the objects" Setting the retention period of 100 years is specific and the company wants new data/objects to remain unchanged for nonspecific amount of time. Correct answer is D https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops-legal-hold.html
upvoted 3 times
slackbot
1 year, 1 month ago
FFS 100 years = indefinitely. no company has a policy of keeping data for more than 10 years. having specific admins run 2 additional commands every time they want to modify an object, is really in sync with nowadays automation processes. instead of commenting each letter from the question, start thinking. if you were to decide, would you make your users always run commands before modifying or would you rather allow them to directly modify?
upvoted 1 times
...
...
bdp123
1 year, 8 months ago
Selected Answer: D
"The Object Lock legal hold operation enables you to place a legal hold on an object version. Like setting a retention period, a legal hold prevents an object version from being overwritten or deleted. However, a legal hold doesn't have an associated retention period and remains in effect until removed." https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops-legal-hold.html
upvoted 1 times
...
Yelizaveta
1 year, 8 months ago
Selected Answer: D
retention period of 100 Years prevents the object to be deleted bevor the retention period expires, so it's not a good fit.
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 ...