Lpi LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 (101-350) Free Practice Test
Question 1
What happens after issuing the command vi without any additional parameters?
Correct Answer: C
Question 2
Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?
Correct Answer: E
Question 3
How many fields are in a syntactically correct line of /etc/fstab?
Correct Answer: D
Question 4
When given the following command line.
echo "foo bar" | tee bar | cat
Which of the following output is created?
echo "foo bar" | tee bar | cat
Which of the following output is created?
Correct Answer: D
Question 5
Which of the following commands will produce the following output?
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1255 4.4 0.9 60716 34824 tty7 Ss+ 09:25 19:04 /usr/bin/X :0 root 2016 0.0 0.0 1792 560 tty1 Ss+ 09:26 0:00 /sbin/getty -8 matt 5204 0.0 0.1 6320 3696 pts/4 Ss 13:12 0:00 bash matt 5219 0.0 0.0 3988 1624 pts/4 S+ 13:12 0:00 man bash matt 5229 0.0 0.0 3584 932 pts/4 S+ 13:12 0:00 pager -s matt 6768 0.0 0.1 10504 3880 pts/2 S+ 15:11 0:00 vi README.txt
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1255 4.4 0.9 60716 34824 tty7 Ss+ 09:25 19:04 /usr/bin/X :0 root 2016 0.0 0.0 1792 560 tty1 Ss+ 09:26 0:00 /sbin/getty -8 matt 5204 0.0 0.1 6320 3696 pts/4 Ss 13:12 0:00 bash matt 5219 0.0 0.0 3988 1624 pts/4 S+ 13:12 0:00 man bash matt 5229 0.0 0.0 3584 932 pts/4 S+ 13:12 0:00 pager -s matt 6768 0.0 0.1 10504 3880 pts/2 S+ 15:11 0:00 vi README.txt
Correct Answer: B
Question 6
When in Normal mode in vi, which command character will insert a blank line below the current cursor position and place the insert cursor at the beginning of the new line?
Correct Answer: B
Question 7
Which of the following commands is used to change options and positional parameters for a running Bash?
Correct Answer: C
Question 8
CORRECT TEXT
What umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Provide only the numerical umask value)
What umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Provide only the numerical umask value)
Correct Answer:
0077, 077
Question 9
CORRECT TEXT
Which command will display messages from the kernel that were output during the normal bootup sequence?
Which command will display messages from the kernel that were output during the normal bootup sequence?
Correct Answer:
dmesg, /bin/dmesg
Question 10
What does the command mount -a do?
Correct Answer: A
Question 11
Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)
Correct Answer: B,C
Question 12
Which file should be edited to select the network locations from which Debian installation package files are loaded?
Correct Answer: D