exam questions

Exam 201-450 All Questions

View all questions & answers for the 201-450 exam

Exam 201-450 topic 1 question 25 discussion

Actual exam question from LPI's 201-450
Question #: 25
Topic #: 1
[All 201-450 Questions]

What effect does the ""f option to the update-rc.d command have on files in the /etc/rcX.d/ and /etc/init.d/ directories?

  • A. It will force the removal of the symlinks in /etc/rcX.d/ even when the links are read only
  • B. It will remove both the symlinks in /etc/rcX.d/ and the init script in /etc/init.d/
  • C. It will remove the init script in /etc/init.d/ and the symlinks in /etc/rcX.d/ and update the package information of installed files
  • D. It will force the removal of symlinks in /etc/rcX.d/ even if the corresponding init script still exists in /etc/init.d/
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
chiaseed
3 months, 3 weeks ago
Selected Answer: D
It's D. Checked the man page :) man update-rc.d Option -F Force removal of symlinks even if /etc/init.d/name still exists.
upvoted 1 times
...
Brunfthuf
6 months, 3 weeks ago
systemctl ;-)
upvoted 1 times
...
[Removed]
6 months, 3 weeks ago
Per the man page: https://manpages.ubuntu.com/manpages/xenial/man8/update-rc.d.8.html -f Force removal of symlinks even if /etc/init.d/name still exists.
upvoted 3 times
...
milan92stankovic
2 years, 12 months ago
D - 100%
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