1Z0-1072-25 Question 218
Single answerYou manage a bucket in OCI Object Storage that stores daily backup archives. You need to reduce storage costs by automatically moving the archives to Archive Storage after 30 days and permanently deleting them after 180 days. Which approach achieves these requirements?
- A
Configure a single Object Lifecycle rule that transitions objects to Archive after 30 days and permanently deletes them after 180 days using the same rule.
- B
Create one Object Lifecycle rule to transition objects to Archive Storage after 30 days, and another rule to delete them after 180 days.
- C
Enable a retention rule on the bucket that automatically archives objects after 30 days and deletes them once the retention period ends.
- D
Turn on cross-region replication to a bucket in Archive Storage, relying on the replication policy to handle object deletion after 180 days.
Show answer and explanation
Correct answer: B
Explanation
To reduce costs without manual intervention, you configure Object Lifecycle Management with two rules on the same bucket: one transitions objects to the Archive tier after a specified period (30 days in this scenario), and a second rule permanently deletes them (at 180 days). Oracle documentation clarifies that each lifecycle rule handles a single action (transition or deletion), making two distinct rules necessary.
- A. Incorrect.
Incorrect. A single lifecycle rule can perform only one action. You need separate rules for transitioning objects to Archive and for deleting them.
- B. Correct.
Correct. You must create two separate Object Lifecycle rules: one for transitioning objects to Archive after 30 days, and another for permanently deleting them after 180 days.
- C. Incorrect.
Incorrect. Retention rules do not automatically transition objects to Archive Storage. Retention rules only prevent modifications or deletions of objects during the specified period.
- D. Incorrect.
Incorrect. Cross-region replication duplicates data to another region but does not automatically delete objects after a set number of days.