Question 31
Which command will set the local machine's timezone to UTC?
- cat UTC > /etc/timezone
- ln -s /usr/share/zoneinfo/UTC /etc/localtime
- date --timezone=UTC
- mv /usr/timezone/UTC /etc
Question 32
Which of the following actions prevents a specific user from scheduling tasks using at or batch?
- Add the specific user to the /etc/at.allow file.
- Add the specific user to the [deny] section in the /etc/atd.conf file.
- Add the specific user to the /etc/at.deny file.
- Add the specific user to the nojobs group.
- Run atd --deny followed by the name of the specific user.
Question 33
What is the main difference between the batch and at commands?
- The batch command will run multiple times. The at command will only run once.
- The commands of a batch job run sequentially one after another while the commands in at jobs may run in parallel.
- The at command reads commands from standard input. The batch command requires a command line argument.
- The at command e-mails results to the user. The batch command logs results to syslog.
Question 34
Why should a regular user edit his personal crontab by using the command crontab instead of just editing his crontab file manually?
- Because user specific crontab entries are stored in a common database and must be extracted before editing.
- Because crontab starts the cron daemon in case it is not running due to no other crontab entries existing.
- Because user specific crontab entries are stored in a special directory which is maintained by the cron daemon and not writable for regular users.
- Because crontab collects information about all users crontabs and recommends similar commands used by other users of the system.