• No results found

Exam 1z0 100 Oracle Linux 5 and 6 System Administration

N/A
N/A
Protected

Academic year: 2021

Share "Exam 1z0 100 Oracle Linux 5 and 6 System Administration"

Copied!
46
0
0

Loading.... (view fulltext now)

Full text

(1)

CheckPoint Cisco CIW CompTIA CWNP EC-Council ISC2 Juniper Linux Microsoft Oracle Sun VMWare EMC Exin Isilon PMI HP IBM ISACA

Oracle Questions & Answers

J 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 fe e d for this se ction This ca te gory conta ins 108 posts

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

Administration

which is then used to boot Oracle Linux?

W hich tw o sta te me nts a re true conce rning the insta lla tion a nd configura tion of the bootloa de r by the Ana conda insta lle r, w hich is the n use d to boot Ora cle Linux?

A.

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

B.

The bootloa de r must be pa ssw ord prote cte d a nd Ana conda prompts for a pa ssw ord in a ll ca se s.

C.

The Gra nd Unifie d Bootloa de r (GRUB) is the only bootloa de r use d by Ora cle Linux. D.

If pre viously insta lle d ope ra ting syste ms a re found on disk pa rtitions tha t w e re not ove rw ritte n, the n a n a tte mpt is ma de to configure the bootloa de r to be a ble to boot the m.

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 the root filesystem is mounted, /sbin/init is executed and continues booting the system using inittab and /etc/rc*.d scripts

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

You w a nt to displa y the va lue of a she ll va ria ble ca lle d se rvice a fte r a ssigning a va lue a s show n: SERVICE =ACCT S

W hich tw o se ttings w ill displa y the na me of the va ria ble a nd its va lue ? A.

se t | gre p se rvice B.

echo $SERVICE

C.

env | grep SERVICE

D.

e nv $SERVICE E.

se t $SERVICE

Explanation:

C: env – set the environment for command invocation

If no utility operand is specified, the resulting environment shall 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?

W hich sta te me nts is true conce rning Ora cle Linux configura tion file s for use rs a nd groups? A.

The /e tc/pa ssw d file conta ins ha she d pa ssw ords for e a ch use r. B.

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

C.

The GECOS fie ld in /e tc/pa ssw d file ma y be e mpty. D.

The /e tc/group file conta ins the group na me a nd the ha she d group pa ssw ord.

Poste d by se e na ga pe on July 25, 2014 No comme nts

Poste d by se e na ga pe on July 25, 2014 2 comme nts

(2)

Explanation:

/etc/shadow file stores actual password in encrypted (one-way hashed) format for user’s account with additional properties related to user password i.e. it stores secure user account information

What is the conclusion?

Exa mine the se sta te me nts a nd the ir output ta ke n right a fte r succe ssful insta ll of Ora cle Linux: [root@FAROUT /] rpm –q firstboot

Firstboot -1.110.10-1.0.2.e 16.x86_64 [root @FAROUT /] # chkconfig – - list firstboot Firstboot 0:off 2:off 3:off 4:off 5:off 6;off [root@FAROUT /] # /e tc/sysconfig/firstboot RUN_FIRSTBOOT=NO

W ha t is the conclusion? A.

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

B.

The syste m w a s insta lle d w ith de sktop gra phica l pa cka ge s a nd re boote d a nd the firstboot utility ra n succe ssful.

C.

Firstboot ne ve r ra n in a ny run le ve l be ca use the se rvice is turne d off for a ll run le ve ls. D.

The syste m w a s insta lle d w ithout se le cting de sktop gra phica l pa cka ge s, the re by disa bling firstboot 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 running when we restart or reboot the Fedora machine.

[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 Fedora startup/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?

W hich thre e se ttings ca n be controlle d by using the cha ge bre e ma r comma nd a s the root use r, to modify the pa ra me te rs in the /e tc/sha dow file ?

A.

The expiration date of the breemar account

B.

The numbe r of da ys a fte r the bre e ma r a ccount is locke d, tha t it be come s e xpire d C.

The maximum number of days that must elapse between password changes by the user breemar before the password becomes invalid

D.

The numbe r of da ys a fte r the bre e ma r a ccount is locke d, tha t it be come s unlocke d E.

The minimum number of days that must elapse between password changes by the user breemar

F.

The ma ximum numbe r of fa ile d login a tte mpts on the bre e ma r a ccount be fore the a ccount is locke d

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 password aging.

The chage command changes the number of days between password changes

and the date of the last password change. This information is used by the system to determine when a user must change his/her password.

Poste d by se e na ga pe on July 25, 2014 2 comme nts

(3)

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

and server?

Exa mine this e xtra ct from the /e tc/ssh/sshd_config file : pa ssw ordAuthe ntica tion no

W ha t is the e ffe ct of this pa ra me te r se ttings on the use of ope nSSH comma nds on both the clie nt a nd se rve r?

A.

Pa ssw ords a re not re quire d a nd no ssh-ke yge n is re quire d e ithe r. Only pa ssphra se a re re quire d.

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 da e mon doe s not a sk for a pa ssw ord be fore sta rting or stopping the sshd se rvice . D.

Clie nt use rs w hose ke ys a re not in the a uthorize d_ke ys file on the clie nt a re una ble to use pa ssw ords to a uthe ntica te the mse lve s to the se rve r.

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).

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

W hich four sta te me nts a re true a bout softw a re on the Ora cle Public YUM se rve r? A.

It conta ins Ora cle Linux insta lla tion ISO ima ge s. 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 conta ins be ta Ora cle Linux softw a re pa cka ge 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 yum client.

Oracle provides all errata and updates for Oracle Linux via the Public Yum service, which includes updates 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 system with ULN, the public yum service is automatically disabled.

Which two aspects can be determined from this output?

This MDADM output:

Poste d by se e na ga pe on July 25, 2014 No comme nts

Poste d by se e na ga pe on July 25, 2014 No comme nts

(4)

W hich tw o a spe cts ca n be de te rmine d from this output? A.

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

B.

It is no longe r possible to w rite to this RAID se t. C.

Re a d a nd w rite pe rforma nce is no longe r optima l on this RAID se t. D.

This RAID set was built without a spare device.

E.

Only W rite pe rforma nce is no longe r optima l on this RAID se t.

Explanation:

Which two statements are true about the modprobe command?

Exa mine the comma nd on its output: [root@FAROUT ~] # modprobe –v nfs

