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?
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.
Answer : B,C
Which two conditions should be met in order to successfully configure an openssh client on
Oracle Linux?
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?
Answer : B,C,D
Examine this MDAM output:
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?
Answer : B
Which four statements are true about software on the Oracle Public YUM server?
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?
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?
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?
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?
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?
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?
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?
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?
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 -