Oracle Cloud Infrastructure 2021 Architect Associate — Question 41

You have multiple applications running on a compute instance that generate a large amount of log files. You have requirements for these log files to be retained for a total of 60 days: at least 15 days on the boot volume, and then an additional 45 days in any location.
What is the most cost-effective way to meet the 15-day boot volume retention requirement, and the 60-day total retention requirement?

Answer options

Correct answer: D

Explanation

Option D is the most cost-effective approach as it meets both retention requirements by using an object storage bucket and a script for automated log management. Option A is not sustainable as it involves continuously resizing the boot volume, which incurs extra costs. Option B introduces complexity with moving and deleting logs but does not utilize cost-effective storage solutions, and option C involves unnecessary instance management that does not address the retention requirements effectively.