getcertified4sure.com

Sep 2021 updated: Exambible LPI 101-400 exam topics 1-10




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. CORRECT TEXT - (Topic 2) 

Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.) 

Answer: update, upgrade 


Q2. - (Topic 2) 

Which function key is used to start Safe Mode in Windows NT? 

A. F10 

B. F8 

C. F6 

D. Windows NT does not support Safe Mode 

Answer:


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


Q4. - (Topic 3) 

When running the command 

sed -e "s/a/b/" /tmp/file >/tmp/file 

While /tmp/file contains data, why is /tmp/file empty afterwards? 

A. The file order is incorrect. The destination file must be mentioned before the command to ensure redirection. 

B. The command sed did not match anything in that file therefore the output is empty. 

C. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens it for reading. 

D. Redirection for shell commands do not work using the > character. It only works using the | character instead. 

Answer:


Q5. - (Topic 4) 

What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command? 

A. The command is SetUID and it will be executed with the effective rights of the owner. 

B. The command will be executed with the effective rights of the group instead of the owner. 

C. The execute flag is not set for the owner. Therefore the SetUID flag is ignored. 

D. The command will be executed with the effective rights of the owner and group. 

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. CORRECT TEXT - (Topic 2) 

Which world-writable directory should be placed on a separate partition in order to prevent users from being able to fill up the / filesystem? (Specify the full path to the directory.) 

Answer: /tmp, tmp, /var/tmp, /tmp/, /var/tmp/ 


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


Q9. - (Topic 3) 

Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log? 

A. cat < myapp | cat > file1.log 

B. myapp 0>&1 | cat > file1.log 

C. myapp | cat > file1.log 

D. myapp | tee file1.log 

E. tee myapp file1.log 

Answer:


Q10. - (Topic 3) 

Which grep command will print only the lines that do not end with a / in the file foo? 

A. grep '/$' foo 

B. grep '/#' foo 

C. grep -v '/$' foo 

D. grep -v '/#' foo 

Answer: