1Z0-460 | A Review Of Pinpoint 1Z0-460 dumps


Q21. 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. Changethe primary group ID of every user to the required group. 

Answer:

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

Q22. What types of packages are contained in the Oracle Public YUM server? 

A. Base releases of Oracle and RedHat Linux distributions 

B. Base releases of Oracle Linux and extra/updates for Oracle Linux 

C. Red Hat Compatible Kernel, UEK, and Oracle database software 

D. Base release of Oracle Linux 

Answer:

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. 

You can download the full Oracle Linux and Oracle VM installation media via 

edelivery.oracle.com/linux. 

Note: 

Getting Started 

Oracle Linux 4, Update 6 or Newer 

# cd /etc/yum.repos.d 

# mv Oracle-Base.repo Oracle-Base.repo.disabled 

# wget http://public-yum.oracle.com/public-yum-el4.repo 

Oracle Linux 5 

# cd /etc/yum.repos.d 

# wget http://public-yum.oracle.com/public-yum-el5.repo 

Oracle Linux 6 

# cd /etc/yum.repos.d 

# wget http://public-yum.oracle.com/public-yum-ol6.repo 

Oracle VM 2 

# cd /etc/yum.repos.d 

# wget http://public-yum.oracle.com/public-yum-ovm2.repo 

Open the yum configuration file in a text editor 

Locate the section in the file for the repository you plan to update from, e.g. [el4_u6_base] 

Change enabled=0 to enabled=1 

yum list 

yum install firefox 

You may be prompted to confirm the import of the Oracle OSS Group GPG key. 

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

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 

Answer:

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 <iso image file name> /mnt 

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

Answer: A,C 

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 (Network File System) 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: 

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

Answer: A,B,D,E 

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 virtual file system 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 

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

Q26. You have to find out the version of bash shell package installed on your Oracle Linux system. Which yum command can help you find the version information? 

A. # yum version bash 

B. # yum showversion bash 

C. # yum info bash 

D. # yum listversion bash 

Answer:

Explanation: Example: 

[oracle@oraclelinux6 ~]$ yum info bash 

Loaded plugins: refresh-packagekit, security Installed Packages Name : bash Arch : x86_64 Version : 4.1.2 Release : 9.el6_2 Size : 3.0 M Repo : installed From repo : ol6_u3_base Summary : The GNU Bourne Again shell URL : http://www.gnu.org/software/bash License : GPLv3+ Description : The GNU Bourne Again shell (Bash) is a shell or command language interpreter that is compatible with the Bourne shell (sh). Bash incorporates useful features from the Korn shell (ksh) and the C shell (csh). Most sh scripts can be run by bash without modification. 

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

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. 

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

Q29. A system administrator wants to enable packet without making the changes permanent. 

What command would he use to complete this action? 

A. Echo 1> /proc/sys/net/ip_forward/ 

B. Echo 1> /proc/sys/net/ipv4_ip_forward 

C. Echo 1 > /etc/sysconfig/sys/net/ipv4/ip_forward 

D. Echo 0 > /proc/sys/net/ipv4/ip_forward 

Answer:

Explanation: The '1' in "/proc/sys/net/ipv4/ip_forward" enables IP forwarding. 

A '0' signifies IP forwarding is disabled. 

Q30. Which two statements describe Oracle ksplice? 

A. Ksplice actively applies kernel errata updates to the on-disk image and after a subsequent reboot changes take effect. 

B. Ksplice can be used to update Oracle Database software installed on a running Oracle Linux system. 

C. Ksplice actively applies kernel errata updates to the running Oracle Linux kernel image. 

D. Ksplice only works with the Red Hat Compatible Kernel. 

E. Ksplice allows customers to remain current with their OS vulnerability patches while at the same time minimizing downtime. 

Answer: C,E 

Explanation: Ksplice is a free softwareextension of the Linux kernel which allows system administrators to apply security patches to a running kernel without having to reboot the operating system(C, not A)(a technique broadly referred to as Dynamic Software Updating). It only supports patches that don't make significant semantic changes to kernel data structures.Ksplice has been implemented for Linux on the x86-32 and x86-64 architectures. It was developed by Ksplice, Inc. until 21 July 2011, when Oracle acquired Ksplice and started offering support for Oracle Linux(not D).Support for Red Hat Enterprise Linux was dropped and turned into a free 30-day trial for RHEL 

customers as an incentive to migrate to Oracle Linux Premier Support.