1z0-460.exam.40q

Number : 1z0-460 Passing Score : 800 Time Limit : 120 min

https://www.gratisexam.com/

1z0-460

Oracle 6 Implementation Essentials

https://www.gratisexam.com/ Exam A

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

https://www.gratisexam.com/

A. rpm –query /etc/rsyslog.conf B. rpm –gf /etc/rsyslog.conf C. rpm –q1 /etc/rsyslog.conf D. rpm –q /etc/rsyslog.conf

Correct Answer: B Section: (none) Explanation

Explanation/Reference: Explanation: Package Selection Options include: -f

Query package owning

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.

https://www.gratisexam.com/ 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.

QUESTION 2 On your Oracle Linux 6 system, you have to configure the eth0 network interface to 100 MB/sec, half duplex without trying to autonegotiate. Which command will help you configure this requirement?

A. # ifconfig eth0 speed 100 autoneg off duplex half B. # ethtool interface eth0 speed 100 autoneg off duplex half C. # ifconfig interface eth0 speed 100 autoneg off duplex half D. # ethtool –s eth0 speed 100 autoneg off duplex half

Correct Answer: D Section: (none) Explanation

Explanation/Reference: Explanation: When I have a device that is acting up, I tend to run: ethtool ethX, check the Supported link modes, the Link partner advertised link modes and the actual speed and Duplex. If my Supported link mode is set low (say 10/Half for some reason) but my switch supports 1000baseT/Full then I'll use ethtool -s ethX to change my ethernet settings to 1000baseT/Full. Just about anything you see from: ethtool ethX, can be changed with ethtool -S ethX. In this case you would use the following: ethtool -S eth0 speed 1000 duplex full autoneg on

QUESTION 3 DTrace is being ported from Solaris to Oracle Linux. Which three statements are true for the DTrace tool?

A. DTrace allows static and dynamic tracing of your applications and your kernel. B. DTrace tool is used to compile debug kernel modules and device drivers C. DTrace allows you to dynamically define probe points on the fly. D. DTrace probes and probe points are usually defined by the user using scripts written in a language called D. E. DTrace tool is based on the strace Linux tool and includes both user and kernel strace features.

Correct Answer: ACD Section: (none) Explanation

Explanation/Reference:

https://www.gratisexam.com/ Explanation: A: DTrace is a comprehensive dynamic tracing framework created by for troubleshooting kernel and application problems on production systems in real time.

C: Key benefits and features of DTrace on Oracle Linux include:

/ Designed to work on finding performance bottlenecks / (C) Dynamically enables the kernel with a number of probe points, improving ability to service software / Enables maximum resource utilization and application performance / Fast and easy to use, even on complex systems with multiple layers of software

D: Testers write tracing programs (also referred to as scripts) using the D programming language (not to be confused with other programming languages named "D"). The language, a subset of C, includes added functions and variables specific to tracing. D programs resemble awk programs in structure; they consist of a list of one or more probes (instrumentation points), and each probe is associated with an action. These probes are comparable to a pointcut in aspect-oriented programming.

QUESTION 4 Identify the option with two files that are found in the /etc/sysconfig directory.

A. /etc/sysconfig/autofs and/etc/sysconfig/authconfig B. /etc/sysconfig/ifcfg-eth0 and/etc/sysconfig/atd C. /etc/sysconfig/resolv.conf and/etc/sysconfig/network D. /etc/sysconfig/resolv.conf and/etc/sysconfig/grub.conf

Correct Answer: A Section: (none) Explanation

Explanation/Reference: Explanation: * The /etc/sysconfig/autofs file defines custom options for the automatic mounting of devices.

* The /etc/sysconfig/authconfig file sets the kind of authorization to be used on the host.

Note: * /etc/sysconfig/network

Used to configure networking options.

Incorrect: Not C, Not D:

https://www.gratisexam.com/ * The program that resolves hostnames to IP addresses reads a file called resolv.conf. This file is located in /etc/resolv.conf directory.

QUESTION 5 Which two options can be completed when using the Firewall Configuration Tool, system – config – firewall?

