Question 31
Examine these requirements for a host with a user oracle:
* Network services must run in a confined domain.
* The oracle user must be confined.
* The oracle user must be able to use Mozilla Firefox.
* Access to files and directories must be granted based only on SELinux contexts.
* The SELinux configuration must be persistent across system restarts.
* Users must be able to publish private HTML content.
Now examine these commands and output:
# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: actual (secure)
Max Kernel policy version: 31
# setenforce enforcing
# semanage login -a -s guest_u oracle
# setsebool -P http_enable_homedirs on
Which requirements are satisfied?
* Network services must run in a confined domain.
* The oracle user must be confined.
* The oracle user must be able to use Mozilla Firefox.
* Access to files and directories must be granted based only on SELinux contexts.
* The SELinux configuration must be persistent across system restarts.
* Users must be able to publish private HTML content.
Now examine these commands and output:
# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: actual (secure)
Max Kernel policy version: 31
# setenforce enforcing
# semanage login -a -s guest_u oracle
# setsebool -P http_enable_homedirs on
Which requirements are satisfied?
Question 32
Which three are features of the btrfs file system?
Question 33
Examine this command:
# auditctl -w /etc/passwd -p w -k pass
Which two statements are true upon execution?
# auditctl -w /etc/passwd -p w -k pass
Which two statements are true upon execution?
Question 34
Examine these commands and output:
# cat /etc/auto.master
/net -hosts
/- auto.direct ro
# cat /etc/auto.direct
/nfs1 host01:/export/share1
/nfs2 -sync host01:/export/share2
/nfs3 host02:/export/share3
Automounter must be used to mount these filesystems. Which mount options will it use?
# cat /etc/auto.master
/net -hosts
/- auto.direct ro
# cat /etc/auto.direct
/nfs1 host01:/export/share1
/nfs2 -sync host01:/export/share2
/nfs3 host02:/export/share3
Automounter must be used to mount these filesystems. Which mount options will it use?
Question 35
Examine this output:
Last metadata expiration check: 4:30:21 ago on Mon 26 Oct 2020 03:09:52 PM GMT Installed Packages Name : gzip Version : 1.9 Release : 9.el8 Architecture : x86_64 Size : 412 k Source : gzip-1.9-9.el8.src.rpm Repository : @System From repo : anaconda Summary : The GNU data compression program URL :
http://www.gzip.org/
License : GPLv3+ and GFDL
Description : The gzip package contains the popular GNU gzip data compression program. Gzipped files have a .gz extension.
Gzip should be installed on your system, because it is a very
commonly used data compression program.
Which command generated it?
Last metadata expiration check: 4:30:21 ago on Mon 26 Oct 2020 03:09:52 PM GMT Installed Packages Name : gzip Version : 1.9 Release : 9.el8 Architecture : x86_64 Size : 412 k Source : gzip-1.9-9.el8.src.rpm Repository : @System From repo : anaconda Summary : The GNU data compression program URL :
http://www.gzip.org/
License : GPLv3+ and GFDL
Description : The gzip package contains the popular GNU gzip data compression program. Gzipped files have a .gz extension.
Gzip should be installed on your system, because it is a very
commonly used data compression program.
Which command generated it?
