exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 16 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 16
Topic #: 1
[All LFCS Questions]

Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?

  • A. systemd.target=rescue.target
  • B. systemd.runlevel=rescue.target
  • C. systemd.service=rescue.target
  • D. systemd.default=rescue.target
  • E. systemd.unit=rescue.target
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

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
mirzakadric
2 weeks ago
Selected Answer: E
The kernel command-line option systemd.unit=rescue.target instructs systemd to boot into the rescue.target instead of the default target. The rescue.target is a minimal environment primarily used for system recovery or troubleshooting. It provides single-user mode with minimal services running.
upvoted 1 times
...
Greenmile84
10 months, 2 weeks ago
Selected Answer: E
Should be E: In the GRUB menu, choose the first entry and press "e" to edit it Hit the DOWN arrow and find the line that starts with the word "linux" and add the following line at the end of it. To reach the end, just press CTRL+e or use the END key or LEFT/RIGHT arrows in your keyboard. systemd.unit=rescue.target
upvoted 1 times
...
Buruguduystunstugudunstuy
1 year, 11 months ago
Selected Answer: D
Option D. systemd.default=rescue.target is the option that changes the systemd boot target to rescue.target instead of the default target. Systemd is a system and service manager that is used in many Linux distributions as the init system. It organizes services and daemons into units and groups them into boot targets, which determine the set of units that are activated at boot time. The default boot target is the one that is activated by default when the system boots. To change the systemd boot target, you can use the systemd.default kernel parameter on the kernel's command line. For example: systemd.default=rescue.target This will change the boot target to rescue.target, which activates a minimal set of units that are required to provide a rescue shell and access to emergency tools. Option E: The systemd.unit kernel parameter does not exist. It is not a valid option for changing the systemd boot target. Options A, B, and C are also incorrect. They are not valid options for changing the systemd boot target.
upvoted 1 times
...
Granddude
1 year, 11 months ago
Correct E https://www.thegeekdiary.com/how-to-boot-into-rescue-mode-or-emergency-mode-through-systemd-in-centos-rhel-7-and-8/
upvoted 1 times
...
Borbz
3 years, 10 months ago
Answer is correct
upvoted 1 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 ...