Want to Pass 101-400 Exam In Next HOURS? Get it now →
January 11, 2018

[Free] 101-400 LPI practice question 31-40 (Jan 2018)

Examcollection offers free demo for 101-400 exam. "LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2", also known as 101-400 exam, is a LPI Certification. This set of posts, Passing the LPI 101-400 exam, will help you answer those questions. The 101-400 Questions & Answers covers all the knowledge points of the real exam. 100% real LPI 101-400 exams and revised by experts!

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


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


Q33. - (Topic 3) 

In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories? 

A. -dirmax 

B. -maxdepth 

C. -maxlevels 

D. -n 

E. -s 

Answer:


Q34. - (Topic 3) 

Which of the following command sets the Bash variable named TEST with the content FOO? 

A. set TEST="FOO" 

B. TEST = "FOO" 

C. var TEST="FOO" 

D. TEST="FOO" 

Answer:


Q35. - (Topic 4) 

After moving data to a new filesystem, how can the former path of the data be kept intact in order to avoid reconfiguration of existing applications? (Choose TWO correct answers.) 

A. By creating an ACL redirection from the old to the new path of the data. 

B. By creating a hard link from the old to the new path of the data. 

C. By creating a symbolic link from the old to the new path of the data. 

D. By running the command touch on the old path. 

E. By mounting the new filesystem on the original path of the data. 

Answer: C,E 


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


Q37. - (Topic 2) 

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it? 

A. dd if=/dev/zero of=/dev/sda bs=512 

B. dd if=/dev/zero of=/dev/sda bs=512 count=1 

C. dd if=/dev/zero of=/dev/sda bs=440 count=1 

D. dd if=/dev/zero of=/dev/sda bs=440 

Answer:


Q38. - (Topic 4) 

After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation? 

A. foo and bar would both be removed. 

B. foo would be removed while bar would remain accessible. 

C. foo would be removed. bar would still exist but would be unusable. 

D. Both foo and bar would remain accessible. 

E. The user is prompted whether bar should be removed, too. 

Answer:


Q39. - (Topic 3) 

Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.) 

A. < 

B. <<< 

C. > 

D. >>> 

E. %> 

Answer: A,B,C 


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



see more free 101-400 exam dumps