Insmod /lib/module s/2.6.39-100.0.12.e 16ue k.x86_64/ke rne l/fs/nfs_common/nfs_a cl.ko insmod /lob/module s/2.6.39-100.0.12.e 16ue k.x86_64/ke rne l/ne t/sunrpc/a uth_gss/a uth_rpcgss.ko Insmod /lib/module s/2.6.39-100.0.12.e 16ue k.x86_64/ke rne l/fs/fsca che /fsca che /ko Insmod /lib/module s/2.6.39-100.0.12.e 16ue k.x86_64/ke rne l/fs/locke d.ko Insmod /lib/module s/2.6.39-100.0.12.e 16ue k.x86_64/ke rne l/fs/nfs/nfs.ko W hich tw o sta te me nts a re true a bout the modprobe comma nd? A.

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

B.

It displa ys the de pe nde ncy re solution for the nfs module a nd loa ds a ll the module s upon w hich nfs de pe nds be fore loa ding the nfs module .

C.

It ve rifie s tha t the nfs module a nd a ll othe r module s tha t de pe nd on the nfs module a re insta lle d.

D.

It displa ys the de pe nde ncy re solution tha t w ould occur if the nfs module w e re to be loa de d using modprobe nfs.

E.

It only loa ds the nfs module if a ll the module s upon w hich it de pe nds ha ve not be e n loa de d ye t.

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

(5)

Hat compatible kernel?

W ha t is the ma in a dva nta ge of the Ora cle Unbre a ka ble Ente rprise Ke rne l compa re d w ith the Re d Ha t compa tible ke rne l?

A.

It is more se cure a nd, the re fore , more difficult to ha ck. B.

It ha s a low e r Me a n Time Be tw e e n Fa ilure s. C.

It provide s highe r a va ila bility for a pplica tions by re ducing Me a n Time to Re cove ry. 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 from

mainline 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?

Exa mine this output: # df –t nfs

File syste mSize Use dAva ilUse %Mounte d on o16:e xport30G21G7.6G74%/mnt # 1s -1 /mnt/nfs.sh

-rw xr-mr-x. 1 root root 22 Ma y 8 16:37 /mnt/nfs.sh # file /mnt/nfs.sh

/mnt/nfs.sh: Bourne -Aga in she ll script te xt e xe cuta ble s # /mnt/nfs.sh

ba sh: /mnt/nfs.sh: Pe rmission de nie d W ha t is the re a son for the e rror? A.

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

B.

The /e xport file syste m w a s mounte d w ith the NOEXEC option on host o16. C.

The file syste m mounte d on /mnt w a s mounte d w ith the NOEXEC option. D.

The file syste m w a s e xporte d on host o16 by 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?

W hich tw o softw a re pa cka ge s a re pre re quisite s for e na bling the configura tion a nd use of a Ne tw ork informa tion Se rvice (Nis) clie nt?

A. nis-tools B. sla pi-nis C. ypbind D. nisse rv E. nisbind F. yp-tools Explanation:

C: ypbind finds the server for NIS domains and maintains the NIS binding

information. The client (normaly the NIS routines in the standard C library) could get the information over RPC from ypbind or read the binding files.

Poste d by se e na ga pe on July 25, 2014 No comme nts

Poste d by se e na ga pe on July 25, 2014 2 comme nts

(6)

E: Setting up a NIS master server:

Required packages: yp-tools ypbind ypserv portmap

What is the outcome of running this command?

You re ce ntly upda te d the stra ce pa cka ge to the la te st ve rsion a s show n:

W ha t is the outcome of running this comma nd? A.

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

B.

It dow ngra de s stra ce pa cka ge to ve rsion 4.5.19-1.11.e 16_3.2. C.

It fa ils w ith a n e rror be ca use you ca nnot dow ngra de a pa cka ge using the yum comma nd. D.

It fa ils w ith a n e rror be ca use the re a re multiple ve rsions a va ila ble to w hich Yum ca n dow ngra de the stra ce pa cka ge .

E.

It w ill prompt you to se le ct a ve rsion of the stra ce pa cka ge tha t you w a nt to dow ngra de .

Explanation:

(7)

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

W hich tw o Sta te me nts a re true conce rning the configura tion a nd use of cron a nd a na cron? A.

Ana cron jobs a re use d to ma ke sure cron jobs run if the syste m ha d be e n dow n w he n the y w e re me a nt to run.

B.

All cronta bs a re he ld in the /e tc/cron.d dire ctory. C.

Cron jobs may run as frequently as once a minute.

D.

Ana cron jobs ma y run a s fre que ntly a s once a minute . E.

The crond daemon looks for jobs only in /etc/crontab. Explanation:

Note: Anacron is the cron for desktops and laptops.

Anacron does not expect the system to be running 24 x 7 like a server.

When you want a background job to be executed automatically on a machine that is not running 24 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?

W hich sta te me nt is true conce rning the /e tc/sysconfig dire ctory a nd its file s a nd subdire ctorie s? A.

The conte nts a re a lw a ys the sa me for a spe cific ve rsion of the Ora cle Linux Ke rne l. B.

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

C.

The dire ctory /e tc/sysconfig/ne tw ork-scripts conta ins file s tha t must not be modifie d w hile the ne tw ork is up.

D.

The file s only conta in de fa ult va lue s for ce rta in da e mon proce sse s.

Explanation:

The /etc/sysconfig/init file controls how the system appears and functions during the boot process.

Note: The /etc/sysconfig directory contains files that control your system’s configuration. The contents of this directory depend on the packages that you have installed on your system

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

Exa mine the routing ta ble :

W hich thre e sta te me nts a re true conce rning the routing of IP pa cke ts? A.

Tra ffic to 192.168.180.180 is route d via e th1. B.

Traffic to 192.168.180.240 is routed via eth1.

Poste d by se e na ga pe on July 25, 2014 1 comme nt

Poste d by se e na ga pe on July 25, 2014 No comme nts

(8)

C.

Tra ffic to 192.168.0.42 is route d via e th2. D.

Traffic to 192.168.42.42 is routed via eth2.

E.

Tra ffic to 192.168.42.42 is route d via e th0. F.

Tra ffic to 192.168.180.180 is route d via e th0.

Explanation:

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

You ha ve a single ne tw ork a da pte r ca lle d e th0. DEVICE = e th0 BOOTPROTO=DHCP HW ADR=BC:305B:C5:63;F1 NM_CONTROLLED=no ONBOOT=YES TYPE=Ethe rne t PEERDNS=no

