101-400 Exam - LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2

certleader.com

Q1. - (Topic 3) 

From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.) 

A. source /usr/local/bin/runme.sh 

B. . /usr/local/bin/runme.sh 

C. /bin/bash /usr/local/bin/runme.sh 

D. /usr/local/bin/runme.sh 

E. run /usr/local/bin/runme.sh 

Answer: A,B 

Q2. - (Topic 2) 

When using rpm --verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose THREE correct answers.) 

A. Timestamps 

B. MD5 checksums 

C. Inodes 

D. File sizes 

E. GnuPG signatures 

Answer: A,B,D 

Q3. - (Topic 3) 

Which of the following commands can be used to create a USB storage media from a disk image? 

A. gdisk 

B. dd 

C. cc 

D. fdisk 

E. mount 

Answer:

Q4. - (Topic 4) 

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.) 

A. ext3 

B. JFS 

C. ext2 

D. XFS 

E. procfs 

Answer: A,C 

Q5. - (Topic 3) 

When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process? 

A. -10 

B. 0 

C. 10 

D. 20 

Answer:

Q6. CORRECT TEXT - (Topic 2) 

What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.) 

Answer: menu.lst, grub.conf, grub.cfg 

Q7. - (Topic 3) 

A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory? 

A. rmdir '~/\dir' 

B. rmdir "~/\dir" 

C. rmdir ~/'dir' 

D. rmdir ~/\dir 

E. rmdir ~/\\dir 

Answer:

Q8. - (Topic 3) 

Which shell command is used to continue background execution of a suspended command? 

A. & 

B. bg 

C. cont 

D. exec 

E. :& 

Answer:

Q9. - (Topic 2) 

Which of the following commands can be used to download the RPM package kernel without installing it? 

A. yum download --no-install kernel 

B. yumdownloader kernel 

C. rpm --download --package kernel 

D. rpmdownload kernel 

Answer:

Q10. - (Topic 1) 

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init? 

A. /lib/init.so 

B. /sbin/init 

C. /etc/rc.d/rcinit 

D. /proc/sys/kernel/init 

E. /boot/init 

Answer: