LabSim Linux 9.5

25 July 2022
4.7 (114 reviews)
14 test answers

Unlock all answers in this set

Unlock answers (10)
question
For what purpose would you edit the /etc/localtime file?
answer
Set the current time zone.
question
You need to create a symbolic link to the /usr/share/zoneinfo/EST time zone file that permanently alters the time zone for the system. What do you enter at the command prompt to accomplish this?
answer
In -s /usr/share/zoneinfo/EST /etc/localtime
question
What is the full path to the directory on a Linux system that contains multiple files and directories used for selecting a time zone?
answer
/usr/share/zoneinfo
question
Which command should you use to change the time zone (TZ) environment variable? (Select two.)
answer
tzconfig tzselect
question
You need to set the system date and time using the date command. Which date option should you use?
answer
-s
question
A Linux system can determine the time and date in which of the following ways? (Select two.)
answer
It can set the system clock to the local time. It can use NTP to set time.
question
You have a large TCP/IP network and want to keep hosts' real time clocks synchronized. What protocol should you use?
answer
NTP
question
You are using a systemd-based Linux system and have made changes in the /etc/ntp.conf file. Which of the following commands should you use to implement these changes?
answer
systemctl restart ntpd
question
You are managing system time on your Linux computer, and you need to change the settings to point to a local NTP server IP address. What is the full path and filename of the file you should edit?
answer
/etc/ntp.conf
question
Which of the following commands manages the NTP daemon from the command line?
answer
ntpd
question
Your system time is over thirty minutes different than the time on the NTP time provider. When you use the ntpd command, the time is not updated. Which ntpd option should you include?
answer
-g
question
You want to set the system time with the date command to UTC time. Which date option should you use?
answer
-u
question
You want to configure the NTP daemon to receive time from pool.ntp.org. What entry should you place in the /etc/ntp.conf file?
answer
server pool.ntp.org
question
Which of the following commands will set the system time to match the time server on the network at 192.168.1.10?
answer
netdate 192.168.1.10