Free Lpi 101-500 Practice Test & Real Exam Questions

  • Exam Code/Number: 101-500
  • Exam Name/Title: LPIC-1 Exam 101, Part 1 of 2, version 5.0
  • Certification Provider: Lpi
  • Corresponding Certification: LPIC Level1
  • Exam Questions: 299
  • Updated On: Oct 08, 2026
Which umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.)
Correct Answer:
0077, 077
Explanation:
The umask value that will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------ ) for directories is 077. This is because the umask value is an octal number that represents the permissions that are not given to the files or directories. To calculate the umask value, we need to subtract the desired permissions from the maximum permissions, which are 666 for files and 777 for directories. For example, if we want the files to have the permissions 600 (rw-------), which means read and write for the owner and no permissions for the group and others, we need to subtract 600 from 666, which gives us 066. Similarly, if we want the directories to have the permissions 700 (rwx------), which means read, write, and execute for the owner and no permissions for the group and others, we need to subtract 700 from 777, which gives us 077.
The umask value is the minimum of these two values, which is 077. The first digit of the umask value is for the special permissions, such as setuid, setgid, and sticky bit, and it is usually set to 0. Therefore, the final umask value is 077. For more information on how to use the umask command, you can refer to the following articles:
* What Is umask in Linux, and How Do You Use It? - How-To Geek
* Umask command in Linux with examples - GeeksforGeeks
* What is UMASK and how to set UMASK in Linux/Unix?
* How to Set and Update the Default Umask Value - phoenixNAP
What is the output of the following command?
echo "Hello World" | tr -d aieou
Correct Answer: D Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the following tasks are handled by a display manager like XDM or KDM? (Choose TWO correct answers.)
Correct Answer: A,E Vote an answer
Which wildcards will match the following filenames? (Choose two.)
ttyS0
ttyS1
ttyS2
Correct Answer: C,E Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)
Correct Answer: A,E Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?
Correct Answer: D Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
What does the + symbol mean in the following grep regular expression:
grep '^d[aei]\+d$' /usr/share/dict/words
Correct Answer: B Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
Correct Answer: C Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the commands below might have produced the following output?
Correct Answer: E Vote an answer