Refined of LX0-104 exam answers materials and dumps for CompTIA certification for IT professionals, Real Success Guaranteed with Updated LX0-104 pdf dumps vce Materials. 100% PASS CompTIA Linux+ [Powered by LPI] - Exam 2 exam Today!
Q31. CORRECT TEXT - (Topic 3)
Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)
Answer: /etc/at.deny
Q32. - (Topic 4)
Which of the following commands is used to rotate, compress, and mail system logs?
A. rotatelog
B. striplog
C. syslogd --rotate
D. logrotate
E. logger
Answer: D
Q33. CORRECT TEXT - (Topic 4)
Which command, available with all MTAs, is used to list the contents of the MTA's mail queue? (Specify ONLY the command without any path or parameters.)
Answer: mailq, /usr/bin/mailq, sendmail -bp, /usr/sbin/sendmail -bp, /usr/lib/sendmail -bp, sendmail, /usr/sbin/sendmail, /usr/lib/sendmail
Q34. CORRECT TEXT - (Topic 3)
Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.)
Answer: TZ
Q35. - (Topic 5)
Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)
A. substitute
B. nameserver
C. search
D. lookup
E. method
Answer: B,C
Q36. - (Topic 3)
Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?
A. 0 * * * 30 myscript
B. 30 * * * 6 myscript
C. 30 0 * * 0 myscript
D. 30 0-23 * * 0 myscript
E. 0 0-23 * * 30 myscript
Answer: D
Q37. - (Topic 3)
Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?
A. export LANGUAGE="pt"
B. export MESSAGE="pt"
C. export UI_MESSAGES="pt"
D. export LC_MESSAGES="pt"
E. export ALL_MESSAGES="pt"
Answer: D
Q38. - (Topic 4)
Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)
A. Synchronize the hardware and system clocks.
B. Output date and time in different formats.
C. Set the system clock.
D. Set the hardware clock.
E. Update the time via NTP.
Answer: B,C
Q39. - (Topic 5)
Which of the following programs can be used to determine the routing path to a given destination?
A. dig
B. netstat
C. ping
D. route
E. traceroute
Answer: E
Q40. - (Topic 5)
Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)
A. New name servers may be added to the resolver configuration.
B. Network interfaces may become active or inactive.
C. The routing table may change.
D. IP addresses may change.
E. The system's host name may change.
Answer: B,C,D