Skip to main content

1Z0-460 Real Exam Questions

Oracle Linux 6 Implementation Essentials

71 questions available · Page 1 of 8

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Multiple choice

What are the two benefits of configuring network interface bonding?

  1. A

    aggregating two or more Network Interfaces (NICs) to act as one logical interface

  2. B

    creating a static address that is bound to one NIC

  3. C

    providing either failover or load-balancing to two or more Network Interfaces (NICs)

  4. D

    binding a network interface to the embedded firewall (IPTables) for port filtering

Show answer and explanation

Correct answers: A, C

Explanation

Network bonding refers to the combination of network interfaces on one host for redundancy and/or increased throughput.

Question 2 Single choice

Examine the sar command below. Your Oracle Linux system has one CPU.

What does the runq-sz column of this output convey about your system?

  1. A

    CPU is bottleneck because the run queue size is greater than the number of CPUs on your system.

  2. B

    The average of three processes are only using the CPU on your system and hence the CPU is not a bottleneck.

  3. C

    CPU is not a bottleneck because the run queue size indicates the number of CPU bound processes on your system.

  4. D

    CPU is a bottleneck because the run queue size indicates that adequate memory is not allocated.

Show answer and explanation

Correct answer: A

Explanation

* Use the sar -q command to report the following information:

The Average queue length while the queue is occupied.

The percentage of time that the queue is occupied.

* The following list describes the output from the -q option.

runq-sz
The number of kernel threads in memory that are waiting for a CPU to run. Typically, this value should be less than 2. Consistently higher values mean that the system might be CPU-bound.

%runocc
The percentage of time that the dispatch queues are occupied.

swpq-sz
Swap queue of processes for the sar command.
%swpocc
Swap queue of processes for the sar command.

Question 3 Single choice

You have mounted an Oracle Linux 6 ISO image (v33411-01.iso) on your system in the /mnt/iso/OL6u3/
Server directory. You want to use this image in your local yum repository configuration file and enable it.

Which yum repository configuration file has the correct entries to use this image as a local repository?

  1. A

    [ol6u3_base_media]
    name=Oracle Linux 6 Media
    baseurl=file:///mnt/iso/OL6u3/Server
    gpgcheck=1
    enabled=0

  2. B

    [ol6u3_base_media]
    name=Oracle Linux 6 Media
    baseurl=file:///mnt/iso/V33411-01.iso
    gpgcheck=1
    enabled=1

  3. C

    [ol6u3_base_media]
    name=Oracle Linux 6 Media
    baseurl=file:///mnt/iso/OL6u3/Server
    gpgcheck=1
    enabled=1

  4. D

    [ol6u3_base_media]
    name=Oracle Linux 6 Media
    baseurl=http:///mnt/iso/OL6u3/Servergpgcheck=1enabled=1

Show answer and explanation

Correct answer: A

Explanation

Example:
Create a yum .repo file:
cd /etc/yum.repos.d cat > ol63iso.repo << EOF
[ol6_base_media]
name=Oracle Linux 6 Media
baseurl=file:///mnt/iso/ol63/Server gpgcheck=0
enabled=1
EOF
#

Incorrect:
Not B: Specifiy the directory, not the iso file name.
Not C: Enabled should be 0, not 1.
Not D: Use file: not http: to specify the directory

Question 4 Multiple choice

Examine the following kernel boot command-line parameters.

kernel /vmlinuz-2.6.32-220.e16 ro root = /dev/VolGroup00/LogVol00 init = /bin/bash ether = 0, 0, eth1 rhgb
quiet

Which two statements are true?

  1. A

    An unrecognized kernel boot command-line parameter has been used.

  2. B

    The system will boot without password.

  3. C

    Boot argument ether will force probing for a second ethernet card (NIC).

  4. D

    It will not probe for any hard drive.

Show answer and explanation

Correct answers: C, D

Explanation

C: Ether parameter:
The most common use of this parameter is to force probing for a second ethercard, as the default is to only probe for one (with 2.4 and older kernels). This can be accomplished with a simple: ether=0,0,eth1

Note:
* rhgb stands for redhat graphical boot. This is a GUI mode booting screen with most of the information
hidden.
* quiet parameter hides the majority of the boot messages before rhgb starts.

Question 5 Single choice

What does the following line in the modprobe.conf file indicate? options netconsole
netconsole = [email protected]/eth0, [email protected]/00:0C:A3:35:9C

  1. A

    Netconsole logging is set up to send messages to a server at the IP address 192.168.1.200 by using the eth0 device.

  2. B

    Netconsole logging is set up to send messages to a server at the IP address 192.168.1.200 by using the port number 6666.

  3. C

    Netconsole logging is set up to send messages to a server at IP address 192.168.1.200 by using the
    UDP port 514.

  4. D

    Netconsole logging is set up for two clients with IP addresses of 192.168.1.200 and 192.168.1.100 on this server.

Show answer and explanation

Correct answer: B

Explanation

Example:
options netconsole [email protected]/eth0,[email protected]/00:1A:A0:D2:55:66

6666 => Server source port
10.0.0.1 => Server IP
eth0 => Server NIC
514 => Client listening port
10.0.0.2 => Client IP 00:1A:A0:D2:55:66 => Client MAC

Question 6 Single choice

You found a message on a public discussion forum mentioning a Vulnerability (for example, CVE-2006- 5794), which could affect some versions of OpenSSH in Linux distribution. Identify the command that would allow you to see whether this CVE has been applied.

  1. A

    rpm q changelog openssh | grep 5794

  2. B

    yum listcvew openssh

  3. C

    rpm -qa | grep openssh | grep 5794

  4. D

    yum sec -list cves

Show answer and explanation

Correct answer: A

Explanation

