LX0-102 - CompTIA Linux+ [Powered by LPI] Exam 2

Go back to CompTIA

Example Questions

There are multiple network interfaces on a server. Which parameters must you set in smb.conf to limit on which interfaces Samba will accept connections? (Choose TWO correct answers) Which of the following commands can an administrator use to change a user's password expiry information? (Select THREE). Which of the following development libraries are used to make Samba compatible with ADS? (Select TWO correct answers.) What does the entry valid users = @smbusers in the smb.conf file mean when used in a share section? Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services? Which of the following SQL statements will select the fields name and address from the contacts table? What is the purpose of tripwire? On a dual boot system, every time the system is booted back into Linux the time has been set backward by two hours. Which of the following commands will correct the problem so it will not occur again? Which configuration file does sudo read when determining if a user is permitted to run applications with root privileges? To create a user account, keep in mind that the username is at most __ characters long. Which option to smbldap-useradd will add a machine account? You're writing a simple Perl script to query an LDAP directory using the Net::LDAP module. Which method would you use to determine if the start_tls() operation was successful? Which of the following commands will print the file putty on the printer hplaserj? (Choose all that apply) Which LDAP object class is used in a white pages implementation? What output will the command $ seq 1 5 20 produce? The hosts.lpd file provides: Which of the following are valid LDAP client commands? (Choose TWO correct answers.) Which configuration option can you use to prevent the root user from logging directly onto a machine using ssh? In apache configuration which directives are used to restrict access based on host/domain name and IP address? In which section of smb.conf should the path to the domain policy file be declared? Which of the following crontab entries could be used to set the system time at regular intervals? What openssl command will generate a certificate signing request (CSR) using the private key file privkey.pem? All of the following are contained in the locale setting of the operating system EXCEPT: Which of the following provides a non-graphical, text based interface for users who are visually impaired that can be used as a screen reader? Which of the following configuration files would an administrator edit to change default options for outbound ssh sessions? What does the LDIF acronym stand for? Which file, when using Sendmail or a similar MTA system, will allow a user to redirect all their mail to another address and is configurable by the user themselves? The local system administrator has created a configuration entry for apache version 2 that isn't working. What is wrong with the following configuration? <Location /members> AuthName Members AuthType Basic AuthUserFile /www/passwd </Location> In capacity planning exercises, what tools assist in identifying processes of interest from other processes? (Select TWO correct answers.) 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. Which command allows you to make a shell variable visible to subshells? Which schema file is required by OpenLDAP? By default, when verifying a signed file or a file with a detached signature, which keyring is used to search for public keys? On a Postfix mail server, the command postconf -m is run to determine if OpenLDAP is supported. Which storage medium would indicate support for OpenLDAP? Which of the following directories in a user's home contains configuration files and key rings for GPG? What BASH environment variable will prevent you from overwriting a file with a ">" or ">>"? Which of the following words is used to restrict the records that are returned from a SELECT query based on a supplied criteria for the values in the records? When using a localized installation of Windows - such as Japanese or Chinese - the names of files which are stored on the server do not display correctly in Windows Explorer. Which parameters in smb.conf should be checked? (Choose TWO correct answers) The response times on a Samba server are gradually increasing, so it is decided to experiment with various socket options in smb.conf. Which of the following are valid values for this parameter? (Choose THREE correct answers) The correct command to view "verbose" line printer queue information is Which command would be used to search for all available workgroups/domains and NetBIOS names? Which of the following commands will print the exit value of the previous command to the screen in bash? Which of the following lines would you expect to see in the file /etc/protocols? Which command will delete the environment variable FOOBAR? Which command will list the shares on the workstation with the NetBIOS name officepc and IP address An administrator has just configured an OpenVPN client. Upon starting the service, the following message is displayed: TLS Error: TLS key negotiation failed to occur within 60 seconds Which of the following statements is true? After finishing configuring of a Unix client to authenticate with a Microsoft Active Directory server, login attempts are unsuccessful. Which of the following is most likely the cause? Which configuration file would you edit to change default options for outbound ssh sessions? An administrator discovers a pending job for the at command. Which of the following does the administrator need to use to remove it? Which of the following looks like a correct entry in the /etc/hosts file?

Study Guides