Oracle Cloud Infrastructure 2019 Developer Associate — Question 20
Within your tenancy you have a compute instance with a boot volume and a block volume attached. The boot volume contains the OS and the attached block volume contains the instance's important data. Logs on the boot volume have filled the boot volume and are causing issues with the OS.
What should you do to resolve this situation?
Answer options
- A. Stop the instance that is full. Create a manual backup of the block storage before making changes. Detach the block volume, create a new instance of the same shape with a larger custom boot volume and attach the block volume to the new instance. Configure the OS and any related application(s) to access the block volume under the same mount point as before.
- B. Create a new instance with a larger boot volume size as well a new block volume which is the same size or larger than the one attached to the full instance. rsync the state of the boot volume and the state of the block volume between the two instances.
- C. Detach the block volume from the full instance. Create a new instance of the same shape with a larger boot volume and rsync the state of the boot volume between the instances. Attach the block volume to the new instance.
- D. Create a manual backup of the block storage instance. Create a custom image of the full instance. Once that completes deploy the custom image to a new instance.
Correct answer: B
Explanation
The correct answer is B, as it involves creating a new instance with a larger boot volume and a new block volume, ensuring that both volumes are adequately sized to prevent future issues. Option A may not address the root of the problem effectively, while option C does not create a new block volume, and option D delays resolving the issue by creating a custom image instead of directly addressing the volume size problem with rsync.