Free Oracle 1z0-100 Practice Test & Real Exam Questions
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: A
Vote an answer
Examine this /etc/fstab entry:

Identify the actions you must perform to relocate this filesystem permanently to its new mount point?

Identify the actions you must perform to relocate this filesystem permanently to its new mount point?
Correct Answer: B
Vote an answer
Examine the commands used by root to create the chrooted environments in the /jail directory:
# mkdir /jail/bin/jail/lib64
# cp /bin/bash/jail/bin
linux-vdso.so.1 => (0x00007fff68dff000)
libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00000033e00000)
lid1.so.2 => /lib64/libc.so.6 (0x00000033e1600000)
/lib64/id-linix-86-64.so.2 (0x00000033e0e00000)
# cp /lib64/libtinfo.so.5/jail/lib64
# cp /lib64/libd1.so.6 /jail/lib64
# cp /lib64/libc.so.6 /jail/lib64
# cp /lib64/id-linux-x86-64.so.2 /jail/lib64
The user root then issues this command:
# chroot /jail
What is the output from the cd, pwd, and 1s commands?
# mkdir /jail/bin/jail/lib64
# cp /bin/bash/jail/bin
linux-vdso.so.1 => (0x00007fff68dff000)
libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00000033e00000)
lid1.so.2 => /lib64/libc.so.6 (0x00000033e1600000)
/lib64/id-linix-86-64.so.2 (0x00000033e0e00000)
# cp /lib64/libtinfo.so.5/jail/lib64
# cp /lib64/libd1.so.6 /jail/lib64
# cp /lib64/libc.so.6 /jail/lib64
# cp /lib64/id-linux-x86-64.so.2 /jail/lib64
The user root then issues this command:
# chroot /jail
What is the output from the cd, pwd, and 1s commands?
Correct Answer: D
Vote an answer
Examine these configuration files:
# cat /etc/auto.master
/net-hosts
/- auto.direct ro
# cat /etc/auto.direct
/nfs1 o16:/export/share1
/nfs2 -sync o16:/export/share2
/nfs o16:/export/share3
Which mount options will automounter use to mount the filesystems listed in /etc/auto.direct?
# cat /etc/auto.master
/net-hosts
/- auto.direct ro
# cat /etc/auto.direct
/nfs1 o16:/export/share1
/nfs2 -sync o16:/export/share2
/nfs o16:/export/share3
Which mount options will automounter use to mount the filesystems listed in /etc/auto.direct?
Correct Answer: A
Vote an answer
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: B,C,D
Vote an answer
You installed the sendmail-cf package using the yum command as shown:
# yum -Y install sendmail-cf
Loaded plugins: security
Setting up Install Process
Resolving Dependencies
- -> Running Transaction Check
- - - > Package sendmail-cf.noarch 0:8.14.4-8.e16 will be installed
- - > Processing Dependency: sendmail = 7.14.4-8.e16 for package: sendmail-cf-8.14.4-8.e16.noarch
- - > Running transaction check
- - > Package sendmail.x86_64 0:8.14.4-8.e16 will be installed
- - > Finished Dependency Resolution
Dependency Resolved

What is the outcome of the YUM command?
# yun -y remove sendmail
# yum -Y install sendmail-cf
Loaded plugins: security
Setting up Install Process
Resolving Dependencies
- -> Running Transaction Check
- - - > Package sendmail-cf.noarch 0:8.14.4-8.e16 will be installed
- - > Processing Dependency: sendmail = 7.14.4-8.e16 for package: sendmail-cf-8.14.4-8.e16.noarch
- - > Running transaction check
- - > Package sendmail.x86_64 0:8.14.4-8.e16 will be installed
- - > Finished Dependency Resolution
Dependency Resolved

What is the outcome of the YUM command?
# yun -y remove sendmail
Correct Answer: E
Vote an answer
Examine the contents of /etc/rc.d

Which two statements are true concerning the files contained in the run level-specific directories rc0.d through rc6.d?

Which two statements are true concerning the files contained in the run level-specific directories rc0.d through rc6.d?
Correct Answer: B,E
Vote an answer
Which statement is true concerning the /etc/sysconfig directory and its files and subdirectories?
Correct Answer: B
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which four statements are true about software on the Oracle Public YUM server?
Correct Answer: A,B,C,F
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