* The command rpm -q --changelog rpm displays a detailed list of information (updates, configuration, modifications, etc.) about a specific package. This example shows information about the package rpm.
However, only the last five change entries in the RPM database are listed. All entries (dating back the last two years) are included in the package itself. This query only works if CD 1 is mounted at /media/cdrom:

rpm -qp --changelog /media/cdrom/suse/i586/rpm-3*.rpm

* Is the patch RPM suitable for my system?

To check this, first query the installed version of the package. For pine, this can be done with rpm -q pine
pine-4.44-188

Incorrect:
not C:

* qa stands for "Query All"
Assuming you are attempting to find out if you have the Very Secure FTP Daemon installed, you want:
rpm -qa | grep vsftp
rpm -qa will show you all installed RPMs, piping it through grep will limit the list to RPMs containing the string "vsftp".

Question 7 Single choice

Examine the output of the yum.conf configuration file from o Oracle Linux 6 server.

What does the "installonly_limit=3" option mean?

  1. A

    Only three users can use the yum command simultaneously to install package on Oracle Linux 6 server.

  2. B

    Only three Linux packages can be installed in one invocation of the yum command.

  3. C

    Only three repository channels can be used for installing Linux packages.

  4. D

    Only three versions of packages listed in installonlypkgs can be installed simultaneously.

Show answer and explanation

Correct answer: D

Explanation

installonly_limit

Number of packages listed in installonlypkgs to keep installed at the same time. Setting to 0 disables this feature. Default is '3'. Note that this functionality used to be in the "installonlyn" plugin, where this option was altered via. tokeep. Note that as of version 3.2.24, yum will now look in the yumdb for a installonly attribute on installed packages. If that attribute is "keep", then they will never be removed.

References:
yum.conf

Question 8 Single choice

The change that are made by using echo command, like the one shown in the example below, are not persistent and disappear when the system us restarted. Which file should be modified to make configuration changes across reboots?

# echo www.example.com > /proc/sys/kernel/hostname

  1. A

    /etc/sys/sysct1.conf

  2. B

    /etc/sysconfig.conf

  3. C

    /etc/sysct1.conf

  4. D

    /proc/sysct1.conf

Show answer and explanation

Correct answer: A

Explanation

A configuration file exists for the purpose of persisting changes, named /etc/sysct1.conf. When booting, your server starts the procps service that reads this configuration file and applies all settings in it.

Note:
* If you've ever needed to change the hostname for Red Hat Linux, CentOS or similar operating systems, you can do so easily with one simple command.

Just use the echo command to replace the contents of /proc/sys/kernel/hostname with your new host name.
# echo hostname.com > /proc/sys/kernel/hostname
Then restart the network interfaces:

# /etc/init.d/network restart
Shutting down interface venet0: [ OK ]
Shutting down loopback interface: [ OK ]

Bringing up loopback interface: [ OK ]
Bringing up interface venet0: RTNETLINK answers: File exists RTNETLINK answers: File exists
[ OK ]
Now you can use the hostname command to verify that it has changed.

Question 9 Multiple choice

Which two statements describe the capabilities used with the Unbreakable Enterprise Kernel?

  1. A

    Existing Red Hat Enterprise Linux 5 and 6 customers need to reinstall Oracle Linux to use the Unbreakable Enterprise Kernel.

  2. B

    The Unbreakable Enterprise kernel is the default kernel starting with Oracle Linux 5.6.

  3. C

    The Unbreakable Enterprise kernel is required when using multithreaded CPUs.

  4. D

    Oracle Clusterware, OCFS2, and the Enterprise Manager pack for Linux support are included with Oracle Linux Basic and Premier support.

  5. E

    Switching between the Red Hat Compatible kernel and the Unbreakable Enterprise kernel is simple process of changing kernels and glibc.

Show answer and explanation

Correct answers: D, E

Explanation

* Commercial technical support is available through Oracle's Oracle Linux Support program, which supports Oracle Linux, and existing RHEL or CentOS installations (i.e. without reinstallation).

Note:
* The Unbreakable Enterprise Kernel Release 2 is Oracle's second major release of its heavily tested and optimized operating system kernel for Oracle Linux 5 and Oracle Linux 6. Unbreakable Enterprise Kernel Release 2 is based on the mainline Linux kernel version 3.0.16 and boasts a wide range of new features and improvements relevant for enterprise workloads.

Incorrect:
Not A, not B: Unbreakable Enterprise Kernel Release 2 can be installed on Oracle Linux 5 Update 8 or newer, as well as on Oracle Linux 6 Update 2 or newer.

Question 10 Single choice

Which rpm command can be used to find the package that owns the /etc/rsyslog.conf file?

  1. A

    rpm query /etc/rsyslog.conf

  2. B

    rpm gf /etc/rsyslog.conf

  3. C

    rpm q1 /etc/rsyslog.conf

  4. D

    rpm q /etc/rsyslog.conf

Show answer and explanation

Correct answer: B

Explanation

Package Selection Options include:
-f <file>

Query package owning <file>

Note:
rpm -q -- What does it do?
One of the nice things about using RPM is that the packages you manage don't end up going into some kind of black hole. Nothing would be worse than to install, upgrade, and erase several different packages and not have a clue as to what's on your system. In fact, RPM's query function can help you get out of sticky situations like:

* You're poking around your system, and you come across a file that you just can't identify.
Where did it come from?

* Your friend sends you a package file, and you have no idea what the package does, what it installs, or where it originally came from.

* You know that you installed XFree86 a couple months ago, but you don't know what version, and you can't find any documentation on it.

The list could go on, but you get the idea. The rpm -q command is what you need. If you're the kind of person that doesn't like to have more options than you know what to do with, rpm -q might look imposing.
But fear not. Once you have a handle on the basic structure of an RPM query, it'll be a piece of cake.