A. Write complex firewall rules for checking, logging, and rejecting inbound and outbound connections B. Enabling or disabling the firewall entirely C. Build a filter to obfuscate sensitive data (national ID numbers, Credit Cards, and so on) D. Select the services that have access to the network resource

Correct Answer: BC Section: (none) Explanation

Explanation/Reference: Explanation: system-config-firewall

The GUI screen to control the firewall is available from the menu (System > Administration > Firewall) or can be started from the command line using the system- config-firewall command.

Once started, the toolbar provides buttons to allow the firewall to be enabled/disabled (B). You can also configure basic trusted services, such as SSH, FTP and HTTP (C), by putting a tick in the appropriate checkbox and clicking the "Apply" button on the toolbar.

https://www.gratisexam.com/

The "Other Ports" section allows you to open ports that are not covered in the "Trusted Services" section.

QUESTION 6 Identify the Oracle-supported source for obtaining Oracle Linux

A. From any good Linux distribution B. From Oracle's eDelivery software delivery cloud C. From Oracle Metalink Support D. From Linux vendors such as Red Hat or SUSE E. From Anaconda Installer

Correct Answer: B Section: (none) Explanation

Explanation/Reference:

https://www.gratisexam.com/ Explanation: * Oracle Software Delivery Cloud. Here you can find downloads for the Oracle Linux , Oracle VM, and Oracle VM Templates for both Linux and Solaris.

QUESTION 7 View the output below. As oracle user, you run the following command on your Oracle Linux 6 system:

[oracle@dbhost ~ ] $ [oracle@dbhost ~] $ nice - - 10 ./myscript.sh & [1] 2735 [oracle@dbhost ~] $ nice: cannot set niceness: permission denied

Why is the nice command failing?

A. Shell scripts cannot be assigned a negative nice value. B. There is already another process running with same niceness value on this system. C. A negative nice value can be set by the root user. D. A nice value of -10 is not the permissible niceness range.

Correct Answer: C Section: (none) Explanation

Explanation/Reference: Explanation: Only a privileged user may run a process with lower niceness: $ nice -n -1 nice nice: cannot set niceness: Permission denied 0 $ sudo nice -n -1 nice -1

Note: Sudo stands for either "substitute user do" or "super user do" (depending upon how you want to look at it). What sudo does is incredibly important and crucial to many Linux distributions. Effectively, sudo allows a user to run a program as another user (most often the root user).

QUESTION 8 You have to mount the Oracle Linux ISO image file OracleLinux –R6 – U2 – Server – X86_64-dvd.iso to the /media/cdrom mount point. Which command will help you mount the Oracle Linux ISO image file?

A. # mount OracleLinux –R6 –U2 –Server X86_64-dvd.iso /media/cdrom

https://www.gratisexam.com/ B. # mount –t DVD OracleLinux –R6 –U2-Server-X86_64-DVD.iso/media/cdrom C. # mount /dvd/OracleLinux -R6 -U2- Server=X86_64-dvd.iso /media/cdrom/OracleLinux-R6-UI-Server-X86_64-dvd.iso D. # mount – 0 ro, loop oracleLinux –R6 –U2 –Server –X86_64 –dvd.iso /media/cdrom

Correct Answer: D Section: (none) Explanation

Explanation/Reference: Explanation: Mount the DVD iso of the desired update of Oracle Linux Release 5. Use the following command for mounting the DVD media inserted in /dev/cdrom

# mount -r -o loop -t iso9660 /dev/cdrom /mnt

Use following command to mount iso image file

# mount -o loop /mnt

QUESTION 9 You have to find the default runlevel of your Oracle Linux system. Which file will help you find this information?

https://www.gratisexam.com/

A. /boot/grub/grub.conf B. /etc/inittab C. /etc/rc.d/rc.sysinit D. /etc/rc.local E. /etc/rc.d/init.d

Correct Answer: B Section: (none) Explanation

Explanation/Reference:

https://www.gratisexam.com/ Explanation: The default run level is specified in the /etc/inittab file.

