Oracle Linux 5 and 6 System Administration (1z1-100) Free Practice Test
Question 1
Which three tasks should be performed to configure a host to act as an SSH server?
Correct Answer: C,D,E
Question 2
Match the bash files with their correct description: (Choose the best answer.) File nameDescription
1) /.bash_historya. a list of commands to be executed when you log in
2) /.bash_logoutb. a list of commands that is executed every time you open a new shell
3) /.bash_profilec. a list of commands you have executed from a bash shell
4) /.bashrcd. a list of commands to be executed when you exit a login shell e. a list of commands executed before the current day f. a list of commands executed when a shell script has a nonzero return code
1) /.bash_historya. a list of commands to be executed when you log in
2) /.bash_logoutb. a list of commands that is executed every time you open a new shell
3) /.bash_profilec. a list of commands you have executed from a bash shell
4) /.bashrcd. a list of commands to be executed when you exit a login shell e. a list of commands executed before the current day f. a list of commands executed when a shell script has a nonzero return code
Correct Answer: C
Question 3
A web server on HOST01 is listening on port 80.
Examine the IPTABLES rule shown:
[root@host01 ~] # iptables -L INPUT
Chain INPUT (policy ACCEPT)
targetportoptsourcedestination
ACCEPTtcp- - anywhereanywheretcp dpt:http
Another rule is then added:
[root@host01 ~] # iptables -A INPUT -P tcp - - dport 80 -j REJECT
What is the effect of this command on subsequent attempts to access the web server on HOST01 using port
80?
Examine the IPTABLES rule shown:
[root@host01 ~] # iptables -L INPUT
Chain INPUT (policy ACCEPT)
targetportoptsourcedestination
ACCEPTtcp- - anywhereanywheretcp dpt:http
Another rule is then added:
[root@host01 ~] # iptables -A INPUT -P tcp - - dport 80 -j REJECT
What is the effect of this command on subsequent attempts to access the web server on HOST01 using port
80?
Correct Answer: A
Question 4
Which three methods might be used to change kernel parameters, thereby modifying the values for running system?
Correct Answer: A,D,E
Question 5
Examine some of the contents of the /boot/grub/grub.com file from an Oracle Linux system:
Default=0
Timeout=5
Splashimage=(hd0, 0)/grub/splash.xpm.gz
Hiddenmenu
Title Oracle Linux Server (2.6.39-100.0.12.16uek.x86_64)
Root (hd0, 0)
Kernet /vmlinuz-2.6.39-100.0.12.e16uek.x86_64 ro root=UUIP=a4b6049b-9aa1-44b4-87cf-aebb17alcdf9 rd_NO_LUKS re_NO_LVM rd_NO_DM LANG=en_US.UTF-8 SYSFONT=1atarcycreheb-sun16 KEYBOARDTYPE=PC KEYTABLE=us rhgb quiet numa=off Initrd /initramfs-2.6.39-100.0.12.e16uek.x86_64.img Title Oracle Linux Server (2.6.32-131.0.15.e16.x86_64) Root (hd0, 0) Kernel /vmlinuz-2.6.32-131.0.15.e16.x86_64 ro root=UUIS=a4b6049b-9aa1-44b4-87cf-aebb17a1cdf9 rd_NO_LUKS rd_NO_LVM rd_NO_LVM re_NO_MD rd_NO_DM LANG=en_UD.UTF-8 SYSFONT=latarcyheb-sun16 KEYBOARDTYPE=PC KEYTABLE=us Crashkernel=auto rhgp quiet numa = off Initrd /initramfs-2.6.32-131.0.15.e16.x86_64.img Which three statements are true about the behavior and configuration of GRUB on this system?
Default=0
Timeout=5
Splashimage=(hd0, 0)/grub/splash.xpm.gz
Hiddenmenu
Title Oracle Linux Server (2.6.39-100.0.12.16uek.x86_64)
Root (hd0, 0)
Kernet /vmlinuz-2.6.39-100.0.12.e16uek.x86_64 ro root=UUIP=a4b6049b-9aa1-44b4-87cf-aebb17alcdf9 rd_NO_LUKS re_NO_LVM rd_NO_DM LANG=en_US.UTF-8 SYSFONT=1atarcycreheb-sun16 KEYBOARDTYPE=PC KEYTABLE=us rhgb quiet numa=off Initrd /initramfs-2.6.39-100.0.12.e16uek.x86_64.img Title Oracle Linux Server (2.6.32-131.0.15.e16.x86_64) Root (hd0, 0) Kernel /vmlinuz-2.6.32-131.0.15.e16.x86_64 ro root=UUIS=a4b6049b-9aa1-44b4-87cf-aebb17a1cdf9 rd_NO_LUKS rd_NO_LVM rd_NO_LVM re_NO_MD rd_NO_DM LANG=en_UD.UTF-8 SYSFONT=latarcyheb-sun16 KEYBOARDTYPE=PC KEYTABLE=us Crashkernel=auto rhgp quiet numa = off Initrd /initramfs-2.6.32-131.0.15.e16.x86_64.img Which three statements are true about the behavior and configuration of GRUB on this system?
Correct Answer: C,F,G
Question 6
Which two statements are true about an RPM package? (Choose two.)
Correct Answer: A,D
Question 7
Which three statements are correct about NFSV4?
Correct Answer: A,B,E
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 8
Which four statements are true about the proc and sysfs filesystem?
Correct Answer: A,B,C,F
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 9
The dailyrun.sh Bash shell script has the permissions as listed here:
-rw-r- -r- - 1 hr hradmin 8 Apr 2 06:57 dailyrun.sh
Which three methods will be successful at avoiding permissions errrors when attempting to run the script?
(Choose three.)
-rw-r- -r- - 1 hr hradmin 8 Apr 2 06:57 dailyrun.sh
Which three methods will be successful at avoiding permissions errrors when attempting to run the script?
(Choose three.)
Correct Answer: A,B,C
Question 10
Which four are among the many components included in the oracle Linux distribution?
Correct Answer: A,C,E,F