UUID=C9dba 2e 8-9fa f-4b77-bbe 2-92dd81dda 1f9

W hich tw o Sta te me nt:; a re true conce rning e th0 ba se d on this configura tion? A.

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

B.

The dhclie nt comma nd ma y only be use d to obta in a le a se a t boot time . C.

dhclie nt doe s not ove rride the conte nts of /e tc/re solv.conf. D.

DNS is not use d to re solve host na me s for this a da pte r. E.

dhclie nt ove rride s the conte nts of /e tc/re solv.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?

W hich four sta te me nts a re true a bout the proc a nd sysfs file syste m? 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 file syste m conta ins informa tion a bout CPUs. E.

The sysfs file syste m conta ins informa tion a bout me mory. F.

The proc filesystem contains information about the installer parameters. Explanation:

* sysfs is the 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 information so it is unlikely it will be ported at all.

* sysfs 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?

Poste d by se e na ga pe on July 25, 2014 1 comme nt

Poste d by se e na ga pe on July 25, 2014 No comme nts

(9)

You w a nt se ndma il to de live r ma il for the se use rs: John.smith@a cme .comto ma ilbox jsmith1 [email protected] ma ilbox jsmith2 John.smith@ba r.comto ma ilbox jsmith3

In w hich se ndma il configura tion da ta ba se ca n this re quire me nt be de fine d? A. /e tc/a lia se s B. /e tc/ma il/use rdb C. /etc/mail/virtusertable D.

/e tc/ma il/doma inta ble E.

/e tc/ma il/ge ne ricsta ble

Explanation: /etc/mail/virtusertable

This database file maps mail addresses for virtual domains and users to real mailboxes. These

mailboxes can be local, remote, aliases defined in /etc/mail/aliases, or files. This allows multiple virtual domains to be hosted on one machine.

The following example demonstrates how to create custom entries using that format: [email protected] root

[email protected] [email protected] @example.com joe

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

W ha t is the purpose of Se tting AUTOINSTALL to YES /e tc/uptra ck.conf? A.

To insta ll Ksplice ke rne l upda te s during the re boot of a syste m B.

To insta ll upda te s to the Ksplice softw a re Itse lf during a syste m re boot C.

To e na ble the uptra ck cron job to insta ll Ksplice ke rne l upda te s w he ne ve r the y be come a va ila ble

D.

To enable Ksplice to automatically install the kernel rpm whenever new Ksplice kernel updates become available

E.

To e na ble Ksplice to insta ll Ksplice ke rne l upda te s a nd ne w ke rne l RPMS w he ne ve r the y be come a va ila ble

Explanation:

If you’d like Ksplice Uptrack to automatically install updates as they become available, 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 installation.

Note: Automatic updates

You can configure your systems to automatically install updates as they become available. To enable autoinstall, set autoinstall = yes in your /etc/uptrack/uptrack.conf, or pass the –autoinstall flag during installation.

Autoinstall is our most popular configuration. It is a scalable way to ensure that updates get installed quickly as they become available, regardless of when they are released.

Please note that enabling autoinstall does not mean 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?

W hich tw o conditions should be me t in orde r to succe ssfully configure a n ope nssh clie nt on Ora cle Linux?

A.

The ope nssh-se rve r pa cka ge must not be insta lle d. B.

The openssh package must be installed.

Poste d by se e na ga pe on July 25, 2014 No comme nts

(10)

C.

The sshd da e mon must not be sta rte d. D.

The openssh-client package must be installed.

E.

The ssh-a ge nt must be sta rte d. F.

ssh ke ys must be ge ne ra te d by a ny use r using the ssh clie nt.

Explanation:

To connect to an OpenSSH server from a client machine, you must have the openssh-clients and openssh packages installed on the client machine.

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

Ldap.example.com?

W hich thre e se ttings a re re quire d to configure a n ope nLda p to use dire ctory se rvice provide d by Lda p.e xa mple .com?

A.

Set the LDAP Search Base DN and the LDAP server address and post in /etc/openldap/ldap.conf to:

dc=example, dc = com ldap://ldap.example.com:389

B.

Se t LDAP Se a rch Ba se DN a nd the LDAP se rve r a ddre ss a nd port in /e tc/lda p.conf to: dc=e xa mple , dc=com

lda p://lda p.e xa mple .com:389 C.

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

shadow: files ldap group: files ldap

D.

Ensure tha t the LDAP se rve r na me ca n be re solve d. E.

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

A: The configuration file for the OpenLDAP 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 nsswitch.conf

E: The client’s domain name must be served by the LDAP server

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

Re fe r to the Exhibit.

[root@se rve r1 ~ # 1s -1 /usr/bin/pa ssw d

-r-x—x—x 1 root root 21200 oct 7 21:01 /usr/bin/pa ssw d [root@se rve r1 ~] # 1s -1 /e tc/sha dow

-r – - – - – - – - 1 root root 1818 Ma r 7 10:31 /e tc/sha dow ] [root@se rve r1 ~]#

A use r smith is on your syste m compla ine d tha t he is not a ble to cha nge his pa ssw ord. As the a dministra tor, you long-liste d the pa ssw d comma nd a nd the /e tc/sha dow file .

Vie w the Exhibit tha t show s the output.

W ha t must you do to e na ble this use r to cha nge his pa ssw ord? A.

Se t SGID on /usr/bin/pa ssw d. B.

Se t SUID on /usr/bin/pa ssw d. C.

Se t sticky bit on /usr/bin/pa ssw d. D.

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

E.

Se t pe rmission on /e tc/sha dow to 600.

Explanation:

Poste d by se e na ga pe on July 25, 2014 No comme nts

(11)

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

exist?

W ha t ha ppe ns if you re boot a Ksplice Uptra ck-e na ble d syste m w he n the follow ing conditions e xist?

1. The Inte rne t is unre a cha ble due to a fa iling route r.

2. The INSTALL_ON_REBOOT prope rty is se t to YES in /e tc/uptra ck/uptra ck.conf. A.

The Ksplice updates are applied early in the boot sequence despite the fact that the Internet is unreachable.

B.

The Ksplice upda te s a re not a pplie d during the boot se que nce , but the y w ill be a pplie d a s soon a s the Inte rne t be come s re a cha ble a ga in.

C.