QUESTION 10 Examine the following commands: # groupadd project # mkdir /usr/share/project # chown –R root.project /usr/share/project # qpasswd –a scott project # qpasswd –a foo project # 2775 /usr/share/project

Based on the commands, which statement is correct?

A. Any new file created in the /usr/share/project folder by user scott will not be possible for foo to modify it. B. All members of the project group need the administrator’s help to change the file permission every time users write new files in the /usr/share/project folder. C. Files created by all members of the project group in the /usr/share/project folder will get the same group permission as the folder itself. D. The chmod command can only take a three-digit argument.

Correct Answer: B Section: (none) Explanation

Explanation/Reference: Explanation:

QUESTION 11 Which three statements describe the Unbreakable Enterprise Kernel (UEK)?

A. The UEK contains proprietary Linux Kernel enhancements only available to Oracle Linux. B. The UEK is available for (32 bit), x86-64 (64 bit), ARM 32 bit, and ARM 64 bit servers. C. Existing applications run unchanged with the UEK in place because all system libraries remain unchanged. D. The UEK has more recent kernel enhancements for features like power management than the Red Hat Compatible Kernel. E. The UEK has ASMlib included by default.

Correct Answer: ACE Section: (none) Explanation

https://www.gratisexam.com/ Explanation/Reference: Explanation: A: 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. C: Oracle claims that the Unbreakable Enterprise Kernel is compatible with RHEL, and Oracle middleware and third-party RHEL-certified applications can be installed and run unchanged on Unbreakable Enterprise Kernel. E: Oracle ASMlib is included by default

Incorrect: Not B: Unbreakable Enterprise Kernel is available for x86-64 servers.

QUESTION 12 Identify three valid modes for SELinux.

A. Disabled B. Enforcing C. Running D. Permissive E. Enabled F. High_level G. Label_only

Correct Answer: ABD Section: (none) Explanation

Explanation/Reference: Explanation: SELinux has three modes: Enforcing: SELinux policy is enforced. SELinux denies access based on SELinux policy rules. Permissive: SELinux policy is not enforced. SELinux does not deny access, but denials are logged for actions that would have been denied if running in enforcing mode. Disabled: SELinux is disabled. Only DAC rules are used.

QUESTION 13 Which two features are available with the Unbreakable kernel R2, but not with the Red Hat Compatible Kernel?

A. Oracle Clusterware for Linux B. Up to 4-petabyte cluster volumes with OCFS2

https://www.gratisexam.com/ C. Ksplice zero downtime patching D. Transparent Huge Pages support (that is, 2 MB instead of 4 KB)

Correct Answer: AB Section: (none) Explanation

Explanation/Reference: Explanation: Oracle’s Unbreakable Enterprise Kernel KEY FEATURES: * Modern kernel based on 2.6.32, optimized by Oracle for server deployments * Includes OCFS (Oracle Cluster )2 1.6 for clustered volumes * Includes OFED 1.5.1 * Advanced NUMA support * New diagnostic and tracing tools, including performance counters * Complete data integrity checking from application to disk * Hardware fault management

QUESTION 14 You have successfully installed the uptrack tool on servers you will be using ksplice kernel updates. Which two options are correct descriptions of commands you can run?

A. “uptrack-show”: list the active Oracle Ksplice updates in your running kernel. B. “uptrack-upgrade”: connect to the Uptrack update server, check and apply new updates when available. C. “uptrack-upgrade”: connect to the Uptrack update server, check and download a new update to the uptrack tool. D. “uptrack-show ”: list the servers that have the uptrack tool installed using the current key.

Correct Answer: AB Section: (none) Explanation

Explanation/Reference: Explanation: A: uptrack-show

You can see what updates have been installed by running uptrack-show:

B: uptrack-upgrade

https://www.gratisexam.com/ Ksplice updates are the same security and bugfix updates you would get from your Linux vendor, packaged in a special rebootless form. To apply Ksplice updates, just run uptrack-upgrade.

QUESTION 15 You have executed the following commands as the root user:

# find /home | cpio –o –H tar –F root@HostA: /dev/nst0 - - rsh –command = /usr/bin/ssh

