1Z0-1072-25 Question 190
Single answerYou have an Oracle Cloud Infrastructure compute instance with an attached 100 GB block volume that is running out of space. The business requires the volume to be expanded to 300 GB with minimal downtime. Which approach should you recommend?
- A
Detach the existing block volume, create a new 300 GB block volume, and attach it to the instance, then copy all data over.
- B
Use the Block Volume Dynamic Resizing feature to resize the existing block volume online from 100 GB to 300 GB and then expand the partition inside the operating system.
- C
Delete the existing block volume and recreate it as 300 GB from a snapshot of the original volume.
- D
Stop the instance first, increase the size to 300 GB through the Console, and then restart the instance.
Show answer and explanation
Correct answer: B
Explanation
Oracle Cloud Infrastructure supports dynamic resizing of block volumes, allowing you to scale from 100 GB to 300 GB (or higher) while the volume remains attached. You then grow the partition and file system in the operating system, minimizing downtime. For more details, refer to the 'Managing Block Volumes' section of Oracle� official documentation.
- A. Incorrect.
Option 1 (Incorrect): Detaching the volume and creating a new one requires more downtime and manual data copying. This is not the optimal approach when minimal downtime is required.
- B. Correct.
Option 2 (Correct): OCI allows dynamic resizing of block volumes without detaching. After resizing in the Console or OCI CLI, you simply expand the partition and filesystem inside the OS. This approach meets the requirement of minimal downtime.
- C. Incorrect.
Option 3 (Incorrect): Deleting the original volume is risky and unnecessary. While snapshots can help create new larger volumes, this still involves downtime and restoration steps that could be avoided with the native resizing feature.
- D. Incorrect.
Option 4 (Incorrect): Stopping the instance first introduces near-total downtime. In most cases, resizing can be done online, making this option less efficient.