Sunteți pe pagina 1din 6

TestValid

http://www.testvalid.com
Valid test questions and answers for IT certification actual test
Instant Download - Best Exam Practice Material - 100% Money Back Guarantee!
IT Certification Guaranteed, The Easy Way!

Exam : 101-500

Title : LPIC-1 Exam 101, Part 1 of 2,


version 5.0

Vendor : Lpi

Version : DEMO

Get Latest & Valid 101-500 Exam's Question and Answers1 from Testvalid.com. 1
http://www.testvalid.com/101-500-exam-collection.html
Instant Download - Best Exam Practice Material - 100% Money Back Guarantee!
IT Certification Guaranteed, The Easy Way!

NO.1 When piping the output of find to the xargs command, what option to find is useful if the
filenames have spaces in them?
A. -rep-space
B. -nospace
C. -print0
D. -ignore-space
Answer: C

NO.2 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.)
A. NAME
B. ID
C. UUID
D. LABEL
E. FIND
Answer: C,D

NO.3 Consider the following output from the command ls -i:

How would a new file named c.txt be created with the same inode number as a.txt (Inode 525385)?
A. ln c.txt a.txt
B. ln -f c.txt a.txt
C. ln -h a.txt c.txt
D. ln a.txt c.txt
E. ln -i 525385 c.txt
Answer: D

NO.4 Which command displays the current disk space usage for all mounted file systems?
(Specify ONLY the command without any path or parameters.)
Answer:
du

NO.5 Which grep command will print only the lines that do not end with a / in the file foo?
A. grep -v '/#' foo
B. grep -v '/$' foo
C. grep '/#' foo
D. grep'/$' foo
Answer: B

NO.6 The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot
process. What does this indicate?
A. The next Stage cannot be read from the hard disk because GRUB was unable to determine the size

Get Latest & Valid 101-500 Exam's Question and Answers2 from Testvalid.com. 2
http://www.testvalid.com/101-500-exam-collection.html
Instant Download - Best Exam Practice Material - 100% Money Back Guarantee!
IT Certification Guaranteed, The Easy Way!

and geometry of the disk


B. One or more of the filesystems on the hard disk has errors and a filesystem check should be run
C. The kernel was unable to execute /bin/init
D. The BIOS was unable to read the necessary data from the Master Boot Record to begin the boot
process
Answer: A

NO.7 Which command creates a swap space on a block device or a file? (Specify ONLY the command
without any path or parameters.)
Answer:
mkswap

NO.8 During a system boot cycle, what program is executed after the BIOS completes its tasks?
A. The inetd program
B. The kernel
C. The init program
D. The bootloader
Answer: D

NO.9 Which command will disable swapping on a device? (Specify ONLY the command without any
path or parameters.)
Answer:
swapoff, /sbin/swapoff

NO.10 Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO
correct answers.)
A. chmod 4775 /tmp
B. chmod +s /tmp
C. chmod 2775 /tmp
D. chmod 1775 /tmp
E. chmod +t /tmp
Answer: D,E

NO.11 Which of the following commands enables the setuid (suid) permission on the executable
/bin/foo?
A. chmod u-s /bin/foo
B. chmod 4755 /bin/foo
C. chmod 755+s /bin/foo
D. chmod 1755 /bin/foo
Answer: B

NO.12 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
answers.)

Get Latest & Valid 101-500 Exam's Question and Answers3 from Testvalid.com. 3
http://www.testvalid.com/101-500-exam-collection.html
Instant Download - Best Exam Practice Material - 100% Money Back Guarantee!
IT Certification Guaranteed, The Easy Way!

A. ext3
B. procfs
C. XFS
D. JFS
E. ext2
Answer: A,E

NO.13 What is the purpose of the xargs command?


A. It allows users to specify long options for commands that normally only accept short options.
B. It asks a question, graphically, and returns the answer to the shell.
C. It reads standard input (STDIN) and builds up command lines to execute.
D. It passes arguments to an X server.
E. It helps shellscripts take variable argument lists.
Answer: C

NO.14 To prevent users from being able to fill up the / partition, the ____________ directory should
be on a separate partition if possible because it is world writeable.
Answer:
/tmp, tmp

NO.15 Which of the following shell commands makes the already defined variable TEST visible to
new child processes? (Choose two.)
A. declare -x TEST
B. declare +x TEST
C. visible TEST
D. export TEST
E. export -v TEST
Answer: D

NO.16 Which of the following commands is used to modify quota settings? (Choose two.)
A. setquota
B. editquota
C. edquota
D. quotaset
E. quotaedit
Answer: C

NO.17 What is true regarding UEFI firmware? (Choose two.)


A. It can use and read certain file systems
B. It stores its entire configuration on the /boot/ partition
C. It is stored in a special area within the GPT metadata
D. It can read and interpret partition tables
E. It is loaded from a fixed boot disk position

Get Latest & Valid 101-500 Exam's Question and Answers4 from Testvalid.com. 4
http://www.testvalid.com/101-500-exam-collection.html
Instant Download - Best Exam Practice Material - 100% Money Back Guarantee!
IT Certification Guaranteed, The Easy Way!

Answer: A,C

NO.18 Which of the following commands lists the dependencies of the RPM package file foo.rpm?
A. rpm -R foo.rpm
B. rpm -qpR foo.rpm
C. rpm -dep foo
D. rpm -ld foo.rpm
E. rpm -pD foo
Answer: B

Get Latest & Valid 101-500 Exam's Question and Answers5 from Testvalid.com. 5
http://www.testvalid.com/101-500-exam-collection.html

S-ar putea să vă placă și