Want to know Pass4sure LX0-104 Exam practice test features? Want to lear more about CompTIA CompTIA Linux+ [Powered by LPI] - Exam 2 certification experience? Study Vivid CompTIA LX0-104 answers to Up to date LX0-104 questions at Pass4sure. Gat a success with an absolute guarantee to pass CompTIA LX0-104 (CompTIA Linux+ [Powered by LPI] - Exam 2) test on your first attempt.
Q51. CORRECT TEXT - (Topic 1)
By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)
Answer: /etc/skel
Q52. - (Topic 6)
Which configuration file would be edited to change the default options for outbound SSH
sessions?
A. /etc/ssh/sshd_config
B. /etc/ssh/ssh
C. /etc/ssh/client
D. /etc/ssh/ssh_config
E. /etc/ssh/ssh_client
Answer: D
Q53. - (Topic 3)
Which of the following commands can remove a user from a group?
A. grouprm
B. groupmod
C. passwd
D. usergroups
E. usermod
Answer: E
Q54. - (Topic 4)
What is true regarding the command sendmail?
A. With any MTA, the sendmail command must be run periodically by the cron daemon.
B. All MTAs, including Postfix and Exim, provide a sendmail command.
C. The sendmail command prints the MTAs queue history of which mails have been sent successfully.
D. It is only available when the sendmail MTA is installed.
Answer: B
Q55. CORRECT TEXT - (Topic 2)
Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)
Answer: /usr/bin/xwininfo, xwininfo
Q56. - (Topic 4)
What is the purpose of the command mailq?
A. It fetches new emails from a remote server using POP3 or IMAP.
B. It is a multi-user mailing list manager.
C. It is a proprietary tool contained only in the qmail MTA.
D. It queries the mail queue of the local MTA.
E. It is a command-line based tool for reading and writing emails.
Answer: D
Q57. - (Topic 4)
Why is the correct configuration of a system's time zone important?
A. Because the conversion of Unix timestamps to local time relies on the time zone configuration.
B. Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.
C. Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.
D. Because NTP chooses servers nearby based on the configured time zone.
Answer: A
Q58. - (Topic 4)
Which file inside the CUPS configuration directory contains the definition of the printers?
A. cups-devices.conf
B. snmp.conf
C. printcap.conf
D. printers.conf
E. cupsd.conf
Answer: D
Q59. CORRECT TEXT - (Topic 1)
What command displays all aliases defined in the current shell? (Specify the command without any path information)
Answer: alias, alias -p
Q60. - (Topic 6)
Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?
A. sshd
B. ssh-agent
C. ssh-keygen
D. ssh-add
Answer: B