LFCS Exam Questions
676 real LFCS exam questions with expert-verified answers and explanations. Page 11 of 14.
- Question #698Storage Management
Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?
tune2fsfilesystem checksext3maintenance - Question #699Storage Management
Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?
mkfsFilesystem creationDefault filesystem typeext2 - Question #700Storage Management
How many fields are in a syntactically correct line of /etc/fstab?
fstabfile system configurationstoragemount points - Question #701Essential Commands
The command used to determine a file's type is
file commandfile type identificationLinux utilities - Question #702User and Group Management
Select the line that BEST represents what permissions the /etc/passwd file should have.
File Permissions/etc/passwdUser AccountsSystem Security - Question #703User and Group Management
What command should be invoked to give the user sally read and write, but not execute, access to the file strategy.txt using Extended ACL entries?
ACLsFile Permissionssetfacl commandUser Permissions - Question #704Essential Commands
Which command will print out the attributes of the file foobar?
file attributeslsattr commandfilesystemLinux commands - Question #705Operation of Running Systems
You are preparing a new set of shared libraries in /usr/local/applib and you have written and compiled some code that uses these libraries. You have already performed an Idconfig,...
Shared LibrariesDynamic Linkingldconfigld.so.conf - Question #706Service Configuration
You are having problems with a particular font and you want to see if its directory is included in XF86Config. Which section contains this information?
X Window SystemXF86ConfigFont ConfigurationSystem Configuration - Question #707Essential Commands
Which command will list all the files installed from the RPM package file named, vorbis-tools- 1.1 .i386.rpm?
RPM package managementPackage queriesFile listing - Question #708Service Configuration
Your department decided to change the Gnome Display Manager's greeting. What configuration file should you edit?
GDMDisplay ManagerConfiguration FilesLogin Screen - Question #709Operation of Running Systems
What key combination is used to forcibly halt the X server in the event of the graphical session becoming unusable (eg., desktop manager or fullscreen application hanging)?
X serverGraphical environmentTroubleshootingKeyboard shortcuts - Question #710Essential Commands
The system bell sound is annoying you. Which of the following can you use to change this and other userX preferences?
X Window Systemxset commandUser preferences - Question #711Storage Management
Which of the following commands will print the inode usage on each mounted filesystem?
df commandinodesfilesystem usagestorage monitoring - Question #712Storage Management
In GRUB's configuration file an administrator finds the following line: root (hd1,4) Which of the following is the corresponding device name on a Linux system?
GRUBDevice NamingDisk PartitioningBootloader Configuration - Question #713Essential Commands
While using the vi editor, you wish to move ahead one page. You should press the control key and:
vi editortext editingnavigationkeyboard shortcuts - Question #714Essential Commands
You have created a really long letter and after you are done you notice that you used the name "Bob" many times but you forgot to capitalize it in many instances. Which command wou...
sedtext manipulationfile editingcommand line utilities - Question #715Storage Management
How can you turn off the group quota in /pub?
Disk QuotasGroup Quotasquotaoff commandFile System Management - Question #716Operation of Running Systems
When you start XWindows, which series of programs and/or scripts would most closely describe the start-up process?
X WindowsGUI startupxinitstartx - Question #717Service Configuration
Which of the following lines from /etc/X11/XF86Config indicates what fonts can be found on a font server?
X Server ConfigurationFont ServersConfiguration FilesGraphical Environment - Question #718Essential Commands
What RPM command would show you detailed information for a package called openssh- 3.6.i386.rpm?
RPMPackage ManagementCommand Line UtilitiesQuerying Packages - Question #719Storage Management
Which command will create an ext3 filesystem on /dev/hda2?
mke2fs commandext3 filesystemfilesystem creationjournaling - Question #720User and Group Management
You want the default permissions for your files to bE.rw-r-. How must you set umask?
umaskfile permissionsoctal permissionsdefault permissions - Question #721Essential Commands
Which of the following file permissions belong to a symbolic link?
symbolic linksfile permissionsfile typesls command - Question #722Storage Management
Creating a hard link to an ordinary file returns an error. What could be the reason for this?
Hard linksFilesystemsInodesFile linking limitations - Question #723Storage Management
Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
Filesystem creationext3mkfsmke2fs - Question #724Storage Management
Which of the following commands will change the quota for a specific user?
Quota managementDisk quotasFilesystem managementCommand-line utilities - Question #725Storage Management
Which utility would be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem?
Filesystem Managementtune2fsfsck tuningext2 - Question #726Essential Commands
Which of the following statements is correct regarding the command foo 1> bar?
Shell redirectionStandard outputFile redirectionOverwriting files - Question #727Operation of Running Systems
Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?
Process ManagementSignalskill commandGraceful Termination - Question #728Operation of Running Systems
What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?
nice commandprocess priorityuser limitsprocess scheduling - Question #729Essential Commands
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?
vi editorpaste commandtext editing - Question #730Essential Commands
A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?
rmdir commandShell escapingSpecial charactersDirectory management - Question #731Operation of Running Systems
In compliance with the FHS, in which of the directories are man pages found?
FHSFilesystem Hierarchy StandardMan pagesDirectory structure - Question #733Essential Commands
What is the purpose of the Bash built-in export command?
export commandenvironment variablesBashshell built-ins - Question #734Essential Commands
What is the output of the following command? echo "Hello World" | tr -d aieou
echo commandtr commandPipesText processing - Question #735Operation of Running Systems
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
Kernel parametersBoot messagesSystem startup - Question #736Operation of Running Systems
Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?
systemd boot targetskernel parametersrescue mode - Question #737Operation of Running Systems
After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?
GRUBBootloaderSystem bootConfiguration management - Question #738Essential Commands
Which of the following commands is used to update the list of available packages when using dpkg based package management?
Package ManagementAPTdpkgUpdate Package Lists - Question #739Essential Commands
Which of the following commands lists the dependencies of a given dpkg package?
Package Managementapt-cache commandPackage Dependenciesdpkg packages - Question #740Operation of Running Systems
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?
GRUBBootloaderBoot ProcessConfiguration files - Question #741Storage Management
You have run out of disk space on a partition. Which of the following would be an easy way to move data to a new partition without reconfiguring the path to the data in existing ap...
Symbolic linksFilesystem managementData relocation - Question #742Storage Management
You ran out of space and added a eighth disk to your SCSI-1 system. When you try to start, the system no longer boots. What is most likely the cause of this problem?
SCSIStorage DevicesHardware Limitations - Question #743Essential Commands
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
File PermissionschmodOctal PermissionsAccess Control - Question #744Operation of Running Systems
You are running Linux 2.0.36 and you need to add a USB mouse to your system. Which of the following statements is true?
Kernel managementUSB supportLinux kernel versionsHardware compatibility - Question #745Essential Commands
Which system administration command you can use to update Id.so.cache after the installation of new shared libraries?
Shared LibrariesldconfigRuntime LinkerSystem Administration - Question #746Essential Commands
Which of the following is the output when the below shell script executes? cat <<foobar Hello foobar foobar
Shell scriptingHere documentscat commandStandard I/O - Question #747Essential Commands
Which of the following Debian package system commands will list all partially installed packages and suggest how to get them correctly installed?
Debian package managementdpkg commandPackage statusTroubleshooting - Question #748Operation of Running Systems
What information is displayed by the command cat/proc/dma?
/proc filesystemDMAsystem informationcommand line tools