The upda te s a re not a pplie d during the boot se que nce a nd w ill not be a pplie d a fte r the Inte rne t ha s be come re a cha ble a ga in.

D.

The syste m w a its in the boot se que nce for the inte rne t to be come re a cha ble a ga in. E.

The syste m boots to single -use r 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?

W hich tw o sta te me nts a re true a bout a dministe ring the use of the Sudo comma nd in Ora cle Linux?

A.

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

B.

visudo prompts for a n a ction if the re a re synta x e rrors in the /e tc/sudoe rs file a fte r e diting. C.

Using vi to e dit /e tc/sudoe rs ope ns the file re a d only. D.

Multiple a dministra tors ma y e dit the /e tc/sudoe rs file simulta ne ously using visudo but only one ma y sa ve the e dite d re sult.

E.

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

Explanation:

A: visudo parses the sudoers file after the edit and will not save the changes if there is a syntax error.

E: visudo locks the sudoers file against multiple simultaneous edits Note:

* sudo is configured through the file /etc/sudoers. Like with most Linux configuration files, any text following a pound sign in the sudoers file is a comment. Within the sudoers file, sets of commands, groups of users, and associate users or groups with command sets can be configured.

* If you want to grant certain users authority to be able to perform specific administrative tasks via sudo, use the visudo command to modify the /etc/sudoers file.

The sudo command offers a way to grant partial or full access to the root account without the users needing the root password.

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

W hich four sta te me nts a re a bout the use of the se file s a nd dire ctorie s by UPSTART?

Poste d by se e na ga pe on July 25, 2014 No comme nts

Poste d by se e na ga pe on July 25, 2014 No comme nts

(12)

A.

/e tc/rc.d/rc is e xe cute d e a ch time the /sbin/init comma nd us use d, to cha nge se rvice s a ppropria te ly for the ta rge t run le ve l.

B.

/e tc/rc.d/rc.loca l is e xe cute d a t boot time , be fore the run le ve l proce ssing ta ke s pla ce . C.

/e tc/rc.d/rc is e xe cute d a t boot time , to sta rt the a ppropria te se rvice s for the run le ve l de fine d in /e tc/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?

Exa mine the se de ta ils from the sysctl.conf file a nd from the proc file syste m: [root@FAROUT fs]# gre p a io-ma x-nr /e tc/sysctl.conf

# ora cle -rdbms-se rve r-11gR2-pre insta ll se tting for fs.a io-mx-nr is 1048576 fs.a io-ma x-nr = 1048576

[root@FAROUT fs] # ca t /proc/sys/fs/a io-ma x-nr 1048576

[root@FAROUT fs] # rpm –q liba io Liba io-0.0.107-10.e 16.x86_64 Liba io-0.3.107-10.e 76.i686

W hich sta te me nt is true a bout the se tting cre a te d by ora cle -rdbms-se rve r-11gR2-pre insta ll? A.

It a llow s a proce ss to re que st a n I/O w ithout w a iting for re ply. B.

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

C.

It a llow s a proce ss to re que st a single I/O w ithout a w a iting for a re ply. How e ve r, if a se cond I/O is re que ste d, the n the proce ss must w a it.

D.

It a llow s tw o or more proce sse s to re que st I/Os a nd the n to both be notifie d w he n both of the m comple te .

Explanation:

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

You use the chkconfig comma nd to a dministe r one of the se rvice s on your Ora cle Linux syste m: [root@FAROUT ~]# chkconfig vncse rve r off

Poste d by se e na ga pe on July 25, 2014 No comme nts

(13)

[root@FAROUT ~] #

No cha nge s ha ve be e n ma de to the init script for the se rvice .

W hich tw o sta te me nts a re true re ga rding the e ffe cts of Issuing this comma nd? A.

The vncserver service is shut down.

B.

The vncserver service configuration is disabled only for those run levels for which it is currently enabled.

C.

The vncse rve r se rvice configura tion is disa ble d for run le ve ls 2, 3, 4 a nd 5. D.

The vncse rve r se rvice re ma ins in the sa me sta te it w a s in be fore the comma nd w a s issue d. E.

The vncse rve r se rvice configura tion is disa ble d for run le ve ls 3 a nd 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?

Exa mine the comma nds use d by root to cre a te the chroote d e nvironme nts in the /ja il dire ctory: # mkdir /ja il/bin/ja il/lib64

# cp /bin/ba sh/ja il/bin

linux-vdso.so.1 => (0x00007fff68dff000)

libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00000033e 00000) lid1.so.2 => /lib64/libc.so.6 (0x00000033e 1600000) /lib64/id-linix-86-64.so.2 (0x00000033e 0e 00000) # cp /lib64/libtinfo.so.5/ja il/lib64

# cp /lib64/libd1.so.6 /ja il/lib64 # cp /lib64/libc.so.6 /ja il/lib64

# cp /lib64/id-linux-x86-64.so.2 /ja il/lib64 The use r root the n issue s this comma nd: # chroot /ja il

W ha t is the output from the cd, pw d, a nd 1s comma nds? A.

bash-4.1# cd bash-4.1# pwd /root

bash-4.1# 1s

bash” 1s: command not found

B.

ba sh-4.1# cd

ba sh: cd: /root: No such file or dire ctory ba sh-4.1# pw d

/

ba sh-4.1 # 1s

ba sh: 1s: comma nd not found C.

ba sh-4.1# cd

ba sh: cd: comma nd not found ba sh: pw d: comma nd not found ba sh-4.1# 1s

D.

ba sh: 1s; # cd

ba sh: cd: /root: una ble to a cce ss chroote d file or dire ctory /root ba sh-4.1# pw d / ba sh-4.1 # 1s bin lib64 E. ba sh-4.1# cd

ba sh: cd: /root: No such file or dire ctory ba sh-4.1# pw d

/

ba sh-4.1# 1s bin lib64

Explanation:

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

Exa mine the pa rtition ta ble :

Poste d by se e na ga pe on July 25, 2014 2 comme nts

(14)

Disk /de v/sdd: 107 MB

Se ctor size (logica l/physica l): 512B/512B Pa rtition Ta ble : msdos

Numbe r Sta rtEndSize Type File Syste mFla gs 11049KB79.7MB78.6MBPrima ry

W hich progra m ca nnot be use d to a dd a nothe r pa rtition on this de vice ? A. fdisk B. cfdisk C. pa rte d D. kpartx Explanation:

