Exam 1z0 100 Oracle Linux 5 and 6 System Administration

download Exam 1z0 100 Oracle Linux 5 and 6 System Administration

of 46

Transcript of Exam 1z0 100 Oracle Linux 5 and 6 System Administration

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    1/46

    Che ck Point Cisco CIW CompTIA CWNP EC-Council ISC2 Junipe r Linux Microsoft Ora cle Sun VMWa re EMC Ex in Isilon PMI HP IBM ISACA

    OracleQuest ions&AnswersJ U S T A N O T H E R A L L I N O N E T E S T K I N G S I T E S

    Search

    SEARCH

    Home Membership Subscribe

    E X A M I N F O R M A T I O N

    RSS feed for this section

    This category contains108 posts

    Exam 1z0-100: Oracle Linux 5 and 6 System

    Administ ration

    which is then used to boot Oracle Linux?

    Which two sta tements are true concerning the installation and configuration of the bootloade r bythe Anaconda installer, which is then use d to boo t Oracle Linux?

    A.The Linux Loader (LILO) bootloader may be chosen for installation.

    B.The bootloader must be pas sword protected a nd Anaconda prompts for a passwo rd in allcases.

    C.The Grand Unified Bootloader (GRUB) is the o nly bootloader us ed b y Oracle Linux.

    D.If previously installed o perating systems a re found on disk partitions tha t we re not overw ritten,then an atte mpt is made to configure the bootloader to be a ble to boot them.

    E.The bootloader is installed by default in the first partition of the disk.

    Explanation: A (not C): Linux boot process from hard drive:1. PC initializion phase – BIOS, POST.2. PC starts boot loader – usually grub or lilo.3. The bootloader locates kernel image on the hard drive.4. The kernel decompresses and loads itself. Once finished it tries to mount the root filesystem. 5.When th e root filesystem is mounted, /sbin/init is executed and continues booting the system usinginittab and /etc/rc*.d scripts

    Which two settings will display the name of the variable and its value?

    You want to display the value of a she ll variable called se rvice after assigning a value a s show n:SERVICE =ACCT SWhich two se ttings will display the name of the variable and its value?

    A.set | grep service

    B.echo $SERVICE

    C.env | grep SERVICE

    D.env $SERVICE

    E.

    set $SERVICE

    Explanation:C: env – s et the environment for command invocationIf no ut ility operand is specified, the resulting environment s hall be written to the standard output,with one name= value pair per line.

    Which statements is true concerning Oracle Linux configuration files for users and groups?

    Which statements is true concerning Oracle Linux configuration files for use rs and groups?

    A.The /etc/pass wd file contains hashed pas swords for each use r.

    B.The /etc/shadow file contains hashed passwords for each user.

    C.The GECOS field in /etc/passw d file may be empty.

    D.The /etc/group file contains the group name and the hashed group passw ord.

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 2 comments

    Posted by seenagape on July 25, 2014 1 comment

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statements-is-true-concerning-oracle-linux-configuration-files-for-users-and-groups/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statements-is-true-concerning-oracle-linux-configuration-files-for-users-and-groups/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-settings-will-display-the-name-of-the-variable-and-its-value/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statements-is-true-concerning-oracle-linux-configuration-files-for-users-and-groups/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statements-is-true-concerning-oracle-linux-configuration-files-for-users-and-groups/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statements-is-true-concerning-oracle-linux-configuration-files-for-users-and-groups/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-settings-will-display-the-name-of-the-variable-and-its-value/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-settings-will-display-the-name-of-the-variable-and-its-value/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-settings-will-display-the-name-of-the-variable-and-its-value/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-is-then-used-to-boot-oracle-linux/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-is-then-used-to-boot-oracle-linux/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-is-then-used-to-boot-oracle-linux/http://localhost/var/www/apps/conversion/exam-1z0-100-oracle-linux-5-and-6-system-administration/feed/http://localhost/var/www/apps/conversion/tmp/scratch_2/isaca/http://localhost/var/www/apps/conversion/tmp/scratch_2/ibm/http://localhost/var/www/apps/conversion/tmp/scratch_2/HP/http://localhost/var/www/apps/conversion/tmp/scratch_2/PMI/http://localhost/var/www/apps/conversion/tmp/scratch_2/isilon/http://localhost/var/www/apps/conversion/tmp/scratch_2/exin/http://localhost/var/www/apps/conversion/tmp/scratch_2/emc/http://localhost/var/www/apps/conversion/tmp/scratch_2/vmware/http://localhost/var/www/apps/conversion/tmp/scratch_2/sun/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/http://localhost/var/www/apps/conversion/tmp/scratch_2/microsoft/http://localhost/var/www/apps/conversion/tmp/scratch_2/linux/http://localhost/var/www/apps/conversion/tmp/scratch_2/juniper/http://localhost/var/www/apps/conversion/tmp/scratch_2/isc2/http://localhost/var/www/apps/conversion/tmp/scratch_2/ec-council/http://localhost/var/www/apps/conversion/tmp/scratch_2/cwnp/http://localhost/var/www/apps/conversion/tmp/scratch_2/comptia/http://localhost/var/www/apps/conversion/tmp/scratch_2/ciw/http://localhost/var/www/apps/conversion/tmp/scratch_2/cisco/http://localhost/var/www/apps/conversion/tmp/scratch_2/checkpoint/http://localhost/var/www/apps/conversion/tmp/scratch_2//feedburner.google.com/fb/a/mailverify?uri=aiotestking/oracle&loc=en_UShttp://localhost/var/www/apps/conversion/tmp/scratch_2/member-area/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    2/46

    Explanation: /etc/shadow file s tores actu al passw ord in encrypted (one-way has hed) format for user’s account with additional properties related to us er password i.e. it stores s ecure user account information

    What is the conclusion?

    Examine the se s tatements a nd their output ta ken right after successful install of Oracle Linux:[root@FAROUT /] rpm –q firstbo otFirstboot -1.110.10-1.0.2.e16.x86_64[root @FAROUT /] # chkconfig – - list firstbo ot

    Firstboo t 0:off 2:off 3:off 4:off 5:off 6;off[root@FAROUT /] # /etc/sysconfig/firstboo tRUN_FIRSTBOOT=NOWhat is the conclusion?

    A.The option to run firstboot was deselected during Oracle Linux installation.

    B.The system was installed with desktop grap hical packages a nd rebooted a nd the firstboot utilityran s uccessful.

    C.Firstboot ne ver ran in any run level because the se rvice is turned off for all run levels.

    D.The system was installed without selecting desktop graphical packages, thereby disablingfirstboot from running.

    Explanation:Firstboot is set to off for all levels.Example:The rm command below remove or delate the firstboot file in order to make sure the firstboot

    program runnin g when w e restart or reboot the Fedora machin e.[root@fedora ~]# rm /etc/sysconfig/firstboot rm: remove regular file `/etc/sysconfig/firstboot’? y [root@fedora ~]#Then check and make sure that firstboot program or firstboot service is run when your Fedorastartup/boot up.Check firstboot services[root@fedora ~]# chkconfig –list firstboot firstboot 0:off 1:off 2:off 3:off 4:off 5:off 6:off [root@fedora ~]#

    Which three settings can be controlled by using the chage breemar command as the root user, to

    modify the parameters in the /etc/shadow file?

    Which three settings can be controlled by using the chage breemar command as the root user, tomodify the parameters in the /etc/shadow file?

    A.The expiration date of the breemar account

    B.The number of days a fter the bree mar account is locked, that it becomes expired

    C.The maximum number of days that must elapse between password changes by the userbreemar before the password becomes invalid

    D.The number of days a fter the bree mar account is locked, that it becomes unlocked

    E.The minimum number of days that must elapse between password changes by the userbreemar

    F.The maximum number of failed login attempts on the b reemar account before the account islocked

    Explanation: A: chage -E, –expiredate EXPIRE _DATE Set the date or number of days since January 1, 1970 on which the

    user’s account will no longer be accessible.CE: You need to use chage command to setup pass word aging.The chage command changes the number of days between pass word changes

    and the date of the last password change. This information is used by the sys tem to determine when a user mus t change his/her password.

    Posted by seenagape on July 25, 2014 2 comments

    Posted by seenagape on July 25, 2014 No comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-settings-can-be-controlled-by-using-the-chage-breemar-command-as-the-root-user-to-modify-the-parameters-in-the-etcshadow-file/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-settings-can-be-controlled-by-using-the-chage-breemar-command-as-the-root-user-to-modify-the-parameters-in-the-etcshadow-file/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-settings-can-be-controlled-by-using-the-chage-breemar-command-as-the-root-user-to-modify-the-parameters-in-the-etcshadow-file/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-conclusion/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-conclusion/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-conclusion/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    3/46

    What is the effect of this parameter settings on the use of openSSH commands on both the client

    and server?

    Examine this extract from the /etc/ssh/sshd_config file:passwordAuthentication noWhat is the effect of this parameter settings on the us e of ope nSSH commands o n both the clientand server?

    A.Passw ords are not required and no s sh-keygen is required either. Only passp hrase arerequired.

    B.Client users whose keys are not in the authorized_keys file on the server are unable to usepasswords 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 usepasswords to authenticate themselves to the server.

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

    Which four statements are true about software on the Oracle Public YUM server?

    Which four statements are true abo ut softwa re on the Oracle Public YUM server?

    A.It contains Oracle Linux installation ISO images.

    B.It contains Oracle Linux binary RPM packages.

    C.It contains Oracle Linux errata packages.

    D.It contains Oracle Linux source RPM packages.

    E.It contains beta Oracle Linux software package s.

    F.It does not contain Unbreakable Enterprise Kernel packages.

    Explanation:The Oracle public yum server offers a free and convenient way to install the latest

    Oracle Linux packages as well as packages from the Oracle VM installation media via a yumclient.Oracle provides all errata and updates for Oracle Linux via the Public Yum service, which includesupdates to the base distribution, but does not include Oracle-specific software.F: By default, all new installations of Oracle Linux 6 Update 5 are automatically configured to use

    the public yum update service. If you subsequently register the sys tem with UL N, the public yumservice is automatically disabled.

    Which two aspects can be determined from this output?

    This MDADM output:

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 No comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-aspects-can-be-determined-from-this-output/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-aspects-can-be-determined-from-this-output/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-aspects-can-be-determined-from-this-output/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-four-statements-are-true-about-software-on-the-oracle-public-yum-server/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-four-statements-are-true-about-software-on-the-oracle-public-yum-server/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-four-statements-are-true-about-software-on-the-oracle-public-yum-server/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-effect-of-this-parameter-settings-on-the-use-of-openssh-commands-on-both-the-client-and-server/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-effect-of-this-parameter-settings-on-the-use-of-openssh-commands-on-both-the-client-and-server/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-effect-of-this-parameter-settings-on-the-use-of-openssh-commands-on-both-the-client-and-server/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    4/46

    Which two as pects can be determined from this output?

    A.A device failed and has been removed from this RAID set.

    B.It is no longer pos sible to w rite to this RAID set.

    C.Read a nd write pe rformance is no longer optimal on this RAID set.

    D.This RAID set was built without a spare device.

    E.Only Write performance is no longer optimal on this RAID set.

    Explanation:

    Which two statements are true about the modprobe command?

    Examine the command on its output:[root@FAROUT ~] # modprobe –v nfsInsmod /lib/modules/2.6.39-100.0.12.e16uek.x86_64/kernel/fs/nfs_common/nfs_acl.ko insmod

    /lob/mod ules /2.6.39-10 0.0.12.e 16u ek.x86 _64 /kerne l/net/s unrp c/auth _gs s/a uth _rpcg ss .koInsmod /lib/modules/2.6.39-100.0.12.e16uek.x86_64/kernel/fs/fscache/fscache/koInsmod /lib/modules/2.6.39-100.0.12.e16uek.x86_64/kernel/fs/locked.koInsmod /lib/modules/2.6.39-100.0.12.e16uek.x86_64/kernel/fs/nfs/nfs.koWhich two statements a re true about the modprobe command?

    A.It will load the nfs module if all the modules upon which it depends have been loaded.

    B.It displays the depe ndency resolution for the nfs module and load s all the modules upon w hichnfs depend s before loading the nfs module.

    C.It verifies that the nfs module and all other modules that depe nd on the nfs module areinstalled.

    D.It displays the depe ndency resolution that would occur if the nfs module were to be loade dusing modprobe nfs.

    E.It only loads the nfs module if all the modules upon w hich it depe nds have not bee n loaded yet.

    Explanation:Reference: http://redhat.activeventure.com/8/customizationguide/ch-kernel-modules.html (kernel module utilities)

    What is the main advantage of the Oracle Unbreakable Enterprise Kernel compared with the Red

    Posted by seenagape on July 25, 2014 No comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-main-advantage-of-the-oracle-unbreakable-enterprise-kernel-compared-with-the-red-hat-compatible-kernel/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-about-the-modprobe-command/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-about-the-modprobe-command/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-about-the-modprobe-command/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    5/46

    Hat compatible kernel?

    What is the main advantage of the Oracle Unbreakab le Enterprise Kernel compared w ith the RedHat compatible kernel?

    A.It is more secure and, therefore, more difficult to hack.

    B.It has a lower Mean Time Between Failures.

    C.It provides higher availability for applications by reducing Mean Time to Recovery.

    D.It scales better for more CPUS, memory, and Infiniband network connections.

    Explanation:The Unbreakable Enterprise Kernel, for those who want to leverage the latest features frommainline Linux and boost performance and scalability.The Red Hat Compatible Kernel, for those who prefer strict Red Hat kernel ABI (kABI)compatibility.

    What is the reason for the error?

    Examine this output:# df –t nfsFilesystemSizeUsedAvailUse%Mounted ono16:export30G21G7.6G74%/mnt# 1s -1 /mnt/nfs.sh-rwxr-mr-x. 1 root root 2 2 May 8 16:37 /mnt/nfs.sh# file /mnt/nfs.sh

    /mnt/nfs.s h: Bou rne-Ag ain s he ll script t ext exe cuta ble s# /mnt/nfs.shbash: /mnt/nfs.sh: Permission denied

    What is the rea son for the error?

    A.The file system was exported on host o16 using the ROOT_SQUASH option.

    B.The /export filesystem was mounted with the NOEXEC option on hos t o16.

    C.The filesystem mounted on /mnt wa s mounted w ith the NOEXEC option.

    D.The filesystem wa s exported o n host o16 b y using the NO_ROOT_SQUASH option.

    Explanation:

    Which two software packages are prerequisites for enabling the configuration and use of a

    Network information Service (Nis) client?

    Which two softwa re packages are p rerequisites for enabling the configuration and use of aNetwork information Service (Nis) client?

    A.nis-tools

    B.slapi-nis

    C.ypbind

    D.nisserv

    E.nisbind

    F.yp-tools

    Explanation:C: ypbind finds the server for NIS domains and maintains the NIS bindinginformation. The client (normaly the NIS routines in the standard C library) could get theinformation over RPC from ypbind or read the binding files.

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 2 comments

    Posted by seenagape on July 25, 2014 1 comment

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-software-packages-are-prerequisites-for-enabling-the-configuration-and-use-of-a-network-information-service-nis-client/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-software-packages-are-prerequisites-for-enabling-the-configuration-and-use-of-a-network-information-service-nis-client/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-software-packages-are-prerequisites-for-enabling-the-configuration-and-use-of-a-network-information-service-nis-client/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-reason-for-the-error-4/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-reason-for-the-error-4/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-reason-for-the-error-4/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-main-advantage-of-the-oracle-unbreakable-enterprise-kernel-compared-with-the-red-hat-compatible-kernel/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-main-advantage-of-the-oracle-unbreakable-enterprise-kernel-compared-with-the-red-hat-compatible-kernel/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    6/46

    E: Setting up a NIS master s erver:Required packages: yp-tools ypbind ypserv portmap

    What is the outcome of running this command?

    You recently updated the strace package to the lates t version as shown:

    What is the outcome of running this command?

    A.It downgrades the strace package to version 4.5.19-1.6.e16.

    B.It downgrad es s trace package to version 4.5.19-1.11.e16_3.2.

    C.It fails with an error because you cannot dow ngrade a package using the yum command.

    D.It fails w ith an error because there are multiple versions available to which Yum can do wngradethe strace package.

    E.It will prompt you to select a version of the strace package tha t you want to do wngrade .

    Explanation:

    Posted by seenagape on July 25, 2014 No comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-outcome-of-running-this-command/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-outcome-of-running-this-command/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-outcome-of-running-this-command/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    7/46

    Which two Statements are true concerning the configuration and use of cron and anacron?

    Which two Statements a re true concerning the configuration and use o f cron and a nacron?

    A.Anacron jobs are use d to make sure cron jobs run if the system had been dow n when the ywere meant to run.

    B.All crontabs are held in the /etc/cron.d directory.

    C.Cron jobs may run as frequently as once a minute.

    D.Anacron jobs may run as frequently as once a minute.

    E.The crond daemon looks for jobs only in /etc/c rontab.

    Explanation:

    Note: Anacron is the cron for desktops and laptops. Anacron does n ot expect the sys tem t o be running 2 4 x 7 like a s erver.When you want a background job to be executed automatically on a machine that is not running24 x 7, you should use anacron.Incorrect:not D: /etc/anacrontab file has the anacron jobs mentioned in the following format.

    period delay job-identifier command Field 1 is Recurrence period: This is a numeric value that specifies the number of days.1 – daily 7 – weekly 30 – monthly N – This can be any numeric value. N indicates number of days

    Which statement is true concerning the /etc/sysconfig directory and its files and subdirectories?

    Which statement is true concerning the /etc/sysconfig directory and its files a nd sub directories?

    A.The contents a re always the sa me for a spe cific version of the O racle Linux Kernel.

    B.The file /etc/sysconfig/init is used by upstart to control the attributes of the tty devices that getstarted.

    C.The directory /etc/sysconfig/network-scripts contains files that must not b e modified w hile thenetwo rk is up.

    D.The files o nly contain default values for certain daemon processes.

    Explanation:The /etc/sysconfig/init file controls h ow the system appears and fun ctions during theboot process.Note: The /etc/sysconfig directory contains files that control your system’s configuration. Thecontents of th is directory depend on the packages that you have installed on your sys tem

    Which three statements are true concerning the routing of IP packets?

    Examine the routing table:

    Which three statements a re true concerning the routing of IP packets?

    A.Traffic to 192.168.180.180 is routed via eth1.

    B.Traffic to 192.168.180.240 is routed via eth1.

    Posted by seenagape on July 25, 2014 1 comment

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 3 comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-concerning-the-routing-of-ip-packets/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-concerning-the-routing-of-ip-packets/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-concerning-the-routing-of-ip-packets/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-is-true-concerning-the-etcsysconfig-directory-and-its-files-and-subdirectories/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-is-true-concerning-the-etcsysconfig-directory-and-its-files-and-subdirectories/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-is-true-concerning-the-etcsysconfig-directory-and-its-files-and-subdirectories/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-concerning-the-configuration-and-use-of-cron-and-anacron/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-concerning-the-configuration-and-use-of-cron-and-anacron/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-concerning-the-configuration-and-use-of-cron-and-anacron/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    8/46

    C.Traffic to 192.168.0.42 is routed via eth2.

    D.Traffic to 192.168.42.42 is routed via eth2.

    E.Traffic to 192.168.42.42 is routed via eth0.

    F.Traffic to 192.168.180.180 is routed via eth0.

    Explanation:

    Which two Statement:; are true concerning eth0 based on this configuration?

    You have a single netwo rk adapter called eth0.DEVICE = eth0BOOTPROTO=DHCPHWADR=BC:305B:C5:63;F1NM_CONTROLLED=noONBOOT=YESTYPE=EthernetPEERDNS=noUUID=C9dba2e8-9faf-4b77-bbe2-92dd81dda1f9Which two State ment:; are true concerning eth0 bas ed o n this configuration?

    A.DHCP is used to obtain a lease on an IP address.

    B.The dhclient command may only be used to obtain a lease a t boot time.

    C.dhclient do es not override the contents of /etc/resolv.conf.

    D.DNS is not use d to resolve hos t names for this adapte r.

    E.dhclient overrides the contents of /etc/resolv.conf.

    Explanation: A: BOOTPROTO=DHCP

    C: PEERDNS=answer where answer is one of the following:yes — Modify /etc/resolv.conf if the DNS directive is set. If using DHCP, then yes is the default.no — Do not modify /etc/resolv.conf.Note: The “/etc/resolv.conf” file is used to configure the location of the DNS servers to be used for name resolution.

    Which four statements are true about the proc and sysfs filesystem?

    Which four statements are true abo ut the proc and s ysfs filesystem?

    A.The sysfs filesystem contains information about processes.

    B.

    The proc filesystem contains information about CPUs.

    C.The proc filesystem contains information about memory.

    D.The sysfs filesystem contains information ab out CPUs .

    E.The sysfs filesystem contains information about memory.

    F.The proc filesystem contains information about the installer parameters.

    Explanation:* sys fs is t he Virtual Filesystem created during the 2.6 Kernel release cycle to show device information as procfs did not do this type of information that well.Memory etc has not been ported to sysfs as it was never intended to show that type of informationso it is unlikely it will be ported at all.* s ysfs is a virtual file system provided by Linux. Sysfs exports information about devices and drivers from the kernel device model to user space, and is also used for configuration.

    which sendmail configuration database can this requirement be defined?

    Posted by seenagape on July 25, 2014 1 comment

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 No comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-sendmail-configuration-database-can-this-requirement-be-defined/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-sendmail-configuration-database-can-this-requirement-be-defined/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-sendmail-configuration-database-can-this-requirement-be-defined/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-four-statements-are-true-about-the-proc-and-sysfs-filesystem/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-four-statements-are-true-about-the-proc-and-sysfs-filesystem/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-four-statements-are-true-about-the-proc-and-sysfs-filesystem/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statement-are-true-concerning-eth0-based-on-this-configuration/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statement-are-true-concerning-eth0-based-on-this-configuration/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statement-are-true-concerning-eth0-based-on-this-configuration/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    9/46

    You want sendmail to deliver mail for these use rs:[email protected] mailbox [email protected] mailbox [email protected] mailbox jsmith3In which sendmail configuration da tabas e can this requirement be defined?

    A. /etc/a lias es

    B. /etc/mail/us erd b

    C./etc/mail/virtusertable

    D. /etc/mail/do mainta ble

    E. /etc/mail/ge ne ricsta ble

    Explanation: /etc/mail/virtusert ableThis database file maps mail addresses for virtual domains and us ers to real mailboxes. These

    mailboxes can be local, remote, aliases defined in /etc/mail/aliases, or files. This allows multiplevirtual domains to be hosted on one machine.The following example demonstrates how to create custom entries using t hat format:[email protected] root

    postma ster@ex ample.com postmas [email protected] @example.com joe

    What is the purpose of Setting AUTOINSTALL to YES /etc/uptrack.conf?

    What is the purpose of Setting AUTOINSTALL to YES /etc/uptrack.conf?

    A.To install Ksplice kernel update s during the reboot of a system

    B.To install update s to the Ksplice softwa re Itself during a syste m reboot

    C.

    To enable the uptrack cron job to install Ksplice kernel updates whene ver they becomeavailable

    D.To enable Ksplice to automatically install the kernel rpm whenever new Ksplice kernel updatesbecome available

    E.To enable Ksplice to install Ksplice kernel update s and new kernel RPMS whene ver theybecome available

    Explanation:If you’d like Ksplice Uptrack to automatically install updates as they becomeavailable, run:sh install-uptrack YOUR_ACCESS_KEY – autoinstall in place of the above install-uptrack command, or set “autoinstall = yes” in your

    /etc/uptrack/uptrack.conf after ins tallation.

    Note: Automatic updatesYou can configure your systems to automatically install updates as they become available. Toenable autoinstall, set autoinstall = yes in your /etc/uptrack/uptrack.conf, or pass the – autoinstall flag during installation.

    Autoins tall is our m ost popular configuration. It is a s calable way to ensu re that updates get installed quickly as they become available, regardless of when they are released.Please note that enabling autoinstall does not m ean the Uptrack client itself is automatically upgraded. You will be notified via e-mail when a new Uptrack client is available, and it can be

    upgraded through your package manager.

    Which two conditions should be met in order to successfully configure an openssh client on

    Oracle Linux?

    Which two conditions should be met in order to successfully configure a n ope nssh client on OracleLinux?

    A.The openssh-server package must not be installed.

    B.The openssh package must be installed.

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 No comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-conditions-should-be-met-in-order-to-successfully-configure-an-openssh-client-on-oracle-linux/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-conditions-should-be-met-in-order-to-successfully-configure-an-openssh-client-on-oracle-linux/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-conditions-should-be-met-in-order-to-successfully-configure-an-openssh-client-on-oracle-linux/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-purpose-of-setting-autoinstall-to-yes-etcuptrackconf/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-purpose-of-setting-autoinstall-to-yes-etcuptrackconf/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-purpose-of-setting-autoinstall-to-yes-etcuptrackconf/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    10/46

    C.The sshd daemon must not be started.

    D.The openssh-client package must be installed.

    E.The ssh-agent must be started.

    F.ssh keys must be gene rated by any user using the ssh client.

    Explanation:

    To connect to an OpenSSH server from a client machine, you must h ave theopenssh-clients and openssh packages installed on the client m achine.

    Which three settings are required to configure an openLdap to use directory service provided by

    Ldap.example.com?

    Which three settings are req uired to configure an op enLdap to use directory service provided byLdap.example.com?

    A.Set the LDAP Search Base DN and the LDAP server address and postin /etc/openldap/ldap.conf to:dc=example, dc = comldap://ldap.example.com:389

    B.Set LDAP Search Base DN and the LDAP server add ress a nd port in /etc/ldap.conf to:dc=example, d c=comldap://ldap.example.com:389

    C.Ensure that /etc/nsswitch.conf correctly references authentication priorities:passed: files ldapshadow: files ldapgroup: files ldap

    D.Ensure that the LDAP server name can be resolved.

    E.Ensure that DNS is used to resolve the LDAP server name.

    Explanation: A: The configuration file for the OpenL DAP libraries is /usr/local/etc/openldap/ldap.conf.

    C: In order to use LDAP naming services, you must also properly configure all LDAP client machines, in addition to modifying the ns switch.conf E: The client’s domain name m ust be s erved by the LDAP server

    What must you do to enable this user to change his password?

    Refer to the Exhibit.[root@server1 ~ # 1s -1 /usr/bin/passwd-r-x—x—x 1 root root 21200 oct 7 21:01 /usr/bin/passwd

    [root@server1 ~] # 1s -1 /etc/shadow-r – - – - – - – - 1 root root 1818 Mar 7 10:31 /etc/shadow][root@server1 ~]#A user smith is on your system complained that he is not ab le to change his pa sswo rd. As theadministrator, you long-listed the pass wd command and the /etc/shadow file.View the Exhibit that show s the output.What must you do to enable this user to change his password?

    A.Set SGID on /usr/bin/passwd.

    B.Set SUID on /usr/bin/passw d.

    C.Set sticky bit on /usr/bin/passwd.

    D.Set read and write permission for others on /etc /shadow.

    E.Set permission on /etc/shadow to 600.

    Explanation:

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 1 comment

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-must-you-do-to-enable-this-user-to-change-his-password/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-must-you-do-to-enable-this-user-to-change-his-password/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-must-you-do-to-enable-this-user-to-change-his-password/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-settings-are-required-to-configure-an-openldap-to-use-directory-service-provided-by-ldapexamplecom/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-settings-are-required-to-configure-an-openldap-to-use-directory-service-provided-by-ldapexamplecom/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-settings-are-required-to-configure-an-openldap-to-use-directory-service-provided-by-ldapexamplecom/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    11/46

    What happens if you reboot a Ksplice Uptrack-enabled system when the following conditions

    exist?

    What ha ppens if you reboot a Ksplice Uptrack-enabled system when the following conditionsexist?1. The Internet is unreachable due to a failing router.

    2. The INSTALL_ON_REBOOT property is set to YES in /etc/uptrack/uptrack.conf.

    A.The Ksplice updates are applied early in the boot sequence despite the fact that the Internet isunreachable.

    B.The Ksplice updates are not app lied during the boot se quence, but they will be app lied as soonas the Internet becomes reachable again.

    C.The updates a re not applied during the boot seq uence and w ill not be applied after the Internethas become reachable again.

    D.The system waits in the boot seque nce for the internet to become reachable aga in.

    E.The system boots to s ingle-user mode.

    Explanation:* # Automatically install updates at boot time. If this is set, on# reboot into the same kernel, Uptrack will re-install the same set of # updates that were present before the reboot.install_on_reboot = yes* To install updates automatically at boot time, the following entry must appear in

    /etc/uptrack/uptrack.conf:install_on_reboot = yes

    Which two statements are true about administering the use of the Sudo command in Oracle Linux?

    Which two sta tements are true a bout administering the us e of the Sudo command in OracleLinux?

    A.

    visudo will never save the /etc/sudoers file if there are syntax errors in the file after editing.

    B.visudo prompts for an action if there are s yntax errors in the /etc/sudoers file a fter editing.

    C.Using vi to edit /etc/sudoers opens the file read only.

    D.Multiple a dministrators may e dit the /etc/sudoers file simultaneously using visudo but only onemay save the edited result.

    E.Multiple administrators may edit the /etc/sudoers file simultaneously using vi but only one maysave the edited result.

    Explanation: A: visudo parses the s udoers file after th e edit and will not s ave the ch anges if th ereis a s yntax error.E: visudo locks the s udoers file against m ultiple simultaneous editsNote:* s udo is configured through th e file /etc/sudoers. Like with m ost Linux configuration files, any text

    following a pound sign in the su doers file is a comment. Within t he sudoers file, sets of commands,groups of users, and as sociate users or groups with command sets can be configured.* If you want t o grant certain users authority to be able to perform s pecific administrative tasks viasudo, use the visudo command to m odify the /etc/sudoers file.The sudo command offers a way to grant partial or full access t o the root account without theusers n eeding the root password.

    Which four statements are about the use of these files and directories by UPSTART?

    Which four statements are abo ut the use of these files a nd directories by UPSTART?

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 3 comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-four-statements-are-about-the-use-of-these-files-and-directories-by-upstart/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-four-statements-are-about-the-use-of-these-files-and-directories-by-upstart/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-four-statements-are-about-the-use-of-these-files-and-directories-by-upstart/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-about-administering-the-use-of-the-sudo-command-in-oracle-linux/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-about-administering-the-use-of-the-sudo-command-in-oracle-linux/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-about-administering-the-use-of-the-sudo-command-in-oracle-linux/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-happens-if-you-reboot-a-ksplice-uptrack-enabled-system-when-the-following-conditions-exist/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-happens-if-you-reboot-a-ksplice-uptrack-enabled-system-when-the-following-conditions-exist/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-happens-if-you-reboot-a-ksplice-uptrack-enabled-system-when-the-following-conditions-exist/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    12/46

    A. /etc/rc.d/rc is e xecut ed ea ch time t he /sbin /init command us u se d, to chan ge se rvicesappropriately for the target run level.

    B. /etc/rc.d/rc.loca l is exe cute d a t bo ot t ime, be fore the run le vel p roce ss ing t ake s p lace .

    C. /etc/rc.d/rc is e xecut ed at b oo t time, to sta rt the ap prop riate se rvices fo r the run le vel d efine d in /etc/inita b.

    D./etc/rc.d/rc.sysinit is executed once at boot time, regardless of which run level is set.

    E./etc/rc.d/rc.sysint is executed each time the /sbin/init command is used to change the run level.

    F./etc/rc.d/rc3.d contains links to scripts in /etc/init.d.

    G./etc/rc.d/rc is executed after /etc/rc.d/rc.local.

    Explanation:

    Which statement is true about the setting created by oracle-rdbms-server-11gR2-preinstall?

    Examine these details from the sysctl.conf file and from the proc file system:[root@FAROUT fs]# grep aio-max-nr /etc/sysctl.conf # oracle-rdbms-server-11gR2-preinstall setting for fs.aio-mx-nr is 1048576fs.aio-max-nr = 1048576[root@FAROUT fs] # cat /proc/sys/fs/aio-max-nr1048576[root@FAROUT fs] # rpm –q libaioLibaio-0.0.107-10.e16.x86_64Libaio-0.3.107-10.e76.i686Which statement is true about the s etting created by oracle-rdbms-server-11gR2-preinstall?

    A.It allows a process to request an I/O without waiting for reply.

    B.It allows two or more processes to request I/O simultaneously while running on different CPUs.

    C.It allows a process to request a single I/O without awa iting for a reply. However, if a second I/Ois requested, then the process must wait.

    D.It allows tw o or more processes to request I/Os and then to b oth be notified when both o f themcomplete.

    Explanation:

    Which two statements are true regarding the effects of Issuing this command?

    You use the chkconfig command to a dminister one of the services on your Oracle Linux system:[root@FAROUT ~]# chkconfig vncserver off

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 2 comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-regarding-the-effects-of-issuing-this-command/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-regarding-the-effects-of-issuing-this-command/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-regarding-the-effects-of-issuing-this-command/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-is-true-about-the-setting-created-by-oracle-rdbms-server-11gr2-preinstall/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-is-true-about-the-setting-created-by-oracle-rdbms-server-11gr2-preinstall/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-is-true-about-the-setting-created-by-oracle-rdbms-server-11gr2-preinstall/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    13/46

    [root@FAROUT ~] #No changes ha ve been made to the init script for the se rvice.Which two sta tements are true rega rding the effects of Issuing this command?

    A.The vncserver service is shut down.

    B.The vncserver se rvice configuration is disabled only for those run levels for which it is currentlyenabled.

    C.The vncserver service configuration is disabled for run levels 2, 3, 4 and 5.

    D.The vncserver service remains in the same sta te it wa s in before the command was issued.

    E.The vncserver service configuration is disabled for run levels 3 and 5 only.

    Explanation:Reference: http://www.oracle-base.com/articles/linux/configuring-vnc-server-on-linux.php

    What is the output from the cd, pwd, and 1s commands?

    Examine the commands use d by root to create the chrooted environments in the /jail directory:# mkdir /jail/bin/jail/lib64# cp /bin/bas h/jail/binlinux-vdso .so.1 => (0x00007fff68d ff000)libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00000033e00000)lid1.so.2 => /lib64/libc.so.6 (0x00000033e1600000)

    /lib64/id-linix-86 -64.so .2 (0x00 000 033e 0e 000 00)# 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/lib64The user root then issue s this command:

    # chroot /jailWhat is the output from the cd, pwd, and 1s commands?

    A.bash-4.1# cdbash-4.1# pwd

    /rootbash-4.1# 1sbash” 1s: command not found

    B.bash-4.1# cdbash: cd: /root: No such file or directorybash-4.1# pwd

    /bash-4.1 # 1sbash: 1s: command not found

    C.bash-4.1# cdbash: cd: command not foundbash: pw d: command not foundbash-4.1# 1s

    D.bash: 1s; # cdbash: cd: /root: unable to access chrooted file o r directory /rootbash-4.1# pwd

    /bash-4.1 # 1sbin lib64

    E.bash-4.1# cdbash: cd: /root: No such file or directorybash-4.1# pwd

    /bash-4.1# 1sbin lib64

    Explanation:

    Which program cannot be used to add another partition on this device?

    Examine the partition ta ble:

    Posted by seenagape on July 25, 2014 2 comments

    Posted by seenagape on July 25, 2014 No comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-program-cannot-be-used-to-add-another-partition-on-this-device/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-program-cannot-be-used-to-add-another-partition-on-this-device/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-program-cannot-be-used-to-add-another-partition-on-this-device/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-output-from-the-cd-pwd-and-1s-commands/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-output-from-the-cd-pwd-and-1s-commands/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-output-from-the-cd-pwd-and-1s-commands/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    14/46

    Disk /dev/sdd: 107 MBSector size (logical/physical): 512B/512B

    Partition Table: msdosNumber StartEndSizeTypeFileSystemFlags11049KB79.7MB78.6MBPrimaryWhich program cannot be used to add a nother partition on this device?

    A.fdisk

    B.cfdisk

    C.parted

    D.kpartx

    Explanation:kpartx – Create device maps from partition tablesIncorrect:Not A: fdisk (in the first form of invocation) is a menu driven program for creation and manipulationof partition tables.Not B: cfdisk is a disk partition manipulation program, which allows you to create, destroy, resize,move and copy partitions on a hard drivenot C: parted GNU Parted – a partition manipulation program

    What is the purpose of setting ONPARENT = no in an Interface configuration file located in

    /etc/sysconfig/network-scripts?

    What is the purpos e of se tting ONPARENT = no in an Interface configuration file located in /etc/s yscon fig/ne tw ork-scrip ts?

    A.To prevent a netwo rk interface from being brought up during system startup

    B.To prevent a slave netw ork interface from being brought up during system startup

    C.To prevent an alias network interface from being brought up during system startup

    D.To prevent a master netwo rk interface from being brought up d uring system startup

    Explanation:The ONBOOT directive tells the network initialization scripts not to start a giveninterface.If you need to stop a virtual interface from starting when the network interfaces are initialized, youneed to set ONPARENT instead of ONBOOT to no.

    -Reference: Keep IP Aliases from Starting at Boot

    Which three outcomes result from the execution of this command?

    You must remove the use r harhest from your Oracle Linux system because the person ha s left thecompany:User harhest has numerous files, directories, and a crontab.You issue:Userdel –r harhestWhich three outcomes res ult from the execution of this command?

    A.Files in the harhest home directory are removed.

    B.The home directory of harhest is removed.

    C.Files ow ned by narhes t in any directory are removed.

    D.

    All directories ow ned b y harhest a re removed.

    E.The /var/spool/mail/harhest mailbox is removed.

    F.crontab /var/spool/cron/harhest is removed.

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 No comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-outcomes-result-from-the-execution-of-this-command/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-outcomes-result-from-the-execution-of-this-command/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-outcomes-result-from-the-execution-of-this-command/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-purpose-of-setting-onparent-no-in-an-interface-configuration-file-located-in-etcsysconfignetwork-scripts/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-purpose-of-setting-onparent-no-in-an-interface-configuration-file-located-in-etcsysconfignetwork-scripts/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-purpose-of-setting-onparent-no-in-an-interface-configuration-file-located-in-etcsysconfignetwork-scripts/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    15/46

    Explanation:The userdel command modifies th e sys tem account files, deleting all entries that refer to the user name LOGIN. The named user must exist.

    parameter –r -r, –removeFiles in the user’s home directory will be removed along with the home directory itself and theuser’s mail spool. Files located in other file systems will have to be searched for and deleted manually.

    installs a new package

    Match the rpm options with their functions:–I a. replaces any older versions of package with the new package

    —–Ub. upgrades pa ckages, but only if an ea rlier version exists on your system–Fc. Uninstall the specified package–ed. installs a new package

    A.1-d, 2-a, 3-b, 4-c

    B.1-d, 2-b, 3-a, 4-c

    C.1-a, 2-c, 3-b, 4-d

    D.1-a, 2-b, 3-c, 4-d

    Explanation:* (1d) rpm {-i | –install} [install-options] PACKAGE_FILE…This installs a new package.* (4c) The general form of an rpm erase command isrpm {-e | –erase} [--allmatches] [--nodeps] [--noscripts] [--notriggers] [--test] PACKAGE_NAME…*(2b) rpm {-U | –upgrade} [install-options] PACKAGE_FILE…This upgrades or installs the package currently installed to a newer version. This is t he same asinstall, except all other version(s) of the package are removed after the new package is installed.*(3a) rpm {-F | –freshen} [install-options] PACKAGE_FILE…This will upgrade packages, but only if an earlier version currently exists.

    Which statement correctly describes this rule?

    Examine the line from /etc/rsyslog.conf:Mail.*-/var/log/maillogWhich statement correctly describes this rule?

    A.The rule name prefix of “-” is to lerated for syslog and syslog.sys compatibility with no impact orrsyslog behavior regardless of the global directive settings.

    B.The file na me prefix of “-” is a way o f disabling mail log message s unde r certain conditions to

    /var/log /maillog.

    C.The filename p refix of “-” is a p erformance e nhancement. It stops file s yncing on everymessage. The log certain will be the same w hether a minus prefix is used or not.

    D.The file name prefix of “-” forces file syncing after every message is logged to ensure eachmessage is written to disk force before attempting to write a subsequent message to the same file.

    Explanation:* # Log all the mail messages in one place.mail.* -/var/log/maillog* Example:To select all kernel syslog messages with any priority, add the following text into the configurationfile:kern.** Example 2:the following rule is comprised of a selector that selects all cron syslog messages and an actionthat saves them into the /var/log/cron.log log file:cron.* /var/log/cron.logNote:* For those files that are controlled by the system logging daemon rsyslogd, the main configurationfile is /etc/rsyslog.conf, which contains global directives, module directives, and rules.* The main configuration file for rsyslog is /etc/rsyslog.conf. Here, you can specify global directives, modules, and rules that consist of filter and action parts.* The m ost us ed and well-known way to filter syslog messages is to u se th e facility/priority-based filters which filter syslog messages based on two conditions: facility and priority separated by acomma. To create a selector, use the following syntax:FACILITY.PRIORITY where:

    Posted by seenagape on July 25, 2014 1 comment

    Posted by seenagape on July 25, 2014 No comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-correctly-describes-this-rule/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-correctly-describes-this-rule/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-correctly-describes-this-rule/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/installs-a-new-package-3/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/installs-a-new-package-3/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/installs-a-new-package-3/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    16/46

    FACILITY specifies the subsystem that produces a s pecific syslog message.PRIORITY specifies a priority of a syslog message.You may also use an asterisk (*) to define all facilities or priorities (depending on where you placethe asterisk, before or after the comma).

    Which two statements are true concerning a GUID Partition Table (GPT)?

    Which two statements are true concerning a GUID Partition Table (GPT)?

    A.It supports named disk partitions.

    B.It supports primary and extended partitions.

    C.It supports disks greater than two terabytes.

    D.It cannot be used on the system disk.

    E.It supports only up to 16 pa rtitions.

    Explanation:

    not B, not E: On GUID Partition Table (GPT) hard disks, you can configure up to 128 partitionsand there is no concept of extended or logical partitions.Not D: You cannot boot from a GPT disk.

    Which statement is true about users?

    Examine the extract of the /etc/nologin file and the /etc/pam.d/login file on server1:[root@server1 ~] # cat /etc/nologinbo bsmith[root@server1 ~] # cat /etc/pam.d/loginaccountrequiredpam_nologin.soaccountincludesystem-authWhich statement is true about users?

    A.

    Only the root user can log in to the system.

    B.Only users root bob and smith would be unable to log in to the system.

    C.All users, including the root user, would be permitted to log in to the system.

    D.All users, including the root user, would be unable to log in to the system.

    Explanation:auth required pam_nologin.so — This is the final authentication step. It checkswhether the /etc/nologin file exists. If it exists and the us er is not root, authentication fails.* The /etc/nologin file contains the m essage displayed to users attempting to log on to a machinein the process of being shutdown.* the login program defines its service name as login and installs the /etc/pam.d/login PAM

    configuration file.

    Which two statements correctly describe the type of Information and the behavior of files in the

    proc filesystem on Oracle Linux 6?

    Which two s tatements correctly describe the type of Information and the be havior of files in theproc filesystem on Oracle Linux 6?

    A.It is not possible to write to any file in the proc filesystem.

    B.The /proc/cmdline file contains the parameters passed to the kernel.

    C.Each process ha s a directory named for the p rocess number in the proc filesystem.

    D.The proc filesystem contains the same hardw are information that is contained in the sysfilesystem for backward compatibility.

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 No comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-correctly-describe-the-type-of-information-and-the-behavior-of-files-in-the-proc-filesystem-on-oracle-linux-6/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-correctly-describe-the-type-of-information-and-the-behavior-of-files-in-the-proc-filesystem-on-oracle-linux-6/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-correctly-describe-the-type-of-information-and-the-behavior-of-files-in-the-proc-filesystem-on-oracle-linux-6/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-is-true-about-users-2/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-is-true-about-users-2/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-is-true-about-users-2/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-concerning-a-guid-partition-table-gpt/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-concerning-a-guid-partition-table-gpt/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-concerning-a-guid-partition-table-gpt/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    17/46

    E.Each process thread ha s a d irectory named for the process thread number in the procfiles/stem.

    Explanation:B: proc/cmdlineThis file shows th e parameters passed to the kernel at the time it is s tarted. A sample

    /proc/cmdline file looks like the following:ro root=/dev/VolGroup00/LogVol00 rhgb quiet 3Note:

    /proc is very special in that it is als o a virtual filesys tem. It ’s som etimes referred to as a processinformation pseudo-file s ystem. It doesn’t contain ‘real’ files but runtime s ystem information (e.g.system memory, devices mounted, hardware configuration, etc). For this reason it can be

    regarded as a control and information centre for the kernel. In fact, quite a lot of system utilities aresimply calls to files in this directory.

    Which four statements are true concerning the various stages of GRUB bootloader in Oracle

    Linux?

    Which four statements are true concerning the various stages of GRUB bootloader in OracleLinux?

    A.GRUB stage1 must always load s tage1_5.

    B.GRUB stage 1_5 is use d to process the /boot/grub/grub.conf file.

    C.GRUB stage1_5 loads GRUB stage2.

    D.GRUB stage1 may load GRUB stage2 directly.

    E.GRUB stage1 provides support for several different filesystems, enabling stage1 to loadstage1_5.

    F.GRUB stage 1_5 provides suppo rt for several different filesystems, enabling stage1_5 to loadstage2.

    G.GRUB stage2 is used to process the /boot/grub/grub.conf file.

    Explanation:CD: Stage 1 code is stored in the MBR. This code contains a block list that points tothe next s tage of GRUB, which is either s tage1_5 or stage 2, depending on the file system type.E(not F): Stage1_5 code allows GRUB to interpret different types of file systemG (not B): Stage 2 code reads /boot/grub/grub.conf to determine how to load the kernel.Incorrect:Not A:. For some file syst em types su ch as ext4, GRUB does not n eed to load stage1_5.

    Identify two recommended solutions to this problem.

    Examine the commands and output w hen trying to start OSWa tcher Black Box.

    Identify two recommended solutions to this problem.

    A.Edit the startOSWbb.sh script to specify your proffered shell, ensuring that it is started in POSIXcompliance mode.

    B.

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 1 comment

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/identify-two-recommended-solutions-to-this-problem/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/identify-two-recommended-solutions-to-this-problem/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/identify-two-recommended-solutions-to-this-problem/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-four-statements-are-true-concerning-the-various-stages-of-grub-bootloader-in-oracle-linux/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-four-statements-are-true-concerning-the-various-stages-of-grub-bootloader-in-oracle-linux/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-four-statements-are-true-concerning-the-various-stages-of-grub-bootloader-in-oracle-linux/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    18/46

    Install ksh on the system, if not currently installed.

    C.Create a Symbolic link /usr/bin/ksh that points to /bin/bash.

    D.Ensure that ksh is accessible w ith the pa th /usr/bin/ksh. Create a s ymbolic link if necessary.

    E.Create a she ll alias called /usr/bin/ksh that e xpands to /bin/bash.

    Explanation:

    Identify two true statements about the nice command.

    Identify two true s tatements abo ut the nice command.

    A.It may the use d to raise the priority of existing processes.

    B.It may be used to se t the initial priority of a process.

    C.A higher nice value makes a process run at a lower priority.

    D.By default, a normal user can make a process run at a higher priority.

    E.It may be used to lower the priority of existing processes.

    Explanation:nice – run a program with modified scheduling priority.Synopsisnice [OPTION] [COMMAND [ARG]…]DescriptionRun COMMAND with an adjusted niceness, which affects process scheduling. With noCOMMAND, print the current niceness. Nicenesses range from -20 (most favorable scheduling) to19 (least favorable).

    Which statement is true when you plug in the eth1 network cable?

    Examine the output of a bo nded interface configuration from which one netw ork cable has bee nunplugged:# cat /proc.net/bonding/bond0Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)Bonding Mode: fault-tolerance (active-backup)Primary Slave: NoneCurrently Active Slave: eth2MII Status: upMII poling interval (ms): 100Up Dela y (ms): 0

    Down Delay (ms): 0Slave Interface: eth1MII status: downLink Failure Count: 1Permanent HW addr: 00:0c:29:7b:3c:71

    Slave Queue ID: 0Slave Interface: eth2MII Status: upLink Failure Count: 0Permanent HW addr: 00:0c:29:7b:3s:7bWhich statement is true when you plug in the eth1 network cable?

    A.The status of the slave interface eth1 changes to up and is promoted to the active slave andeth2 becomes the backup slave.

    B.The status of the slave interface eth1 changes to up a nd becomes a se cond active slave.

    C.The status of the slave interface eth1 changes to up b ut must be manually assigned the a ctiveor backup slave role.

    D.The status of the slave interface eth1 changes to up a nd becomes the backup slave.

    Explanation:

    Which three statements are true about the shared directories defined in the /etc/exports file?

    Posted by seenagape on July 25, 2014 1 comment

    Posted by seenagape on July 25, 2014 No comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-about-the-shared-directories-defined-in-the-etcexports-file/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-is-true-when-you-plug-in-the-eth1-network-cable/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-is-true-when-you-plug-in-the-eth1-network-cable/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-statement-is-true-when-you-plug-in-the-eth1-network-cable/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/identify-two-true-statements-about-the-nice-command/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/identify-two-true-statements-about-the-nice-command/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/identify-two-true-statements-about-the-nice-command/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    19/46

    Which three statements a re true about the shared directories defined in the /etc/exports file?

    A.By default, a directory is shared with no root squa shed.

    B.By default, a directory is shared read w rite.

    C.By default, a directory is shared with root squashed.

    D.By default, a directory is shared read only.

    E.By default, a directory is shared sync.

    Explanation:C (not A): Very often, it is not desirable that the root user on a client machine is alsotreated as root when accessing files on the NFS server. To this end, uid 0 is normally mapped to a

    different id: the so-called anonymous or nobody uid. This mode of operation (called ‘root squashing’) is the default, and can be turned off with no_root_squash.E: In releases of nfs-utils up to and including 1.0.0, the async option was th e default. In all releases after 1.0.0, sync is the default, and async mu st be explicitly requested if needed.

    Which three statements are true when using the Anaconda Installer to install Oracle Linux?

    Which three statements a re true whe n using the Anaconda Insta ller to install Oracle Linux?

    A.Unattende d installation is only possible if installing the Unbrea kable Enterprise kernel.

    B.The installation may be done from an NFS-mounted Image.

    C.Unattended installation is only possible if installing the Red Hat-compatible kernel.

    D.The installation may be do ne from a USB de vice.

    E.The installation may be done in text or graphical mode.

    Explanation:C: The Red Hat Enterprise Linux ins tallation process automatically writes a Kickstart file that contains the settings for the installed system. This file is always saved as /root/anacondaks.cfg. You may usethis file to repeat the installation with identical settings, or modify copies tospecify settings for other systems .E: Anaconda offers a text-mode and GUI mode.

    Which two statements are true?

    You use the ho st command to find out a bout host na me WAYOUT:

    Which two statements are true?

    A.

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 1 comment

    Posted by seenagape on July 25, 2014 No comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-101/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-101/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-101/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-when-using-the-anaconda-installer-to-install-oracle-linux/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-when-using-the-anaconda-installer-to-install-oracle-linux/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-when-using-the-anaconda-installer-to-install-oracle-linux/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-about-the-shared-directories-defined-in-the-etcexports-file/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-about-the-shared-directories-defined-in-the-etcexports-file/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    20/46

    Example.com is an authoritative name se rver.

    B.Dns1.example.com is an authoritative name server.

    C.Dns2.example.com is a Cache-only name server.

    D.Dns2.example.com is an authoritative name sever.

    E.Dns1.example.com is a cache-only name server.

    Explanation:

    Which three statements are true about the configuration of OpenLdap secure encrypted

    connections?

    Which three sta tements are true about the configuration of OpenLdap s ecure encryptedconnections?

    A.TLS and ldaps should not both be selected.

    B.To enab le idaps, you must download the Ce rtifying Authority (CA) Certificate.

    C.To enable TLS, you must download the Certifying Authority (CA) Certificate.

    D.The certificate is needed to verify ownership of the secret key used for encryption.

    E.There is a command-line alternative to the Authentication Configuration Tool to enab le theencrypted LDAP communication.

    Explanation:Transport Layer Security (TLS) can be used to provide data integrity and confidentiality protection. OpenLDAP supports negotiation of TLS (SSL) via both StartTLS and

    ldaps://.

    Which two actions should be completed when the firstboot utility runs under runlevel 5 in Oracle

    Linux?

    Which two a ctions sho uld be completed w hen the firstboot utility runs unde r runlevel 5 in OracleLinux?

    A.Agreeing to the license agreement

    B.Registering for software upda ted

    C.Creating a nonadministrative user

    D.setting the current date and time to be synchronized with an NTP server

    E.Configuring the dtrace facility

    Explanation:Performing FirstBoot Configuration TasksFirstBoot runs only after an initial installation and guides you through th e various remainingconfiguration tas ks.Click Forward to display the Create User window.Click Forward to display the Date and Time window.Click Forward to display the Kdump window.Click Finish to complete FirstBoot configuration and display the graphical login screen

    Which two statements are true about the Unbreakable Linux Network (ULN)?

    Which two sta tements are true a bout the Unbrea kable Linux Network (ULN)?

    A.It is freely available to all Oracle Linux customers.

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 No comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-about-the-unbreakable-linux-network-uln/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-about-the-unbreakable-linux-network-uln/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-about-the-unbreakable-linux-network-uln/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-actions-should-be-completed-when-the-firstboot-utility-runs-under-runlevel-5-in-oracle-linux/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-actions-should-be-completed-when-the-firstboot-utility-runs-under-runlevel-5-in-oracle-linux/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-actions-should-be-completed-when-the-firstboot-utility-runs-under-runlevel-5-in-oracle-linux/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-about-the-configuration-of-openldap-secure-encrypted-connections/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-about-the-configuration-of-openldap-secure-encrypted-connections/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-about-the-configuration-of-openldap-secure-encrypted-connections/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    21/46

    B.It contains additional packages not found on the installation media.

    C.It contains only binary RPM packages.

    D.It contains both source and binary RPM packages.

    E.It is the only location to dow nload errata.

    F.

    All Unbreakable Linux subscribers are a llowe d to d eploy a local YUM repository.

    Explanation:B: ULN subscribers will find security updates and additional bugfixes for kernel and other packages. They will also be able to download useful extra packages not included in the

    original distribution.D: You can also select to download the source RPM in addition to the binary RPMs.Incorrect:not A: How do I obtain a login for Unbreakable Linux Network (ULN)? You may register for a ULN account via linux.oracle.com/register You will need the following:

    An Oracle.com Single Sign on account. If you don ’t have one already, th e link above will guide youthrough the steps t o create one

    A valid Oracle Linux su pport or Oracle VM support CSI (custom er support ident ifier). You may purchas e Oracle Linux or Oracle VM su pport online via the Oracle Lin ux Store or via your salesrepresentative.

    Which two statements are true about the MD0 RAID set?

    Examine the content of the mdstat pse udo file:# cat /proc/msstatpersonalities: [raid1] [raid0] [raid6] [raid5] [raid4]md0 : active raid1 md2[1] md1[0]207680blocks super 1.2 [2/2] [UU]md2 : activeraid0 sdg[1] sdf1[0]207872blocks super 1.2 512k chinksMd1 :active raid0sde1[1] sdd1[0]207872blocks s uper 1.2 512k chunksUnused d evices: Which two sta tements are true a bout the MD0 RAID set?

    A.MDO is a stripped mirror RAID set.

    B.MDO is a mirrored stripped RAID set.

    C.If MD1 fails, so w ill MDO.

    D.If MD2 fails, MDO too fails.

    E.If /dev/sdd1 and /dev/sdg1 fail, MDO fails.

    Explanation:MD0 is active and raid1. Md2 and md1 is spare. So it is a stripped mirror RAID set.

    Since both depends on MD0, if MD2 fails, MD0 will fail too.Reference: http://linuxwiki.de/proc/mdstat

    Which three statements are true about the logging done through these commands?

    Examine these commands used to control UPSTART logging:[root@FAROUT init] # initctl log-priority info[root@FAROUT init] # initctl log-priorityInfo[root@FAROUT init]#Which three sta tements are true about the logging done through these commands?

    A.UPSTART logs State Changes to /vat/log/messages.

    B.UPSTART logs job goals to /var/log/massa ges.

    C.UPSTART logs only informational messages about warnings and e rrors to /var/log/messages.

    D.UPSTART logs only informational messag es about warnings to /var/log/messages.

    Posted by seenagape on July 25, 2014 3 comments

    Posted by seenagape on July 25, 2014 1 comment

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-about-the-logging-done-through-these-commands/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-about-the-logging-done-through-these-commands/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-about-the-logging-done-through-these-commands/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-about-the-md0-raid-set/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-about-the-md0-raid-set/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-statements-are-true-about-the-md0-raid-set/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    22/46

    E.UPSTART logs event emissions to /var/log/messages.

    Explanation:

    Which three statements are correct about NFSV4?

    Which three state ments are correct about NFSV4?

    A.

    It relies on the LOCKD and RPC.STATD daemons to perform file locking.

    B.It uses a single port (2049) for all client/server communications.

    C.The UID and GID for a particular user must be the sa me on both client and server to avoid fileowne rship problems.

    D.It has support for filesystem quotas.

    E.RPC.IDMAPD is used to map a UID to its username and a GID to its group name and viceversa.

    Explanation:D: rpc.rquotadProvides quota information for the quota command to display user quotas for remote file systemsand the edquota command to set quotas on remote file systems .E: Setting up idmapd for static UID/GID mapping is a matter of 6 – 8 (at most) trivial configurationlines in /etc/idmapd.conf Incorrect:not A: The mounting and locking protocols are also integrated into the NFSv4 protocol, so thelockd and rpc.statd services are also not required.

    Which three statements are true about rpm package dependencies?

    Which three statements are true about rpm package dependencies?

    A.

    The RPM command can dete ct only direct package depend encies.

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

    C.The YUM command can de tect and resolve direct and indirect package depe ndencies.

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

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

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

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

    packages.

    What is the effect of the enabled=0 setting?

    Examine the channel specification in the /etc/yum.repos.d/public-yum-016.repo file:# head -6 /etc/yum.repos.d/public-yum-016.repo[016_latest]

    Name=Oracle Linux $release ver Latest ($basearch)Baseurl=http://public-yum.oracle.com/repo/oracleLinux/OL6/latest/$basearch/

    Gpgkey=http://public-yum.oracle.com/RPM-CPG-KEY-oracle-o16Gpgcheck=1Enabled=0What is the e ffect of the enab led=0 setting?

    A.This channel is disabled a nd cannot be used by YUM at all.

    Posted by seenagape on July 25, 2014 1 comment

    Posted by seenagape on July 25, 2014 No comments

    Posted by seenagape on July 25, 2014 3 comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-effect-of-the-enabled0-setting/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-effect-of-the-enabled0-setting/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-effect-of-the-enabled0-setting/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-about-rpm-package-dependencies/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-about-rpm-package-dependencies/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-true-about-rpm-package-dependencies/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-correct-about-nfsv4/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-correct-about-nfsv4/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-are-correct-about-nfsv4/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    23/46

    B.This channel will not be used by YUM when searching for packages.

    C.By default, YUM will not use this channel but this can be overridden on the command line.

    D.This channel w ill not be used by YUM when it se arches for packages, but YUM will check ifupdates exist for packages already installed from this channel.

    Explanation:Disable YUM Repo (Repository)Disable YUM Repo

    Edit repo file on /etc/yum.repos.d/ as root and change enabled to 0## Changeenabled=1## Toenabled=0

    Which three statements correctly describes the purpose of and administration of kernel boot

    parameters in Oracle Linux?

    Which three state ments correctly describes the purpose of and administration of kernel bootparameters in Oracle Linux?

    A.Kernel boot parameters may be specified in /boot/grub/grub/conf.

    B.Kernel boot parameters used to boot the running system may be examined after boot byViewing /boot/grub/grub/conf.

    C.Kernel boot parameters used to bo ot the running system may be examined after boot byviewing /proc/cmdline.

    D.Additional kernel boot parameters may be specified in an a dministrator-specified parameter filethat is read by grub stage.

    E.Additional kernel boot parameters may be specified from the grub command line.

    F.Additional kernel boot parameters may be specified in an a dministrator-specified parametersthat is read b y GRUB stage1_5.

    Explanation:* GRUB requires only the file name and drive partitions to load a kernel. You canconfigure this information by editing the /boot/grub/grub.conf file, by using the GRUB menu, or by entering it on the command line.

    Which three options are available during the Anaconda installer disk partitioning setup stage for a

    machine with only one hard disk device?

    Which three options are a vailable during the Anaconda installer disk partitioning setup sta ge for amachine w ith only one hard disk de vice?

    A.Manual resizing of existing partitions on only a single dev ice

    B.Removal of all empty partitions only, leaving any Linux or non-Linux partitions unchanged

    C.Replacing of existing Linux partitions only and leaving any other partitions unchanged

    D.Replacing of existing non-Linux partitions only, and leaving any Linux pa rtitions unchanged

    E.Manual resizing of existing partitions on all selected devices

    F.Removal of all existing partitions and creating new partitions to suit the install

    Explanation: A: Shrink Current SystemSelect this option to resize your current data and partitions manually and install a default Red Hat Enterprise Linux layout in the s pace that is freed.C: Replace Existing Linux System(s)Select this option to remove only partitions created by a previous Linux installation. This does not remove other partitions you may have on your hard drives (such as VFAT or FAT32 partitions).

    Posted by seenagape on July 25, 2014 1 comment

    Posted by seenagape on July 25, 2014 No comments

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-options-are-available-during-the-anaconda-installer-disk-partitioning-setup-stage-for-a-machine-with-only-one-hard-disk-device/#respondhttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-options-are-available-during-the-anaconda-installer-disk-partitioning-setup-stage-for-a-machine-with-only-one-hard-disk-device/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-options-are-available-during-the-anaconda-installer-disk-partitioning-setup-stage-for-a-machine-with-only-one-hard-disk-device/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-correctly-describes-the-purpose-of-and-administration-of-kernel-boot-parameters-in-oracle-linux/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-correctly-describes-the-purpose-of-and-administration-of-kernel-boot-parameters-in-oracle-linux/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-three-statements-correctly-describes-the-purpose-of-and-administration-of-kernel-boot-parameters-in-oracle-linux/

  • 8/17/2019 Exam 1z0 100 Oracle Linux 5 and 6 System Administration

    24/46

    F: Replace Existing Linux System(s)Select this option to remove only partitions created by a previous Linux installation. This does not remove other partitions you may have on your hard drives (such as VFAT or FAT32 partitions).Note:

    Which two steps should be performed to permit using SSH, SCP, or SFTP commands by the

    ORACLE account on the host FAROUT…?

    Which two s teps should be performed to permit using SSH, SCP, or SFTP commands by theORACLE account on the hos t FAROUT to the oracle account on the ho st WAYOUT withoutsupplying a password?

    A.The oracle account user on host FAROUT must issue a n ssh-keygen command to generatepublic and private key files in the ~ oracle/.ssh directory FAROUT.

    B.The oracle account user on the host WAYOUT must issue an ssh-keygen command togenerate public and private key files in the ~/oracle.ssh directory on WAYOUT.

    C.The Oracle account user o n host FAROUT must add the contents of ~/oracle/.ssh/id_dsa.pubor ~/oracle/.ssh/is_rsa.pub file to the ~/oracle/.ssh/authorized_keys file on host WAYOUT.

    D.The Oracle account user on hos t WAYOUT must add the contents of ~/oracle/.ddh/id_dsa or~/oracle/.ssh/id_rsa.pub file to the ~/oracle/.ssh/authorized_keys file on host FAROUT.

    E.The oracle account user on host WAYOUT must set the permissions on the~/oracle/.ssh/authorized_keys file to 644.

    F.The Oracle account user on host FAROUT must set the permissions in~/oracle/.ssh/authorized_keys file 644.

    Explanation:

    What is the effect of the command?

    Your Oracle Linux se rver has a netwo rk interface e th0 but the ifcfg-eth0 file is missing from the /etc/s yscon fig/ne tw ork-scrip ts d irectly.To set the IP address for the interface, you run this command a s root:[root@station1]# ifconfig eth0 192.168.0.1 upWhat is the effect of the command?

    A.The IP address 192.168.0.1 is not assigned to e th0 because the netmask is not specified.

    B.The IP address 192.168.0.1 is assigned to e th0, but the interface is not activated until thenetwo rk service is reloaded.

    C.The IP address 192.168.0.1 is assigned to e th0, but the interface is not activa ted until thenetwork service is restarted.

    D.

    The IP address 192.168.0.1 is assigned to echo w ith the default netmask for that addres s, andthe interface is activated immediately.

    Explanation:

    Why is the oracle user denied access to the FTP server on the 016.example.com host?

    Examine this output:

    $ ftp o16.example.comConnected to o16.example.com (192.168.40.131)220 (vsFTpd 2.2.2)Name (o16.e xample.com:oracle):A carriage return is now entered o n the keyboard and the result is shown:$ 30 permission denied.

    Login failed.ftp>Why is the oracle user de nied access to the FTP server on the 016.example.com host?

    A.The Oracle user is listed in /etc/vsftpd/ftpusers.

    B.

    Posted by seenagape on July 25, 2014 1 comment

    Posted by seenagape on July 25, 2014 2 comments

    Posted by seenagape on July 25, 2014 1 comment

    http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/why-is-the-oracle-user-denied-access-to-the-ftp-server-on-the-016examplecom-host/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/why-is-the-oracle-user-denied-access-to-the-ftp-server-on-the-016examplecom-host/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/why-is-the-oracle-user-denied-access-to-the-ftp-server-on-the-016examplecom-host/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-effect-of-the-command/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-effect-of-the-command/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/what-is-the-effect-of-the-command/http://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-steps-should-be-performed-to-permit-using-ssh-scp-or-sftp-commands-by-the-oracle-account-on-the-host-farout-to-the-oracle-account-on-the-host-wayout-without-supplying-a-password/#commentshttp://localhost/var/www/apps/conversion/tmp/scratch_2/oracle/which-two-steps-shou