LFCS Exam Questions
676 real LFCS exam questions with expert-verified answers and explanations. Page 8 of 14.
- Question #466Networking
What file is typically used to display messages at the login prompt when remote users telnet in to the machine?
Login MessagesSystem BannersTelnet ConfigurationRemote Access - Question #467Networking
Which of the following information is not provided by the command netstat?
netstat commandnetwork monitoringLinux networking - Question #468Networking
Which of the following is an example of an ICMP packet with a message type?
ICMPPing utilityNetwork protocolsPacket types - Question #469Essential Commands
Which of the following find command will print out a list of suid root files in /usr?
find commandFile PermissionsSUID filesRoot user - Question #470Essential Commands
Man pages cover what topics? (Choose Three)
man pagesdocumentationcommandslibraries - Question #471Networking
Which of the following lines would you find in the file /etc/hosts?
etc/hostsHostname ResolutionNetwork Configuration - Question #472Operation of Running Systems
The user bob complains that he cannot access his email. In which directory would you look to see if there is any deliverable email for him?
EmailMailboxFile System PathsMail Spool - Question #473Service Configuration
To avoid spammers using your mail server to relay their messages, you need to _______.
Mail Server ConfigurationSendmailSpam PreventionRelay Control - Question #474Operation of Running Systems
One of your users has installed a commercial publishing program that works under X on a variety of UNIX and Linux platforms. The user made a series of configuration changes regardi...
X Window SystemUser Configuration.XdefaultsGUI settings - Question #475User and Group Management
Which of the following answers regarding user account configuration are true?(Choose two)
User AccountsCase SensitivityAuthenticationLogin Credentials - Question #476User and Group Management
Which commands can you use to change a user's password expiry information? (Choose Three)
User managementPassword expirypasswd commandchage command - Question #477Networking
Your machine's IP address used to function, but it's only got the localhost "lo" entry now. What three client-mode commands could you possibly use to get a new DHCP address?
NetworkingDHCP clientIP configurationCommand-line tools - Question #478Networking
Which of the following lines would you expect to see in the file /etc/services?
Network ServicesPort Numbers/etc/servicesSystem Configuration Files - Question #480Service Configuration
Which file is responsible for configuring the inet daemon?
inetdconfiguration filesystem servicesdaemon - Question #481Networking
Which of the following lines would you expect to see in the file /etc/protocols?
/etc/protocolsnetwork protocolsnetworking configurationsystem files - Question #482Networking
The following excerpt is from what standard network configuration file? ftp 21/tcp fsp 21/udp fspd ssh 22/tcp # SSH Remote Login Protocol ssh 22/udp telnet 23/tcp smtp 25/tcp mail...
Network servicesPort mappingConfiguration files - Question #483Operation of Running Systems
The user space log daemon is called ...?
loggingdaemonsyslogsystem services - Question #484User and Group Management
How can you verify the integrity of the /etc/passwd file?
File IntegrityUser Managementpwck commandpasswd file - Question #486Operation of Running Systems
Which of the following lines is an example of a correct setting for the DISPLAY environment variable?
DISPLAY environment variableX Window SystemEnvironment variablesRemote display - Question #487User and Group Management
Which of the following characters in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?
passwd file structureshadow fileuser authenticationpassword storage - Question #488User and Group Management
Which of the following commands can be used to change a user's account aging information? (Select THREE).
User managementPassword agingAccount agingLinux commands - Question #489User and Group Management
Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?
Password securityFile permissions/etc/shadowBrute force attacks - Question #490User and Group Management
Of the ways listed, which is the best way to temporarily suspend a single user's ability to interactively login?
User managementAccount expirationchage commandLogin control - Question #491Operation of Running Systems
Which crontab entry could be used to set the system time at regular intervals?
cronNTPSystem TimeScheduling - Question #492Essential Commands
Which of the following commands can be used to convert text files in one character encoding to another character encoding?
character encodingiconv commandtext file manipulationcore utilities - Question #495Essential Commands
Which of the following commands is used on the command line to send messages to the syslog systems.
logger commandsyslogloggingcommand-line utilities - Question #496Storage Management
According to the FHS, where are user mailboxes kept? Assume that mail is not being delivered to somewhere in their home directories.
FHSFilesystem structureMailbox location/var directory - Question #499Operation of Running Systems
The legacy program, provided by CUPS for sending files to the printer queues on the command line is:
CUPSPrintinglprCommand-line Utilities - Question #502Service Configuration
Which of the following is the purpose of the nsswitch.conf file?
nsswitch.confname resolutionsystem configurationC library - Question #503Networking
Identify the statement that would create a default route using a gateway of 192.168.1.1.
NetworkingRoutingDefault Routeroute command - Question #505Networking
Which of the following commands can deconfigure a network interface?
networkingnetwork interfacesifconfigcommand-line tools - Question #506Networking
Which of the following commands manipulates the TTL (Time to Live) field in the IP protocol in order to get ICMP responses from gateways along the path to a host?
tracerouteTTLICMPNetwork Diagnostics - Question #507Essential Commands
Which of the following commands is used to set restrictions on the size of a core file that is created for a user when a program crashes?
ulimitcore filesresource limits - Question #508User and Group Management
Which of the following configurations file does sudo read when determining if a user is permitted to run applications with root privileges?
sudoprivilege escalationconfiguration filesuser permissions - Question #510Operation of Running Systems
When generating new authentication keys with SSH for a user, where should the private key be kept?
SSHPrivate KeyAuthenticationKey Management - Question #512Essential Commands
Which of the following benefits does an alias in bash provide?
bash aliasescommand-line toolsshell features - Question #513Essential Commands
An administrator is looking into a new script they received from a senior executive. In the very first line the administrator notices a #! followed by a file path. This indicates t...
ShebangScript executionInterpreterCommand processing - Question #515Networking
Why is the xhost program considered dangerous to use?
X server securityxhost commandaccess control - Question #518User and Group Management
Of the ways listed, which is the best method to temporarily suspend a user's ability to interactively login?
User account managementAccount expirationUser login controlchage command - Question #519User and Group Management
Which of the following is the conventional purpose of Linux UIDs that are lower than 100?
User IDs (UIDs)System accountsLinux conventions - Question #520Service Configuration
How is the file format of /etc/crontab different from a normal crontab file? (Select TWO).
CronJob SchedulingSystem CrontabUser Crontab - Question #521Essential Commands
Which of the following is the main difference between the batch and at commands?
Job Schedulingat commandbatch commandSystem Load - Question #522Operation of Running Systems
The correct crontab entry to execute the script chklog three times per month between 3 p.m. and 5 p.m.:
crontabjob schedulingsystem administrationtime management - Question #523Operation of Running Systems
On a dual boot system, every time the system is booted back into Linux the time has been set backward by one day. Which of the following commands will correct the problem?
Hardware ClockSystem TimeTime Synchronizationhwclock - Question #524Operation of Running Systems
Which of the following commands should be used to print a listing of email in the system's mail queue?
mail queuemailq commandemail administrationsystem monitoring - Question #527Networking
Which of the following statements is true regarding the following /etc/resolv.conf file? search example.com nameserver 208.77.188.166 nameserver 208.77.188.167
resolv.confDNS resolutionsearch directiveunqualified hostnames - Question #530Networking
An administrator suspects that a gateway machine on the network has failed but they are unsure which machine. Which of the following commands will help locate the problem?
Network troubleshootingGateway failuretracerouteConnectivity - Question #533Essential Commands
Which of the following commands is used to hold keys during a login session to be used for automatic authentication while logging in to other machines using ssh?
SSHssh-agentAuthenticationKey management - Question #534Essential Commands
What keyword is missing from this code sample of a shell script? ____ i in *.txt; do echo $i done
shell scriptingfor loopbash syntaxiteration - Question #535Essential Commands
Which of the following bash options will prevent an administrator from overwriting a file with a ">"?
bash optionsredirectionnoclobbershell configuration