Sample question 1 · Troubleshooting (22%)
Pinnacle Regional Bank, a large multi-branch bank in the Midwest subject to federal banking examination requirements, suffered a credential theft incident traced to a phishing email. Post-incident, the security team found that an attacker had attempted to destroy evidence by corrupting the LVM configuration on a Linux log aggregation server. The server fails to boot, and the administrator boots into a rescue environment. Running 'pvs' shows the physical volume on /dev/sdc is in an unknown state, and 'vgchange -ay' fails with errors indicating the volume group metadata is inconsistent. The compliance team requires that LVM recovery steps be documented and that the volume group be restored using the most recent metadata backup before any log data is accessed. As the Linux administrator at Pinnacle Regional Bank, you are in the rescue environment and need to restore the corrupted LVM volume group metadata on /dev/sdc using the most recent archived backup to recover access to the log aggregation data. Which command correctly restores the LVM volume group metadata from the system's automatic backup archive?
- A. pvcreate --restorefile /etc/lvm/backup/vg_logs /dev/sdc
- B. vgcfgrestore -f /etc/lvm/archive/vg_logs_00001-XXXXXXXX.vg vg_logs
- C. lvconvert --repair /dev/vg_logs/lv_data
- D. vgimportclone --basevgname vg_logs /dev/sdc
View answer & explanation
Correct answer: B. vgcfgrestore -f /etc/lvm/archive/vg_logs_00001-XXXXXXXX.vg vg_logs
[Domain 5 - Troubleshooting, Subtopic 5 - Troubleshooting - Area 1 - GRUB] Core Concept: Troubleshoot system, boot, and storage issues. centers on grub as defined in the official (ISC)² exam outline. Correct Answer (B): vgcfgrestore -f /etc/lvm/archive/vg_logs_00001-XXXXXXXX.vg vg_logs In this scenario, this choice best applies the mapped official task statement and accepted security practice to the facts presented. Why the other options are incorrect: Option A: 'pvcreate --restorefile' initializes a physical volume using a metadata backup file, but this operation reinitializes the PV header rather than restoring the volume group metadata; it is used when a PV UUID must be restored, not for correcting inconsistent VG metadata across an existing PV. Option C: 'lvconvert --repair' is used to repair a degraded RAID logical volume within LVM, not to restore corrupted volume group metadata; it does not address the VG metadata inconsistency reported by 'vgchange'. Option D: 'vgimportclone' is used to import a cloned or duplicated volume group with a new name and UUIDs to avoid conflicts, not to restore corrupted metadata on an existing volume group in place.