What is the purpose of issuing this command?

A. To archive the contents of the /home directory in the tar format to a remote host system’s tape drive device /dev/nst0 B. To archive the contents of the /home directory in the cpio format to a remote host system’s tape device /dev/nst0 C. To archive the contents of the /home directory in the cpio and tar formats to a remote system’s tape drive device /dev/nst0 D. To extract the contents of the /home directory from the tape drive device /dev/nst0

Correct Answer: A Section: (none) Explanation

Explanation/Reference: Explanation:

Note:

* The cpio command is one of standard Unix backup utilities. It stands for "copy in/out." It is much less well known and more rarely used Unix utility in comparison with tar.

* The cpio command is one of standard Unix backup utilities. It stands for "copy in/out." It is much less well known and more rarely used Unix utility in comparison with tar.

* -H format. Here tar

QUESTION 16 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?

https://www.gratisexam.com/

A. CPU is bottleneck because the run queue size is greater than the number of CPUs on your system. B. The average of three processes are only using the CPU on your system and hence the CPU is not a bottleneck. C. CPU is not a bottleneck because the run queue size indicates the number of CPU bound processes on your system. D. CPU is a bottleneck because the run queue size indicates that adequate memory is not allocated.

Correct Answer: A Section: (none) Explanation

Explanation/Reference: 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.

https://www.gratisexam.com/ swpq-sz Swap queue of processes for the sar command.

%swpocc Swap queue of processes for the sar command.

QUESTION 17 You want to allow multiple users the write access to files within the same directory, in addition, you want all the new files created in this directory to be of the required group instead of the primary ID of the user who creates the file. How do you accomplish this?

A. Set the setgid bit on the directory. B. Change the group owner of the new files manually. C. Run a cron job to change the group owner. D. Change the primary group ID of every user to the required group.

Correct Answer: A Section: (none) Explanation

Explanation/Reference: Explanation: Linux: SETGID on directory

SETGID stands for SET Group ID. We can use the command chmod to set the group ID bit for a directory. chmod g+s mydir or with numeric mode: chmod 2775 mydir

After the change, the permission of the directory "mydir" becomes "drwxrwsr-x". drwxrwsr-x 3 zen zen 4096 2010-03-18 19:57 mydir

But what is so special about setting the group ID for a directory? The trick is that when another user creates a file or directory under such a directory "mydir", the new file or directory will have its group set as the group of the owner of "mydir", instead of the group of the user who creates it.

For example, if user2 belongs to the groups "user2" (main group) and "zen", and he creates a file "newfile" under the diretory "mydir", "newfile" will be owned by the group of "zen" instead of user2's main group ID "user2".

https://www.gratisexam.com/ QUESTION 18 You have to aggregate two network interfaces, eth0 and eth1, into a single logical interface such as bond0. Which option shows the four configuration files that need to be configured to set up this bonding?

A. /etc/sysconfig/network-scripts/ifcfg-bond0/etc/sysconfig/network-scripts/ifcfg-eth0/etc/sysconfig/network-scripts/idfg-eth1/proc/bonding.conf B. /etc/sysconfig/network-scripts/ifcfg-bond0/etc/sysconfig/network-scripts/ifcfg-eth0/etc/sysconfig/network-scripts/idfg-eth1/etc/modeprobe.d/bonding.cfg C. /etc/sysconfig/netwok-scripts/ifcfg-bond0/etc/sysconfig/netwok-scripts/ifcfg-eth0/etc/sysconfig/netwok-scripts/ifcfg-eth1/etc/modprobe.d/bonding.conf

https://www.gratisexam.com/

D. /etc/sysconfig/network-scripts/ifcfg-bond0/etc/sysconfig/network-scripts/eth0/etc/sysconfig/network-scripts/eth1/etc/bonding.conf

Correct Answer: C Section: (none) Explanation

Explanation/Reference: Explanation: * Step #1: Create a Bond0 Configuration File

Red Hat Enterprise Linux (and its clone such as CentOS) stores network configuration in /etc/sysconfig/network-scripts/ directory. First, you need to create a bond0 config file as follows: # vi /etc/sysconfig/network-scripts/ifcfg-bond0

