A Linux system is failing to start due to issues with several critical system processes. Which of the following options can be used to boot the system into the single user mode? (Choose two.)
A.
Execute the following command from the GRUB rescue shell: mount -o remount, ro/sysroot.
B.
Interrupt the boot process in the GRUB menu and add systemd.unit=single in the kernel line.
C.
Interrupt the boot process in the GRUB menu and add systemd.unit=rescue.target in the kernel line.
D.
Interrupt the boot process in the GRUB menu and add single=user in the kernel line.
E.
Interrupt the boot process in the GRUB menu and add init=/bin/bash in the kernel line.
F.
Interrupt the boot process in the GRUB menu and add systemd.unit=single.target in the kernel line.
B. systemd.unit=single: This option boots the system directly into single user mode.
C. systemd.unit=rescue.target: This option boots the system into rescue mode, which is similar to single user mode and provides a minimal environment for troubleshooting.
I believe the question is just asking which of the two will boot into single user mode, in this case it will be
B and C
B- By adding systemd.unit=single, will tell the system to boot into single-user mode. It's another way of doing rescue.target which is also single-user mode.
C- By adding systemd.unit=rescue.target, this will put the system into rescue mode, which again is single-user mode
This is all based if the question is asking what it is asking which is "pick 2 which will boot the system into single user mode" nothing more but with comptia's questioning, I think you never truly know what they want.
Option D (adding "single=user" in the kernel line) and option E (adding "init=/bin/bash" in the kernel line) can be used to boot the Linux system into single user mode. In single user mode, the system will only run a minimal set of services and the root user will be given a shell, allowing the administrator to troubleshoot and repair any issues with the system.
Option C, adding systemd.unit=rescue.target to the kernel line, is intended to boot the system into a rescue environment, not a single user mode. In the rescue environment, the system will attempt to repair the system and restore the system to a bootable state, rather than providing direct access to the system as single user mode does.
I think the given answer (CE) is correct
- C. "systems.unit=rescue.target" will put you in single-user mode
- E.
1. In GRUB, press E to edit your boot entry (the Ubuntu entry).
2. Look for the line that starts with linux, and then look for ro.
3. Replace ro with rw init=/bin/bash.
This action mounts your file system as read-write and uses /bin/bash as the init process.
4. Press Ctrl+X to reboot with these settings
upvoted 4 times
...
This section is not available anymore. Please use the main Exam Page.XK0-005 Exam Questions
Log in to ExamTopics
Sign in:
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.
HappyDay030303
1 day, 18 hours agoNastyNutsu
1 month, 4 weeks agoMistermiyagi
2 months, 1 week agoMistermiyagi
2 days, 6 hours ago[Removed]
5 months, 3 weeks agolinux_admin
8 months, 1 week agolinux_admin
8 months agoCkl22
9 months, 4 weeks ago