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

A company wants to back up its on-premises virtual machines (VMs) to AWS. The company's backup solution exports on-premises backups to an Amazon S3 bucket as objects. The S3 backups must be retained for 30 days and must be automatically deleted after 30 days.

Which combination of steps will meet these requirements? (Choose three.)

  • A. Create an S3 bucket that has S3 Object Lock enabled.
  • B. Create an S3 bucket that has object versioning enabled.
  • C. Configure a default retention period of 30 days for the objects.
  • D. Configure an S3 Lifecycle policy to protect the objects for 30 days.
  • E. Configure an S3 Lifecycle policy to expire the objects after 30 days.
  • F. Configure the backup solution to tag the objects with a 30-day retention period
Show Suggested Answer Hide Answer
Suggested Answer: ACE 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
te1973
Highly Voted 4 months, 1 week ago
This is a good example for a completely non-sense AWS exam question. In order to delete the object like requested in the question you need (E). This is required in either versioned or non-versioned buckets. Basically the task is done here. But let's assume we want to make it extra secure and retain the files for 30 days. Then we need object lock (A). You cannot have object lock without versioning (B). You also need to set a retention period then (C). So you either have A,B,C,E or you have E. Choosing exactly 3 options is completely nonsense here. But what do i know.
upvoted 6 times
...
MatAlves
Most Recent 4 weeks ago
Selected Answer: ACE
"Object Lock works only in buckets that have S3 Versioning enabled" However, we can't have 2 options (A and B) telling to create the bucket. So, A is only possible if versioning is already enabled. We need retention period (C), since this is not a case for legal holds: "Object Lock provides two ways to manage object retention: retention periods and legal holds." E - obvious reasons. Ref. https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html
upvoted 1 times
...
chwieobjom
1 month, 3 weeks ago
this is shit
upvoted 2 times
...
mohammadthainat
6 months, 3 weeks ago
Selected Answer: ACE
1- The S3 backups must be retained for 30 days --> For that you must enable S3 Object Lock (versioning must be enabled) in Compliance Mode and set Retention Period to 30 days. Thus, to achieve this you need 3 options <A, B and C> 2- The S3 backups must be automatically deleted after 30 days. --> For that you must Create Lifecycle Rule with action Expire current versions of objects (versioning must be enabled) and set Expiration Period to 30 days. Thus to achieve this you need 2 options <B and E> <B> is a must here as both locking the objects and deleting them can't be achieved without it. But, when choosing "A.Create an S3 bucket that has S3 Object Lock enabled." this explicitly indicated that versioning is enabled in your bucket.
upvoted 3 times
...
awsgeek75
8 months, 4 weeks ago
Selected Answer: ADE
B: No versioning is required D: Lifecycle is for transitioning or expiring. There is no protection lifecycle policy F: No such tag Enable object lock, retain for 30 days (https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops-retention-date.html) and expire after 30 days.
upvoted 4 times
MatAlves
4 weeks ago
"Object Lock works only in buckets that have S3 Versioning enabled" However, I still agree with ACE, since the bucket has already been created, so we can't have 2 answers telling to create the bucket. And yes, for this case, we need retention period: "Object Lock provides two ways to manage object retention: retention periods and legal holds." Ref. https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html
upvoted 1 times
...
awsgeek75
8 months, 4 weeks ago
I meant ACE! not ADE!
upvoted 2 times
...
...
pentium75
9 months, 2 weeks ago
Selected Answer: ACE
In theory, E alone would be enough because the objects are "retained for 30 days" without any configuration as long as no one deletes them. But let's assume that they want us to prevent deletion. A: Yes, required to prevent deletion. Object Lock requires Versioning, so if we 'create an S3 bucket that has S3 Object Lock enabled' that this also has object versioning enabled, otherwise we would not be able to create it. B: No. We need versioning, but we cannot "create" the bucket twice. If we create it "with object lock enabled" then versioning is enabled too, but NOT the other way round (creating it with versioning enabled will not automatically enable object lock).
upvoted 4 times
pentium75
9 months, 2 weeks ago
C: Yes, "default retention period" specifies how long object lock will be applied to new objects by default, we need this to protect objects from deletion. D: No, S3 Lifecycle Policy can "transition" or "expire" but not "protect". E: Yes, this will delete the objects after 30 days (C just removes the object lock after 30 days but does not delete the objects). F: No, 'tag with a retention period' is not common AWS wording, "tags" are something different in AWS context
upvoted 3 times
...
...
PegasusForever
9 months, 2 weeks ago
ABE -> https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html A. Create an S3 bucket that has S3 Object Lock enabled. -> You set a Retention period of 30 days with this feature. B. Create an S3 bucket that has object versioning enabled -> Object Lock works only in buckets that have S3 Versioning enabled E. Configure an S3 Lifecycle policy to expire the objects after 30 days. -> It is valid using the lifecicle policy.
upvoted 2 times
PegasusForever
9 months, 1 week ago
After analyzing the question deeply and reading: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html, I keep A and B, change E per C. A. Create an S3 bucket that has S3 Object Lock enabled. B. Create an S3 bucket that has object versioning enabled. Change E must be automatically deleted after 30 days(objects will be marked as expired not deleted). per C. Configure a default retention period of 30 days for the objects. It feature delete the object.
upvoted 1 times
PegasusForever
9 months, 1 week ago
Selected Answer: ACE A. Create an S3 bucket that has S3 Object Lock enabled. Enable the S3 Object Lock feature on S3. C. Configure a default retention period of 30 days for the objects. To lock the objects for 30 days. E. Configure an S3 Lifecycle policy to expire the objects after 30 days. -> to delete the objects after 30 days.
upvoted 1 times
...
...
...
cciesam
9 months, 2 weeks ago
Selected Answer: ACE
ACE is the correct ans.
upvoted 4 times
...
Riajul
9 months, 3 weeks ago
Selected Answer: ADE
ADE should be correct
upvoted 1 times
pentium75
9 months, 2 weeks ago
Why? S3 Lifecycle Policy can "transition" or "expire" but not "protect" https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-expire-general-considerations.html
upvoted 1 times
...
...
Naijaboy99
9 months, 3 weeks ago
Correct Answer is A C E
upvoted 1 times
...
meenkaza
9 months, 3 weeks ago
Selected Answer: ADE
A. Create an S3 bucket that has S3 Object Lock enabled. S3 Object Lock provides the ability to enforce retention periods on objects, preventing deletion or modification for a specified duration. D. Configure an S3 Lifecycle policy to protect the objects for 30 days. By configuring a lifecycle policy, you can define a transition action to move objects to the S3 Glacier storage class (or any other storage class) after 30 days. E. Configure an S3 Lifecycle policy to expire the objects after 30 days.
upvoted 1 times
pentium75
9 months, 2 weeks ago
S3 Lifecycle Policy can "transition" or "expire" but not "protect" https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-expire-general-considerations.html
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 ...