* Step #2: Modify eth0 and eth1 config files Open both configuration using a text editor such as vi/vim, and make sure file read as follows for eth0 interface# vi /etc/sysconfig/network-scripts/ifcfg-eth0

* Step # 3: Load bond driver/module

Make sure bonding module is loaded when the channel-bonding interface (bond0) is brought up. You need to modify kernel modules configuration file: For each configured channel bonding interface, there must be a corresponding entry in your new /etc/modprobe.d/bonding.conf file.

QUESTION 19 Your Oracle Linux system has two network interfaces – eth0 and eth1. You have to change the netmask and the IP address of the eth1 network interface. Which configuration file would you edit to make these changes?

https://www.gratisexam.com/ A. /proc/net/ifcg-eth1 B. /etc/sysconfig/network-scripts/eth1 C. /etc/sysconfig/network/ifcg-eth1 D. /etc/sysconfig/network-scripts/ifcfg-eth1

Correct Answer: D Section: (none) Explanation

Explanation/Reference: Explanation: The "/etc/sysconfig/network-scripts/ifcfg-eth0" file holds the network configuration for the "eth0" adapter. If you have multiple network adapters, you would expect additional configuration files (eth1, eth2 etc.).

Note: * The "/etc/sysconfig/network" file holds top-level networking configuration, including the hostname and gateway settings.

QUESTION 20 The crond daemon checks each command to see whether it should be run in the current ______.

A. Second B. Minute C. Hour D. Day

Correct Answer: B Section: (none) Explanation

Explanation/Reference: Explanation: The cron utility then wakes up every minute, examining all stored crontabs, checking each command to see if it should be run in the current minute.

QUESTION 21 Which two statements are correct about the Oracle ASMLib library?

A. Oracle ASMLib is an optional support library for the Automatic Storage Management (ASM) feature. B. To use ASMLib library, you have to recompile it first for the Unbreakable Enterprise Kernel.

https://www.gratisexam.com/ C. Oracle Automatic Storage management (ASM) requires Oracle ASMLib library to function completely. D. Oracle ASMLib kernel driver is included in the Unbreakable Kernel.

Correct Answer: AD Section: (none) Explanation

Explanation/Reference: Explanation: A (not C): ASMLib is an optional support library for the Automatic Storage Management feature of the Oracle Database. ASMLib allows an Oracle Database using ASM more efficient and capable access to the disk groups it is using. D (not B): The Oracle ASMLib kernel driver is now included in the Unbreakable Enterprise Kernel. No driver package needs to be installed when using this kernel.

QUESTION 22 You have to collect information about your Oracle Linux 6 system, such as hardware configuration, installed software packages, configuration, and operational state send it to Oracle Support. Which tool will help you gather this information for sending it to Oracle Support?

A. sosreport B. iostat C. kdump D. strace E. systemstat

Correct Answer: A Section: (none) Explanation

Explanation/Reference: Explanation: sosreport - Generate debugging information for this system sosreport generates a compressed tarball of debugging information for the system it is run on that can be sent to technical support reps that will give them a more complete view of the overall system status.

Incorrect: Not B: 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.

Not C: kdump.conf is a configuration file for the kdump kernel crash collection service.

https://www.gratisexam.com/ kdump.conf provides post-kexec instructions to the kdump kernel. It is stored in the initrd file managed by the kdump service. If you change this file and do not want to restart before it takes effect, restart the kdump service to rebuild to initrd.

Not D: strace - trace system calls and signals

QUESTION 23 What does the following command do?

$ sudo btrfs subvolume snapshot src src-01

A. Creates snapshots of the src src-01 subvolumes B. Creates a snapshot of the src-01 subvolumes in src C. Creates the src and src-01 subvolumes and takes a snapshot of these subvolumes D. Creates a snapshot of the src subvolumes in src-01

Correct Answer: D Section: (none) Explanation

