Exam Code: LX0-104 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: CompTIA Linux+ [Powered by LPI] - Exam 2
Certification Provider: CompTIA
Free Today! Guaranteed Training- Pass LX0-104 Exam.
♥♥ 2021 NEW RECOMMEND ♥♥
Free VCE & PDF File for CompTIA LX0-104 Real Exam (Full Version!)
★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions
Free Instant Download NEW LX0-104 Exam Dumps (PDF & VCE):
Available on:
http://www.surepassexam.com/LX0-104-exam-dumps.html
Q41. CORRECT TEXT - (Topic 1)
What word is missing from the following SQL statement?
__________ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)
Answer: select
Q42. - (Topic 5)
Which of the following details is NOT provided in any output from the netstat utility?
A. broadcast services
B. interface statistics
C. masquerading connections
D. network connections
E. routing tables
Answer: A
Q43. CORRECT TEXT - (Topic 5)
Which port is the default server port for the HTTPS protocol? (Specify the port number using digits.)
Answer: 443
Q44. - (Topic 1)
Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?
A. SELECT order_type,COUNT(*) FROM orders WHERE order_type=order_type;
B. SELECT order_type,COUNT(*) FROM orders GROUP BY order_type;
C. COUNT(SELECT order_type FROM orders);
D. SELECT COUNT(*) FROM orders ORDER BY order_type;
E. SELECT AUTO_COUNT FROM orders COUNT order_type;
Answer: B
Q45. 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
Q46. - (Topic 3)
What is true about the file /etc/localtime?
A. It is a plain text file containing a string such as Europe/Berlin.
B. It is created and maintained by the NTP service based on the geolocation of the system's IP address.
C. It is a symlink to /sys/device/clock/ltime and always contains the current local time.
D. It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin.
Answer: D
Q47. - (Topic 3)
Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers)
A. Year
B. Minute
C. Username
D. Command
Answer: B,D
Q48. - (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
Q49. - (Topic 4)
What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?
A. *.* /dev/tty12
B. /var/log/messages | /dev/tty12
C. | /dev/tty12
D. syslog tty12
E. mail.* /dev/tty12
Answer: A
Q50. - (Topic 6)
Which configuration file would be edited to change default options for the OpenSSH server?
A. /etc/ssh/sshd_config
B. /etc/ssh/ssh
C. /etc/ssh/server
D. /etc/ssh/ssh_config
E. /etc/ssh/ssh_server
Answer: A