1Z0-1072-25 Question 191
Select 2You have an Oracle Cloud Infrastructure (OCI) Compute instance in a production environment with a 50 GB block volume attached. The volume is nearing capacity, and you need to expand storage to 200 GB with minimal downtime. Which two approaches could you use to achieve this goal?
- A
Edit the block volume size in the OCI Console, wait for it to become available, and then create a new compute instance in the same availability domain to attach the newly resized volume.
- B
Use the OCI Console or CLI to increase the block volume size while it remains attached, then extend the partition and file system within the operating system.
- C
Detach the block volume from your compute instance, delete it, create a new 200 GB volume from scratch, and attach the new volume to the same instance.
- D
Create a new 200 GB block volume and use the dd command from within the existing instance to replicate data from the old volume to the new one.
- E
Perform a volume backup of the 50 GB volume, restore it to a new 200 GB volume, then attach and mount the newly created volume to complete the migration.
Show answer and explanation
Correct answers: B, E
Explanation
OCI Block Volume offers two main methods to resize storage with minimal downtime: in-place resizing (Option 2) and using a backup to create a larger volume (Option 5). The in-place resize approach requires you to perform additional steps in the operating system to grow the partition and file system. Alternatively, you can take advantage of OCI Volume Backup and restore it into a bigger volume before attaching, minimizing downtime to the final cutover event. Refer to the official Oracle Cloud Infrastructure documentation on block volume resizing and backup/restore processes for detailed guidance.
- A. Incorrect.
Option 1: Incorrect. Resizing a block volume does not require creating a new compute instance, and doing so adds unnecessary complexity and downtime.
- B. Correct.
Option 2: Correct. OCI supports resizing a block volume in place. After the console (or CLI) operation, you extend the partition and file system inside the instance, allowing you to increase storage with minimal service interruption.
- C. Incorrect.
Option 3: Incorrect. Manually detaching and deleting the block volume to create a new one causes extended downtime and potential data management challenges.
- D. Incorrect.
Option 4: Incorrect. While copying data using dd can work, it requires a lengthy data copy process, leading to extended downtime. It's less efficient and riskier than the supported resize or backup-restore methods.
- E. Correct.
Option 5: Correct. You can create a backup of the existing block volume and restore it into a larger volume. Once the new volume is ready, you detach the old volume and attach the new one. This method reduces application downtime to the final volume switch-over.