Question 660
At Stonegate Public Works, Linux engineers examine the following symptom on its primary production server during a service expansion planning meeting: A new swap file is rejected by system policy because it can be read by other users. Which diagnosis best matches the evidence?
- A filesystem copy was used where a bind mount of the existing directory is required.
- Fstab references a changing /dev/sdX name rather than a stable filesystem identity.
- A local Btrfs snapshot shares the same storage failure domain as its source.
- The file permissions were not restricted before swap activation.
Explanation
Correct Answer
D:This mechanism matches the observed Linux failure: The file permissions were not restricted before swap activation. The focused correction is: Apply safe ownership and mode 0600 to a suitable swap file, then mkswap and swapon. A meaningful success check is: The swap file activates without exposing its contents to ordinary users. For Stonegate Public Works during a service expansion planning meeting, this is evaluated against the specific expected state: The swap file activates without exposing its contents to ordinary users.
Incorrect Answers
A:The alternative applies to a distinct technical failure: A filesystem copy was used where a bind mount of the existing directory is required. The evidence in this incident instead points to: The file permissions were not restricted before swap activation. For Stonegate Public Works during a service expansion planning meeting, this is evaluated against the specific expected state: The swap file activates without exposing its contents to ordinary users.
B:The offered explanation fits another incident: A new data volume mounts under one device name but fails after controller ports are rearranged. The narrower mechanism here is: The file permissions were not restricted before swap activation. It does not account for the observed problem at Stonegate Public Works. For Stonegate Public Works during a service expansion planning meeting, this is evaluated against the specific expected state: The swap file activates without exposing its contents to ordinary users.
C:This diagnosis is plausible in a separate Linux scenario: An operator takes a Btrfs subvolume snapshot and assumes it survives loss of the underlying disk. It does not explain this incident. The cause here is: The file permissions were not restricted before swap activation. For Stonegate Public Works during a service expansion planning meeting, this is evaluated against the specific expected state: The swap file activates without exposing its contents to ordinary users.
Question 661
A senior administrator at Stonegate Public Works documents this behavior on its primary production server during a controlled failover exercise: A diagnostic uses the newest installed /lib/modules directory although the system booted an older kernel. What is the most precise cause?
- The device problem must be differentiated at hardware discovery and driver-binding stages.
- A udev naming rule relies on enumeration order rather than stable hardware attributes.
- The initramfs lacks the driver needed before the root filesystem can be mounted.
- The installed-kernel inventory was confused with the actual running uname -r release.
Explanation
Correct Answer
D:This mechanism matches the observed Linux failure: The installed-kernel inventory was confused with the actual running uname -r release. The focused correction is: Query uname -r and match module paths and troubleshooting commands to that release. A meaningful success check is: The inspected module directory and active kernel release agree. For Stonegate Public Works during a controlled failover exercise, this is evaluated against the specific expected state: The inspected module directory and active kernel release agree.
Incorrect Answers
A:This diagnosis is plausible in a separate Linux scenario: An attached PCI card is missing and the administrator only searches package logs. It does not explain this incident. The cause here is: The installed-kernel inventory was confused with the actual running uname -r release. For Stonegate Public Works during a controlled failover exercise, this is evaluated against the specific expected state: The inspected module directory and active kernel release agree.
B:The alternative applies to a distinct technical failure: A udev naming rule relies on enumeration order rather than stable hardware attributes. The evidence in this incident instead points to: The installed-kernel inventory was confused with the actual running uname -r release. For Stonegate Public Works during a controlled failover exercise, this is evaluated against the specific expected state: The inspected module directory and active kernel release agree.
C:The offered explanation fits another incident: A host drops into early boot recovery after changing the root storage driver to a module. The narrower mechanism here is: The installed-kernel inventory was confused with the actual running uname -r release. It does not account for the observed problem at Stonegate Public Works. For Stonegate Public Works during a controlled failover exercise, this is evaluated against the specific expected state: The inspected module directory and active kernel release agree.
Question 662
At Bluewater Energy Group, an engineer must correct this Linux failure on its primary production server during an incident evidence review: A filesystem restored from an LVM snapshot shows missing recent changes and support assumes a bug. Which specific action best repairs the cause?
- Use pvcreate, vgcreate and lvcreate in that order on approved devices.
- Identify mounts and consumers, unmount safely, then remove only the confirmed target LV.
- Use an appropriate redundant RAID level with backups for workloads needing fault tolerance.
- Select a recovery point appropriate to the incident and restore from a verified snapshot or backup.
Explanation
Correct Answer
D:The change targets the actual mechanism: The snapshot represents its creation point and not subsequent origin writes. The direct remedy is: Select a recovery point appropriate to the incident and restore from a verified snapshot or backup. The team can verify the result by confirming: Restored file contents match the chosen timestamp and stated recovery objective. For Bluewater Energy Group during an incident evidence review, this is evaluated against the specific expected state: Restored file contents match the chosen timestamp and stated recovery objective.
Incorrect Answers
A:That remedy is intended for another condition: An engineer attempts to create a logical volume on raw disks without preparing physical volumes. It leaves the present mechanism unresolved: The snapshot represents its creation point and not subsequent origin writes. The necessary verification here is: Restored file contents match the chosen timestamp and stated recovery objective. For Bluewater Energy Group during an incident evidence review, this is evaluated against the specific expected state: Restored file contents match the chosen timestamp and stated recovery objective.
B:The proposed action fits a separate mechanism: The logical volume's live mount and dependencies were not verified before destruction. The current incident instead arises from: The snapshot represents its creation point and not subsequent origin writes. The required outcome is: Restored file contents match the chosen timestamp and stated recovery objective. For Bluewater Energy Group during an incident evidence review, this is evaluated against the specific expected state: Restored file contents match the chosen timestamp and stated recovery objective.
C:The alternative is tied to the separate scenario: A striped RAID0 volume loses all data when only one member disk fails. For Bluewater Energy Group, the repair needs to address: The snapshot represents its creation point and not subsequent origin writes. For Bluewater Energy Group during an incident evidence review, this is evaluated against the specific expected state: Restored file contents match the chosen timestamp and stated recovery objective.
Question 663
A senior administrator at Lakeshore Financial Cooperative documents this behavior on a recently provisioned secondary node during a routine Linux security audit: A full-disk backup wastes space copying transient /proc and /sys pseudo-filesystem entries. What is the most precise cause?
- The backup scope includes virtual runtime files that are regenerated by the kernel.
- The selected copy mode does not preserve the needed metadata.
- Tape positioning and file marks were not checked before retrieval.
- The build workflow does not distinguish the generated command plan from execution.
Explanation
Correct Answer
A:This mechanism matches the observed Linux failure: The backup scope includes virtual runtime files that are regenerated by the kernel. The focused correction is: Exclude pseudo-filesystems and capture durable configuration and user data instead. A meaningful success check is: The backup contains recoverable persistent data without virtual device entries. For Lakeshore Financial Cooperative during a routine Linux security audit, this is evaluated against the specific expected state: The backup contains recoverable persistent data without virtual device entries.
Incorrect Answers
B:The alternative applies to a distinct technical failure: The selected copy mode does not preserve the needed metadata. The evidence in this incident instead points to: The backup scope includes virtual runtime files that are regenerated by the kernel. For Lakeshore Financial Cooperative during a routine Linux security audit, this is evaluated against the specific expected state: The backup contains recoverable persistent data without virtual device entries.
C:The offered explanation fits another incident: A tape-based recovery cannot reach the requested file position because the operator misreads tape state. The narrower mechanism here is: The backup scope includes virtual runtime files that are regenerated by the kernel. It does not account for the observed problem at Lakeshore Financial Cooperative. For Lakeshore Financial Cooperative during a routine Linux security audit, this is evaluated against the specific expected state: The backup contains recoverable persistent data without virtual device entries.
D:This diagnosis is plausible in a separate Linux scenario: An operator wants to inspect planned make actions before executing installation recipes. It does not explain this incident. The cause here is: The backup scope includes virtual runtime files that are regenerated by the kernel. For Lakeshore Financial Cooperative during a routine Linux security audit, this is evaluated against the specific expected state: The backup contains recoverable persistent data without virtual device entries.
Question 664
At Northfield Medical Services, this prior incident is reviewed for prevention on its primary production server during a high-availability change window: A thin copy-on-write LVM snapshot becomes invalid during a large update to its origin. Which routine engineering safeguard best addresses the root cause?
- Include filesystem resizing and post-change checks in LV growth plans.
- Alert on snapshot space consumption and remove stale snapshots promptly.
- Require LV path, mount, and application-owner confirmation before lvremove.
- Collect RAID-level state separately from mounted filesystem capacity.
Explanation
Correct Answer
B:The recurring safeguard addresses the identified cause: The snapshot's allocated COW space cannot track all changed origin blocks. The ongoing check is: Alert on snapshot space consumption and remove stale snapshots promptly. That targets this failure more directly than a generic health probe. For Northfield Medical Services during a high-availability change window, this is evaluated against the specific expected state: The snapshot remains valid through the expected change set and supports restore testing.
Incorrect Answers
A:That check addresses a separate mechanism: Block volume extension was performed without growing the filesystem. It would not directly detect recurrence of the observed issue: The snapshot's allocated COW space cannot track all changed origin blocks. For Northfield Medical Services during a high-availability change window, this is evaluated against the specific expected state: The snapshot remains valid through the expected change set and supports restore testing.
C:This guard applies to a different problem: An administrator deletes an LV that is still mounted because its name resembles an unused scratch volume. The present recurrence risk is: The snapshot's allocated COW space cannot track all changed origin blocks. The target needs a more specific control. For Northfield Medical Services during a high-availability change window, this is evaluated against the specific expected state: The snapshot remains valid through the expected change set and supports restore testing.
D:That check addresses a separate mechanism: Filesystem capacity output does not reveal software RAID member health. It would not directly detect recurrence of the observed issue: The snapshot's allocated COW space cannot track all changed origin blocks. For Northfield Medical Services during a high-availability change window, this is evaluated against the specific expected state: The snapshot remains valid through the expected change set and supports restore testing.
Question 665
A post-incident review at Willowpoint Communications targets recurrence risk on its primary production server during an administrator handoff review: An existing logical volume cannot grow although a newly attached disk is empty. Which recurring check is the best match?
- Label snapshots with creation times and test recovery-point expectations.
- Include filesystem resizing and post-change checks in LV growth plans.
- Review SAN paths for WWID-based references rather than sdX names.
- Check available VG extents before any planned LV expansion.
Explanation
Correct Answer
D:The recurring safeguard addresses the identified cause: The new disk has not been incorporated into the volume group's free extents. The ongoing check is: Check available VG extents before any planned LV expansion. That targets this failure more directly than a generic health probe. For Willowpoint Communications during an administrator handoff review, this is evaluated against the specific expected state: vgs reports added free extents and lvs shows the requested size.
Incorrect Answers
A:The suggested safeguard is associated with this other incident: A filesystem restored from an LVM snapshot shows missing recent changes and support assumes a bug. The current issue instead requires continued attention to: The new disk has not been incorporated into the volume group's free extents. For Willowpoint Communications during an administrator handoff review, this is evaluated against the specific expected state: vgs reports added free extents and lvs shows the requested size.
B:This guard applies to a different problem: An LV is enlarged but df continues showing the old ext4 filesystem size. The present recurrence risk is: The new disk has not been incorporated into the volume group's free extents. The target needs a more specific control. For Willowpoint Communications during an administrator handoff review, this is evaluated against the specific expected state: vgs reports added free extents and lvs shows the requested size.
C:That check addresses a separate mechanism: The configuration depends on mutable SCSI enumeration names instead of persistent identifiers. It would not directly detect recurrence of the observed issue: The new disk has not been incorporated into the volume group's free extents. For Willowpoint Communications during an administrator handoff review, this is evaluated against the specific expected state: vgs reports added free extents and lvs shows the requested size.
Question 666
At Meadowbrook Analytics, technicians are verifying a fix on a recently provisioned secondary node during an end-to-end service restoration exercise: A striped RAID0 volume loses all data when only one member disk fails. What outcome directly demonstrates recovery?
- Mdadm --detail and filesystem capacity agree with the designed RAID level.
- Rebuild completes without recurring application timeout thresholds.
- Fstrim reports eligible discarded ranges and SSD performance remains stable.
- A controlled single-member failure does not destroy data availability on the redesigned array.
Explanation
Correct Answer
D:This result tests the reported defect directly: RAID0 striping provides no data redundancy or single-disk fault tolerance. The expected recovery evidence is: A controlled single-member failure does not destroy data availability on the redesigned array. A generic service-up check would be weaker evidence. For Meadowbrook Analytics during an end-to-end service restoration exercise, this is evaluated against the specific expected state: A controlled single-member failure does not destroy data availability on the redesigned array.
Incorrect Answers
A:The alternative would leave this fault unresolved: RAID0 striping provides no data redundancy or single-disk fault tolerance. The relevant acceptance measure here is: A controlled single-member failure does not destroy data availability on the redesigned array. For Meadowbrook Analytics during an end-to-end service restoration exercise, this is evaluated against the specific expected state: A controlled single-member failure does not destroy data availability on the redesigned array. The alternative instead measures mdadm --detail and filesystem capacity agree with the designed RAID level.
B:The offered measurement is relevant to this different incident: A degraded md RAID1 rebuild causes heavy disk traffic and application latency spikes. It does not demonstrate the required acceptance condition: A controlled single-member failure does not destroy data availability on the redesigned array. For Meadowbrook Analytics during an end-to-end service restoration exercise, this is evaluated against the specific expected state: A controlled single-member failure does not destroy data availability on the redesigned array.
C:This would test another mechanism: Filesystem discard or periodic TRIM has not been executed for the SSD stack. The original condition demands the following direct evidence: A controlled single-member failure does not destroy data availability on the redesigned array. For Meadowbrook Analytics during an end-to-end service restoration exercise, this is evaluated against the specific expected state: A controlled single-member failure does not destroy data availability on the redesigned array.
Question 667
At Granite County Services, technicians are verifying a fix on a recently provisioned secondary node during an end-to-end service restoration exercise: A switch uplink looks up but the Linux NIC counts rising receive drops under load. What outcome directly demonstrates recovery?
- The active address and route persist after connection reactivation.
- Interface error and drop counters stop climbing during load testing.
- End-to-end IPv6 path diagnostics succeed through the repaired hop.
- The trace shows whether SYN, SYN-ACK and ACK or resets occur at each endpoint.
Explanation
Correct Answer
B:This result tests the reported defect directly: Layer-two errors or driver queue drops are not visible in service logs alone. The expected recovery evidence is: Interface error and drop counters stop climbing during load testing. A generic service-up check would be weaker evidence. For Granite County Services during an end-to-end service restoration exercise, this is evaluated against the specific expected state: Interface error and drop counters stop climbing during load testing.
Incorrect Answers
A:The alternative would leave this fault unresolved: Layer-two errors or driver queue drops are not visible in service logs alone. The relevant acceptance measure here is: Interface error and drop counters stop climbing during load testing. For Granite County Services during an end-to-end service restoration exercise, this is evaluated against the specific expected state: Interface error and drop counters stop climbing during load testing. The alternative instead measures The active address and route persist after connection reactivation.
C:This would test another mechanism: A specific IPv6 route or hop rejects or misroutes packets. The original condition demands the following direct evidence: Interface error and drop counters stop climbing during load testing. For Granite County Services during an end-to-end service restoration exercise, this is evaluated against the specific expected state: Interface error and drop counters stop climbing during load testing.
D:The alternative would leave this fault unresolved: Layer-two errors or driver queue drops are not visible in service logs alone. The relevant acceptance measure here is: Interface error and drop counters stop climbing during load testing. For Granite County Services during an end-to-end service restoration exercise, this is evaluated against the specific expected state: Interface error and drop counters stop climbing during load testing. The alternative instead measures The trace shows whether SYN, SYN-ACK and ACK or resets occur at each endpoint.
Question 668
A reviewer at Meadowbrook Analytics needs proof that this problem was corrected on a recently provisioned secondary node during a storage capacity investigation: An iSCSI target is visible on the network but no remote disk appears on the initiator. Which measured result validates the change?
- Fstrim reports eligible discarded ranges and SSD performance remains stable.
- Device-specific settings and health queries complete with supported tools.
- Recovery testing demonstrates the intended failure tolerance of the new storage layout.
- An iSCSI session appears and the intended SCSI logical unit is available.
Explanation
Correct Answer
D:This result tests the reported defect directly: iSCSI discovery was performed without establishing an authenticated session to the target. The expected recovery evidence is: An iSCSI session appears and the intended SCSI logical unit is available. A generic service-up check would be weaker evidence. For Meadowbrook Analytics during a storage capacity investigation, this is evaluated against the specific expected state: An iSCSI session appears and the intended SCSI logical unit is available.
Incorrect Answers
A:This would test another mechanism: Filesystem discard or periodic TRIM has not been executed for the SSD stack. The original condition demands the following direct evidence: An iSCSI session appears and the intended SCSI logical unit is available. For Meadowbrook Analytics during a storage capacity investigation, this is evaluated against the specific expected state: An iSCSI session appears and the intended SCSI logical unit is available.
B:The alternative would leave this fault unresolved: iSCSI discovery was performed without establishing an authenticated session to the target. The relevant acceptance measure here is: An iSCSI session appears and the intended SCSI logical unit is available. For Meadowbrook Analytics during a storage capacity investigation, this is evaluated against the specific expected state: An iSCSI session appears and the intended SCSI logical unit is available. The alternative instead measures Device-specific settings and health queries complete with supported tools.
C:The offered measurement is relevant to this different incident: A RAID5 group of four disks loses availability after a second independent member fails before rebuild. It does not demonstrate the required acceptance condition: An iSCSI session appears and the intended SCSI logical unit is available. For Meadowbrook Analytics during a storage capacity investigation, this is evaluated against the specific expected state: An iSCSI session appears and the intended SCSI logical unit is available.
Question 669
At Northlake Hospitality Systems, Linux engineers examine the following symptom on a recently provisioned secondary node during a multi-host baseline comparison: A user's /home/project mount is supposed to appear on first access but never does. Which diagnosis best matches the evidence?
- The automounter timeout policy is missing or overridden for inactive mounts.
- The chosen optical filesystem type does not meet the target media format requirement.
- The autofs master map omits the map file for the indirect mount location.
- A local Btrfs snapshot shares the same storage failure domain as its source.
Explanation
Correct Answer
C:This mechanism matches the observed Linux failure: The autofs master map omits the map file for the indirect mount location. The focused correction is: Add the matching entry in /etc/auto.master and configure its indirect map. A meaningful success check is: Accessing the project path triggers the expected mount without pre-mounting every share. For Northlake Hospitality Systems during a multi-host baseline comparison, this is evaluated against the specific expected state: Accessing the project path triggers the expected mount without pre-mounting every share.
Incorrect Answers
A:The alternative applies to a distinct technical failure: The automounter timeout policy is missing or overridden for inactive mounts. The evidence in this incident instead points to: The autofs master map omits the map file for the indirect mount location. For Northlake Hospitality Systems during a multi-host baseline comparison, this is evaluated against the specific expected state: Accessing the project path triggers the expected mount without pre-mounting every share.
B:The offered explanation fits another incident: A media mastering job writes an ISO9660-only image when the target requires UDF support for large media files. The narrower mechanism here is: The autofs master map omits the map file for the indirect mount location. It does not account for the observed problem at Northlake Hospitality Systems. For Northlake Hospitality Systems during a multi-host baseline comparison, this is evaluated against the specific expected state: Accessing the project path triggers the expected mount without pre-mounting every share.
D:The alternative applies to a distinct technical failure: A local Btrfs snapshot shares the same storage failure domain as its source. The evidence in this incident instead points to: The autofs master map omits the map file for the indirect mount location. For Northlake Hospitality Systems during a multi-host baseline comparison, this is evaluated against the specific expected state: Accessing the project path triggers the expected mount without pre-mounting every share.
Question 670
During a scheduled on-call operations review, Sunridge Research Labs must resolve this incident on its primary production server: An engineer attempts to create a logical volume on raw disks without preparing physical volumes. Which implementation decision best fixes it?
- Use pvcreate, vgcreate and lvcreate in that order on approved devices.
- Select a recovery point appropriate to the incident and restore from a verified snapshot or backup.
- Provision sufficient snapshot space and monitor snapshot data usage while updates run.
- Run supported fstrim on the appropriate mounted filesystem and enable scheduled trimming.
Explanation
Correct Answer
A:The change targets the actual mechanism: The LVM hierarchy requires physical volumes and a volume group before an LV. The direct remedy is: Use pvcreate, vgcreate and lvcreate in that order on approved devices. The team can verify the result by confirming: pvs, vgs and lvs show the intended PV, VG and LV relationships. For Sunridge Research Labs during a scheduled on-call operations review, this is evaluated against the specific expected state: pvs, vgs and lvs show the intended PV, VG and LV relationships.
Incorrect Answers
B:That remedy is intended for another condition: A filesystem restored from an LVM snapshot shows missing recent changes and support assumes a bug. It leaves the present mechanism unresolved: The LVM hierarchy requires physical volumes and a volume group before an LV. The necessary verification here is: pvs, vgs and lvs show the intended PV, VG and LV relationships. For Sunridge Research Labs during a scheduled on-call operations review, this is evaluated against the specific expected state: pvs, vgs and lvs show the intended PV, VG and LV relationships.
C:The proposed action fits a separate mechanism: The snapshot's allocated COW space cannot track all changed origin blocks. The current incident instead arises from: The LVM hierarchy requires physical volumes and a volume group before an LV. The required outcome is: pvs, vgs and lvs show the intended PV, VG and LV relationships. For Sunridge Research Labs during a scheduled on-call operations review, this is evaluated against the specific expected state: pvs, vgs and lvs show the intended PV, VG and LV relationships.
D:The alternative is tied to the separate scenario: An SSD-backed server stops reclaiming discarded blocks after the filesystem was migrated. For Sunridge Research Labs, the repair needs to address: The LVM hierarchy requires physical volumes and a volume group before an LV. For Sunridge Research Labs during a scheduled on-call operations review, this is evaluated against the specific expected state: pvs, vgs and lvs show the intended PV, VG and LV relationships.
LPIC-2 Exam 201 (201-450) Practice Tests