kpartx – Create device maps from partition tables Incorrect:

Not A: fdisk (in the first form of invocation) is a menu driven program for creation and manipulation of 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 drive

not 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?

W ha t is the purpose of se tting ONPARENT = no in a n Inte rfa ce configura tion file loca te d in /e tc/sysconfig/ne tw ork-scripts?

A.

To pre ve nt a ne tw ork inte rfa ce from be ing brought up during syste m sta rtup B.

To pre ve nt a sla ve ne tw ork inte rfa ce from be ing brought up during syste m sta rtup C.

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

D.

To pre ve nt a ma ste r ne tw ork inte rfa ce from be ing brought up during syste m sta rtup

Explanation:

The ONBOOT directive tells the network initialization scripts not to start a given interface.

If you need to stop a virtual interface from starting when the network interfaces are initialized, you need 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 re move the use r ha rhe st from your Ora cle Linux syste m be ca use the pe rson ha s le ft the compa ny:

Use r ha rhe st ha s nume rous file s, dire ctorie s, a nd a cronta b. You issue :

Use rde l –r ha rhe st

W hich thre e outcome s re sult from the e xe cution of this comma nd? A.

Files in the harhest home directory are removed.

B.

The home directory of harhest is removed.

C.

File s ow ne d by na rhe st in a ny dire ctory a re re move d. D.

All dire ctorie s ow ne d by ha rhe st a re re move d. E.

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

F.

cronta b /va r/spool/cron/ha rhe st is re move d.

Poste d by se e na ga pe on July 25, 2014 No comme nts

(15)

Explanation:

The userdel command modifies the system account files, deleting all entries that refer to the user name LOGIN. The named user must exist.

parameter –r -r, –remove

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

installs a new package

Ma tch the rpm options w ith the ir functions:

–I a . re pla ce s a ny olde r ve rsions of pa cka ge w ith the ne w pa cka ge

—–Ub. upgra de s pa cka ge s, but only if a n e a rlie r ve rsion e xists on your syste m –Fc. Uninsta ll the spe cifie d pa cka ge

–e d. insta lls a ne w pa cka ge 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 is

rpm {-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 the same as install, 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?

Exa mine the line from /e tc/rsyslog.conf: Ma il.*-/va r/log/ma illog

W hich sta te me nt corre ctly de scribe s this rule ? A.

The rule na me pre fix of “-” is tole ra te d for syslog a nd syslog.sys compa tibility w ith no impa ct or rsyslog be ha vior re ga rdle ss of the globa l dire ctive se ttings.

B.

The file na me pre fix of “-” is a w a y of disa bling ma il log me ssa ge s unde r ce rta in conditions to /va r/log/ma illog.

C.

The file na me pre fix of “-” is a pe rforma nce e nha nce me nt. It stops file syncing on e ve ry me ssa ge . The log ce rta in w ill be the sa me w he the r a minus pre fix is use d or not. D.

The file name prefix of “-” forces file syncing after every message is logged to ensure each message 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 configuration file:

kern.* * Example 2:

the following rule is comprised of a selector that selects all cron syslog messages and an action that saves them into the /var/log/cron.log log file:

cron.* /var/log/cron.log Note:

* For those files that are controlled by the system logging daemon rsyslogd, the main configuration file 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 most used and well-known way to filter syslog messages is to use the facility/priority-based filters which filter syslog messages based on two conditions: facility and priority separated by a comma. To create a selector, use the following syntax:

FACILITY.PRIORITY where:

Poste d by se e na ga pe on July 25, 2014 1 comme nt

(16)

FACILITY specifies the subsystem that produces a specific 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 place the asterisk, before or after the comma).

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

W hich tw o sta te me nts a re true conce rning a GUID Pa rtition Ta ble (GPT)? A.

It supports named disk partitions.

B.

It supports prima ry a nd e xte nde d pa rtitions. C.

It supports disks greater than two terabytes.

D.

It ca nnot be use d on the syste m 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 partitions and there is no concept of extended or logical partitions.

Not D: You cannot boot from a GPT disk.

Which statement is true about users?

Exa mine the e xtra ct of the /e tc/nologin file a nd the /e tc/pa m.d/login file on se rve r1: [root@se rve r1 ~] # ca t /e tc/nologin

bob smith

[root@se rve r1 ~] # ca t /e tc/pa m.d/login a ccountre quire dpa m_nologin.so a ccountinclude syste m-a uth W hich sta te me nt is true a bout use rs? A.

Only the root user can log in to the system.

B.

Only use rs root bob a nd smith w ould be una ble to log in to the syste m. C.

All use rs, including the root use r, w ould be pe rmitte d to log in to the syste m. D.

All use rs, including the root use r, w ould be una ble to log in to the syste m.

Explanation:

auth required pam_nologin.so — This is the final authentication step. It checks

whether the /etc/nologin file exists. If it exists and the user is not root, authentication fails. * The /etc/nologin file contains the message displayed to users attempting to log on to a machine in 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?

W hich tw o sta te me nts corre ctly de scribe the type of Informa tion a nd the be ha vior of file s in the proc file syste m on Ora cle 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.

Ea ch proce ss ha s a dire ctory na me d for the proce ss numbe r in the proc file syste m. D.

The proc file syste m conta ins the sa me ha rdw a re informa tion tha t is conta ine d in the sys file syste m for ba ckw a rd compa tibility.

Poste d by se e na ga pe on July 25, 2014 No comme nts

Poste d by se e na ga pe on July 25, 2014 No comme nts

(17)

E.

Ea ch proce ss thre a d ha s a dire ctory na me d for the proce ss thre a d numbe r in the proc file s/ste m.

Explanation: B: proc/cmdline

This file shows the parameters passed to the kernel at the time it is started. A sample /proc/cmdline file looks like the following:

ro root=/dev/VolGroup00/LogVol00 rhgb quiet 3 Note:

/proc is very special in that it is also a virtual filesystem. It’s sometimes referred to as a process information pseudo-file system. It doesn’t contain ‘real’ files but runtime system 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 are simply calls to files in this directory.

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

Linux?

W hich four sta te me nts a re true conce rning the va rious sta ge s of GRUB bootloa de r in Ora cle Linux?

A.

GRUB sta ge 1 must a lw a ys loa d sta ge 1_5. B.

GRUB sta ge 1_5 is use d to proce ss 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 load stage1_5.

F.

