nerdexam
CompTIACompTIA

SK0-005 · Question #197

SK0-005 Question #197: Real Exam Question with Answer & Explanation

The correct answer is B: Compress or delete log files.. Given users cannot log in and a df -h command suggests a full disk, the next logical step is to compress or delete log files to free up space.

Troubleshooting

Question

Users at a company cannot log into a server. An administrator reboots the server with liveCD and executes a df -h command. The following is returned: Which of the following should be done NEXT?

Options

  • AReformat the boot partition.
  • BCompress or delete log files.
  • CReconfigure the server with a larger primary partition.
  • DAsk users to clean out their home directories from another server.

Explanation

Given users cannot log in and a df -h command suggests a full disk, the next logical step is to compress or delete log files to free up space.

Common mistakes.

  • A. Reformatting the boot partition is a destructive action that would wipe the operating system and is an extreme measure, not a first troubleshooting step for login issues due to disk space.
  • C. Reconfiguring with a larger primary partition involves resizing or reinstalling, requiring significant downtime and effort, and is not the immediate solution when log files are likely filling the disk.
  • D. While user home directories can consume space, server login issues due to disk space are more commonly caused by system files like logs, making log cleanup a more immediate and impactful first step than asking users to clean their directories.

Concept tested. Linux troubleshooting - disk space management

Reference. https://www.redhat.com/sysadmin/df-command

Topics

#Disk space management#Log file management#Troubleshooting#Linux commands

Community Discussion

No community discussion yet for this question.

Full SK0-005 PracticeBrowse All SK0-005 Questions