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

certleader.com

Q1. CORRECT TEXT - (Topic 2) 

Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.) 

Answer: swapoff, /sbin/swapoff 

Q2. - (Topic 4) 

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

B. ID 

C. LABEL 

D. NAME 

E. UUID 

Answer: C,E 

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

Q4. - (Topic 3) 

Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line? 

A. i (lowercase) 

B. P (uppercase) 

C. p (lowercase) 

D. U (uppercase) 

E. u (lowercase) 

Answer:

Q5. - (Topic 4) 

Which of the following commands can be used to display the inode number of a given file? 

A. inode 

B. ls 

C. ln 

D. cp Answer: B 

Answer:

Q6. - (Topic 1) 

Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.) 

A. 0 

B. 1 

C. 3 

D. 5 

E. 6 

Answer: A,E 

Q7. - (Topic 4) 

Which of the following commands will change the quota for a specific user? 

A. edquota 

B. repquota 

C. quota -e 

D. quota 

Answer:

Q8. - (Topic 4) 

What does the command mount -a do? 

A. It ensures that all file systems listed with the option noauto in /etc/fstab are mounted. 

B. It shows all mounted file systems that have been automatically mounted. 

C. It opens an editor with root privileges and loads /etc/fstab for editing. 

D. It ensures that all file systems listed with the option auto in /etc/fstab are mounted. 

E. It ensures that all file systems listed in /etc/fstab are mounted regardless of their options. 

Answer:

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

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