We provide real LX0-104 exam questions and answers braindumps in two formats. Download PDF & Practice Tests. Pass CompTIA LX0-104 Exam quickly & easily. The LX0-104 PDF type is available for reading and printing. You can print more and practice many times. With the help of our CompTIA LX0-104 dumps pdf and vce product and material, you can easily pass the LX0-104 exam.
Q21. CORRECT TEXT - (Topic 5)
How many IP-addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/28? (Specify the number only without any additional information.)
Answer: 14
Q22. - (Topic 3)
What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)
A. The user bob is removed from the system's user database.
B. The user bob's home directory is removed.
C. The locate database is updated to drop files owned by bob.
D. All files owned by bob are remove from all mounted filesystems.
E. In case bob was the last member of a group, that group is deleted.
Answer: A,B
Q23. - (Topic 6)
What is a purpose of an SSH host key?
A. It must be sent by any SSH client in addition to a user key in order to identify the client's host.
B. It provides the server's identity information to connecting SSH clients.
C. It is the root key by which all user SSH keys must be signed.
D. It authenticates any user that logs into a remote machine from the key's host.
E. It is used by system services like cron, syslog or a backup job to automatically connect to remote hosts.
Answer: B
Q24. - (Topic 3)
Where are user specific crontabs stored?
A. In the database file /etc/crontab.db which is shared by all users.
B. As individual per-user files within /var/spool/cron.
C. As individual per-user files in /etc/cron.user.d.
D. In the .crontab file in the user's home directory.
E. In the file /var/cron/user-crontab which is shared by all users.
Answer: B
Q25. - (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
Q26. - (Topic 1)
What output will the following command sequence produce?
echo '1 2 3 4 5 6' | while read a b c; do
echo result: $c $b $a;
done
A. result: 3 4 5 6 2 1
B. result: 1 2 3 4 5 6
C. result: 6 5 4
D. result: 6 5 4 3 2 1
E. result: 3 2 1
Answer: A
Q27. 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
Q28. - (Topic 1)
How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?
A. unset -v FOOBAR;./myscript
B. set -a FOOBAR="";./myscript
C. env -u FOOBAR./myscript
D. env -i FOOBAR./myscript
Answer: C
Q29. 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
Q30. CORRECT TEXT - (Topic 5)
Which port is the default server port for the HTTPS protocol? (Specify the port number using digits.)
Answer: 443