Free LPI 702-100 Actual Exam Questions - Question 4 Discussion

Question No. 4
Assuming a umask of 022, what are the default permissions in octal mode of the newly created files?
Select one option, then reveal solution.
US
PH
Peter H.
2026-02-21

It’s definitely not A or B since those don’t match typical default permissions. D is the raw default before umask, so that’s out. E is for directories, so C fits best for files after applying umask 022.

0
MV
Mark V.
2026-02-18

Guessing C since the question is about files, not directories.

0
MV
Mark V.
2026-02-17

Option C looks right because default file permissions start at 666, then the umask 022 removes write permissions from group and others, leaving 644. Directories would be different, starting at 777, but since this question focuses on files, 644 fits perfectly. The umask essentially masks out the bits you don't want set, so 644 is the standard default for new files with that umask.

0
FW
Farhan W.
2026-02-10

C, because 666 minus 022 equals 644 for files.

0
IF
Imran F.
2026-01-21

C, because files start with 666 and umask 022 removes write for group and others.

0
IF
Imran F.
2026-01-19

It’s C, since umask 022 removes write perm for group and others from 666.

0
IF
Imran F.
2026-01-12

It’s C. 644 because default file perms are 666 minus umask 022.

0