Oracle Linux 6 Advanced System Administration - 1z1-105 Exam Practice Test

Which three statements are true about the Kickstart installation method?
Correct Answer: A,B,C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Which single statement is true for creating a labeled filesystem in RAID-1 on devices /dev/sdc and /dev/sdd?
Correct Answer: B
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Examine the sequence:
# sealert -l dda34207-61fd-4de2-831d-039c79270864
SELinux is preventing /usr/sbin/httpd from read access on the
file /var/www/manual/new_features_2_2.html.
***** Plugin restorecon (85.9 confidence) suggests *****
If you want to fix the label.
/var/www/manual/new_features_2_2.html default label should be httpd_sys_content_t.
Then you can run restorecon.
Do
# /sbin/restorecon -v /var/www/manual/new_features_2_2.html
***** Plugin catchall_boolen (7.33 confidence) suggests *****
If you want to allow httpd to read user content
Then you must tell SELinux about this by enabling the 'httpd_read_user_content' boolean. You
can read 'user_selinux' man page for more details.
Do
setsebool -P httpd_read_user_content 1
What action must you take for fix this problem?
Correct Answer: D
You have a btrfs file system mounted on the /btrfs mount point: # btrfs filesystem show Label: 'Btrfs'uuid:7bfe3239-47ee-442b-b9f8-49f88b6b1be4 Total devices 2 FS bytes used 200.37MB devid 2 size 4.88GB used 1.51GB path /dev/sdd devid 1 size 4.88GB used 1.51GB path /dev/sdc You have a list of subvolumes and snapshots: # btrfs subvolume list -pgct /btrfs/DocumentsSV ID gen cgen parent top level path 268 142 0 5 5 DocumentsSV 269 141 139 5 5 DocumentsSV_Moday_Backup 270 141 140 5 5 DocumentsSV_Tuesday_Backup 271 143 142 5 5 DocumentsSV_Wednesday_Backup 272 143 143 5 5 DocumentsSV_Wednesday_Backup_2 Which three statements could you use to mount the DocumentsSV_Tuesday_Backup path on the
/restored_backup mount point?
Correct Answer: A,D,E
Consider the steps to enable the Pluggable Authentication Module (PAM) to use cgroup rules for a 64-bit system:
1.Install the libcgroup-pam software package.
2.Ensure that the PAM module has been installed and exists: /lib64/security/pam_cgroup.so.
3.Edit the /ets/pam.d/su configuration file and add a line: session optional pam_cgroup.so.
4.Edit the /ets/pam.d/su configuration file and add a line: auth sufficient pam_cgroup.so.
5.Configure /etc/cgconfig.conf.
6.Configure /etc/cgrules.conf.
7.Log out all users that are affected by the cgroup settings in the /etc/cgrules.conf file.
8.Enable and start the cgred service.
9.Reboot the system.
Which option represents the steps in the correct order to enable PAM to use cgroup rules for a logged-in user?
Correct Answer: E
Which three statements are true about Btrfs copy --reflink?
Correct Answer: A,B,D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Which two statements are correct about features and capabilities of virtualization in Oracle Linux?
Correct Answer: A,C
Which three statements are true about the contents of the /etc/ocfs2/cluster.conf configuration file?
Correct Answer: A,B,C
You dynamically configure a system to concurrently run tasks A1 and A2 using these commands: # mkdir /cgroup/cpu # mount -t cgroup -o cpu cpu /cgroup/cpu # mkdir /cgroup/cpu/A1 # mkdir /cgroup/cpu/A2 # echo 5 > /cgroup/cpu/A1/cpu.shares # echo 5 > /cgroup/cpu/A2/cpu.shares # mkdir /cgroup/cpuacct # mount -t cgroup -o cpuacct cpuacct /cgroup/cpuacct You want to generate a /etc/cgconfig.conf configuration fail that contains the current cgroup
configuration on the system. Which command would you use?
Correct Answer: A
You have an unmounted btrfs file system: # btrfs filesystem show Label: 'Btrfs' uuid: 7bfe3239-47ee-442b-b9f8-49f88b6b1be4 Total devices 3 FS bytes used 300.51MB devid2 size 4.88GB used 1.06GB path /dev/sdd devid1 size 4.88GB used 580.00GB path /dev/sdc devid3 size 4.88GB used 1.50GB path /dev/sdb You have these mounted devices: # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_exam1-LogVol_system
9.6G 3.3G 3.9G 46% /
tmpfs
499M
499M
0%
/dev/shm
/dev/sda1
485M
77M
384M
17%
/boot
You have a mount point for the btrfs file system:
# ls -all /btrfs
total 0
drwxr-xr-x. 1 root root 0 Aug 12 10:17 .
dr-xr-xr-x. 1 root root 276 Aug 12 10:36 ..
Examine these steps:
1.Manual defragment is not needed. Btrfs will defragment it automatically.
2.btrfs device defragment /dev/sdd
3.btrfs filesystem defragment /btrfs
4.btrfs device delete /dev/sdb /btrfs
5.mount UUID=7bfe3239-47ee-442b-b9f8-49f88b6b1be4 /btrfs
6.btrfs device delete /dev/sdb /dev/sdd
What is the correct order to delete the /dev/sdb device from the btrfs file system and for defragmenting the reduced file system?
Correct Answer: D
0
0
0
0