exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 117 discussion

Actual exam question from CompTIA's XK0-005
Question #: 117
Topic #: 1
[All XK0-005 Questions]

A Linux system is failing to boot. The following error is displayed in the serial console:
[[1;33mDEPEND[Om] Dependency failed for /data.
[[1;33mDEPEND[Om] Dependency failed for Local File Systems
...
Welcome to emergency mode! After logging in, type "journalctl -xb" to viewsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode.
Give root password for maintenance
(or type Control-D to continue}
Which of the following files will need to be modified for this server to be able to boot again?

  • A. /etc/mtab
  • B. /dev/sda
  • C. /etc/fstab
  • D. /ete/grub.conf
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Alizadeh
8 months, 3 weeks ago
Selected Answer: C
The correct answer is C. /etc/fstab.
upvoted 1 times
...
nixonbii
1 year, 2 months ago
This does not look like output that can be properly analyzed. Should we just assume what it says?: [[1;33mDEPEND[Om] Dependency failed for /data. [[1;33mDEPEND[Om] Dependency failed for Local File Systems
upvoted 1 times
...
linux_admin
1 year, 2 months ago
Selected Answer: C
Based on the error message and symptoms described, the file that needs to be modified for this server to be able to boot again is option C, /etc/fstab. The error message indicates that the system is failing to start the /data partition, which is causing the system to go into emergency mode and preventing it from booting. The /data partition is most likely defined in the /etc/fstab file, which contains information about the file systems that are mounted at boot time.
upvoted 4 times
...
KnifeClown1
1 year, 2 months ago
Selected Answer: C
The file /etc/fstab is used by the Linux system to mount file systems during boot. It contains information about file systems to be mounted, including the device name, mount point, file system type, and mount options. The error message indicates that a dependency has failed for "/data" and for local file systems, which suggests that there is an issue with one of the file systems listed in the /etc/fstab file. It is likely that the device name, mount point, file system type, or mount options for "/data" or another file system listed in /etc/fstab is incorrect or outdated, causing the system to fail to mount the file system during boot. The system administrator will need to access the /etc/fstab file and modify it to correct the issue and allow the system to boot successfully.
upvoted 2 times
...
lo_01234_ol
1 year, 5 months ago
Selected Answer: C
https://clay-atlas.com/us/blog/2021/07/25/linux-en-welcome-to-emergency-mode/
upvoted 1 times
...
TheRealManish
1 year, 5 months ago
Selected Answer: C
I pick C: fstab.. but i'm not really sure. . anyone else more sure?
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago