Oracle Linux 6 Implementation Essentials v6.0 (1z0-460)

Page:    1 / 5   
Total 74 questions

View the exhibit.
Examine the grub.conf file snippet in the Exhibit. Which statement is true if your Linux system boots by using this grub.conf file?

  • A. GRUB will boot, by default, the first kernel entry of this grub.conf file.
  • B. GRUB will prompt you to select the kernel to be booted because the default parameter is set to 0.
  • C. GRUB will boot the kernel specified in the inittab file of the system.
  • D. GRUB will boot, by default, the second kernel entry of this grub.conf file.


Answer : A

Explanation: According the grub .conf file you have got 8 seconds to choose whether to boot the first entry.Now if you want to change, and let say you want the second grub entry as booting system by default, justchange the line:default=0 bydefault=1

Which two statements describes the capabilities of Oracle Manager Ops Center product?

  • A. Oracle Enterprise Manager Ops Center can provide management services for Oracle Linux servers.
  • B. Oracle Enterprise Manager Ops Center provides management services only for Oracle Solaris operating system and SPARC servers.
  • C. Oracle Enterprise Manager Ops Center contains tools to debug Oracle Linux kernel dump files.
  • D. Oracle Enterprise Manager Ops Center includes built-in integration with My Oracle Support with automatic servers request generation.


Answer : A,D

Explanation: Oracle Enterprise Manager Ops Center 12c is a foundational offering in the
Oracle Enterprise Manager 12c solution. It introduces unique capabilities to strengthen
Oracle Enterprise Manager 12cs ability to establish, manage, and support enterprise quality clouds delivered in an Infrastructure-as-a-Service model. With the launch of Oracle
Enterprise Manager Ops Center 12c, Oracle Systems customers utilizing SPARC, X86,
Oracle Solaris, Oracle Linux(A), Oracle ZFS Storage Appliance, Oracle Switches, and both
Oracle VM technologies can accelerate private cloud adoption faster at a lower cost.
Oracle Enterprise Manager Ops Center 12c provides a comprehensive solution for operating system, firmware and BIOS configuration, bare metal and virtual machine provisioning, hardware fault analysis, automatic My Oracle Support service request generation(D), performance management, all while leveraging integrated diagnostics with automatic server pool resource policies.

Which two utilities can you use to manipulate the partition table on Oracle Linux?

  • A. fdisk
  • B. format
  • C. chkdsk
  • D. parted
  • E. system-config-disk


Answer : A,D

Explanation: A:fdisk - Partition table manipulator for Linux
D:If you do have a choice of using a disk label/partition tool during installation for example, the parted tool during Oracle Solaris live image installation use a tool that allows alignment by sector. This means you can specify a partition start and end using a sector number.

Incorrect -
Not C: chkdsk is not a linux command.

Your 32-bit i686 architecture system in registered with the Oracle Unbreakable Linux
Network. RPM package example -1 .0.0-1 is already installed and the application is used constantly. You want to download the latest version of the example RPM package. You do not want to install the package until you have coordinated with the programs current users.
Which option will allow you to download until you have coordinated with the programs current users. Which option will allow you to download the latest version of the RPM package, but not install it?

  • A. # rpm –Uvh http://linix.oracle.com/rpms/i686/example-1.0.1-1.i686.rpm
  • B. # yum –no-update example
  • C. # yumdownloader example
  • D. # yum –get example-1.0.1


Answer : C

Explanation: yumdownloader is a program for downloading RPMs from Yum repositories.

Synopsis -
yumdownloader [options] package1 [package2...]
Note:
*yum - Yellowdog Updater Modified
yum is an interactive, rpm based, package manager. It can automatically perform system updates, including dependency analysis and obsolete processing based on "repository" metadata. It can also perform installation of new packages, removal of old packages and perform queries on the installed and/or available packages among many other commands/services (see below). yum is similar to other high level package managers like apt-get and smart.

As a system administrator, you run the system-config-network tool and make changes to the configuration. You change the hostname and the DNS search path settings. Which two files will these changes be written into?

  • A. “/etc/sysconfig/network” and “/etc/resolv.conf” files
  • B. “/etc/sysconfig/network” and “etc/nsswitch.conf/” files
  • C. “/etc/sysconfig/netconfig” and “/etc/resolv.conf” files
  • D. “etc/sysconfig/network-scripts/network” and “/etc/resolv.conf” files


Answer : C

