LFCS Exam Questions
676 real LFCS exam questions with expert-verified answers and explanations. Page 2 of 14.
- Question #72User and Group Management
Which file contains the date of the last change of a user's password?
user managementpassword managementsystem filessecurity files - Question #73User and Group Management
Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)
/etc/groupGroup managementLinux file structureSystem configuration files - Question #74User and Group Management
Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)
User account managementAccount agingPassword expirationCommand-line tools - Question #75Operation of Running Systems
What is NOT contained in the locale setting of the operating system?
localeinternationalizationsystem configurationenvironment variables - Question #76Essential Commands
Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?
LocalizationEnvironment VariablesLocalebash_profile - Question #77Operation of Running Systems
Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?
CrontabJob SchedulingCron SyntaxAutomation - Question #79Service Configuration
Which configuration file would be edited to change default options for the OpenSSH server?
SSHConfiguration filesServer administrationNetworking services - Question #80Networking
Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?
SSHAuthenticationKey Management - Question #82Storage Management
When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?
lsofunmountingfile systemsprocess identification - Question #84Essential Commands
Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?
find commandfile permissionsSUID bituser ownership - Question #87Service Configuration
Which configuration file would be edited to change the default options for outbound SSH sessions?
SSH Client ConfigurationConfiguration FilesSSHNetworking - Question #89Service Configuration
Which of the following words is used to restrict the records that are returned from a SELECT SQL query based on a supplied criteria for the values in the records?
SQLDatabase QueriesData FilteringWHERE Clause - Question #90Essential Commands
After issuing: function myfunction { echo $1 $2 ; } in Bash, which output does: myfunction A B C Produce?
Bash functionsPositional parametersShell scriptingArgument passing - Question #91Essential Commands
Which of the following commands lists all defined variables and functions within Bash?
Bash commandsShell variablesShell functionsEnvironment variables - Question #92Essential Commands
Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)
Shell scriptingFile permissionsPATH variableShebang - Question #97Networking
Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)
ifconfigNetwork Interface ConfigurationIP AddressingRouting Table - Question #99Networking
Which of the following commands will help identify a broken router between the local and the remote machine?
traceroutenetwork troubleshootingroutingnetwork diagnostics - Question #100Networking
Which of the following programs can be used to determine the routing path to a given destination?
tracerouterouting pathnetwork commandsnetwork troubleshooting - Question #101Networking
What of the following can be done by the command ifconfig? (Choose TWO correct answers.)
ifconfigNetwork ConfigurationNetwork InterfacesNetmask - Question #103Networking
Given the following routing table: How would an outgoing packet to the destination 192.168.2.150 be handled?
IP routingRouting tableNetwork gatewayPacket forwarding - Question #104Operation of Running Systems
For accessibility assistance, which of the following programs is an on-screen keyboard?
AccessibilityOn-screen keyboardAssistive technologyGNOME - Question #105Essential Commands
Which of the following commands shows the current color depth of the X Server?
X ServerDisplay settingsxwininfoCommand-line utilities - Question #107Operation of Running Systems
How is a display manager started?
Display ManagerInit SystemsystemdBoot Process - Question #108Operation of Running Systems
Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)
Display ManagerLogin ProcessDesktop EnvironmentX Window System - Question #109Operation of Running Systems
What is the purpose of a screen reader?
Screen readerAccessibilityAssistive technology - Question #110User and Group Management
Which of the following steps prevents a user from obtaining an interactive login session?
User managementLogin shellsAccount security - Question #112Operation of Running Systems
What is true about the file /etc/localtime?
Time configurationTimezoneSystem files - Question #113Service Configuration
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)
croncrontabtask schedulingconfiguration files - Question #114User and Group Management
Which of the following commands can remove a user from a group?
user managementgroup managementusermod commandLinux commands - Question #115Essential Commands
Which command makes the shell variable named VARIABLE visible to subshells?
shell variablesenvironment variablesexport commandsubshells - Question #116Essential Commands
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)
BashShell Configuration~/.bashrc~/.bash_profile - Question #117Essential Commands
What output will the command seq 10 produce?
seq commandCommand-line utilitiesBasic shell commands - Question #118Essential Commands
What is the difference between the commands test -e path and test -f path?
test commandfile existenceregular fileshell scripting - Question #119Operation of Running Systems
Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?
SQLDatabase QueryingGROUP BY clauseCOUNT function - Question #120Essential Commands
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
shell scriptingpipelinesread commandwhile loop - Question #121Service Configuration
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....
SambaMachine AccountsDomain ControllerService Configuration - Question #122Service Configuration
Which of the following statements are true of the Samba Web Administration Tool? (Choose THREE correct answers)
SambaSWATConfiguration FileWeb Administration - Question #123Service Configuration
Which files store printer and driver properties created on the server?
PrintingSambaConfiguration FilesSystem Administration - Question #125Service Configuration
For Samba to be able to work as a PDC, some modifications are needed in its main configuration file. Select the THREE options below that show the required actions for this task.
Samba configurationPDC roleService configurationAuthentication - Question #126Networking
Which option below shows the correct command line to list the shares exported by the Samba server called NAME?
SambasmbclientNetwork sharesCommand-line - Question #128Operation of Running Systems
After configuring PAM and NSS to integrate with OpenLDAP, the SSH server refuses to authenticate users who are only in LDAP. What is the first step you should follow to debug this...
PAMNSSSSHService Troubleshooting - Question #129Service Configuration
Which are common procedures to implement Samba with LDAP? (Choose TWO correct answers.)
SambaLDAPAuthenticationDirectory Services - Question #130User and Group Management
Which attributes must be present when assigning the object class sambaSamAccount to a particular user? (Choose TWO correct answers)
SambaLDAPUser ManagementObject Classes - Question #131Service Configuration
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?
PostfixLDAPMail Server Configurationpostconf command - Question #132User and Group Management
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 ca...
PAMLDAPActive Directory IntegrationAuthentication Troubleshooting - Question #134Operation of Running Systems
A user is unable to login on a workstation where NSCD was configured BEFORE the pam_ldap and nss_ldap modules. What should be done to fix this problem?
nscdCachingLDAP AuthenticationTroubleshooting - Question #135User and Group Management
Which LDAP object class is used in a white pages implementation?
LDAPObject ClassDirectory ServicesUser Management - Question #136User and Group Management
Which of the following are valid LDAP client commands? (Choose TWO correct answers.)
LDAP client commandsUser authenticationPassword managementDirectory services - Question #139Essential Commands
Which of the following switches for the ldapsearch command makes sure that search referrals are followed?
ldapsearchLDAPreferralscommand-line tools - Question #142Service Configuration
When two databases are defined in slapd.conf, which of the following commands will provide a full dump of the second database?
slapcatOpenLDAPDatabase ManagementLDAP Service