Oracle Linux 5 and 6 System Administration v7.1 (1z0-100)

Page:    1 / 8   
Total 108 questions

You want sendmail to deliver mail for these users:
[email protected] mailbox jsmith1
[email protected] mailbox jsmith2
[email protected] mailbox jsmith3
In which sendmail configuration database can this requirement be defined?

  • A. /etc/aliases
  • B. /etc/mail/userdb
  • C. /etc/mail/virtusertable
  • D. /etc/mail/domaintable
  • E. /etc/mail/genericstable


Answer : C

Explanation: /etc/mail/virtusertable
This database file maps mail addresses for virtual domains and users to real mailboxes.
These mailboxes can be local, remote, aliases defined in /etc/mail/aliases, or files. This allows multiple virtual domains to be hosted on one machine.
The following example demonstrates how to create custom entries using that format: [email protected] root [email protected] [email protected]
@example.com joe

Identify two true statements about the nice command.

  • A. It may the used to raise the priority of existing processes.
  • B. It may be used to set the initial priority of a process.
  • C. A higher nice value makes a process run at a lower priority.
  • D. By default, a normal user can make a process run at a higher priority.
  • E. It may be used to lower the priority of existing processes.


Answer : B,C

Which two conditions should be met in order to successfully configure an openssh client on
Oracle Linux?

  • A. The openssh-server package must not be installed.
  • B. The openssh package must be installed.
  • C. The sshd daemon must not be started.
  • D. The openssh-client package must be installed.
  • E. The ssh-agent must be started.
  • F. ssh keys must be generated by any user using the ssh client.


Answer : B,D

Explanation: To connect to an OpenSSH server from a client machine, you must have the openssh-clients and openssh packages installed on the client machine.

Which three compression programs can tar use to natively filter an archive?

  • A. Zip
  • B. Bzip2
  • C. Gzip
  • D. Xz
  • E. Cpio


Answer : B,C,D

Examine this MDAM output:


Which two aspects can be determined from this output?

  • A. A RAID device failed and has been replaced with the hot spare.
  • B. A new RAID device was just added to replace a failed one.
  • C. Read and write performance is currently not optimal on this RAID set.
  • D. Only write performance is currently not optimal on this raid set.
  • E. An extra device was added to this RAID set to increase its size.


Answer : A,E

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. It lists any files stored in the share2 directory in the /dev/sdc1 partition of the NFS server.
  • B. It lists any files stored in the root directory in the /dev/sdc2 partition of the NFS server.
  • C. It results in a permission denied error.
  • D. It results in a stale NFS handle error.
  • E. It produces no output.


Answer : B

Which four statements are true about software on the Oracle Public YUM server?

  • A. It contains Oracle Linux installation ISO images.
  • B. It contains Oracle Linux binary RPM packages.
  • C. It contains Oracle Linux errata packages.
  • D. It contains Oracle Linux source RPM packages.
  • E. It contains beta Oracle Linux software packages.
  • F. It does not contain Unbreakable Enterprise Kernel packages.


Answer : B,C,D,F

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.
Oracle provides all errata and updates for Oracle Linux via the Public Yum service, which includes updates to the base distribution, but does not include Oracle-specific software.
F: By default, all new installations of Oracle Linux 6 Update 5 are automatically configured to use the public yum update service. If you subsequently register the system with ULN, the public yum service is automatically disabled.

What is the main advantage of the Oracle Unbreakable Enterprise Kernel compared with the Red Hat compatible kernel?

  • A. It is more secure and, therefore, more difficult to hack.
  • B. It has a lower Mean Time Between Failures.
  • C. It provides higher availability for applications by reducing Mean Time to Recovery.
  • D. It scales better for more CPUS, memory, and Infiniband network connections.


Answer : D

Explanation: The Unbreakable Enterprise Kernel, for those who want to leverage the latest features from mainline Linux and boost performance and scalability.
The Red Hat Compatible Kernel, for those who prefer strict Red Hat kernel ABI (kABI) compatibility.

Which three statements are true concerning filesystems supported by Oracle Linux?

  • A. An ext3 filesystem can be mounted as an ext2 filesystem.
  • B. An ext4 filesystem can be mounted as an ext3 filesystem.
  • C. The ext3 and ext4 filesystems both support multiple journaling modes.
  • D. The btrfs filesystem includes a volume manager.
  • E. The btrfs filesystem cannot be used for the root filesystem.
  • F. The ext4 filesystem is a copy-on-write filesystem.


Answer : A,C,D

Explanation: A: ext2 file systems are upgradeable to ext3 without reformatting.
C: The ext3 file system includes journaling capabilities to improve reliability and availability.
In addition to the features of ext3, the ext4 file system supports extents (contiguous physical blocks), pre-allocation, delayed allocation, faster file system checking, more robust journaling, and other enhancements.

Which three statements are true about administering user accounts and groups for an
Oracle Linux server in preparation for installing the Oracle Database server?

  • A. The Oracle software owner must be a Linux user called oracle.
  • B. The Oracle software owner must not be the root user.
  • C. The owner of the Oracle httpd daemon process must be the Linux user called nobody.
  • D. A Linux user who is a member of the OSDBA group may start an Oracle database instance.
  • E. The /etc/sudoers file must specify that the Oracle software owner be allowed to run commands as root.
  • F. The OINSTALL group owns the Oracle Inventory.


