Bookmark this page

Quiz: Scheduling Future Tasks

Choose the correct answers to the following questions.

  1. 1.

    Which job format executes /usr/local/bin/daily_backup hourly from 9 a.m. to 6 p.m. on all days from Monday through Friday?

    A

    00 * * * Mon-Fri /usr/local/bin/daily_backup

    B

    * */9 * * Mon-Fri /usr/local/bin/daily_backup

    C

    00 */18 * * * /usr/local/bin/daily_backup

    D

    00 09-18 * * Mon-Fri /usr/local/bin/daily_backup

  2. 2.

    Which directory contains the shell scripts intended to run on a daily basis?

    A

    /etc/cron.d

    B

    /etc/cron.hourly

    C

    /etc/cron.daily

    D

    /etc/cron.weekly

  3. 3.

    Which configuration file defines the settings for the system jobs that run on a daily, weekly, and monthly basis?

    A

    /etc/crontab

    B

    /etc/anacrontab

    C

    /etc/inittab

    D

    /etc/sysconfig/crond

  4. 4.

    Which systemd unit regularly triggers the cleanup of the temporary files?

    A

    systemd-tmpfiles-clean.timer

    B

    systemd-tmpfiles-clean.service

    C

    dnf-makecache.timer

    D

    unbound-anchor.timer

Revision: rh199-8.2-3beeb12