LPI
101-500
Q1:
Which of the following directories on a 64 bit Linux system typically contain shared libraries? (Choose two.)
☐
A
~/.lib64/☐
B
/usr/lib64/☐
C
/var/lib64/☐
D
/lib64/☐
E
/opt/lib64/
LPI
101-500
Q2:
Which daemon handles power management events on a Linux system?
○
A
acpid○
B
batteryd○
C
pwrmgntd○
D
psd○
E
inetd
LPI
101-500
Q3:
When considering the use of hard links, what are valid reasons not to use hard links?
○
A
Hard links are not available on all Linux systems because traditional filesystems, such as ext4, do not support them○
B
Each hard link has individual ownership, permissions and ACLs which can lead to unintended disclosure of file content○
C
Hard links are specific to one filesystem and cannot point to files on another filesystem○
D
If users other than root should be able to create hard links, suln has to be installed and configured○
E
When a hard linked file is changed, a copy of the file is created and consumes additional space
LPI
101-500
Q4:
Which command displays the current disk space usage for all mounted file systems? (Specify ONLY the command without any path or parameters.)
○
A
du
LPI
101-500
Q5:
Consider the following directory:
drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales
Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)
☐
A
chmod g+s sales☐
B
setpol --R newgroup=sales sales☐
C
chgrp --p sales sales☐
D
chown --persistent *.sales sales☐
E
chmod 2775 sales