1Z0-100 - Oracle Linux 5 and 6 System Administration

Go back to Oracle

Exam FAQ

How many questions are there on the 1Z0-100 exam? How long is the 1Z0-100 exam? How much does the 1Z0-100 exam cost? What is the best way to study for the 1Z0-100 exam?

Example Questions

Examine the command and output shown: bash-4.1# 1s 1s: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory No files have been deleted from your system and you want to determine the cause of the error. Which two commands or utilities can help the root user diagnose this problem? What is the main advantage of the Oracle Unbreakable Enterprise Kernel compared with the Red Hat compatible kernel? Your Oracle Linux server has a network interface eth0 but the ifcfg-eth0 file is missing from the /etc/sysconfig/network-scripts directly. To set the IP address for the interface, you run this command as root: [[email protected]]# ifconfig eth0 192.168.0.1 up What is the effect of the command? Which two statements are true about kickstart installation? (Choose two.) Which two statements are true about signal handling in Oracle Linux? Which three statements are true about the mount command? Which three statements are true about the shared directories defined in the /etc/exports file? The dailyrun.sh shell script run by the user hr on a daily basis suddenly returns an error. You investigate this by running the commands manually as user hr and discovered that this line of shell cod is responsible: 1s als > /home/prodrun/files.1st Bash: files.1st:cannot overwrite existing file What is the cause of this error? Examine the partition table: Disk /dev/sdd: 107 MB Sector size (logical/physical): 512B/512B Partition Table: msdos Number StartEndSizeTypeFileSystemFlags 11049KB79.7MB78.6MBPrimary Which program cannot be used to add another partition on this device? Examine this sequence of commands and output: [[email protected] ~] # cat /etc/oracle-release Oracle Linux Server release 6.1 [[email protected] ~]# rpm ­qa oraclelinux* Oraclelinux-release-noted-6Server-5.x86_64 Oraclelinux-release-6Server-1.0.2.x86_64 [[email protected] ~] # rpm ­qa rehat-release* [[email protected] ~] # [[email protected] ~] # rpm ­qf /etc/oracle-release Oraclelinux-release-6Server-1.0.2.x86_64 [[email protected] ~] rpm ­qf /etc/redhat-release Oraclelinux-release-6Server-1.0.2.x86_64 Which two can be determined from this output? Which two statements are true about the /etc/exports entry given below? (Choose two.) /export/setup station1 (rw,no_root_squash) In which two situations would you use TCP as the preferred protocol to transfer data between different systems over a network spread across the globe? (Choose two.) Which three statements are true concerning the use of open SSH utilities? You want to display the value of a shell variable called service after assigning a value as shown: SERVICE =ACCT S Which two settings will display the name of the variable and its value? 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. You work for XYZ organization and are setting up a new Linux box. The organization wants the user's data on the system to be safe even in the event of a crash of the root filesystem. Which step do you think would help the administrator achieve the organization objective? Which statement is true concerning the /etc/sysconfig directory and its files and subdirectories? Which three statements are true about the configuration of OpenLdap secure encrypted connections? You have a single network adapter called eth0. DEVICE = eth0 BOOTPROTO=DHCP HWADR=BC:305B:C5:63;F1 NM_CONTROLLED=no ONBOOT=YES TYPE=Ethernet PEERDNS=no UUID=C9dba2e8-9faf-4b77-bbe2-92dd81dda1f9 Which two Statement:; are true concerning eth0 based on this configuration? Examine the channel specification in the /etc/yum.repos.d/public-yum-016.repo file: # head -6 /etc/yum.repos.d/public-yum-016.repo [016_latest] Name=Oracle Linux $releasever Latest ($basearch) Baseurl=http://public-yum.oracle.com/repo/oracleLinux/OL6/latest/$basearch/ Gpgkey=http://public-yum.oracle.com/RPM-CPG-KEY-oracle-o16 Gpgcheck=1 Enabled=0 What is the effect of the enabled=0 setting? Examine this extract from the /etc/ssh/sshd_config file: passwordAuthentication no What is the effect of this parameter settings on the use of openSSH commands on both the client and server? Which three compression programs can tar use to natively filter an archive? Which three tasks should be performed to configure a host to act as an SSH server? Examine the channel specification in the /etc/yum.repos.d/public-yum-016.repo file: # head -6 /etc/yum.repos.d/public-yum-016.repo [016_latest] Name=Oracle Linux $releasever Latest ($basearch) Baseurl=http://public- yum.oracle.com/repo/oracleLinux/OL6/latest/$basearch/ Gpgkey=http://public-yum.oracle.com/RPM-CPG-KEY-oracle-o16 Gpgcheck=1 Enabled=0 What is the effect of the enabled=0 setting? Identify two true statements about the nice command. For which three types of installs does the Oracle database Pre-install rpm help by installing required software packages and setting system parameters? You set the SELinux policy as SELINUXTYPE=targeted. What implications does it have on different applications? (Choose all that apply.) The user smith, whose primary group is smith, wants to create a file in his home directory, which belongs to the group apps. Which two statements are correct? You have a single network adapter called eth0. DEVICE = eth0 BOOTPROTO=DHCP HWADR=BC:305B:C5:63;F1 NM_CONTROLLED=no ONBOOT=YES TYPE=Ethernet PEERDNS=no UUID=C9dba2e8-9faf-4b77-bbe2-92dd81dda1f9 Which two statements are true concerning eth0 based on this configuration? Which three settings are required to configure an openLdap to use directory service provided by Ldap.example.com? 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? Which two statements are true regarding the use of the ssh-agent and ssh-add commands? Examine this output: $ ftp o16.example.com Connected to o16.example.com (192.168.40.131) 220 (vsFTpd 2.2.2) Name (o16.example.com:oracle): A carriage return is now entered on the keyboard and the result is shown: $ 30 permission denied. Login failed. ftp> Why is the oracle user denied access to the FTP server on the 016.example.com host? Match the rpm options with their functions: - ­I a. replaces any older versions of package with the new package - ­Ub. upgrades packages, but only if an earlier version exists on your system - ­Fc. Uninstall the specified package - ­ed. installs a new package A web server on HOST01 is listening on port 80. Examine the IPTABLES rule shown: [[email protected] ~] # iptables -L INPUT Chain INPUT (policy ACCEPT) targetportoptsourcedestination ACCEPTtcp- - anywhereanywheretcp dpt:http Another rule is then added: [[email protected] ~] # iptables -A INPUT -P tcp - - dport 80 -j REJECT What is the effect of this command on subsequent attempts to access the web server on HOST01 using port 80? Examine the UserDir directives in this extract from /etc/httpd/conf/httpd.conf: <IfModule mod_userdir.c> UserDirenabled user1 UserDirdisabled user1 UserDirpublic_html </IfModule> The web server URL is http://host01. A website server URL is http://host01. A user attempts to access user1's webpages using this URL: httpd:/host01/~user1 Which statement describes the outcome? Examine this output captured on an NFS server: # mount | grep export /dev/sdc1 on /export type ext3 (rw) /dev/sdc2 on /export/share2 type ext3 (rw) # cat /etc/exports /export (*ro) You mounted the /export filesystem on an NFS client using the command: # mount NFS_SERVER:/export/mnt What is the result of listing the files in /mnt/share2 on the NFS client? A web server on HOST01 is listening on port 80. Examine the IPTABLES rule shown: [[email protected] ~] # iptables ­L INPUT Chain INPUT (policy ACCEPT) targetportoptsourcedestination ACCEPTtcp- - anywhereanywheretcp dpt:http Another rule is then added: [[email protected] ~] # iptables ­A INPUT ­P tcp - - dport 80 ­j REJECT What is the effect of this command on subsequent attempts to access the web server on HOST01 using port 80? You issued the following command: renice +1 987 -u daemon smith -p 20 What is the purpose of issuing this command? The SSHD service is controlled by the script in /etc/init.d/sshd, part of which is shown here: [[email protected] ~] cat /etc/init.d/sshd # !/bin/bash # # sshdStart up the OpenSSH server daemon # # chkconfig: 23455525 # description: SSH is a protocol for secure remite shell access. \ # This service starts up the Open SSH server daemon. # You issue chkconfig commands to change the sshd service: [[email protected] ~] # chkconfig sshd off [[email protected] ~] # chkconfig sshd reset What is the result of the two commands issued? Which three methods might be used to change kernel parameters, thereby modifying the values for running system? Examine these commands used to control UPSTART logging: [[email protected] init] # initctl log-priority info [[email protected] init] # initctl log-priority Info [[email protected] init]# Which three statements are true about the logging done through these commands? What is the purpose of setting ONPARENT = no in an Interface configuration file located in /etc/sysconfig/network-scripts? Which three statements are true concerning the use of the grub menu in Oracle Linux? 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? Examine these details from the sysctl.conf file and from the proc file system: [[email protected] 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 [[email protected] fs] # cat /proc/sys/fs/aio-max-nr 1048576 [[email protected] 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? 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? The dailyrun.sh shell script run by the user hr on a daily basis suddenly returns an error. You investigate this by running the commands manually as user hr and discovered that this line of shell cod is responsible: 1s ­als > /home/prodrun/files.1st Bash: files.1st:cannot overwrite existing file What is the cause of this error? You want to configure the display login program to display the face browser of user accounts for system logon. Which two display managers support this feature? (Choose two.) Examine this sequence of commands and output: [[email protected] ~] # cat /etc/oracle-release Oracle Linux Server release 6.1 [[email protected] ~]# rpm -qa oraclelinux* Oraclelinux-release-noted-6Server-5.x86_64 Oraclelinux-release-6Server-1.0.2.x86_64 [[email protected] ~] # rpm -qa rehat-release* [[email protected] ~] # [[email protected] ~] # rpm -qf /etc/oracle-release Oraclelinux-release-6Server-1.0.2.x86_64 [[email protected] ~] rpm -qf /etc/redhat-release Oraclelinux-release-6Server-1.0.2.x86_64 Which two can be determined from this output?

Study Guides