Last Updated on April 7, 2022 by Admin 2

Ch9 System Time Exam

  1. Two types of clocks on Linux based systems are __________ and __________ clocks.

    (choose two)

    • Software 
    • Hardware 
    • Firmware 
    • System
  2. The system clock calculates time as number of seconds elapsed since:

    • 01-Jan-1980 00:00:00 
    • 01-Jan-1970 00:00:00 
    • 01-Jan-2000 00:00:00 
    • The base time set at the time of installation
  3. The reference time that the system time is calculated from is known as:

    • GMT 
    • Epoch time 
    • UTC 
    • Base time
  4. The system clock contains the current time, but no time zone information.

    True or False?

    • True 
    • False
  5. The battery-powered clock, which keeps time when the system is shut down, is known as the:

    • System clock 
    • Base clock 
    • Hardware clock 
    • Battery time
  6. When the system boots, the system clock is set using the value of the hardware clock.

    True or False?

    • True 
    • False
  7. When the Linux computer was shut down, the system clock indicated 11:30:17. What will be the time of the hardware clock immediately after shutdown?

    • 11:30:17
    • Varies from time zone to time zone 
    • Local time 
    • Hardware clock will show UTC time
  8. The ___________ command is used to update the RTC clock.

    • time 
    • net-time 
    • hwclock 
    • clock
  9. A software application that is dependent on both hardware and system clocks is failing. A possible reason could be:

    • System clock and hardware clocks are out of sync 
    • There are multiple rtc files under/dev 
    • Time zone has changed 
    • Software license has expired
  10. Which of the following commands will set the system time to the same time as the hardware clock?

    • hwclock -r 
    • hwclock -s 
    • hwclock -w 
    • hwclock --set --date "current system time"
  11. When the hwclock command is used to update the system clock, it refers to the ______________ file for retrieving time zone details.

    • /etc/timezone 
    • /etc/net-time 
    • /etc/localtime 
    • /etc/update
  12. Amount of time the hardware clock gains or loses on a regular rate is known as:

    • Clock gain 
    • Delta time 
    • Clock drift 
    • Clock cycle change
  13. In the last six months, the administrator had to adjust the hardware clock on three different occasions. He can find information regarding past clock values from which file?

    • /dev/rtc1 
    • /dev/rtc0 
    • /etc/localtime 
    • /etc/adjtime
  14. The date command is used for:

    • All choices are valid 
    • Assigning filenames with timestamps suffixed to them in scripts 
    • Viewing current date and time 
    • Setting the system date and time
  15. The date command can only show the time in 0-23 hour format.

    True or False?

    • True 
    • False
  16. On RedHat-based systems, the ______________ file is used to configure the timezone of the system.

    • /etc/local 
    • /etc/timezone 
    • /etc/time 
    • /etc/localtime
  17. On Debian-based systems, the timezone can be set by updating the ____________ file.

    • /etc/timezone 
    • /usr/zoneinfo 
    • /etc/localtimezone 
    • /usr/share/zone
  18. NTP stands for: 

    • New Time Protocol 
    • New Time zone Parser 
    • No Testing Parameter
    • Network Time Protocol
  19. The reference time used by NTP is:

    • Local time on the primary server 
    • CMOS clock time 
    • GMT + 0.5 
    • UTC
  20. The precision provided by NTP is on the order of: 

    • 1 hour 
    • Tens of millionths of a second 
    • 1 millisecond 
    • 1 second
  21. Instead of running ntpd as a daemon, the administrator wants to run it as a foreground process. Which of the following options should be used? 

    • -c 
    • -q 
    • -g
    •  -n
  22. The /etc/ntp.conf file shows that NTP servers are being queried using iburst mode. This enables:

    • Checking the closest server first 
    • Finding time even if the server is unreachable 
    • Speeding up of initial synchronization 
    • Sending a burst of three requests instead of one if the server is unreachable
  23. Which of the following options, when used with the ntpd command, will perform a one time synchronization: 

    • -c 
    • -N 
    • -q 
    • -g
  24. The main configuration file for setting up the ntpd daemon is __________. 

    • /etc/ntpd.rc 
    • /etc/ntpdconf 
    • /etc/ntp.conf 
    • /etc/ntpd.conf
  25. The /etc/ntp.conf file lists three servers for querying. Two of them return the time 10:54:23 while the third one shows a different time (i.e. 10:50:37). The system will use which of the return values? 

    • It will use an average of the time 
    • It will use 10:50:37 if this is closer to the system’s current time 
    • It will use 10:54:23 since this is what the majority of servers indicate 
    • It will use the time of the server that was queried first
  26. The ____________ command is used to query NTP and monitor the performance of the ntpd daemon.

    • clock 
    • ntpq 
    • ntpque 
    • performance
  27. Two NTP servers are used by ntpd; one runs Stratum-2 clock while the other uses Stratum-4. Which one is considered to be more accurate?

    • Stratum-4 
    • It is impossible to tell by the Stratum number 
    • Both are equally accurate 
    • Stratum-2
  28. The ____________ utility can be used for debugging and provides the trace of the chain of NTP servers to the source.

    • trace 
    • ntptrace 
    • ntdebug 
    • debug
  29. To verify if a NTP server is available, which of the following commands should be executed?

    • ntpdate 
    • ntpdate -p 
    • ntpdate -q 
    • ntpdate -t
  30. The _______________ domain is a virtual cluster of time servers providing NTP service to systems across the globe.

  31. The timesync-status argument is used with the timedatectl command to show the current status of synchronization with the NTP time source.

    True or False?

    • True 
    • False
  32. Which value is returned by default when using the timedatectl command without any arguments?

    • Time zone 
    • All listed values are returned by default 
    • Local time 
    • RTC time
  33. All chronyc commands can be used by regular users.

    True or False?

    • True 
    • False
  34. Chrony works well for environments which ______________. 

    • …have intermittent network connectivity.
    • …use older hardware.
    • …are in remote time zones. 
    • …are in large datacenters.
  35. The /etc/chrony.conf file can specify which NTP pool to use.

    True or False?

    • True 
    • False
  36. The /etc/chrony.conf file can specify which NTP pool to use.

    True or False?

    • True 
    • False