exam questions

Exam LX0-104 All Questions

View all questions & answers for the LX0-104 exam

Exam LX0-104 topic 3 question 8 discussion

Actual exam question from CompTIA's LX0-104
Question #: 8
Topic #: 3
[All LX0-104 Questions]

Why should a regular user edit his personal crontab by using the command crontab instead of just editing his crontab file manually?

  • A. Because user specific crontab entries are stored in a common database and must be extracted before editing.
  • B. Because crontab starts the cron daemon in case it is not running due to no other crontab entries existing.
  • C. Because user specific crontab entries are stored in a special directory which is maintained by the cron daemon and not writable for regular users.
  • D. Because crontab collects information about all users crontabs and recommends similar commands used by other users of the system.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
linux_admin
2 years, 2 months ago
The correct answer is A. Because user specific crontab entries are stored in a common database and must be extracted before editing. The crontab command is used to manage a user's cron jobs, including editing, displaying, and removing cron jobs. By using the crontab command, the user can ensure that the cron job is properly extracted from the common database and edited, rather than manually editing the file and potentially causing issues with the formatting or storage of the cron job in the database.
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