exam questions

Exam 102-500 All Questions

View all questions & answers for the 102-500 exam

Exam 102-500 topic 1 question 113 discussion

Actual exam question from LPI's 102-500
Question #: 113
Topic #: 1
[All 102-500 Questions]

Given the following user's crontab entry:
15 14 * * 1-5 /usr/local/bin/example.sh
When will the script /usr/local/bin/example.sh be executed?

  • A. At 14:15 local time, January till May.
  • B. At 15:14 local time, 1st to 5th day of month.
  • C. At 14:15 local time, February till June.
  • D. At 14:15 local time, 1st to 5th day of month.
  • E. At 14:15 local time, Monday to Friday
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
drliu1202
Highly Voted 2 years, 1 month ago
Selected Answer: E
Therefore, each line in a system crontab contains seven fields separated by a space: The minute of the hour (0-59). The hour of the day (0-23). The day of the month (1-31). The month of the year (1-12). The day of the week (0-7 with Sunday=0 or Sunday=7). The name of the user account to be used when executing the command. The command to run. https://learning.lpi.org/en/learning-materials/102-500/107/107.2/107.2_01/
upvoted 7 times
...
Sergio_light
Highly Voted 2 years, 7 months ago
E is correct
upvoted 5 times
...
becfc14
Most Recent 3 days, 1 hour ago
Selected Answer: E
# Example of job definition: # .---------------- minute (0 - 59) # | .------------- hour (0 - 23) # | | .---------- day of month (1 - 31) # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # | | | | | # * * * * * user-name command to be executed
upvoted 1 times
...
dsabillonhn
7 months ago
Selected Answer: A
If cron.allow does not exist, and cron.deny does not exist, typically all users are allowed to use the cron service.
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