Which crontab entry could be used to set the system time at regular intervals?
Suggested Answer: B
Get Premium 102-500 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
31 comments · newest first
LA
Lajuana
10 months ago
Wait, can you really set time with crontab like that?
CO
Cordell
10 months ago
I think A looks right too, but not sure.
KE
Kendra
10 months ago
B is the correct one, it uses ntpdate.
RI
Ria
10 months ago
Definitely B, it's the standard way to sync time!
KR
Kristin
10 months ago
C is misleading, it doesn't actually sync time properly.
FR
Frank
11 months ago
I’m a bit confused about the syntax in these options; I don’t recall seeing "runcron" used in crontab.
ED
Edgar
11 months ago
I feel like I've seen a question like this before, and B was the correct answer then too.
CR
Cruz
11 months ago
I'm not entirely sure, but I remember something about using the date command incorrectly in crontab entries.
CO
Cory
11 months ago
I think option B looks familiar since we practiced using ntpdate to sync time.
AH
Ahmad
12 months ago
I think B is the best answer here. Synchronizing with an NTP server is a reliable way to keep the system time accurate and up-to-date. The other options seem to be using less standard commands or approaches.
SA
Samira
12 months ago
I'm a bit confused by this question. The different crontab entries all look similar, but I'm not sure which one would actually set the system time correctly. I'll have to review my notes on cron and time management commands.
FE
Felicidad
12 months ago
Option B looks good to me. Updating the system time via an NTP server is a common way to keep the time accurate. The other options seem a bit more complicated or unclear.
AM
Ammie
1 year ago
Hmm, I'm not sure about this one. I know crontab is used for scheduling tasks, but I'm not familiar with the different commands that can be used. I'll have to think this through carefully.
GE
Geraldine
1 year ago
I think the answer is B. Using ntpdate to synchronize the system time with an NTP server seems like the most straightforward way to do this.
JO
Joanna
1 year ago
I see your point, but I still think C is the right choice because it directly sets the system time using the date command.
MI
Mireya
1 year ago
I think B is the correct answer because ntpdate is used to synchronize the system clock with a remote server.
PH
Phil
1 year ago
Ha! I bet the person who wrote this question is a total time lord. They really know how to keep us on our toes with these time-related questions.
RA
Ramonita
1 year ago
I know, right? Time-related questions always make me feel like I'm in a time warp!
RA
Ramonita
1 year ago
B) 1 0 * * * ntpdate ntp1.digex.net
TA
Tammi
1 year ago
Hmm, I'm not too sure about this one. Can we use the date command to set the time as well? I'm a bit confused about the differences between the options.
KY
Kyoko
1 year ago
I'm not sure, but I think it might be D.
JO
Joanna
1 year ago
I disagree, I believe the answer is C.
YU
Yuriko
1 year ago
I agree with Luther. Option B is the correct answer. The other options either don't make sense or don't actually set the system time properly.
RO
Ronald
1 year ago
Yes, I agree. Option B is the correct answer.
AN
Annabelle
1 year ago
I think you're right. Option B is the best choice.
LA
Layla
1 year ago
Option B) 1 0 * * * ntpdate ntp1.digex.net
LU
Luther
1 year ago
Option B seems like the best choice. Using ntpdate to sync the system time with an NTP server is a common and reliable way to keep the time accurate.
JA
Jamika
1 year ago
I'm not sure about the others, but ntpdate is definitely a good choice.
PR
Precious
1 year ago
I think option C with date ntp1.digex.net could also work.
HU
Huey
1 year ago
I agree, option B with ntpdate is the way to go.
MI
Mireya
1 year ago
I think the answer is B.