Explanation/Reference: Explanation: * To create a snapshot use sudo btrfs subvolume snapshot /mnt/@ /mnt/@_snapshot this will create a snapshot of the @ subvolume named @_snapshot located also in the top of the btrfs tree.

* btrfs subvolume snapshot [/] Create a writable snapshot of the subvolume with the name in the directory.

QUESTION 24 View the following GRUB command or the output of fixing the GRUB boot problem:

https://www.gratisexam.com/

Based on the output, which statement is true?

A. The GRUB command sequence restores GRUB from the first partition on the second hard disk. B. The GRUB command sequence does not restore GRUB. C. GRUB command sequence restores GRUB from the second partition on the first hard disk. D. The GRUB command sequence verifies the stage1 on the first partition on first hard disk.

Correct Answer: C Section: (none) Explanation

Explanation/Reference: Explanation: hd0,1 indicates the first hard drive and the second partition.

Note: * grub - the grub shell Enter the GRand Unified Bootloader command shell.

* In the following example we assume that the boot partition is located at /dev/hda5 and that GRUB must be installed on the first disk's MBR. grub> root (hd0,4)

https://www.gratisexam.com/ Filesystem type is ext2fs, partition type 0x83 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 23 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+23 p (hd0,4)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded Done. grub> quit The first command includes the location of the boot partition, thus indicating where the boot loader files are located. The second command installs GRUB on the MBR. For this purpose, a file called stage1_5 is used to grant GRUB access to the file system on the boot partition.

QUESTION 25 The /proc file system is a pseudo-file system, which is used as an interface to kernel data structures. Which four statements are true about the /proc file system?

A. The /proc file system contains a numerical subdirectory for each running process. B. The /proc file system contains a hierarchy of special files that represent the current state of the kernel. C. The /proc file system has to be mounted by the system administrator after a reboot. D. The /proc/cpuinfo virtual file identifies the type of processor used by your system. E. The /proc directory contains information about system hardware and any running processes. F. The files in the /proc directory are read-only system files that cannot be changed.

Correct Answer: ABDE Section: (none) Explanation

Explanation/Reference: Explanation: * The /proc file system exists in slightly different variations on Linux and the Solaris OS. On both systems, /proc is a directory containing files whose names are the process IDs of the current active processes on the system (A). Each PID-named file is in turn a directory. /proc on Linux has various other directories besides processes. Most of these deal with processors, devices, and statistics on the system. On Linux, one looks in /proc to find information about processes, processors, devices, machine architecture, and so on (E).

* The /proc is a that contains files that show the status of the Linux operating system kernel. Most of the files have a size of 0 bytes, but they actually contain a large amount of data. The timestamps of these virtual files changes as the contents of the files are updated by the OS.

* The following virtual files provide an indication, at the moment they are being viewed, about the system hardware: n /proc/partitions: Gives the size and name of partitions n /proc/meminfo: Memory statistics and segment sizes

https://www.gratisexam.com/ n /proc/mounts: List of the mount points n /proc/uptime: Uptime of the system n /proc/interrupts: List of interrupts on the system

D: The contents of the files can be seen with the classical command cat, thereby viewing the information of the CPU. linux-mlpb:~ # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 9 model name : Intel(R) Pentium(R) M processor 1700MHz stepping : 8 cpu MHz : 1694.501 cache size : 1024 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 up pebs bts bogomips : 3408.43 clflush size : 64 linux-mlpb:~ # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 9 model name : Intel(R) Pentium(R) M processor 1700MHz stepping : 8 cpu MHz : 1694.501 cache size : 1024 KB

https://www.gratisexam.com/ fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 up pebs bts bogomips : 3408.43 clflush size : 64

QUESTION 26 You have kdump service enabled on your Oracle Linux system and experience a kernel crash. The crash dump file is created on your system, but you are not aware where this crash file was created. Which two places can you find the path information where the crash dump file is being generated on your system?

A. Check the settings in the /etc/kdump.conf file. B. Check the settings in the /etc/sysconfig/kdump.conf file. C. Check the target settings by running the system-config-kdump command. D. Check the settings in the /proc/sys/kernel/crash.conf file.

