CompTIA LX0-102 - Linux Part 2 Exam
Page: 1 / 36
Total 177 questions
Question #1 (Topic: Topic 1)
Which of the following crontab entries could be used to set the system time at regular
intervals?
intervals?
A. 1 0 * * * date $d $t $24
B. 1 0 * * * settime $d $t $24
C. 1 0 * * * date<ntp1.digex.net
D. 1 0 * * * /usr/sbin/runcron date <ntp1.digex.net
E. 1 0 * * * /usr/sbin/ntpdate ntp1.digex.net > /dev/null 2>&1
Answer: E
Question #2 (Topic: Topic 1)
On a system running the K Display Manager, when is the /etc/kde4/kdm/Xreset script
automatically executed?
automatically executed?
A. When KDM starts
B. When a user's X session exists
C. When KDM crashes
D. When X is restarted
E. When X crashes
Answer: B
Question #3 (Topic: Topic 1)
Which of the following configuration files does sudo read when determining if a user is
permitted to run applications with root privileges?
permitted to run applications with root privileges?
A. /etc/groups
B. /etc/passwd
C. /etc/sudoers
D. /etc/sudo.conf
Answer: C
Question #4 (Topic: Topic 1)
Suppose that the command netstat -a hangs for a long time without producing output. An
administrator might suspect:
administrator might suspect:
A. A problem with NFS
B. A problem with DNS
C. A problem with NIS
D. A problem with routing
E. That the netstat daemon has crashed
Answer: B
Question #5 (Topic: Topic 1)
Which of the following entries can an administrator add to syslog.conf file to have all syslog
messages generated by the administrator system go file to have all syslog messages
generated by the administrator? system go to virtual console 12?
messages generated by the administrator system go file to have all syslog messages
generated by the administrator? system go to virtual console 12?
A. *.* /dev/tty12
B. /var/log/messages | /dev/tty12
C. | /dev/tty12
D. syslog tty12
E. mail.* /dev/tty12
Answer: A