exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 7 discussion

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

Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)

  • A. shutdown -r now
  • B. shutdown -r "rebooting"
  • C. telinit 6
  • D. telinit 0
  • E. shutdown -k now "rebooting"
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
Buruguduystunstugudunstuy
6 months, 1 week ago
Selected Answer: AC
Option A. shutdown -r now and Option C. telinit 6 reboot the system when using SysV init. Option A: The shutdown -r now command reboots the system when using SysV init. It sends a signal to init to switch to runlevel 6, which is the runlevel used to reboot the system. Option B: The shutdown -r "rebooting" command does not reboot the system. The -r option tells shutdown to reboot the system, but the command must also specify a time at which the reboot should occur. Option C: The telinit 6 command tells init to switch to runlevel 6, which is the runlevel used to reboot the system when using SysV init. Option D: The telinit 0 command tells init to switch to runlevel 0, which is the runlevel used to halt the system. It does not reboot the system. Option E: The shutdown -k now "rebooting" command does not reboot the system. The -k option tells shutdown to send a warning message to all logged-in users, but it does not initiate a reboot.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago