Question 100
For this Linux administration lab: A verified blank GPT training disk needs one new 1 GiB partition with appropriate alignment. Which safety and lifecycle check best prevents the same problem returning?
Explanation
Correct Answer
Check free space and partition start/end positions before and after a partition operation. This guards against recurrence of: A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data. Confirm the lab's final state by: `lsblk /dev/vdb` shows the expected roughly 1-GiB partition with no neighboring devices altered.
Incorrect Answers
Inspect device signatures and mount holders before PV creation. That control is best suited to a separate scenario: A blank LVM lab partition `/dev/vdb1` exists but cannot be added to a volume group until initialized. It is not the best safeguard for the current mechanism: A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data.
Confirm exact partition number, holders and backups before partition deletion. That control is best suited to a separate scenario: A trainee needs to delete one unused partition on a disposable GPT disk but proposes erasing the whole disk. It is not the best safeguard for the current mechanism: A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data.
Include a full storage dependency diagram in change requests. That control is best suited to a separate scenario: An operator confuses a partition number with an LVM logical volume name when looking for a mounted database. It is not the best safeguard for the current mechanism: A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data.