1Z0-1072-25 Question 188
Select 2You are running a critical production application on a Linux-based compute instance in Oracle Cloud Infrastructure. The application� block volume has reached capacity, and you have decided to expand it from 100 GB to 200 GB without any downtime. Which two actions must you perform to ensure the operating system recognizes the full new capacity?
- A
Stop the compute instance before resizing to ensure data integrity.
- B
Use the console or CLI to update the block volume's size.
- C
Detach and reattach the block volume after increasing its size.
- D
Extend the partition and resize the file system in the operating system.
- E
Create a separate block volume with the new capacity and migrate all data to it.
Show answer and explanation
Correct answers: B, D
Explanation
In Oracle Cloud Infrastructure, you can increase the size of a block volume online, without stopping the compute instance, by editing the volume size in the OCI console or using the CLI. However, the operating system will not automatically detect this change. After resizing in OCI, you must resize the partition and the file system at the OS level to access the additional storage. For detailed instructions, consult the 'Resizing a Block Volume' section in the OCI documentation.
- A. Incorrect.
Option 1: Incorrect. Stopping the compute instance is not required. Oracle Cloud Infrastructure supports online volume resizing, so you do not need to power off the instance for an in-place expansion.
- B. Correct.
Option 2: Correct. Updating the block volume size via the console or CLI is essential for resizing. This increases the raw capacity at the block storage level.
- C. Incorrect.
Option 3: Incorrect. OCI supports resizing a block volume while it is still attached. You do not necessarily have to detach and reattach it once the sizing operation is completed.
- D. Correct.
Option 4: Correct. After you modify the volume size in the OCI console or via CLI, you must extend the partition and resize the file system within the operating system so that it recognizes and utilizes the newly allocated space.
- E. Incorrect.
Option 5: Incorrect. While creating a new block volume and migrating data is one way to achieve higher capacity, it is not necessary for a straightforward in-place volume expansion. Choosing this approach would incur additional steps and downtime.