Exam Code: 101-400 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2
Certification Provider: LPI
Free Today! Guaranteed Training- Pass 101-400 Exam.

Q1. - (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 


Q2. - (Topic 3) 

Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter? 

A. sed '/bob/Bob' letter > newletter 

B. sed s/bob/Bob/ letter < newletter 

C. sed 's/bob/Bob' letter > newletter 

D. sed 's/bob/Bob/g' letter > newletter 

E. sed 's/bob, Bob/' letter > newletter 

Answer:


Q3. CORRECT TEXT - (Topic 3) 

Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files? 

killall -s _______ daemon 

Answer: HUP, SIGHUP, 1 


Q4. - (Topic 3) 

Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.) 

A. esc ZZ 

B. ctrl :w! 

C. esc zz 

D. esc :wq! 

E. ctrl XX 

Answer: A,D 


Q5. - (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:


Q6. - (Topic 4) 

Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created? 

A. File size 

B. Modify timestamp 

C. Link count 

D. Inode number 

E. Permissions 

Answer:


Q7. - (Topic 3) 

What is the effect of the egrep command when the -v option is used? 

A. It enables color to highlight matching parts. 

B. It only outputs non-matching lines. 

C. It shows the command's version information. 

D. It changes the output order showing the last matching line first. 

Answer:


Q8. - (Topic 4) 

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? 

A. apropos 

B. which 

C. find 

D. query 

E. whereis 

Answer:


Q9. - (Topic 3) 

When given the following command line. 

echo "foo bar" | tee bar | cat 

Which of the following output is created? 

A. cat 

B. foo bar 

C. tee bar 

D. bar 

E. foo 

Answer:


Q10. CORRECT TEXT - (Topic 2) 

In which directory must definition files be placed to add additional repositories to yum? 

Answer: /etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/