Explanation: The system-config-network-tui and system-config-network commands start a text-based network configuration tool.
Navigate using the "tab", "arrow" and "return" keys. The "Device configuration" option gives a list of network devices.
Selecting the device allows you to edit the adapter's network configuration, which is saved to the "/etc/sysconfig/network-scripts/ifcfg-eth0" file.
The "DNS configuration" option on the first screen allows you to modify the configuration in the "/etc/sysconfig/network" and "/etc/resolv.conf" files.

Network - TUI DNS -

Which yum command will you use if you want to find out the name of the package that has the /etc/sysconfig/nfs file?

  • A. # yum info /etc/sysconfig/nfs
  • B. # yum search /etc/sysconfig/nfs
  • C. # yum list installed | grep /etc/sysconfig/nfs
  • D. # yum check /etc/sysconfig/nfs


Answer : C

Explanation: yum list installed [glob_exp1] [...]
List the packages specified by args. If an argument does not match the name of an available package, it is assumed to be a shell-style glob and any matches are printed.
Incorrect:
Not A:
info
Is used to list a description and summary information about available packages
Not B:
search
This is used to find packages when you know something about the package but aren't sure of it's name. By default search will try searching just package names and summaries, but if that "fails" it will then try descriptions and url.

Not D:check -
Checks the local rpmdb and produces information on any problems it finds.

Which three statements are true about the Kickstart installation method?

  • A. The Kickstart installation method helps to speedboottime after the system restarts.
  • B. A Kickstart file is created for every installation.
  • C. The Kickstart Configurator can be used to create or make changes to a kickstart file.
  • D. The Kickstart method allows for unattended and more standardized installations.
  • E. The Kickstart method of configuration is performed after the installation of the host operating system.


Answer : B,C,D

Explanation: BC:
*A kickstart installation requires a kickstart file that contains the answers to every question asked during an interactive installation. Kickstart files can be created in one of three ways:
/Perform an interactive installation. Once complete you will find the Kickstart configuration file for the installation you just completed in the "/root/anaconda-ks.cfg" file. This can be amended and used for subsequent installations.(B)
/Create a Kickstart file in a text editor manually, or based on a copy of a previous file.
/Use the Kickstart Configurator.(C)
D:
*Kickstart installations provide an automated alternative to the normal interactive installations of RHEL and Oracle Linux. The automation of installation and post installation configuration steps represents a considerable time saving in situations where many similar installations are performed.
Reference:Kickstart - Automated Installations of RHEL and Oracle Linux

A system administrator wants to view all running processes on the system in real time, to find out what RAM has been allocating to each process. What system command should be used?

  • A. ps –ef
  • B. ps ax
  • C. top
  • D. meminfo


Answer : C

Explanation: top - display Linux tasks
The top program provides a dynamic real-time view of a running system.
It candisplaysystem summary information as well as a list of tasks currently being managed by the Linux kernel. The types of system sum- mary information shownand the types, order and size of information displayed for tasks are all user configurable and thatconfiguration can be made persistent across restarts.
Incorrect:
Not A, Not B:
ps displays information about a selection of the active processes.
To see every process on the system using standard syntax:
ps -e
ps -ef
ps -eF
ps -ely
To see every process on the system using BSD syntax:
ps ax
ps axu
Not D:meminfo - provide information about memory
The meminfo() function provides information about virtual and physical memory particular to the calling process. The user or developer of performance utilities can use this information to analyze system memory allocations and develop a better understanding of the factors affecting application performance.

You want to add a README.txt file in the home directory of every new user that you create by using the useradd command on your Oracle Linux system.In which directory will you place the README.txt file so that it automatically gets copied to the new users home directory when the user is created?

  • A. /home/users
  • B. /etc/default/useradd
  • C. /etc/default
  • D. /etc/skel


Answer : D

Explanation: -k, --skel SKEL_DIR
The skeleton directory, which contains files and directories to be copied in the user's home directory, when the home directory is created by useradd.
This option is only valid if the -m (or --create-home) option is specified.
If this option is not set, the skeleton directory is defined by the SKEL variable in
/etc/default/useradd or, by default, /etc/skel.
Note:
*useradd - create a new user or update default new user information

Reference: man useradd -

Identify the two kernelsthat are shipped with Oracle Linux 6.

  • A. Unbreakable Enterprise Kernel
  • B. Unbeatable Enterprise Kernel 11g
  • C. Red Hat Compatible Kernel
  • D. Linux Compatible Kernel
  • E. Solaris 11 Container Kernel


Answer : A,C