Correct Answer: AC Section: (none) Explanation

Explanation/Reference: Explanation: A: When a kernel crash is captured, the core dump can be either stored as a file in a local file system, written directly to a device, or sent over a network using the NFS () or SSH (Secure Shell) protocol. Only one of these options can be set at the moment, and the default option is to store the vmcore file in the /var/crash/ directory of the local file system. To change this, as root, open the /etc/kdump.conf configuration file in a text editor and edit the options.

C: You can use the system-config-kdump GUI to setup Kdump:

https://www.gratisexam.com/

QUESTION 27 As a root user, you executed the following command on your Oracle Linux 6 server:

[root@host] # strace - o /tmp/diag.out sh diag.sh

Which statement describes the purpose of this command?

A. It collects the memory and swap space metrics when the diag.sh scripts runs.

https://www.gratisexam.com/ B. It collects the operating system metrics when the diag.sh script runs. C. It records the memory usage and CPU usage information of the processes when the diah.sh script runs. D. It records the system calls, which are called by the processes when the diag.sh script runs.

https://www.gratisexam.com/

Correct Answer: D Section: (none) Explanation

Explanation/Reference: Explanation: * strace - trace system calls and signals

In the simplest case strace runs the specified command until it exits. It intercepts and records the system calls which are called by a process and the signals which are received by a process. The name of each system call, its arguments and its return value are printed on standard error or to the file specified with the -o option.

* strace is a useful diagnostic, instructional, and debugging tool. System administrators, diagnosticians and trouble-shooters will find it invaluable for solving problems with programs for which the source is not readily available since they do not need to be recompiled in order to trace them. Students, hackers and the overly-curious will find that a great deal can be learned about a system and its system calls by tracing even ordinary programs. And programmers will find that since system calls and signals are events that happen at the user/kernel interface, a close examination of this boundary is very useful for bug isolation, sanity checking and attempting to capture race conditions.

