You have multiple applications installed on a compute instance and these applications generate a large amount of log files. These log files must reside on the boot volume for a minimum of 15 days.
Any log files age over 15 days shouldn't be on boot volume but still must be retained for at least 60 days. The 60-day retention requirement is causing an issue with available disk space.
What are two Oracle recommended methods to retain the log files for 60 days without filling up the boot volume? (Choose two.)
Select all that apply, then click Submit answer.
-
○
Terminate the instance while preserving the boot volume. Create a new instance from the boot volume and select a DenseIO shape to take advantage of local NVMe storage.
-
○
Resize the boot volume of the instance.
-
○
Create and attach a block volume to the compute instance and copy the log files.
-
○
Create an object storage bucket and use a script that runs daily to move log files older than 15 days to the bucket.
-
○
Write a custom script to remove the log files on a daily basis and free up the space on the boot volume.