Explanation: Oracle Linux 6 ships with two sets of kernel packages:
*Unbreakable Enterprise Kernel [kernel-uek-2.6.32-100.28.5.el6]
Only available on the x86_64 (64 bit) platform

Installed and booted by default -
*Red Hat compatible Kernel [kernel-2.6.32-71.el6]

Installed by default -
Reference:Oracle Linux 6 Release Notes

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?

  • A. [ol6u3_base_media] name=Oracle Linux 6 Media baseurl=file:///mnt/iso/OL6u3/Server gpgcheck=1 enabled=0
  • B. [ol6u3_base_media] name=Oracle Linux 6 Media baseurl=file:///mnt/iso/V33411-01.iso gpgcheck=1 enabled=1
  • C. [ol6u3_base_media] name=Oracle Linux 6 Media baseurl=file:///mnt/iso/OL6u3/Server gpgcheck=1 enabled=1
  • D. [ol6u3_base_media] name=Oracle Linux 6 Media baseurl=http:///mnt/iso/OL6u3/Server gpgcheck=1 enabled=1


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

The DBA tells you that the system is not overloaded but you can tell that the system us actively swapping. What command would you run to show this information to the DBA?

  • A. # iotop
  • B. # iostat 5 10
  • C. # cat /proc/meminfo
  • D. # vmstat 5 10


Answer : B

Explanation: *iostat - Report Central Processing Unit (CPU) statistics and input/output statistics for devices, partitions and network filesystems (NFS).
*The iostat command is used for monitoring system input/output device loading by observing the time the devices are active in relation to their average transfer rates. The iostat command generates reports that can be used to change system configuration to better balance the input/output load between physical disks.
Incorrect:
Not A: Related to kernel and processes.
*iotop - simple top-like I/O monitor
*iotop watches I/O usage information output by the Linux kernel (requires 2.6.20 or later) and displays a table of current I/O usage by processes or threads on the system.
*iotop displays columns for the I/O bandwidth read and written by each process/thread during the sampling period. It also displays the percentage of time the thread/process spent while swapping in and while waiting on I/O. For each process, its I/O priority (class/level) is shown. In addition, the total I/O bandwidth read and written during the sampling period is displayed at the top of the interface.
Not C: related to RAM usage.
*The entries in the /proc/meminfo can help explain what's going on with your memory usage, if you know how to read it.
*High-Level Statistics
MemTotal: Total usable ram (i.e. physical ram minus a few reserved bits and the kernel binary code)
MemFree: Is sum of LowFree+HighFree (overall stat)
MemShared: 0; is here for compat reasons but always zero.
Buffers: Memory in buffer cache. mostly useless as metric nowadays
Cached: Memory in the pagecache (diskcache) minus SwapCache
SwapCache: Memory that once was swapped out, is swapped back in but still also is in the swapfile (if memory is needed it doesn't need to be swapped out AGAIN because it is already in the swapfile. This saves I/O)
Not D:vmstat - Report virtual memory statistics

Which two commands can be used on Oracle Linux to find the routing table and default gateway information of your network?

  • A. netstat –r
  • B. route show
  • C. cat /proc/route
  • D. route –n
  • E. traceroute


Answer : A,D

Explanation: A:netstat - Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
D:
*route - show / manipulate the IP routing table
* route n
-n
show numerical addresses instead of trying to determine symbolic host names. This is useful if you are trying to determine why the route to your nameserver has vanished.
*The output of the kernel routing table is organized in the following columns

Destination -
The destination network or destination host.

Gateway -
The gateway address or * if none set.

Genmask -
The netmask for the destination net; 255.255.255.255 for a
host destination and 0.0.0.0 for the default route.
Incorrect:
Not B: use route n. No subcommand show.
Not E:traceroute - print the route packets trace to network host

Examine the output of theyum.conf configurationfile fromo Oracle Linux 6 server.
What does the installonly_limit=3 option mean?

  • A. Only three users can use the yum command simultaneously to install package on Oracle Linux 6 server.
  • B. Only three Linux packages can be installed in one invocation of the yum command.
  • C. Only three repository channels can be used for installing Linux packages.
  • D. Only three versions of packages listed in installonlypkgs can be installed simultaneously.


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.

Reference:yum.conf -

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?

  • A. An unrecognized kernel boot command-line parameter has been used.
  • B. The system will boot without password.
  • C. Boot argument ether will force probing for a second ethernet card (NIC).
  • D. It will not probe foranyhard drive.


Answer : 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.

Page:    1 / 5   
Total 74 questions