Each line in the trace contains the system call name, followed by its arguments in parentheses and its return value. An example from stracing the command ''cat / dev/null'' is: open("/dev/null", O_RDONLY) = 3 Errors (typically a return value of -1) have the errno symbol and error string appended. open("/foo/bar", O_RDONLY) = -1 ENOENT (No such file or directory) Signals are printed as a signal symbol and a signal string. An excerpt from stracing and interrupting the command ''sleep 666'' is: sigsuspend([] --- SIGINT (Interrupt) --- +++ killed by SIGINT +++

References:

https://www.gratisexam.com/ QUESTION 28 The Oracle “helper” package (RPM), formerly known as “Oracle-validated” (which helps meet prerequisites for installing Oracle software), has been renamed. What is the new name?

A. Oracle-11gR2-validated B. Oracle-11fR2-valid_package C. Oracle-rdbms-server-11gR2-preinstall D. Oracle-11gR2-preinstall

Correct Answer: C Section: (none) Explanation

Explanation/Reference: Explanation: Now that the certification of the Oracle Database 11g R2 with Oracle Linux 6 and the Unbreakable Enterprise Kernel has been announced, we are glad to announce the availability of oracle-rdbms-server-11gR2-preinstall, the Oracle RDBMS Server 11gR2 Pre-install RPM package (formerly known as oracle-validated). Designed specifically for Oracle Linux 6, this RPM aids in the installation of the Oracle Database.

References:

QUESTION 29 View the exhibit.

https://www.gratisexam.com/ 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.

https://www.gratisexam.com/ Correct Answer: A Section: (none) Explanation

Explanation/Reference: 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, just change the line:default=0 bydefault=1

QUESTION 30 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 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.

Correct Answer: AD Section: (none) Explanation

Explanation/Reference: 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 12c’s 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.

QUESTION 31 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

https://www.gratisexam.com/ Correct Answer: AD Section: (none) Explanation

Explanation/Reference: 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.

QUESTION 32 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 program’s current users. Which option will allow you to download until you have coordinated with the program’s 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

Correct Answer: C Section: (none) Explanation

Explanation/Reference: 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.

https://www.gratisexam.com/ QUESTION 33 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

Correct Answer: A Section: (none) Explanation

Explanation/Reference: Explanation:

QUESTION 34 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

Correct Answer: C Section: (none) Explanation

Explanation/Reference: 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

https://www.gratisexam.com/ 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.

QUESTION 35 Which three statements are true about the Kickstart installation method?

A. The Kickstart installation method helps to speed boot time 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.

Correct Answer: BCD Section: (none) Explanation

Explanation/Reference: 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.

References:

QUESTION 36

https://www.gratisexam.com/ 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

Correct Answer: D Section: (none) Explanation

Explanation/Reference: Explanation:

QUESTION 37 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

Correct Answer: AD Section: (none) Explanation

Explanation/Reference: 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.

https://www.gratisexam.com/ * 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

QUESTION 38 View the cron job example below. How often will this cron job run?

0 */ 5 * * * command

A. every 5 minutes B. every 5 hours C. every 5 days D. every 5th month

Correct Answer: B Section: (none) Explanation

Explanation/Reference: Explanation: Execute a cron job every 5 Hours

The second field is for hours. If you specify * in this field, it runs every hour. If you specify */5 in the 2nd field, it runs every 5 hours as shown below.

0 */5 * * * /home/ramesh/backup.sh

https://www.gratisexam.com/ QUESTION 39 Which option determines whether a system users NIS, local files, DNS, or a combination as the source of information, and also order of the source?

A. /etc/resolv.conf B. /etc/idap.conf C. /etc/nsswitch.conf D. /etc/yp.conf

Correct Answer: C Section: (none) Explanation

Explanation/Reference: Explanation: The Name Service Switch (NSS) configuration file, /etc/nsswitch.conf, is used by the GNU C Library to determine the sources from which to obtain name-service information in a range of categories, and in what order. Each category of information is identified by a database name.

The file is plain ASCII text, with columns separated by spaces or tab characters. The first column specifies the database name. The remaining columns describe the order of sources to query and a limited set of actions that can be performed by lookup result.

Incorrect: Not A: In most Unix-like operating systems and others that implement the BIND Domain Name System (DNS) resolver library, the resolv.conf configuration file contains information that

Not D: /etc/yp.conf - NIS binding configuration file

References:

QUESTION 40 Which three things does oracle-edbms-server-11gR2-preinstall RPM package do to simplify the installation of Oracle Database on Oracle Linux 6 systems?

A. Downloads and installs various software packages and specific versions needed for Oracle database installation B. Downloads and installs packages required for Oracle Database installation, runs the runInstaller utility to install the database, and then starts the database C. Creates the Oracle user and the oinstall and dba groups, which are the default user and groups used during Oracle database installation D. Modifies and sets kernel parameters in /etc/sysctl.conf and sets shell resource limits in /etc/security/limits.conf based on the Oracle Database Server installation requirements E. Checks whether all packages are installed to support RDBMS and then calls the Oracle Universal Installer utility to install RDBMS and then calls the Oracle Universal Installer utility to install RDBMS

Correct Answer: ACD

https://www.gratisexam.com/ Section: (none) Explanation

Explanation/Reference: Explanation: In order to install the Oracle Database 11g R2 on Oracle Linux 6, your system needs to meet a few prerequisites, as outlined in the Linux Installation Guides. Using the Oracle RDBMS Server 11gR2 Pre-install RPM, you can complete most of the pre-installation configuration tasks.

The package:

* (A) Causes the download and installation of various software packages and specific versions needed for database installation, with package dependencies resolved via yum * (C) Creates the user oracle and the groups oinstall and dba, which are the defaults used during database installation * (D) Modifies kernel parameters in /etc/sysctl.conf to change settings for shared memory, semaphores, the maximum number of file descriptors, and so on * (D) Sets hard and soft shell resource limits in /etc/security/limits.conf, such as the number of open files, the number of processes, and stack size to the minimum required based on the Oracle Database 11g Release 2 Server installation requirements * Sets numa=off in the kernel boot parameters for x86_64 machines

https://www.gratisexam.com/

https://www.gratisexam.com/