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

certleader.com

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

Q2. - (Topic 1) 

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

A. shutdown -R 1 now 

B. shutdown -single now 

C. init 1 

D. telinit 1 

E. runlevel 1 

Answer: C,D 

Q3. - (Topic 3) 

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file? 

A. fmt -f 1,4 /etc/passwd 

B. split -c 1,4 /etc/passwd 

C. cut -d : -f 1,4 /etc/passwd 

D. paste -f 1,4 /etc/passwd 

Answer:

Q4. - (Topic 4) 

Creating a hard link to an ordinary file returns an error. What could be the reason for this? 

A. The source file is hidden. 

B. The source file is read-only. 

C. The source file is a shell script. 

D. The source file is already a hard link. 

E. The source and the target are on different filesystems. 

Answer:

Q5. CORRECT TEXT - (Topic 4) 

Which command is used to create and initialize the files used to store quota information? (Specify ONLY the command without any path or parameters.) 

Answer: quotacheck 

Q6. - (Topic 1) 

What information can the lspci command display about the system hardware? (Choose THREE correct answers.) 

A. Device IRQ settings 

B. PCI bus speed 

C. System battery type 

D. Device vendor identification 

E. Ethernet MAC address 

Answer: A,B,D 

Q7. - (Topic 2) 

Which of the following commands lists all currently installed packages when using RPM package management? 

A. yum --query --all 

B. yum --list --installed 

C. rpm --query --all 

D. rpm --list –installed 

Answer:

Q8. 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/ 

Q9. - (Topic 4) 

Which of the following settings for umask ensures that new files have the default permissions -rw-r----- ? 

A. 0017 

B. 0640 

C. 0038 

D. 0027 

Answer:

Q10. - (Topic 3) 

Which character, added to the end of a command, runs that command in the background 

as a child process of the current shell? 

A. ! 

B. + 

C. & 

D. % 

E. # 

Answer: