Linux Foundation Certified System Administrator (LFCS) — Question 12
Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?
Answer options
- 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
Correct answer: E
Explanation
The correct option is E, as 'systemd.unit=rescue.target' explicitly tells the systemd to set the boot target to rescue mode. The other options either reference incorrect parameters or do not exist within the systemd configuration, making them invalid for this purpose.