LPI LPIC-1 (101-500) Certification Sample Questions

LPIC-1 Dumps, 101-500 Dumps, 101-500 PDF, LPIC-1 VCE, LPI 101-500 VCEThe purpose of this Sample Question Set is to provide you with information about the LPI Linux Administrator - 101 exam. These sample questions will make you very familiar with both the type and the difficulty level of the questions on the 101-500 certification test. To get familiar with real exam environment, we suggest you try our Sample LPI LPIC-1 Certification Practice Exam. This sample practice exam gives you the feeling of reality and is a clue to the questions asked in the actual LPIC-1 Linux Administrator certification exam.

These sample questions are simple and basic questions that represent likeness to the real LPI 101-500 exam questions. To assess your readiness and performance with real time scenario based questions, we suggest you prepare with our Premium LPI LPIC-1 Certification Practice Exam. When you solve real time scenario based questions practically, you come across many difficulties that give you an opportunity to improve.

LPI 101-500 Sample Questions:

01. Which command ensures new files created in the sales directory inherit the group sales?
a) chmod g+w sales
b) chgrp sales sales
c) chmod g+s sales
d) chown root:sales sales
 
02. The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?
a) job -b dmaint
b) dbmaint &>/dev/pts/null
c) wait dbmaint
d) bg dbmaint
e) nohup dbmaint &
 
03. What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?
a) 9
b) 15
c) 19
d) 49
e) 99
 
04. Given the following input stream:
- txt1.txt
- atxt.txt
- txtB.txt
Which of the following regular expressions turns this input stream into the following output stream? txt1.bak.txt atxt.bak.txt txtB.bak.txt
a) s/^.txt/.bak/
b) s/txt/bak.txt/
c) s/^txt$/.bak^/
d) s/txt$/bak.txt/
e) s/[.txt]/.bak$1/
 
05. While editing a file in vi, the file changes due to another process. Without exiting vi, how can the file be reopened for editing with the new content?
a) :e
b) :n
c) :w
d) :r
 
06. What does the command mount --bind do?
a) It makes the contents of one directory available in another directory
b) It mounts all available filesystems to the current directory
c) It mounts all user mountable filesystems to the user's home directory
d) It mounts all file systems listed in /etc/fstab which have the option userbind set
e) It permanently mounts a regular file to a directory
 
07. Which of the following statements is correct regarding the command foo 1> bar?
a) The stdout from the command foo is appended to the file bar.
b) The command foo receives its stdin from the file bar.
c) The stdout from the command foo overwrites the file bar.
d) The command foo receives its stdin from the stdout of the command bar.
e) The stderr from the command foo is saved to the file bar.
 
08. Which Bash redirection operator redirects standard input from a file?
a) 2>&1
b) <
c) >
d) >>
 
09. Which of the following commands changes all CR-LF line breaks in the text file userlist.txt to Linux standard LF line breaks and stores the result in newlist.txt?
a) tr -d '\r' < userlist.txt > newlist.txt
b) tr -c '\n\r' '' <newlist.txt> userlist.txt
c) tr '\r\n' '' <userlist.txt> newlist.txt
d) tr '\r' '\n' userlist.txt newlist.txt
e) tr -s '/^M/^J/' userlist.txt newlist.txt
 
10. 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

Answers:

Question: 01
Answer: c
Question: 02
Answer: e
Question: 03
Answer: c
Question: 04
Answer: d
Question: 05
Answer: a
Question: 06
Answer: a
Question: 07
Answer: c
Question: 08
Answer: b
Question: 09
Answer: a
Question: 10
Answer: b

Note: For any error in LPIC-1 Linux Administrator (101-500) certification exam sample questions, please update us by writing an email on feedback@edusum.com.

Rating: 4.7 / 5 (226 votes)