GRUB sta ge 1_5 provide s support for se ve ra l diffe re nt file syste ms, e na bling sta ge 1_5 to loa d sta ge 2.

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 to

the next stage of GRUB, which is either stage1_5 or stage 2, depending on the file system type. E(not F): Stage1_5 code allows GRUB to interpret different types of file system

G (not B): Stage 2 code reads /boot/grub/grub.conf to determine how to load the kernel. Incorrect:

Not A:. For some file system types such as ext4, GRUB does not need to load stage1_5.

Identify two recommended solutions to this problem.

Exa mine the comma nds a nd output w he n trying to sta rt OSW a tche r Bla ck Box.

Ide ntify tw o re comme nde d solutions to this proble m. A.

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

B.

Poste d by se e na ga pe on July 25, 2014 No comme nts

(18)

Insta ll ksh on the syste m, if not curre ntly insta lle d. C.

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

D.

Ensure tha t ksh is a cce ssible w ith the pa th /usr/bin/ksh. Cre a te a symbolic link if ne ce ssa ry. E.

Cre a te a she ll a lia s ca lle d /usr/bin/ksh tha t e xpa nds to /bin/ba sh.

Explanation:

Identify two true statements about the nice command.

Ide ntify tw o true sta te me nts a bout the nice comma nd. A.

It ma y the use d to ra ise the priority of e xisting proce sse s. B.

It ma y be use d to se t the initia l priority of a proce ss. C.

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

D.

By de fa ult, a norma l use r ca n ma ke a proce ss run a t a highe r priority. E.

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

nice – run a program with modified scheduling priority. Synopsis

nice [OPTION] [COMMAND [ARG]…] Description

Run COMMAND with an adjusted niceness, which affects process scheduling. With no

COMMAND, print the current niceness. Nicenesses range from -20 (most favorable scheduling) to 19 (least favorable).

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

Exa mine the output of a bonde d inte rfa ce configura tion from w hich one ne tw ork ca ble ha s be e n unplugge d:

# ca t /proc.ne t/bonding/bond0

Ethe rne t Cha nne l Bonding Drive r: v3.6.0 (Se pte mbe r 26, 2009) Bonding Mode : fa ult-tole ra nce (a ctive -ba ckup)

Prima ry Sla ve : None Curre ntly Active Sla ve : e th2 MII Sta tus: up

MII poling inte rva l (ms): 100 Up De la y (ms): 0

Dow n De la y (ms): 0 Sla ve Inte rfa ce : e th1 MII sta tus: dow n Link Fa ilure Count: 1

Pe rma ne nt HW a ddr: 00:0c:29:7b:3c:71 Sla ve Que ue ID: 0

Sla ve Inte rfa ce : e th2 MII Sta tus: up Link Fa ilure Count: 0

Pe rma ne nt HW a ddr: 00:0c:29:7b:3s:7b

W hich sta te me nt is true w he n you plug in the e th1 ne tw ork ca ble ? A.

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

B.

The sta tus of the sla ve inte rfa ce e th1 cha nge s to up a nd be come s a se cond a ctive sla ve . C.

The sta tus of the sla ve inte rfa ce e th1 cha nge s to up but must be ma nua lly a ssigne d the a ctive or ba ckup sla ve role .

D.

The sta tus of the sla ve inte rfa ce e th1 cha nge s to up a nd be come s the ba ckup sla ve .

Explanation:

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

Poste d by se e na ga pe on July 25, 2014 1 comme nt

(19)

W hich thre e sta te me nts a re true a bout the sha re d dire ctorie s de fine d in the /e tc/e xports file ? A.

By de fa ult, a dire ctory is sha re d w ith no root squa she d. B.

By de fa ult, a dire ctory is sha re d re a d 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 also

treated 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 the default. In all releases after 1.0.0, sync is the default, and async must be explicitly requested if needed.

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

W hich thre e sta te me nts a re true w he n using the Ana conda Insta lle r to insta ll Ora cle Linux? A.

Una tte nde d insta lla tion is only possible if insta lling the Unbre a ka ble Ente rprise ke rne l. 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 insta lla tion ma y be done from a USB de vice . E.

The installation may be done in text or graphical mode. Explanation:

C: The Red Hat Enterprise Linux installation 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 use this file to repeat the installation with identical settings, or modify copies to

specify settings for other systems.

E: Anaconda offers a text-mode and GUI mode.

Which two statements are true?

You use the host comma nd to find out a bout host na me W AYOUT:

W hich tw o sta te me nts a re true ? A.

Poste d by se e na ga pe on July 25, 2014 No comme nts

Poste d by se e na ga pe on July 25, 2014 1 comme nt

(20)

Exa mple .com is a n a uthorita tive na me se rve r. B.

Dns1.example.com is an authoritative name server.

C.

Dns2.e xa mple .com is a Ca che -only na me se rve r. D.

Dns2.example.com is an authoritative name sever.

E.

Dns1.e xa mple .com is a ca che -only na me se rve r.

Explanation:

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

connections?

W hich thre e sta te me nts a re true a bout the configura tion of Ope nLda p se cure e ncrypte d conne ctions?

A.

TLS and ldaps should not both be selected.

B.

To e na ble ida ps, you must dow nloa d the Ce rtifying Authority (CA) Ce rtifica te . 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.

The re is a comma nd-line a lte rna tive to the Authe ntica tion Configura tion Tool to e na ble the e ncrypte d LDAP communica tion.

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?

W hich tw o a ctions should be comple te d w he n the firstboot utility runs unde r runle ve l 5 in Ora cle Linux?

A.

Agreeing to the license agreement

B.

Re giste ring for softw a re upda te d C.

Cre a ting a nona dministra tive use r D.

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

E.

Configuring the dtra ce fa cility

Explanation:

Performing FirstBoot Configuration Tasks

FirstBoot runs only after an initial installation and guides you through the various remaining configuration tasks.

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)?

W hich tw o sta te me nts a re true a bout the Unbre a ka ble Linux Ne tw ork (ULN)? A.

It is fre e ly a va ila ble to a ll Ora cle Linux custome rs.

Poste d by se e na ga pe on July 25, 2014 No comme nts

Poste d by se e na ga pe on July 25, 2014 No comme nts

(21)

B.

It contains additional packages not found on the installation media.

C.

It conta ins only bina ry RPM pa cka ge s. D.

It contains both source and binary RPM packages.

E.

