LX0-103 Practice Questions
199 real LX0-103 exam questions with expert-verified answers and explanations. Page 2 of 4.
- Question #51GNU and Unix Commands
Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)
uptimetopsystem monitoringrunning time - Question #52GNU and Unix Commands
Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)
stream redirectionbashhere-stringI/O operators - Question #53Devices, Linux Filesystems, Filesystem Hierarchy Standard
After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?
hard linksinodesfile deletionlink count - Question #54Devices, Linux Filesystems, Filesystem Hierarchy Standard
After moving data to a new filesystem, how can the former path of the data be kept intact in order to avoid reconfiguration of existing applications? (Choose TWO correct answers.)
symbolic linksmountingpath preservationfilesystem - Question #55GNU and Unix Commands
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
chownfile ownershipusergroup - Question #56GNU and Unix Commands
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
chmodfile permissionssymbolic modeexecute bit - Question #57GNU and Unix Commands
Which of the following commands can be used to search for the executable file foo when it has been placed in a directory not included in $PATH?
findPATHexecutable searchfile location - Question #58Devices, Linux Filesystems, Filesystem Hierarchy Standard
Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/ creation time and does NOT generate them as needed? (Choose TWO correct ans...
inodesext2ext3filesystem creation - Question #59Devices, Linux Filesystems, Filesystem Hierarchy Standard
What is the purpose of the Filesystem Hierarchy Standard?
FHSfilesystem hierarchydirectory structurestandards - Question #60Devices, Linux Filesystems, Filesystem Hierarchy Standard
Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)
fstabUUIDLABELpartition identification - Question #61Devices, Linux Filesystems, Filesystem Hierarchy Standard
After running the command umount /mnt, the following error message is displayed: umount: /mnt: device is busy. What is a common reason for this message?
umountdevice busyfile lockingfilesystem - Question #62Devices, Linux Filesystems, Filesystem Hierarchy Standard
What does the command mount -a do?
mountfstabauto optionfilesystem mounting - Question #63GNU and Unix Commands
Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)
sticky bitchmodspecial permissionsdirectory permissions - Question #64GNU and Unix Commands
Which of the following commands can be used to display the inode number of a given file?
inodels commandfile attributes - Question #65GNU and Unix Commands
Which of the following commands shows the definition of a given shell command?
type commandshell built-inscommand lookup - Question #66Devices, Linux Filesystems, Filesystem Hierarchy Standard
What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?
SetUIDspecial permissionsexecute bitcapital S flag - Question #67Devices, Linux Filesystems, Filesystem Hierarchy Standard
Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?
hard linkslink countinodefile attributes - Question #82System Architecture
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
SysV initinittabctrl-alt-deletekey combination - Question #83System Architecture
During a system boot cycle, what program is executed after the BIOS completes its tasks?
boot processBIOSbootloadersystem startup - Question #84System Architecture
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)
SysV initrunlevelsdefault runlevelinit - Question #85Devices, Linux Filesystems, Filesystem Hierarchy Standard
Which of the following statements is correct when talking about /proc/?
/proc filesystemkernel interfacevirtual filesystemruntime parameters - Question #86Devices, Linux Filesystems, Filesystem Hierarchy Standard
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)
udevdevice management/dev directorytmpfs - Question #87System Architecture
Which of the following information is stored within the BIOS? (Choose TWO correct answers.)
BIOShardware configurationboot device orderfirmware - Question #88System Architecture
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)
SysV initshutdowntelinitreboot - Question #89System Architecture
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
init systemssystemdUpstartSysV init - Question #90Devices, Linux Filesystems, Filesystem Hierarchy Standard
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
lspciPCI hardwaredevice informationhardware diagnostics - Question #91System Architecture
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
SysV initsingle user moderunlevel 1telinit - Question #92System Architecture
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
SysV initboot process/sbin/initkernel startup - Question #93Devices, Linux Filesystems, Filesystem Hierarchy Standard
What does the command mount -a do?
mountfstabauto optionfilesystem mounting - Question #94GNU and Unix Commands
Which of the following settings for umask ensures that new files have the default permissions -rw- r----- ?
umaskfile permissionsoctal permissionspermission calculation - Question #95Devices, Linux Filesystems, Filesystem Hierarchy Standard
Which of the following is the device file name for the second partition on the only SCSI drive?
device namingSCSI/devdisk partitions - Question #96Devices, Linux Filesystems, Filesystem Hierarchy Standard
In order to display all currently mounted filesystems, which of the following commands could be used? (Choose TWO correct answers.)
mount/proc/self/mountsmounted filesystemsfilesystem status - Question #97GNU and Unix Commands
Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?
whereiscommand locationman pagesconfiguration files - Question #98Devices, Linux Filesystems, Filesystem Hierarchy Standard
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?
tune2fsext3fsck intervalfilesystem tuning - Question #99Devices, Linux Filesystems, Filesystem Hierarchy Standard
Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?
mkfsext2filesystem creationdefault filesystem - Question #100Devices, Linux Filesystems, Filesystem Hierarchy Standard
How many fields are in a syntactically correct line of /etc/fstab?
fstabfilesystem configurationmount optionsfstab syntax - Question #101GNU and Unix Commands
The command used to determine a file's type is
file commandfile type detection - Question #102Devices, Linux Filesystems, Filesystem Hierarchy Standard
Select the line that BEST represents what permissions the /etc/passwd file should have.
file permissionspasswd filesecurityrwx bits - Question #103GNU and Unix Commands
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?
ACLsetfaclextended permissionsuser access control - Question #104GNU and Unix Commands
Which command will print out the attributes of the file foobar?
lsattrfile attributesextended attributes - Question #105System Architecture
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 librariesldconfigld.so.conflibrary path - Question #106System Architecture
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?
XF86ConfigX11 configurationfont pathFiles section - Question #107Linux Installation and Package Management
Which command will list all the files installed from the RPM package file named, vorbis-tools- 1.1 .i386.rpm?
RPMrpm -qlppackage querypackage contents - Question #108System Architecture
Your department decided to change the Gnome Display Manager's greeting. What configuration file should you edit?
GDMGNOME Display Managergdm.confX11 configuration - Question #109System Architecture
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 serverCtrl+Alt+Backspacekeyboard shortcutX session recovery - Question #110GNU and Unix Commands
The system bell sound is annoying you. Which of the following can you use to change this and other userX preferences?
xsetsystem bellX11 user preferences - Question #111Devices, Linux Filesystems, Filesystem Hierarchy Standard
Which of the following commands will print the inode usage on each mounted filesystem?
df -iinode usagefilesystem statistics - Question #112System Architecture
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?
GRUBbootloaderdevice namingpartition numbering - Question #113GNU and Unix Commands
While using the vi editor, you wish to move ahead one page. You should press the control key and:
vi editorpage navigationCtrl+Fkeyboard shortcuts - Question #114GNU and Unix 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...
sedglobal substitutiontext processingstream editor