1Z0-100 | Validated Oracle 1Z0-100 exam question


Q1. 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.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.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? 

A. (hd0, 0) represents the first partition on device /dev/hd0. 

B. The hiddenmenu directive hides the GRUB menu only for 5 seconds after which it becomes visible again. 

C. The root directive specifies an initial root filesystem, allowing access to block device modules to mount the real root filesystem on disk. 

D. (hd0, 0) represents the first partition on the first drive detected by the BIOS. 

E. The initrd directive specifies the initamfs, an initial root filesystem in RAM, allowing access to block device modules to mount the real root filesystem. 

F. Each kernel must have an initramfs that matches the version of the kernel. 

G. Because there is an Unbreakable Enterprise Kernel installed, it must be the default 

kernel listed as shown by the default=0 directive. 

Answer: A,C,E 

Q2. Which three statements are true configuration files and the behavior of module parameters specified in those files, in the /etc/modprobe.d directory? 

A. The files may contain options to be passed to a module only when it is a dependency of a module being inserted. 

B. The file may contain shell commands to be run instead of inserting a particular module in the kernel. 

C. The files may contain options to be passed to a module, only when it is inserted using a modprobe command. 

D. The files may contain alias names for modules. 

E. The file may contain instructions to ignore certain modules. 

F. The files may contain options to be passed to a module only when it is Inserted using an insmod command. 

Answer: A,C,D 

Explanation: modprobe.d - Configuration directory for modprobe Because the modprobe command can add or remove more than one module, due to modules having dependencies, we need a method of specifying what options are to be used with those modules (A). All files underneath the /etc/modprobe.d directory which end with the .conf extension specify those options as required. They can also be used to create convenient aliases (D): alternate names for a module, or they can override the normal modprobe behavior altogether for those with special requirements (such as inserting more than one module). 

C: options modulename option... This command allows you to add options to the module modulename (which might be an alias) every time it is inserted into the kernel: whether directly (using modprobemodulename or because the 

module being inserted depends on this module. 

Q3. 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? 

A. The files starting with S or K are links to scripts in the /ete/init.d directory. 

B. The files starting with S are always invoked by the /etc/rc.d/rc script even if the service managed by that script is already down. 

C. The files starting with S or K are added by using the chkcor.fig command. 

D. The files starting with K are always invoked by the /rc/rc,d/re script even if the service managed by that script is already up. 

E. The files starting with S are invoked before those starting with K. 

Answer: A,C 

Q4. Which two statements are true about signal handling in Oracle Linux? 

A. The pkill command kills a process by name. 

B. A process killed with the default signal always terminates gracefully if it: does not block the kill request. 

C. The kill command sends a sigkill (signal 9) by default to the process being killed. 

D. The kill command may send a termination signal to more than one process at a time. 

E. All signals may be blocked by a process. 

Answer: B,D 

Explanation: D: The kill command is used to send a termination signal to the specified 

process or group. 

Incorrect: 

Not A: The following example shows the xscreensaver process (2609) which is to be 

terminated. 

$ pgrep xscreen 

$ kill 2609 

Though we use pgrep to find the PID of this process here we could have also used a PID 

from the output of top or ps. 

Not C: The kill command is used to send a termination signal to the specified process or 

group. The default termination signal is a SIGTERM (15) signal. 

Not E: When there a stubborn process trapping the kill command and refusing to terminate, the -9 (SIGKILL) signal should be used to kill the process. The -9 signal cannot be trapped by a process and ignored. 

Q5. During the setup of additional swap space on an ext2 filessystem, you encounter an error as shown below: 

Which action must you perform to add additional swap space? 

A. Create a symbolic link /dev/swapfile that points to u01/swapfile. 

B. Reinitialize /u01/swapfile by issuing mkswap –L swapfile /u01/swapfile. 

C. Re-create the swapfile on an ext3 or ext4 filesystem. 

D. Change LABEL=swapfile to /u01/swapfile in the appropriate /etc/fstab entry. 

E. None, because adding filesystem based swap space is not supported. 

Answer:

Q6. Which three statements are true concerning the use of open SSH utilities? 

A. SCP always requires a passphrase to be used. 

B. SCP permits copies between two remote hosts. 

C. SFTP permits transfers between two remote hosts. 

D. SSH may be used to execute a single command on a remote host instead of executing the login shell on the remote host. 

E. SFTP may be used to execute a command on the remote server. 

Answer: B,D,E 

Q7. Examine this extract from the /etc/ssh/sshd_config file: passwordAuthentication no What is the effect of this parameter settings on the use of openSSH commands on both the 

client and server? 

A. Passwords are not required and no ssh-keygen is required either. Only passphrase are required. 

B. Client users whose keys are not in the authorized_keys file on the server are unable to use passwords to authenticate themselves to the server. 

C. The ssh daemon does not ask for a password before starting or stopping the sshd service. 

D. Client users whose keys are not in the authorized_keys file on the client are unable to use passwords to authenticate themselves to the server. 

Answer:

Explanation: If you set PasswordAuthentication to no, you will no longer be able to use a login and password to authenticate and must use a login and public key instead (if PubkeyAuthentication is set to yes). 

Q8. 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? 

A. All three filesystems are mounted read-only, async. 

B. /nfs1 and /nfs3 are mounted read-only, async whereas /nfs2 mounted read-write, sync. 

C. /nfs1 and /nfs3 are mounted read-only, async whereas /nfs2 mounted read-only, sync. 

D. All three filesystems are mounted read-write, sync. 

Answer:

Q9. Examine some rules from the /etc/rsyslog.conf file: 

*.info;mail.debug;authpriv.none;cron.none/var/log/messages 

uucp, news.notice/var/log/spooler 

Which statement is true about the listed rules? 

A. Only messages with a priority of info from all facilities are sent to /var/log/messages. 

B. Only messages with a priority of notice from the news facility are sent to /var/log/spooler. 

C. Messages with a priority of debug or higher from the mail facility are sent to /var/log/message 

D. Only messages with a priority of debug from the mail facility are sent to /var/log/messages. 

Answer:

Q10. Which three statements are true about rpm package dependencies? 

A. The RPM command can detect only direct package dependencies. 

B. The RPM command can detect both direct and indirect package dependencies. 

C. The YUM command can detect and resolve direct and indirect package dependencies. 

D. The YUM command can detect and resolve indirect package dependencies only within the same repository. 

E. The YUM command can only detect and resolve direct package dependencies. 

F. A source RPM can have a dependency on a binary RPM. 

Answer: B,D,F 

Explanation: D: yum deplist <package> Produces a list of all dependencies and what packages provide those dependencies for the given packages.