It is the only loca tion to dow nloa d e rra ta . F.

All Unbre a ka ble Linux subscribe rs a re a llow e d to de ploy a loca l YUM re pository.

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, the link above will guide you through the steps to create one

A valid Oracle Linux support or Oracle VM support CSI (customer support identifier). You may purchase Oracle Linux or Oracle VM support online via the Oracle Linux Store or via your sales representative.

Which two statements are true about the MD0 RAID set?

Exa mine the conte nt of the mdsta t pse udo file : # ca t /proc/mssta t

pe rsona litie s: [ra id1] [ra id0] [ra id6] [ra id5] [ra id4] md0 : a ctive ra id1 md2[1] md1[0]

207680blocks supe r 1.2 [2/2] [UU] md2 : a ctive ra id0 sdg[1] sdf1[0] 207872blocks supe r 1.2 512k chinks Md1 :a ctive ra id0sde 1[1] sdd1[0] 207872blocks supe r 1.2 512k chunks Unuse d de vice s: <none >

W hich tw o sta te me nts a re true a bout the MD0 RAID se t? A.

MDO is a stripped mirror RAID set.

B.

MDO is a mirrore d strippe d RAID se t. C.

If MD1 fa ils, so w ill MDO. D.

If MD2 fails, MDO too fails.

E.

If /de v/sdd1 a nd /de v/sdg1 fa il, MDO fa ils.

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?

Exa mine the se comma nds use d to control UPSTART logging: [root@FAROUT init] # initctl log-priority info

[root@FAROUT init] # initctl log-priority Info

[root@FAROUT init]#

W hich thre e sta te me nts a re true a bout the logging done through the se comma nds? A.

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

B.

UPSTART logs job goa ls to /va r/log/ma ssa ge s. C.

UPSTART logs only informational messages about warnings and errors to /var/log/messages.

D.

UPSTART logs only informa tiona l me ssa ge s a bout w a rnings to /va r/log/me ssa ge s.

Poste d by se e na ga pe on July 25, 2014 3 comme nts

(22)

E.

UPSTART logs e ve nt e missions to /va r/log/me ssa ge s.

Explanation:

Which three statements are correct about NFSV4?

W hich thre e sta te me nts a re corre ct a bout NFSV4? A.

It re lie s on the LOCKD a nd RPC.STATD da e mons to pe rform file locking. B.

It use s a single port (2049) for a ll clie nt/se rve r communica tions. C.

The UID a nd GID for a pa rticula r use r must be the sa me on both clie nt a nd se rve r to a void file ow ne rship proble ms.

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 vice versa.

Explanation: D: rpc.rquotad

Provides quota information for the quota command to display user quotas for remote file systems and 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 configuration lines in /etc/idmapd.conf

Incorrect:

not A: The mounting and locking protocols are also integrated into the NFSv4 protocol, so the lockd and rpc.statd services are also not required.

Which three statements are true about rpm package dependencies?

W hich thre e sta te me nts a re true a bout rpm pa cka ge de pe nde ncie s? A.

The RPM comma nd ca n de te ct only dire ct pa cka ge de pe nde ncie s. B.

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

C.

The YUM comma nd ca n de te ct a nd re solve dire ct a nd indire ct pa cka ge de pe nde ncie s. D.

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

E.

The YUM comma nd ca n only de te ct a nd re solve dire ct pa cka ge de pe nde ncie s. F.

A source RPM can have a dependency on a binary RPM. Explanation:

D: yum deplist <package>

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?

Exa mine the cha nne l spe cifica tion in the /e tc/yum.re pos.d/public-yum-016.re po file : # he a d -6 /e tc/yum.re pos.d/public-yum-016.re po

[016_la te st]

Na me =Ora cle Linux $re le a se ve r La te st ($ba se a rch)

Ba se url=http://public-yum.ora cle .com/re po/ora cle Linux/OL6/la te st/$ba se a rch/ Gpgke y=http://public-yum.ora cle .com/RPM-CPG-KEY-ora cle -o16

Gpgche ck=1 Ena ble d=0

W ha t is the e ffe ct of the e na ble d=0 se tting? A.

This cha nne l is disa ble d a nd ca nnot be use d by YUM a t a ll.

Poste d by se e na ga pe on July 25, 2014 1 comme nt

Poste d by se e na ga pe on July 25, 2014 No comme nts

(23)

B.

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

C.

By de fa ult, YUM w ill not use this cha nne l but this ca n be ove rridde n on the comma nd line . D.

This cha nne l w ill not be use d by YUM w he n it se a rche s for pa cka ge s, but YUM w ill che ck if upda te s e xist for pa cka ge s a lre a dy insta lle d from this cha nne l.

Explanation:

Disable YUM Repo (Repository) Disable YUM Repo

Edit repo file on /etc/yum.repos.d/ as root and change enabled to 0 ## Change

enabled=1 ## To enabled=0

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

parameters in Oracle Linux?

W hich thre e sta te me nts corre ctly de scribe s the purpose of a nd a dministra tion of ke rne l boot pa ra me te rs in Ora cle 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 by Viewing /boot/grub/grub/conf.

C.

Ke rne l boot pa ra me te rs use d to boot the running syste m ma y be e xa mine d a fte r boot by vie w ing /proc/cmdline .

D.

Additiona l ke rne l boot pa ra me te rs ma y be spe cifie d in a n a dministra tor-spe cifie d pa ra me te r file tha t is re a d by grub sta ge .

E.

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

F.

Additiona l ke rne l boot pa ra me te rs ma y be spe cifie d in a n a dministra tor-spe cifie d pa ra me te rs tha t is re a d by GRUB sta ge 1_5.

Explanation:

* GRUB requires only the file name and drive partitions to load a kernel. You can

configure 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?

W hich thre e options a re a va ila ble during the Ana conda insta lle r disk pa rtitioning se tup sta ge for a ma chine w ith only one ha rd disk de vice ?

A.

Manual resizing of existing partitions on only a single device

B.

Re mova l of a ll e mpty pa rtitions only, le a ving a ny Linux or non-Linux pa rtitions uncha nge d C.

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

D.

Re pla cing of e xisting non-Linux pa rtitions only, a nd le a ving a ny Linux pa rtitions uncha nge d E.

Ma nua l re sizing of e xisting pa rtitions on a ll se le cte d de vice s F.

Removal of all existing partitions and creating new partitions to suit the install Explanation:

A: Shrink Current System

