Home > Consumer Behavior 101 > Quizzes > Exam LX0-104: CompTIA Linux+
Exam LX0-104: CompTIA Linux+
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 31% Most missed: “Which option is required to syslogd in order for it to accept remote log message…”
Exam LX0-104: CompTIA Linux+
Time left 00:00
25 Questions

1. Which of the following are valid name resolution options for the name resolve order parameter in smb.conf? (Choose THREE correct answers)
2. The ____ command, included with OpenLDAP, will generate password hashes suitable for use in slapd.conf. (Enter the command with no options or parameters.) Answer: SLAPPASSWD What settings may a user enter when configuring Microsoft Outlook to connect to an LDAP white pages service? (Select THREE.)"
3. A French user has installed the French language pack, but currencies are still being displayed with a leading '$' sign in spreadsheets. Which of the following must be done to fix this?
4. To avoid having to add a machine trust account to a PDC for each Windows client in the domain (using the useradd command), a directive can be used in the Samba configuration file. Select the option below that shows the best solution for this situation.
5. Which of the following are valid choices for the LDAP database backend? (Select THREE.)
6. In capacity planning exercises, what tools assist in identifying processes of interest from other processes? (Select TWO.)
7. Which of the following is pool.ntp.org?
8. After issuing: function myfunction { echo $1 $2 ; } in Bash, which output does: myfunction A B C Produce?
9. 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, Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Select THREE.)"
10. Which of the following statements about the ldapsearch command are true? (Select THREE.)
11. Which of the following outputs will the below command produce? seq 1 5 20
12. Which of the following are syslog facilities?
13. What is the most suitable procedure for accessing a Windows machine by its NetBIOS name from a Linux system?
14. What is true about the permissions for the file afile given the following output from getfacl? (Select TWO correct answers) % getfacl afile # file: afile # owner: matt # group: support user::rwx user:hugh:rw group::r group:staff:rx mask::rwx other::r
15. Which of the following resources would be measured for capacity planning? (Select TWO.)
16. How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?
17. Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.) Answer: hostname Which of the following commands will help identify a broken router between the local and the remote machine?"
18. The administrator wants to add the content from an LDIF file named example.ldif to the LDAP directory. Which of the following commands will perform this task?
19. B. default, which directories contents will be copied to a new user's home directory when the account is created, passing the -m option to the useradd command? Answer: /ETC/SKEL /ETC/SKEL/ Suppose that the command netstat -a hangs for a long time without producing output. An administrator might suspect: ____."
20. What argument to the -type option of find will match files that are symbolic links? (Specify only the argument and no other options or words.) Answer: I Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?"
21. To test a shell script called myscript, the environment variable FOOBAR must be removed temporarily. How can this be done?
22. Which option is required to syslogd in order for it to accept remote log messages?
23. Which of the following should the permission settings be for /etc/passwd and /etc/shadow?
24. Which of the following steps should be followed when configuring a slave slapd server? (Select THREE.)
25. Which command will list all of the extended attributes on the file afile.txt along with the values?