1Z0-1067-25 Question 89
Single answerYour team stores application logs in an Oracle Cloud Infrastructure (OCI) Object Storage bucket. Due to new compliance requirements, you must retain these logs for exactly 2 years and then automatically delete them to reduce costs. Which approach best addresses this need?
- A
A) Configure an Object Storage Lifecycle Policy to transition logs older than 365 days to the Archive tier and delete them after 730 days.
- B
B) Export logs weekly from the Object Storage bucket and manually delete all logs older than 2 years.
- C
C) Rely on Autonomous Database Data Guard to automatically purge Object Storage logs older than 2 years.
- D
D) Set up an Oracle Cloud Infrastructure Monitoring alarm that triggers an auto-delete function when logs exceed 2 years in Object Storage.
Show answer and explanation
Correct answer: A
Explanation
Using an OCI Object Storage Lifecycle Policy is the most appropriate and efficient way to implement a data retention strategy for logs. You can configure separate time-based rules to move objects from Standard to Archive storage for cost savings and then delete them after the required retention period. Refer to the Oracle Cloud Infrastructure documentation on Object Storage Lifecycle Policies for best practices and configuration details.
- A. Correct.
A) Correct. An Object Storage Lifecycle Policy can automatically move objects to Archive after a certain period and delete them after another specified period, which aligns with the 2-year retention requirement and cost optimization.
- B. Incorrect.
B) Incorrect. While manual deletion is theoretically possible, it is not automated or efficient, and it increases the risk of human error or oversight.
- C. Incorrect.
C) Incorrect. Autonomous Database Data Guard only applies to databases, not Object Storage buckets. It cannot directly manage log retention policies in Object Storage.
- D. Incorrect.
D) Incorrect. Monitoring alarms cannot directly delete objects. You could create a custom function to respond to alarms, but this approach is more complicated and less straightforward than using native Object Storage Lifecycle Policies.