Select this option to resize your current data and partitions manually and install a default Red Hat Enterprise Linux layout in the space 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).

Poste d by se e na ga pe on July 25, 2014 1 comme nt

(24)

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…?

W hich tw o ste ps should be pe rforme d to pe rmit using SSH, SCP, or SFTP comma nds by the ORACLE a ccount on the host FAROUT to the ora cle a ccount on the host W AYOUT w ithout supplying a pa ssw ord?

A.

The ora cle a ccount use r on host FAROUT must issue a n ssh-ke yge n comma nd to ge ne ra te public a nd priva te ke y file s in the ~ ora cle /.ssh dire ctory FAROUT.

B.

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

C.

The Ora cle a ccount use r on host FAROUT must a dd the conte nts of ~/ora cle /.ssh/id_dsa .pub or ~/ora cle /.ssh/is_rsa .pub file to the ~/ora cle /.ssh/a uthorize d_ke ys file on host W AYOUT. D.

The Ora cle a ccount use r on host W AYOUT must a dd the conte nts of ~/ora cle /.ddh/id_dsa or ~/ora cle /.ssh/id_rsa .pub file to the ~/ora cle /.ssh/a uthorize d_ke ys file on host FAROUT. E.

The ora cle a ccount use r on host W AYOUT must se t the pe rmissions on the ~/ora cle /.ssh/a uthorize d_ke ys 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 Ora cle Linux se rve r ha s a ne tw ork inte rfa ce e th0 but the ifcfg-e th0 file is missing from the /e tc/sysconfig/ne tw ork-scripts dire ctly.

To se t the IP a ddre ss for the inte rfa ce , you run this comma nd a s root: [root@sta tion1]# ifconfig e th0 192.168.0.1 up

W ha t is the e ffe ct of the comma nd? A.

The IP a ddre ss 192.168.0.1 is not a ssigne d to e th0 be ca use the ne tma sk is not spe cifie d. B.

The IP a ddre ss 192.168.0.1 is a ssigne d to e th0, but the inte rfa ce is not a ctiva te d until the ne tw ork se rvice is re loa de d.

C.

The IP address 192.168.0.1 is assigned to eth0, but the interface is not activated until the network service is restarted.

D.

The IP a ddre ss 192.168.0.1 is a ssigne d to e cho w ith the de fa ult ne tma sk for tha t a ddre ss, a nd the inte rfa ce is a ctiva te d imme dia te ly.

Explanation:

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

Exa mine this output: $ ftp o16.e xa mple .com

Conne cte d to o16.e xa mple .com (192.168.40.131) 220 (vsFTpd 2.2.2)

Na me (o16.e xa mple .com:ora cle ):

A ca rria ge re turn is now e nte re d on the ke yboa rd a nd the re sult is show n: $ 30 pe rmission de nie d.

Login fa ile d. ftp>

W hy is the ora cle use r de nie d a cce ss to the FTP se rve r on the 016.e xa mple .com host? A.

The Ora cle use r is liste d in /e tc/vsftpd/ftpuse rs. B.

Poste d by se e na ga pe on July 25, 2014 1 comme nt

Poste d by se e na ga pe on July 25, 2014 2 comme nts

(25)

The ora cle use r is liste d in /e tc/vsftpd/use r_list a nd the USERLIST_ENABLE se tting is se t to YES in /e tc/vsftpd/vsftpd.conf.

C.

The Oracle user is listed in /etc/vsftpd/user_list and USERLIST_ENABLE setting is set to NO in /etc/vsftpd/vsftpd.conf.

D.

The LOCAL_ENABLE se tting is se t to NO in /e tc/vsftpd/vsftpd.conf. E.

The Ora cle use r doe s not e xist on the o16.e xa mple .com host.

Explanation:

Which two statements are true about the installation of certain components of asmlib in Oracle

Linux 6?

W hich tw o sta te me nts a re true a bout the insta lla tion of ce rta in compone nts of a smlib in Ora cle Linux 6?

A.

The a smlib ke rne l module is include d in the Re d Ha t-compa tible ke rne l. B.

The asmlib kernel module is included in the Unbreakable Enterprise Kernel (UEK).

C.

The a smlib ke rne l module must be insta lle d se pa ra te ly w he n using the Unbre a ka ble Ente rprise Ke rne l (UEK).

D.

The a smlib ora cle a sm-support pa cka ge is insta lle d a s pa rt of the Re d Ha t-compa tible ke rne l pa cka ge .

E.

The a smlib ora cle a sm-support pa cka ge is include d a s pa rt of the Unbre a ka ble Ente rprise Ke rne l (UEK) pa cka ge .

F.

The asmlib oracleasm-support rpm must be installed separately when using the Unbreakable Enterprise Kernel (UEK).

Explanation:

B: The oracleasm kernel driver is built into the Unbreakable Enterprise Kernel for Oracle Linux 6 and does not need to be installed manually.

F: All ASMLib installations require the oracleasmlib and oracleasm-support packages appropriate for their machine.

The oracleasm-support package can be downloaded from the Unbreakable Linux Network (ULN) if you have an active support subscription, or from http://public-yum.oracle.com if you do not. Incorrect:

not A: The oracleasm kernel driver for the 64-bit (x86_64) Red Hat Compatible Kernel for Oracle Linux 6 can be installed manually.

Which three statements are true about administering user accounts and groups for an Oracle Linux

server in preparation for installing the Oracle Database server?

W hich thre e sta te me nts a re true a bout a dministe ring use r a ccounts a nd groups for a n Ora cle Linux se rve r in pre pa ra tion for insta lling the Ora cle Da ta ba se se rve r?

A.

The Oracle software owner must be a Linux user called oracle.

B.

The Ora cle softw a re ow ne r must not be the root use r. C.

The ow ne r of the Ora cle httpd da e mon proce ss must be the Linux use r ca lle d nobody. D.

A Linux user who is a member of the OSDBA group may start an Oracle database instance.

E.

The /e tc/sudoe rs file must spe cify tha t the Ora cle softw a re ow ne r be a llow e d to run comma nds a s root.

F.

The OINSTALL group owns the Oracle Inventory. Explanation:

A: The Oracle software owner user (typically, oracle)

You must create this user the first time you install Oracle software on the system. This user owns all of the software installed during the installation. This user must have the Oracle Inventory group

Poste d by se e na ga pe on July 25, 2014 No comme nts

References

Related documents