Exam Code: 1Z0-100 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: Oracle Linux 5 and 6 System Administration
Certification Provider: Oracle
Free Today! Guaranteed Training- Pass 1Z0-100 Exam.
♥♥ 2017 NEW RECOMMEND ♥♥
Free VCE & PDF File for Oracle 1Z0-100 Real Exam (Full Version!)
★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions
Q21. 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
Explanation: A: 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.
Q22. Which three settings are required to configure an openLdap to use directory service provided by Ldap.example.com?
A. Set the LDAP Search Base DN and the LDAP server address and post in /etc/openldap/ldap.conf to: dc=example, dc = com ldap://ldap.example.com:389
B. Set LDAP Search Base DN and the LDAP server address and port in /etc/ldap.conf to: dc=example, dc=com ldap://ldap.example.com:389
C. Ensure that /etc/nsswitch.conf correctly references authentication priorities: passed: files ldap shadow: files ldap group: files ldap
D. Ensure that the LDAP server name can be resolved.
E. Ensure that DNS is used to resolve the LDAP server name.
Explanation: A: The configuration file for the OpenLDAP libraries is /usr/local/etc/openldap/ldap.conf.
C: In order to use LDAP naming services, you must also properly configure all LDAP client machines, in addition to modifying the nsswitch.conf
E: The client's domain name must be served by the LDAP server
Q23. 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. Reboot your system.
Explanation: Switching 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.
You must have a ULN account before you can register a system with ULN.
To register your system with ULN instead of RHN:
(C) Download the.uln_register.tgz.package from.http://linux-update.oracle.com/rpms.to a temporary directory. xtract the packages using the following command.# tar -xzf uln_register.tgz Change to the.uln_migrate.directory and install the registration packages. # cd ./uln_migrate
# rpm -Uvh *.rpm
Follow the instructions on the screen to complete the registration.
The.uln_register.utility collects information about your system and uploads it to
Q24. Examine this output:
# df –t nfs
FilesystemSizeUsedAvailUse%Mounted on o16:export30G21G7.6G74%/mnt # 1s -1 /mnt/nfs.sh
-rwxr-mr-x. 1 root root 22 May 8 16:37 /mnt/nfs.sh
# file /mnt/nfs.sh /mnt/nfs.sh: Bourne-Again shell script text executables # /mnt/nfs.sh
bash: /mnt/nfs.sh: Permission denied What is the reason for the error?
A. The file system was exported on host o16 using the ROOT_SQUASH option.
B. The /export filesystem was mounted with the NOEXEC option on host o16.
C. The filesystem mounted on /mnt was mounted with the NOEXEC option.
D. The filesystem was exported on host o16 by using the NO_ROOT_SQUASH option.
Q25. Which two statements are true concerning the installation and configuration of the bootloader by the Anaconda installer, which is then used to boot Oracle Linux?
A. The Linux Loader (LILO) bootloader may be chosen for installation.
B. The bootloader must be password protected and Anaconda prompts for a password in all cases.
C. The Grand Unified Bootloader (GRUB) is the only bootloader used by Oracle Linux.
D. If previously installed operating systems are found on disk partitions that were not overwritten, then an attempt is made to configure the bootloader to be able to boot them.
E. The bootloader is installed by default in the first partition of the disk.
Explanation: A (not C): Linux boot process from hard drive:
1. PC initializion phase - BIOS, POST.
2. PC starts boot loader - usually grub or lilo.
3. The bootloader locates kernel image on the hard drive.
4. The kernel decompresses and loads itself. Once finished it tries to mount the root filesystem. 5. When the root filesystem is mounted, /sbin/init is executed and continues booting the system using inittab and /etc/rc*.d scripts
Q26. Examine these commands used to control UPSTART logging:
[root@FAROUT init] # initctl log-priority info [root@FAROUT init] # initctl log-priority
Which three statements are true about the logging done through these commands?
A. UPSTART logs State Changes to /vat/log/messages.
B. UPSTART logs job goals to /var/log/massages.
C. UPSTART logs only informational messages about warnings and errors to /var/log/messages.
D. UPSTART logs only informational messages about warnings to /var/log/messages.
E. UPSTART logs event emissions to /var/log/messages.
Q27. Examine these details from the sysctl.conf file and from the proc file system:
[root@FAROUT fs]# grep aio-max-nr /etc/sysctl.conf # oracle-rdbms-server-11gR2-preinstall setting for fs.aio-mx-nr is 1048576 fs.aio-max-nr = 1048576
[root@FAROUT fs] # cat /proc/sys/fs/aio-max-nr 1048576
[root@FAROUT fs] # rpm –q libaio Libaio-0.0.107-10.e16.x86_64 Libaio-0.3.107-10.e76.i686
Which statement is true about the setting created by oracle-rdbms-server-11gR2-preinstall?
A. It allows a process to request an I/O without waiting for reply.
B. It allows two or more processes to request I/O simultaneously while running on different CPUs.
C. It allows a process to request a single I/O without awaiting for a reply. However, if a second I/O is requested, then the process must wait.
D. It allows two or more processes to request I/Os and then to both be notified when both of them complete.
Q28. Which three statements are true about the mount command?
A. It supports labels.
B. By default, it can be used by an ordinary user to mount a local file system.
C. It lists all the currently mounted filesystems, if executed without any arguments
D. It lists only the filesystems listed in /etc/fstab if executed without any arguments.
E. Only root can mount filesystems that are not listed in listed in /etc/fstab.
Q29. Examine the output of a bonded interface configuration from which one network cable has been unplugged:
# cat /proc.net/bonding/bond0 Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009) Bonding Mode: fault-tolerance (active-backup) Primary Slave: None Currently Active Slave: eth2 MII Status: up MII poling interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 Slave Interface: eth1 MII status: down Link Failure Count: 1 Permanent HW addr: 00:0c:29:7b:3c:71 Slave Queue ID: 0 Slave Interface: eth2 MII Status: up Link Failure Count: 0 Permanent HW addr: 00:0c:29:7b:3s:7b
Which statement is true when you plug in the eth1 network cable?
A. The status of the slave interface eth1 changes to up and is promoted to the active slave and eth2 becomes the backup slave.
B. The status of the slave interface eth1 changes to up and becomes a second active slave.
C. The status of the slave interface eth1 changes to up but must be manually assigned the active or backup slave role.
D. The status of the slave interface eth1 changes to up and becomes the backup slave.
Q30. 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
Explanation: When 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.