101-500 Exam Questions
420 real 101-500 exam questions with expert-verified answers and explanations. Page 5 of 9.
- Question #224Devices, Linux Filesystems, Filesystem Hierarchy Standard
To allow a regular user account to mount and unmount a filesystem (for instance, a cdrom or floppy), which option will need to be added to the corresponding line in /etc/fstab?
fstab optionsmount permissionsuser mountingfilesystem configuration - Question #225Devices, Linux Filesystems, Filesystem Hierarchy Standard
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 managementdisk space allocationmount points - Question #226System Architecture
What is the process ID number of the init program?
Process IDsInit processProcess managementSystem startup - Question #227GNU and Unix Commands
Which of the following commands will print the amount of disk space used by files specified on the command line?
du commanddisk usagefile spaceLinux commands - Question #228GNU and Unix Commands
Which chown command will change the ownership to dave and the group to staff on a file named data.txt?
file ownershipchown commandpermissions - Question #229GNU and Unix Commands
Which of the following commands enables the setuid (suid) permission on the executable called /bin/foo?
chmodsetuid bitspecial permissionsoctal notation - Question #231Shells and Shell Scripting
Which of the following explanations are valid reasons to run a command in the background of your shell?
background processesjob controlterminal sessionsprocess management - Question #232GNU and Unix Commands
Which of the following commands would display the lines containing capital letters form the file "turkey.txt"?
grepregular expressionspattern matchingcharacter classes - Question #233Devices, Linux Filesystems, Filesystem Hierarchy Standard
Identify the proper device for the third partition, on the second hard disk, on the first IDE controller on a PC system.
Device namingIDE controllerPartition numberingLinux /dev - Question #234Devices, Linux Filesystems, Filesystem Hierarchy Standard
What umask will set the file permissions on a newly created file to -rw-r--r-- (644)?
umaskfile permissionsoctal notationpermissions calculation - Question #236System Architecture
How many SCSI ids for peripherals can SCSI-1 support?
SCSI-1Device IDsSCSI AddressingHardware Specifications - Question #237Devices, Linux Filesystems, FHS
You need to install a fax server. Which type of fax/modem should you install to insure Linux compatibility?
fax/modem installationserial deviceshardware compatibilitydevice drivers - Question #238System Architecture
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?
USB supportKernel upgradeKernel versioningDevice drivers - Question #239System Architecture
You have just upgraded your PC to a 60 gigabyte IDE drive. While partitioning the drive, you notice that only 32 gigabytes are available. Which of the following will most likely al...
BIOS configurationIDE drive capacity limitCHS/LBA addressingHardware compatibility - Question #240Devices, Linux Filesystems, Filesystem Hierarchy Standard
The lspci command can display information about devices except the following:
lspciPCI deviceshardware informationMAC address - Question #241System Architecture
If Linux detects an ACPI BIOS on bootup, what does it automatically deactivate?
ACPIAPMBoot processPower management - Question #242Devices, Linux Filesystems, Filesystem Hierarchy Standard
What command would help you identify the I/O address range being used by the network card?
/proc filesystemI/O address mappingNetwork device configurationHardware device identification - Question #243GNU and Unix Commands
What program is needed to establish a PPP link to another computer?
PPPNetwork protocolsSystem daemonsDialup networking - Question #245Linux Installation and Package Management
You need to know where all the configuration files for the installed package named "postfix" are located. Assuming it was installed with rpm, which command will list this informati...
rpm query optionspackage configuration filesrpm flagspackage management - Question #246GNU and Unix Commands
What tool can you use to print shared library dependencies?
lddshared librariesdynamic linkingbinary dependencies - Question #247Linux Installation and Package Management
While installing from source code you don't see the configuration script. What command can you run to compile the code?
makecompilationsource installationMakefile - Question #248Linux Installation and Package Management
You have an updated RPM called screensaver-1.1.i386. rpm. You have version 1.0 installed. Using RPM, how do you view the changelog of this file to see if you should install the upd...
RPM queriespackage changelogpackage informationLinux packages - Question #249Linux Installation and Package Management
You are about to install a new program on an RPM based Linux system. Which of the following would be the best way to accomplish this?
RPMpackage managementbinary installationpackage managers - Question #250Devices, Linux Filesystems, Filesystem Hierarchy Standard
You are installing Linux on a workstation for a new employee. Which partition should be largest?
Partition SizingFHSFilesystem HierarchyLinux Installation - Question #251Linux Installation and Package Management
How can you update a package only if an earlier version is currently installed on the system?
RPM package managementPackage upgrade flagsSystem package toolsFreshen operation - Question #252System 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 and ldconfig,...
shared librariesldconfigld.so.confdynamic linking - Question #253System Architecture
Where can lilo place boot code?
LILO bootloaderMBRboot code placementdisk structure - Question #254System Architecture
Where does lilo store its boot information?
LILOMaster Boot Recordboot processbootloader - Question #255Shells and Shell Scripting
To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program's shared libraries?
dynamic linkershared librariesenvironment variableslibrary path - Question #256Linux Installation and Package Management
Which command will allow you to find a specific installed package?
rpmpackage queriespackage managementlinux commands - Question #257Linux Installation and Package Management
Which of the following is very important when installing from source code (Check TWO that apply)?
source code installationdependency managementbuild processinstallation best practices - Question #260Devices, Linux Filesystems, Filesystem Hierarchy Standard
You are building a server that will undergo many hardware and operating system upgrades. The server is the file server for all users on your 100 user network. Which directory shoul...
partitioningFHS/homeserver-design - Question #261GNU and Unix Commands
What file is read by the program ldconfig?
ldconfigshared librariesdynamic linkerld.so.conf - Question #262Linux Installation and Package Management
After a minor security incident you are instructed by your lead sys-admin to verify the RPM's installed on a running system. Which command will create a complete report which you c...
rpm verifypackage integritysecurity auditingsystem verification - Question #263Linux Installation and Package Management
You see following output while trying to install an updated package: [root@example pub]# rpm -I gthumb-2.2.0.i386.rpm package gthumb- 1.0.1.i386.rpm is already installed. Which com...
RPM package managementpackage upgrade vs installrpm flags (-U, -i)package already installed - Question #264Shells and Shell Scripting
Which of the following would do the same as the command cat < file1.txt > file2.txt?
I/O Redirectionstdin/stdoutShell Operatorscat command - Question #267GNU and Unix Commands
In the vi editor, which of the following commands will delete the current line at the cursor and the 16 lines following it (17 lines total)?
vi editordelete commandcount modifiercommand syntax - Question #269GNU and Unix Commands
As root you have navigated to directory /B. You wish to move all of the files and directories from directory /A to directory /B. Which of the following options would be the most ap...
mv commandfile movementabsolute pathscommand flags - Question #270Shells and Shell Scripting
What key sequence will suspend the current process and return you to a shell prompt?
Job ControlProcess SuspensionShell KeybindingsSignal Handling - Question #271GNU and Unix Commands
Which TWO commands will find the path for the binary vim?
binary locationwhich commandwhereis commandcommand utilities - Question #273GNU and Unix Commands
What command changes the priority of the process running with process id of 12345 to the highest priority?
process priorityrenice commandprocess managementscheduling - Question #274GNU and Unix Commands
You want to save vi changes to the file myfile with :w!, but vi complains it can not write to the file. Therefore, you want to check the write permissions on the file. To do this w...
vi editorshell commandsfile permissions:! syntax - Question #275GNU and Unix Commands
Which of the following GNU commands would be the most likely command you'd use to find the system load average?
system monitoringload averagetop commandprocess metrics - Question #276GNU and Unix Commands
Which of the following commands is equivalent to kill 1234?
kill commandsignalsSIGTERMprocess management - Question #277Shells and Shell Scripting
What command would execute cmd1 followed by cmd2, regardless of the exit status of cmd1?
shell operatorscommand sequencingexit status handlingsequential execution - Question #279GNU and Unix Commands
Which command will print to standard out only the lines that do not begin with # (pound symbol) in the file foobar?
grep commandregex anchorspattern matchingcommand-line filtering - Question #280GNU and Unix Commands
What command will remove duplicate lines from a sorted file?
uniq commandduplicate removaltext filteringGNU utilities - Question #281GNU and Unix Commands
Which command line option would you use to restrict the GNU find command to searching a particular number of subdirectories?
find commandmaxdepthdirectory depthfile search - Question #282GNU and Unix Commands
What is the disadvantage of using the command kill -9 ?
kill commandSIGKILLprocess signalsprocess cleanup - Question #283Shells and Shell Scripting
To prevent a command run as root from sending both standard out (stdout) and standard error (stderr) to any terminal or other file or device, which of the following strings should...
I/O redirectionfile descriptorsstderr and stdoutshell operators