Examine the partition table: Disk /dev/sdd: 107 MB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File System Flags 1 1049KB 79.7MB 78.6MB Primary Which program cannot be used to add another partition on this device?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerD
Explanationkpartx - 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
Question 2
Multiple choice
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?
-
A
The expiration date of the breemar account
-
B
The number of days after the breemar account is locked, that it becomes expired
-
C
The maximum number of days that must elapse between password changes by the user breemar before the password becomes invalid
-
D
The number of days after the breemar account is locked, that it becomes unlocked
-
E
The minimum number of days that must elapse between password changes by the user breemar
-
F
The maximum number of failed login attempts on the breemar account before the account is locked
Reveal answer details
Close answer details
Correct answersA, C, E
ExplanationA: 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.
Which statement is true concerning the /etc/sysconfig directory and its files and subdirectories?
-
A
The contents are always the same for a specific version of the Oracle Linux Kernel.
-
B
The file /etc/sysconfig/init is used by upstart to control the attributes of the tty devices that get started.
-
C
The directory /etc/sysconfig/network-scripts contains files that must not be modified while the network is up.
-
D
The files only contain default values for certain daemon processes.
Reveal answer details
Close answer details
Correct answerB
ExplanationThe /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
Question 4
Multiple choice
Which three statements are true when using the Anaconda Installer to install Oracle Linux?
-
A
Unattended installation is only possible if installing the Unbreakable Enterprise kernel.
-
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 installation may be done from a USB device.
-
E
The installation may be done in text or graphical mode.
Reveal answer details
Close answer details
Correct answersB, C, E
ExplanationC: 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/anaconda-ks.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.
Bash is invoked as an interactive login shell. What is the order in which the bash configuration files are read, assuming that all the files exist in their correct location and are readable?
-
A
/etc/profile, ~/ .profile
-
B
/etc/profile, ~/ .bash_profile
-
C
/etc/profile, ~/ .bash_profile, ~/ .bash_login, ~/ .profile
-
D
/etc/profile, ~/ .bash_profile, ~/ .profile, ~/ .bash_login
Reveal answer details
Close answer details
Correct answerC
ExplanationWhen Bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The --noprofile option may be used when the shell is started to inhibit this behavior. When a login shell exits, Bash reads and executes commands from the file ~/.bash_logout, if it exists.
Question 6
Multiple choice
Identify three features/functions enabled by using asmlib?
-
A
Application-to-disk data integrity checking
-
B
Device naming persistence
-
C
Replaces udev for all files used by any application
-
D
Device ownership persistence
-
E
Multipathing driver for luns used for asmdisks
-
F
locking facility for using luns in an ASM cluster
Reveal answer details
Close answer details
Question 7
Multiple choice
Which three statements are true about the configuration of OpenLdap secure encrypted connections?
-
A
TLS and ldaps should not both be selected.
-
B
To enable idaps, you must download the Certifying Authority (CA) Certificate.
-
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
There is a command-line alternative to the Authentication Configuration Tool to enable the encrypted LDAP communication.
Reveal answer details
Close answer details
Correct answersA, C, D
ExplanationTransport Layer Security (TLS) can be used to provide data integrity and confidentiality protection. OpenLDAP supports negotiation of TLS (SSL) via both StartTLS and ldaps://.
What is the default volume or device type for swap space in Oracle Linux, when choosing the "basic storage devices" option during the install? (Choose the best answer.)
-
A
a partition on a Logical Volume Manager Logical (LVM) managed volume
-
B
a partition on a local hard disk
-
C
a Linux Multi Disk (MD) driver device
-
D
a partition on a flash disk
-
E
a swap file on the root file system
Reveal answer details
Close answer details
Match the rpm options with their functions: 1. -I a. replaces any older versions of package with the new package 2. -U b. upgrades packages, but only if an earlier version exists on your system 3. -F c. Uninstall the specified package 4. -e d. installs a new package
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerB
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.
Question 10
Multiple choice
Which three statements are true about the User Private Group scheme in Oracle Linux?
-
A
If a user jules is added with the useradd jules command, a group called jules_grp is also created
-
B
The umask for the jules user is 002 in /etc/bashrc
-
C
Users belonging to a group to which user jules also belongs, are automatically able to write to the private group belonging to the jules user.
-
D
If a user jules is added with the user add jules command, a group called jules is also added. but no other user may be a member of that group.
-
E
A directory owned by a group to which several users belong, and which has the setgid fa turned on, has shared write access to all members of the group.
-
F
The User private Group scheme is enabled by default in Oracle Linux.
Reveal answer details
Close answer details
Correct answersD, E, F
ExplanationDF (not A): By default, Oracle Linux implements the user private group (UPG) scheme where adding a user account also creates a corresponding UPG with the same name as the user, and of which the user is the only member. E: When setgid permission is applied to a directory, files that were created in this directory belong to the group to which the directory belongs, not the group to which the creating process belongs. Any user who has write and execute permissions in the directory can create a file there. However, the file belongs to the group that owns the directory, not to the user's group ownership.
Question 11
Multiple choice
You are about to switch a Red Hat Enterprise Linux 6 (RHEL6) system from the Red Hat Network to the Unbreakable Linux Network (ULN). Consider this output: # rpm -qa *rhn* rhnlib-2.5.22-12.e16.noarch yum-rhn-plugin-0.9.1-36.e16.noarch rhn-setup-1.0.0-73.e16.noarch rhn-client-tools-1.0.0-73.e16.noarch rhn-check-1.0.0-73.e16.noarch rhnsd-4.9.3-2.e16.x86_64 Identify four minimum steps that you should perform to successfully switch this system from RHN to ULN.
-
A
Create a ULN account if it doesn't exist already.
-
B
Ensure you have a valid Oracle Linux support agreement.
-
C
Install the uln_register.tgz package.
-
D
Install the uln_register.tgz and uln_register-gnome.tgz packages.
-
E
Run the uln_register command as the root user and answer the prompts.
-
F
Install the Unbreakable Enterprise kernel (UEK).
-
G
Run the yum update command.
-
H
Reveal answer details
Close answer details
Correct answersA, C, E, F
ExplanationSwitching from RHN to ULN This procedure is for a Red Hat Enterprise Linux 6 system. If you have an Oracle Linux 6 system that is registered with the Red Hat Network (RHN), you can use theuln_register utility to register. (A)You must have a ULN account before you can register a system with ULN. To register your system with ULN instead of RHN: 1. (C) Download the uln_register.tgz package from http://linux-update.oracle.com/rpms to a temporary directory. 2. xtract the packages using the following command. # tar -xzf uln_register.tgz 3. Change to the uln_migrate directory and install the registration packages. 4. # cd ./uln_migrate
# rpm -Uvh *.rpm 5. Run the uln_register command. # uln_register 6. Follow the instructions on the screen to complete the registration. The uln_register utility collects information about your system and uploads it to Oracle.
Question 12
Single choice
Examine some rules from the /etc/rsyslog.conf file: *.info;mail.debug;authpriv.none;cron.none /var/log/messages uucp, news.notice /var/log/spooler Which statement is true about the listed rules?
-
A
Only messages with a priority of info from all facilities are sent to /var/log/messages.
-
B
Only messages with a priority of notice from the news facility are sent to /var/log/spooler.
-
C
Messages with a priority of debug or higher from the mail facility are sent to /var/log/message
-
D
Only messages with a priority of debug from the mail facility are sent to /var/log/messages.
Reveal answer details
Close answer details
Question 13
Multiple choice
Which three statements are true about the bash shell script's capabilities and features?
-
A
The s* shell variable holds the exit status of the last command executed in the foreground.
-
B
The | | operator ensures that a command is run only if the command preceding the | | operator fails.
-
C
If test "SMYVAR" = prod and if ["SMYVAR" *= prod ] are equivalent ways to test the value of the MYVAR variable in a shell script.
-
D
If the first line of the script begins with #!/bin/sh, then the sh shell program is unable to interpret the script.
-
E
The bash shell supports more than 10 command-line arguments.
-
F
The && operator ensures that a command is run regardless of the outcome of the command that preceded the && operator.
Reveal answer details
Close answer details
Question 14
Single choice
An Oracle Linux system has not been updated for a while and the currently running kernel is three releases behind the most recent kernel release. Each released kernel fixed several problems, totaling 11 bug fixes. You are about to update this kernel using this command:  How does Ksplice Uptrack apply these updates? (Choose the best answer.)
-
A
It downloads three updates, clones the running kernel in memory, applies the updates in one single atomic update, and uses Kexec to activate the updated kernel
-
B
It downloads 11 updates and applies them one by one to the running kernel
-
C
It downloads 11 updates and applies them in a single transaction to the running kernel
-
D
It downloads three updates and applies them in a single transaction to the running kernel
Reveal answer details
Close answer details
Question 15
Single choice
Match the following symbolic notations of the file permissions with their numeric values: 1. - - - S - - - - - - a) 5000 2. - - - - - - S - - - b) 4100 3. - - - - - - - - - - t c) 7101 4. - - - S - - - - - T d) 1001 5. - - - S - - S - - t e) 7040 6. S - - S r - - - T f) 2010
-
A
1-d, 2-f, 3-b, 4-e, 5-c, 6-a
-
B
1-b, 2-f, 3-d, 4-a, 5-c, 6-e
-
C
1-f, 2-a, 3-c, 4-b, 5-e, 6-d
-
D
1-b, 2-d, 3-f, 4-a, 5-e, 6-c
Reveal answer details
Close answer details
Question 16
Multiple choice
Which two are correct about the oracle-rdbms-server-11gR2-preinstall and oracle-validated RPMs? (Choose two.)
-
A
They are only available to Oracle Premium Support customers
-
B
They contain a number of other RPMS that are required for a successful Oracle database product installation
-
C
They have dependencies on a number of other RPMS that are required for a successful Oracle database product installation
-
D
The oracle-validated RPMS if used, must be installed before installing an Oracle database product
-
E
The oracle-validated RPMS if used, must be installed after installing an Oracle database product
Reveal answer details
Close answer details
Question 17
Multiple choice
Which two actions should be completed when the firstboot utility runs under runlevel 5 in Oracle Linux?
-
A
Agreeing to the license agreement
-
B
Registering for software updated
-
C
Creating a nonadministrative user
-
D
setting the current date and time to be synchronized with an NTP server
-
E
Configuring the dtrace facility
Reveal answer details
Close answer details
Correct answersA, D
ExplanationPerforming FirstBoot Configuration Tasks FirstBoot runs only after an initial installation and guides you through the various remaining configuration tasks. 1. Click Forward to display the License Information window. 2. Select Yes, I agree to the license agreement, and click Forward to display the Set Up Software Updates window. 3. If your system has an active network connection, you can register your system with the Unbreakable Linux Network (ULN) and subscribe the system to software and Ksplice updates. Click Forward to display the Create User window. 4. Create a non-administrative user account. If you have an existing IPA, LDAP, Kerberos, NIS, or Winbind user database, click Use Network Login to configure the system to obtain user account information from the network server. Click Advanced if you want to specify the user's home directory or user ID. Click Forward to display the Date and Time window. 5. Set the current date and time. You can choose to synchronize the system's date and time from an NTP server. Click Forward to display the Kdump window. 6. If required, enable the Kdump kernel crash dump mechanism and configure the amount of memory to reserve for it. If your system crashes, Kdump captures information that assists in determining the cause of the crash. Click Finish to complete FirstBoot configuration and display the graphical login screen
Question 18
Single choice
Which statements is true concerning Oracle Linux configuration files for users and groups?
-
A
The /etc/passwd file contains hashed passwords for each user.
-
B
The /etc/shadow file contains hashed passwords for each user.
-
C
The GECOS field in /etc/passwd file may be empty.
-
D
The /etc/group file contains the group name and the hashed group password.
Reveal answer details
Close answer details
Correct answerB
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
Question 19
Single choice
Examine the commands used by root to create the chrooted environments in the /jail directory: # mkdir /jail/bin/jail/lib64 # cp /bin/bash/jail/bin linux-vdso.so.1 => (0x00007fff68dff000) libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00000033e00000) lid1.so.2 => /lib64/libc.so.6 (0x00000033e1600000) /lib64/id-linix-86-64.so.2 (0x00000033e0e00000) # cp /lib64/libtinfo.so.5/jail/lib64 # cp /lib64/libd1.so.6 /jail/lib64 # cp /lib64/libc.so.6 /jail/lib64 # cp /lib64/id-linux-x86-64.so.2 /jail/lib64 The user root then issues this command: # chroot /jail What is the output from the cd, pwd, and 1s commands?
-
A
bash-4.1# cd bash-4.1# pwd /root bash-4.1# 1s bash" 1s: command not found
-
B
bash-4.1# cd bash: cd: /root: No such file or directory bash-4.1# pwd / bash-4.1 # 1s bash: 1s: command not found
-
C
bash-4.1# cd bash: cd: command not found bash: pwd: command not found bash-4.1# 1s
-
D
bash: 1s; # cd bash: cd: /root: unable to access chrooted file or directory /root bash-4.1# pwd / bash-4.1 # 1s bin lib64
-
E
bash-4.1# cd bash: cd: /root: No such file or directory bash-4.1# pwd / bash-4.1# 1s bin lib64
Reveal answer details
Close answer details
Question 20
Single choice
What happens if you reboot a Ksplice Uptrack-enabled system when the following conditions exist? 1. The Internet is unreachable due to a failing router. 2. The INSTALL_ON_REBOOT property is set to YES in /etc/uptrack/uptrack.conf.
-
A
The Ksplice updates are applied early in the boot sequence despite the fact that the Internet is unreachable.
-
B
The Ksplice updates are not applied during the boot sequence, but they will be applied as soon as the Internet becomes reachable again.
-
C
The updates are not applied during the boot sequence and will not be applied after the Internet has become reachable again.
-
D
The system waits in the boot sequence for the internet to become reachable again.
-
E
The system boots to single-user mode.
Reveal answer details
Close answer details
Correct answerA
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
Question 21
Single choice
Refer to the Exhibit. [root@server1 ~ # 1s -1 /usr/bin/passwd
-r-x-x-x 1 root root 21200 oct 7 21:01 /usr/bin/passwd
[root@server1 ~] # 1s -1 /etc/shadow
-r - - - - - - - - 1 root root 1818 Mar 7 10:31 /etc/shadow]
[root@server1 ~]# A user smith is on your system complained that he is not able to change his password. As the administrator, you long-listed the passwd command and the /etc/shadow file. View the Exhibit that shows the output. What must you do to enable this user to change his password?
-
A
Set SGID on /usr/bin/passwd.
-
B
Set SUID on /usr/bin/passwd.
-
C
Set sticky bit on /usr/bin/passwd.
-
D
Set read and write permission for others on /etc/shadow.
-
E
Set permission on /etc/shadow to 600.
Reveal answer details
Close answer details
Question 22
Multiple choice
Which three Statements describe the capabilities and functions of the chkconfig command in Oracle Linux?
-
A
It can be used to change the state of a service.
-
B
It can be used to specify the run levels for which a service is to be activated.
-
C
It can be used to list all services and their run levels- D. It can be used to check the status of a service to see if it is running.
-
D
It can be used to add a service.
Reveal answer details
Close answer details
|