Answer : B,D,F

You use the chkconfig command to administer one of the services on your Oracle Linux system:
[root@FAROUT ~]# chkconfig vncserver off
[root@FAROUT ~] #
No changes have been made to the init script for the service.
Which two statements are true regarding the effects of Issuing this command?

  • A. The vncserver service is shut down.
  • B. The vncserver service configuration is disabled only for those run levels for which it is currently enabled.
  • C. The vncserver service configuration is disabled for run levels 2, 3, 4 and 5.
  • D. The vncserver service remains in the same state it was in before the command was issued.
  • E. The vncserver service configuration is disabled for run levels 3 and 5 only.


Answer : C,D

Reference: http://www.oracle-base.com/articles/linux/configuring-vnc-server-on-linux.php

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.


Answer : A,C,E

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

Which three statements are true concerning the IPTABLES Oracle Linux firewall?

  • A. The default rule table is filter.
  • B. iptables has two main components: the kernel component netfilter and the command- line utility ipchains.
  • C. Input, output, and forward are the rule tables associated with filter.
  • D. PREROUTING, OUTPUT, and POSTROUTING are the chains associated with nat.
  • E. The main rule chains are filter, nat, and mangle.
  • F. The main rule tables are filter, nat, and mangle.


Answer : A,D,F

Explanation: A: You need to specify the table and the chain for each firewall rule you create. There is an exception: Most rules are related to filtering, so iptables assumes that any chain that's defined without an associated table will be a part of the filter table. The filter table is therefore the default.
D: Nat Network Address Translation

PREROUTING -
Address translation occurs before routing. Facilitates the transformation of the destination
IP address to be compatible with the firewall's routing table. Used with NAT of the destination IP address, also known as destination NAT or DNAT.

POSTROUTING -
Address translation occurs after routing. This implies that there was no need to modify the destination IP address of the packet as in pre-routing. Used with NAT of the source IP address using either one-to-one or many-to-one NAT. This is known as source NAT, or
SNAT.

OUTPUT -
Network address translation for packets generated by the firewall. (Rarely used in SOHO environments)
F: There are three tables in total. The first is the mangle table which is responsible for the alteration of quality of service bits in the TCP header.
The second table is the filter queue which is responsible for packet filtering. It has three built-in chains in which you can place your firewall policy rules.
The third table is the nat queue which is responsible for network address translation.

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.


Answer : B,D,E

Users complain that system performance is unacceptable when using a specific application service running on a multiprocessor service.
You have established from the storage team that disk response times have not increased, so you can discount there being an I/O problem.
You run vmstat to look at CPU activity and notice high average disk times on the multiprocessor system and an average run queue of zero.
You require more detail about each CPU from which the vmstat figures are derived, to investigate if the load is distributed evenly across all CPUs.
Which three commands provide more detailed information about CPU load distribution?

  • A. iostat –x
  • B. top
  • C. mpstat
  • D. vmstat
  • E. sar


Answer : C,D,E

Explanation: C: A useful command to get CPU related stats is mpstat. Here is an example output:
# mpstat -P ALL 5 2
Linux 2.6.9-67.ELsmp (oraclerac1) 12/20/2008
10:42:38 PM CPU %user %nice %system %iowait %irq %soft %idle intr/s
10:42:43 PM all 6.89 0.00 44.76 0.10 0.10 0.10 48.05 1121.60
10:42:43 PM 0 9.20 0.00 49.00 0.00 0.00 0.20 41.60 413.00
10:42:43 PM 1 4.60 0.00 40.60 0.00 0.20 0.20 54.60 708.40
etc.
D: When called, the grand-daddy of all memory and process related displays, vmstat, continuously runs and posts its information. It takes two arguments:
# vmstat <interval> <count>
<interval> is the interval in seconds between two runs. <count> is the number of repetitions vmstat makes. Here is a sample when we want vmstat to run every five seconds and stop after the tenth run. Every line in the output comes after five seconds and shows the stats at that time.
# vmstat 5 10
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 1087032 132500 15260 622488 89 19 9 3 0 0 4 10 82 5
0 0 1087032 132500 15284 622464 0 0 230 151 1095 858 1 0 98 1
0 0 1087032 132484 15300 622448 0 0 317 79 1088 905 1 0 98 0
shows up to 10 times.
The output shows a lot about the system resources.
E: sar stands for System Activity Recorder, which records the metrics of the key components of the Linux systemCPU, Memory, Disks, Network, etc.in a special place: the directory /var/log/sa.
The simplest way to use sar is to use it without any arguments or options. Here is an example:
# sar
Linux 2.6.9-55.0.9.ELlargesmp (prolin3) 12/27/2008
12:00:01 AM CPU %user %nice %system %iowait %idle
12:10:01 AM all 14.99 0.00 1.27 2.85 80.89
12:20:01 AM all 14.97 0.00 1.20 2.70 81.13
12:30:01 AM all 15.80 0.00 1.39 3.00 79.81
12:40:01 AM all 10.26 0.00 1.25 3.55 84.93
Incorrect:

Not A: iostat is for I/O -

Page:    1 / 8   
Total 108 questions