1Z0-1072-25 Question 238
Select 2Your organization must retain all versions of objects in an OCI Object Storage bucket for a minimum of 60 days to meet compliance requirements. After 60 days, these older (non-current) versions should be automatically moved to Archive Storage for cost optimization. Deletion of any version must be prevented before the 60-day retention period. Which two steps must you take to implement these requirements in Oracle Cloud Infrastructure (OCI)? (Choose two.)
- A
- Enable versioning on the bucket and define a life cycle policy that transitions previous object versions to Archive Storage after 60 days.
- B
- Define a bucket-level retention rule with a minimum retention period of 60 days to prevent any deletion within that time frame.
- C
- Keep bucket versioning disabled, relying solely on the retention rule to protect older object versions for 60 days.
- D
- Create a life cycle policy that transitions all current object versions to Archive Storage after 10 days, ignoring previous versions.
- E
- Enable object versioning, set the retention rule's minimum retention to zero days, and manually remove older versions after 60 days.
Show answer and explanation
Correct answers: A, B
Explanation
To meet a 60-day mandatory retention period and automatically archive older versions, you must enable bucket versioning (to store older versions) and configure both a retention rule (to prevent deletion within 60 days) and a life cycle policy (to transition objects to the Archive storage tier after the 60-day period). For more details, refer to the OCI Object Storage documentation: https://docs.oracle.com/en-us/iaas/Content/Object/Tasks/managingbuckets.htm.
- A. Correct.
Option 1 is correct. Enabling versioning ensures all older versions are retained, and creating a life cycle policy to transition those older (non-current) versions to Archive Storage after 60 days meets the cost optimization requirement.
- B. Correct.
Option 2 is correct. A bucket-level retention rule with a 60-day minimum ensures no version�current or older�can be deleted before this period, fulfilling the compliance requirement.
- C. Incorrect.
Option 3 is incorrect. If versioning is disabled, previous versions are not preserved when objects are updated. A retention rule alone will not protect 'non-existent' older versions.
- D. Incorrect.
Option 4 is incorrect. Transitioning current object versions after just 10 days violates the 60-day retention requirement, and it also ignores older versions explicitly needing retention for compliance.
- E. Incorrect.
Option 5 is incorrect. Setting the retention period to zero days and relying on manual deletion can lead to accidental or premature deletions, failing the mandatory 60-day compliance rule.