Professional Documents
Culture Documents
Once OUI recognizes a set of nodes in a cluster, which three choices does it offer when installing
the Oracle Database 11g Release 2 software?
A. You can only install the Oracle Database with the RAC option on selected nodes.
B. OUI forces you to configure ASM for shared storage before proceeding.
C. You can install the Oracle Database as a single instance or with the RAC option on all the
nodes.
D. You can install the Oracle Database as a single instance or with the RAC option on selected
nodes.
E. You can install Oracle RAC One Node.
Answer: B,D,E
Explanation: B, D: Complete the prerequisite tasks for converting to an Oracle RAC database:
Oracle Clusterware and Oracle Database software is installed on all target nodes.
(D) The Oracle Database binary is enabled for Oracle RAC on all target nodes.
User equivalency is configured for the operating system user performing the conversion.
Enterprise Manager agents are configured and running on all nodes, and are configured with the
cluster and host information.
E: Installing Oracle RAC One Node is available starting with Oracle Database 11g Release 2
(11.2.0.2).
Note:
* By default, the standard Oracle Database 11g software installation process installs the Oracle
RAC option when OUI recognizes that you are performing the installation on a cluster.
QUESTION NO: 2
A. It Indicates that the Voting Disk contains Oracle Cluster ware data
B. It Indicates that the Voting Disk is managed in the ASM diskgroup "DATA"
C. It Indicates that the Voting Disk "DATA" is online on disk /dev/xvdc1
D. It indicates that the ASM diskgroup "DATA" stores only the Voting Disk
Answer: B
Explanation: See example below.
Note:
* Use the crsctl query css votedisk command to display the voting disks used by Cluster
Synchronization Services, the status of the voting disks, and the location of the disks, whether
they are stored on Oracle ASM or elsewhere.
* Example:
The crsctl query css votedisk command returns output similar to the following:
Reference: Oracle Clusterware Administration and Deployment Guide , CRSCTL Utility Reference
QUESTION NO: 3
Which three items can be stored on the ACFS (Oracle ASM Cluster File System)?
Reference: Oracle ASM Cluster File Systems (ACFS) in Oracle Database 11g Release 2
QUESTION NO: 4
When installing the Oracle Database with OUI, when are configuration scripts executed?
Answer: C
Explanation: If prompted, execute the root.sh script as the root user to complete the installation,
and click OK.
Note:
* Oracle Universal Installer (OUI)
QUESTION NO: 5
You want to stop a CRSCTL command that is active. How should you do this?
Answer: B
QUESTION NO: 6
You want to install Grid Infrastructure for a cluster and the Oracle Database software (with the
RAC option). Do you need SSH user equivalency?
Answer: C
Explanation: During the installation of Oracle RAC, OUI needs to copy files to and execute
programs on the other nodes in the cluster. In order to allow OUI to do that, you must configure
SSH to allow user equivalence. Establishing user equivalence with SSH provides a secure means
of copying files and executing programs on other nodes in the cluster without requiring password
prompts.
QUESTION NO: 7
A. SRVCTL must be run from the RAC database ORACLE_HOME/bin directory when used to
manage that dababase.
B. The SRVCTL command cannot be used to manage Oracle Grid Infrastructure.
C. Every command requires an object on which to operate.
D. A comma-delimited list should be enclosed in single quotes.
Answer: A,C
Explanation: A: Always use SRVCTL from the Oracle_home of the database that you are
administering.
C: SRVCTL expects the following command syntax:
Incorrect:
Not B: Guidelines for Using SRVCTL in Oracle Real Application Clusters
Not D: On the Windows platform, when specifying a comma-delimited list, you must enclose the
list within double-quotes ("...,...").
QUESTION NO: 8
Answer: D
Explanation: Automatic backup of OCR is done by CRSD process and every 3 hours.
QUESTION NO: 9
Answer: D
Explanation: The Oracle-Validated rpm automatize the install of the numerous components
required to setup OCW and RAC on Linux, and execute most of the required OS configuration
steps.
QUESTION NO: 10
Answer: A,B
Explanation: A: To verify the minimal system requirements on the nodes prior to installing Oracle
Clusterware or Oracle RAC, use the sys component verification command as follows:
B: To verify whether your system meets all of the criteria for an Oracle Clusterware installation,
use the -pre crsinst command for the Oracle Clusterware installation stage as follows:
cluvfy stage -pre crsinst -n node_list
[ -c ocr_location ] [-r { 10gR1 | 10gR2 | 11gR1} ][ -q voting_disk ]
[ -osdba osdba_group ]
[ -orainv orainventory_group ] [-verbose]
QUESTION NO: 11
A. ASM
B. ONS
C. GSD
D. VIP
Answer: A
Explanation:
Note:
* srvctl modify nodeapps Options
OptionDescription
-n node_name
Node name.
-o clusterware_home
OptionDescription
-n node_name
Node name.
-a
Displays the VIP address configuration.
-g
Displays the GSD configuration.
-s
Displays the ONS configuration.
-l
Displays the listener configuration.
Reference: Oracle Real Application Clusters Administration and Deployment Guide, A Server
Control Utility Reference
QUESTION NO: 12
You are creating a RAC database with DBCA. Which of these is NOT a main area of initialization
parameters you can configure as part of the process?
A. Memory
B. page size
C. Character set
D. Connection mode
Answer: B
Explanation: The Initialization Parameters page appears. By default, the Initialization Parameters
page shows only the basic parameters, and only enables you to change the parameter file
definition if you are using raw storage. Each tab on the Initialization Parameters page provides
different sets of information that you can add or modify as follows:
Reference: Oracle Database Oracle Clusterware and Oracle Real Application Clusters Installation
Guide 10g Release 2 (10.2) for Microsoft Window, Creating an Oracle Real Application Clusters
Database with DBCA
QUESTION NO: 13
Which tool can be used to specify network interfaces and to retrieve component configuration
information?
A. CVU
B. SRVCTL
C. CRSCTL
D. OIFCFG
Answer: D
Explanation: The Oracle Interface Configuration (OIFCFG) command-line interface helps you to
define and administer network interfaces. You can issue OIFCFG commands in single-instance
and Oracle Clusterware environments to:
QUESTION NO: 14
You want to set full debugging for the communications and resource management components for
the CRS module on nodes host01 and host03. How can you accomplish this?
Answer: A
Reference: Oracle Clusterware Administration and Deployment Guide, CRSCTL Utility Reference
QUESTION NO: 15
What would be the total space required for Clusterware files when stopping them in the ASM
Diskgroup configured with NORMAL redundancy? (Assume each OCR and voting Disk files uses
300 MB.)
A. 1.5 GB
B. 2.4 GB
C. 600 MB
D. 900 MB
Answer: A
Explanation: When you use normal redundancy, Oracle Clusterware automatically maintains two
copies of the OCR file and three copies of the voting disk file.
QUESTION NO: 16
A. –overwrite
B. –backuploc pathname
C. –manualbackup
D. –export
Answer: C
Explanation: ocrconfig -manualbackup
Use the ocrconfig -manualbackup command to back up OCR on demand in the location you
specify with the -backuploc option.
Incorrect:
Use the ocrconfig -backuploc command to specify an OCR backup directory location.
Syntax
Example
QUESTION NO: 17
Which two statements about the Single Client Access Name (SCAN) feature are correct?
A. In typical Grid Infrastructure Installation, the SCAN name defaults to the cluster name
B. A SCAN listener runs on every cluster node
C. SCAN is available with any version of Oracle 11g RAC
D. SCAN provides location Independence of Oracle RAC databases in the cluster
Answer: A,B
Explanation: SCAN components in a cluster:
SCAN Name will represent the cluster in the network. SCAN Name needs to be registered in DNS
and resolved using round-robin algorithm. To test the round-robin algorithm, perform nslookup on
the SCAN Name. The DNS server should return those 3 set of IP Address in different order each
time
Incorrect:
Not C: Only from R2:
Prior to Oracle 11g R1 RAC, client connection to RAC Cluster will use each node VIP (virtual IP)
address. So each time a node is added to the cluster, the client tnsnames.ora file needs to be
updated with the new VIP addition.
QUESTION NO: 18
How many Oracle Clusterware interconnect networks are required and why?
Answer: C
Explanation: Oracle Clusterware requires a cluster interconnect configured for inter-node
communication.
Note:
* The Oracle Clusterware interconnect is a non-traditional interconnect and should be considered,
in shared global cache applications, such as Oracle RAC, to be an I/O subsystem for inter-node
global cache buffer transfers with the latency and bandwidth requirements of high performance
cluster computing.
* The interconnect network is a private network using a switch (or multiple switches) that only the
nodes in the cluster can access.
And
Oracle Clusterware requires that you connect the nodes in the cluster to a private network by way
of a private interconnect. The private interconnect is a separate network that you configure
between cluster nodes. The interconnect used by Oracle RAC is the same interconnect that
Oracle Clusterware uses. This interconnect should be a private interconnect, meaning it is not
accessible to nodes that are not members of the cluster.
Reference: Oracle Real Application Clusters (RAC) and Oracle Clusterware Interconnect Virtual
Local Area Networks (VLANs) Deployment Considerations
QUESTION NO: 19
A. SRVCTL
B. OCRCFG
C. OCRCONFIG
D. CRSCTL
E. OEM
F. OUI
Answer: C
Explanation:
Reference: Oracle Cluster Registry Utility Reference
QUESTION NO: 20
How do you modify Kernel Parameters to meet the minimum requirements for Oracle RAC?
(Select all that Apply)
A. Pre-Oracle RAC 11g Release 2 manually changing the kernel Parameters is required to meet
Oracle RAC minimum requirements.
B. With Oracle Grid Infrastructure / Oracle RAC 11g Release 2 fixup-scripts (CVU generated) can
be used to set the appropriate kernel Parameters.
C. The Oracle Enterprise Manager can be used to modify kernel Parameters before the
Installation of the Oracle RAC stack.
D. You do not need to change any Kernel Parameters for an Oracle RAC installation.
Answer: A,B
Explanation: A: In Pre-Oracle RAC 11g Release 2 we did manually changed the kernel
Parameters to meet Oracle RAC minimum requirements
B: With Oracle Clusterware 11g release 2, Oracle Universal Installer (OUI) detects when the
minimum requirements for an installation are not met, and creates shell scripts, called fixup
scripts, to finish incomplete system configuration steps. If OUI detects an incomplete task, then it
generates fixup scripts (runfixup.sh). You can run the fixup script after you click the Fix and Check
Again Button.
You also can have CVU generate fixup scripts before installation.
QUESTION NO: 21
Which action is not available when right-clicking a ADVM volume in the ASM Configuration
Assistant?
A. Enable
B. Disable
C. Version
D. Resize
E. Delete
Answer: C
Explanation: Right click a selected volume in the Oracle ASM Configuration Assistant screen to
display the configuration options menu. The menu options include:
Resize a volume that has not been mounted on an Oracle ACFS file system
Delete a volume
Reference: Managing Oracle ADVM Volumes with Oracle ASM Configuration Assistant
QUESTION NO: 22
Which two statements are true about starting and stopping all instances of a RAC database
simultaneously with a single command?
Answer: A,D
Explanation:
* Connecting as SYSOPER or SYSDBA enables you to perform privileged operations, such as
instance startup and shutdown.
* When you use SRVCTL to perform configuration operations on your cluster, SRVCTL stores
configuration data in the Oracle Cluster Registry (OCR). SRVCTL performs other operations, such
as starting and stopping instances, by calling SQL*Plus on each node.
QUESTION NO: 23
Identify three valid storage options for the OCR and voting disk for it new installation of
Infrastructure 11g Release 2.
Answer: A,B,D
Explanation:
In the end of the database creation process using DBCA which two options can you choose from?
A. Create database
B. Generate database creation scripts
C. Initialize the database instance
D. Configure the database initialization parameters such as memory target, character set, etc.
Answer: A,C
Explanation: Database Creation Options
* Generate Database Creation Scripts—Check to generate a SQL database creation script that
you can run at a later time.
QUESTION NO: 25
A. Detect and analyze OS and duster resource for problems in Oracle Clusterware and RAC
cluster
B. Track OS resource consumption at each node, process, and device level continuously
C. Be installed on Windows Server 20O3 SP1
D. Collect and analyze the cluster-wide data
Answer: C
Explanation:
Incorrect:
Oracle Cluster Health Monitor is designed to detect and analyze operating system (OS) and
cluster resource related degradation and failures in order to bring more explanatory power to many
issues that occur in clusters where Oracle Clusterware and Oracle RAC are running such as node
eviction. It continuously tracks the OS resource consumption at each node, process, and device
QUESTION NO: 26
A. Location name
B. Node hostname
C. Listener and port
D. SID
E. VIP
Answer: D
Explanation: The Oracle SID uniquely identifies the Oracle RAC database instance on the node
where the instance is running.
QUESTION NO: 27
You are preparing the storage for Oracle ASM, which two statements are correct?
Answer: C,D
Explanation: C:
* ASMLib is an optional support library for the Automatic Storage Management feature of the
Oracle Database.
* Automatic Storage Management (ASM) simplifies administration of Oracle related files by
allowing the administrator to reference disk groups rather than individual disks and files, which
ASM manages internally. On Linux, ASM is capable of referencing disks as raw devices or by
using the ASMLib software.
D: Setting the ownership to oracle:dba is one example that corresponds to the default settings.
Incorrect:
Not B:
* It is recomended that the hardware RAID stripe size be configured as a power of 2 and less than
or equal to the size of the ASM allocation unit.
* Choose a hardware RAID stripe size that is a power of 2 and less than or equal to the size of the
Oracle ASM allocation unit.
QUESTION NO: 28
Under which account(s) can the Oracle Clusterware processes run for the Linux platform?
Answer: A
Explanation:
Because Oracle Clusterware works closely with the operating system, system administrator
access is required for some of the installation tasks. In addition, some of the Oracle Clusterware
processes must run as the system administrator, which is generally the root user on Linux and
UNIX systems and the LocalSystem account on Windows systems.
QUESTION NO: 29
Which of these is not recommended as the basis for an ASM disk in a shared storage
configuration?
Answer: A
Explanation: * Block or raw devices are not supported by Oracle Universal Installer (OUI) or
QUESTION NO: 30
Which two actions do you need to take in order to start up Oracle Grid Infrastructure automatically
on boot?
A. If Oracle Grid Infrastructure was disabled on a node, use “crsctl enable crs” to enable the
automatic startup.
B. Add the daemons to the system startup list.
C. Nothing. By default, Oracle Grid Infrastructure is set up to start automatically on server boot.
D. You must start clusterware daemons with individual commands in a batch file.
Answer: A,C
Explanation: We can use crsctl commands as follows to enable and disable the startup of the
Oracle Clusterware daemons. Run the following command to enable startup for all of the Oracle
Clusterware daemons:
crsctl enable crs
Run the following command to disable the startup of all of the Oracle Clusterware daemons:
crsctl disable crs
QUESTION NO: 31
Which two answers are correct with respect to Oracle cluslerware configuration files and their
purpose?
Answer: A,D
Explanation: Oracle Clusterware requires two configuration files: a voting disk to record node
membership information and the OCR to record cluster configuration information.
QUESTION NO: 32
Which three types of files can be stored in Oracle ASM without extending it with ACFS?
A. Voting disks
B. OCR files
C. Oracle clusterware binaries
D. Database files
E. Trace files
F. Operating system files
Answer: A,B,D
Explanation: * ASM supports most file types required by the database. However, you cannot
store some administrative file types on ASM disk groups. These include trace files (not E) , audit
files, alert logs, export files, tar files, operating system files (not F), and core files (not C).
QUESTION NO: 33
Is not a valid option for configuring redundancy for ASM disk groups?
A. Internal
B. Normal
C. High
D. External
Answer: A
Explanation: There are three types of disk groups based on the ASM redundancy level.
he redundancy levels are:
* External redundancy
ASM does not provide mirroring redundancy and relies on the storage system to provide RAID
functionality. Any write error cause a forced dismount of the disk group. All disks must be located
to successfully mount the disk group.
* Normal redundancy
ASM provides two-way mirroring. By default all files are mirrored so that there are two copies of
every data extent. A loss of one ASM disk is tolerated.
* High redundancy
ASM provides triple mirroring by default. A loss of two ASM disks in different failure groups is
tolerated.
Reference: Oracle Database Storage Administrator's Guide, ASM Mirroring and Disk Group
QUESTION NO: 34
Which command lists all the service-related information for the specified service? (crmdb is the
cluster database name and crms is the service name)
Answer: B
Explanation:
* The srvctl config command displays the Oracle Restart configuration of the specified component
or set of components.
Incorrect:
Not C:
getenv
Gets and displays environment variables and their values from the Oracle Restart configuration for
a database, listener, or Oracle ASM instance.
CommandDescription
* srvctl getenv asm
Displays the configured environment variables for the Oracle ASM instance
* srvctl getenv database
Displays the configured environment variables for the specified database instance
* srvctl getenv listener
Displays the configured environment variables for the specified listener
QUESTION NO: 35
What command would you use to write- the OCR content from the subtree of the key SYSTEM to
stdout?
Answer: C
Explanation: Run the ocrdump command with the following syntax where filename is the name of
a target file to which you want Oracle Database to write the OCR output and where keyname is
the name of a key from which you want Oracle Database to write OCR subtree content:
QUESTION NO: 36
Which two options are true regarding Grid Naming Service (GNS)?
Answer: A,D
Explanation:
A: Oracle Clusterware Daemon (CRSD)
CRS daemon (Oracle Cluster Ready Services Daemon) internode connection. The port number is
assigned automatically during installation. You cannot view or modify it afterward.
This port is used exclusively with the cluster interconnect.
D: To set up an Oracle 11g R2 RAC installation using Oracle Grid Naming Services (GNS) the
* At least two interfaces configured on each node, one for the private IP address and one for the
public IP address.
* A Domain Naming Server (DNS) running in the network for the address resolution of the GNS
virtual IP address and hostname.
* The DNS entry to configure the GNS sub-domain delegation
* A DHCP server running on the same public network as your Oracle RAC cluster.
Incorrect:
Within the subdomain, the GNS uses multicast Domain Name Service (mDNS) (not B), included
with Oracle Clusterware (not E), to enable the cluster to map host names and IP addresses
dynamically as nodes are added and removed from the cluster, without requiring additional host
configuration in the DNS.
QUESTION NO: 37
You are setting up IP addresses for your Oracle Clusterware-based cluster. Which two types of IP
addresses should be registered with DNS?
A. Public IP address
B. Private IP address
C. VIP address
D. Storage IP address
Answer: A,C
Explanation:
QUESTION NO: 38
Answer: C
Explanation: A service is a logical grouping of sessions performing similar kind of work. They
enable you to group database workloads and route work to the optimal instances that are
assigned to offer the service.It is recommended that all the users who connect using a service
have the same service-level requirements. We can use services to manage workloads or a group
of applications. For example , all on-line users can use one service whereas batch users can use
another service and reporting can use yet another service.
QUESTION NO: 39
Which two statements are true regarding the functionality of the remap command in ASMCMD?
A. It repairs blocks by always reading them from the mirror copy and writing them to the original
location.
B. It repairs blocks that have read disk I/O errors.
C. It checks whether the alias metadata directory and the- file directory are linked correctly.
D. It reads the blocks from a good copy of an ASM mirror and rewrites them to an alternate
location on disk if the blocks on the original location cannot be read properly.
Answer: B,D
Explanation: * remap
Purpose
Marks a range of blocks as unusable on the disk and relocates any data allocated in that range.
* remap Command
The remap command only relocates blocks. It does not correct or repair blocks that contain
corrupted contents. The command uses a physical block size based on the SECTOR_SIZE disk
group attribute.
Purpose
Repairs a range of physical blocks on a disk. The remap command only repairs blocks that have
read disk I/O errors. It does not repair blocks that contain corrupted contents, whether or not those
blocks can be read. The command assumes a physical block size of 512 bytes and supports all
allocation unit sizes (1 to 64 MB).
QUESTION NO: 40
Which three statements are correct about the Oracle local Registry?
Answer: A,C,E
Explanation: C: The olr.loc file consist of the OLR config file location and the crs_home location.
E: Examples:
To manually back up OLR:
To restore OLR:
Incorrect:
Not B: From 11gR2 Oracle introduced “Oracle Local Registry(OLR)”, something new as part of
Oracle Clusterware
QUESTION NO: 41
Answer: A
Explanation: * Oracle Clusterware is installed as part of Oracle Database 11g. OUI installs Oracle
Clusterware into a directory structure that is referred to as CRS_home. This home is separate
from the home directories of other Oracle software products installed on the same server.
* The Oracle RAC database software is installed from the same Oracle Database 11g installation
media. By default, the standard Oracle Database 11g software installation process installs the
Oracle RAC option when OUI recognizes that you are performing the installation on a cluster. OUI
installs Oracle RAC into a directory structure that is referred to as Oracle_home. This home is
separate from the home directories of other Oracle software products installed on the same
server.
QUESTION NO: 42
Which two directories are used during the installation of Grid Infrastructure and Oracle Database
(with the RAC option)?
A. ORACLE_HOME
B. C:\ORACLE
C. Grid Infrastructure Oracle Home
Answer: A,D
Explanation: A: The Oracle RAC database software is installed from the same Oracle Database
11g installation media. By default, the standard Oracle Database 11g software installation process
installs the Oracle RAC option when OUI recognizes that you are performing the installation on a
cluster. OUI installs Oracle RAC into a directory structure that is referred to as Oracle_home. This
home is separate from the home directories of other Oracle software products installed on the
same server.
D: Example:
The apply patch output is Oracle Interim Patch Installer version 11.2.0.3.0
Copyright (c) 2012, Oracle Corporation. All rights reserved.
QUESTION NO: 43
You want to set up your RAC-enabled Database software so that you have the ability to perform
rolling software upgrades. Which configuration option must you use?
Answer: C
Explanation: Change directory to the Oracle Clusterware home. As root, run the preupdate.sh
script on the local node, and on all other nodes in the subset that you intend to upgrade. Use the
following command syntax, where clusterware_home is the path to the existing Oracle
Clusterware home, and installation_owner is the Oracle Clusterware installation owner:
QUESTION NO: 44
Answer: C,D
Explanation: C:
* CRSCTL is an interface between you and Oracle Clusterware, parsing and calling Oracle
Clusterware APIs for Oracle Clusterware objects.
* CSS- Cluster Synchronization Services - a daemon process that is used for synchronization
between different RAC nodes and synchronization between ASM and Oracle database instances.
* CRS - Oracle Clusterware is run by Cluster Ready Services (CRS)
Starting and stopping a group of programs that includes virtual IP addresses, Listeners, Oracle
Notification Services, and Oracle Enterprise Manager agents (for maintenance purposes).
Note: The Server Control (SRVCTL) utility is installed on each node by default. You can use
SRVCTL to start and stop the database and instances, manage configuration information, and to
Some SRVCTL operations store configuration information in the Oracle Cluster Registry (OCR).
SRVCTL performs other operations, such as starting and stopping instances, by sending requests
to the Oracle Clusterware process (CRSD), which then starts or stops the Oracle Clusterware
resources.
Incorrect:
Not A:
* OCR - Oracle Cluster Registry
QUESTION NO: 45
Which two options are checked by the Oracle Universal Installer, when you first install Oracle
Software on a system?
Answer: A,B
Explanation: A:
* When installing an OFA-compliant database using Oracle Universal Installer, ORACLE_BASE is
set to /pm/app/oracle by default.
* All Oracle products on CD-ROM are OFA-compliant; that is, Oracle Universal Installer places
Oracle products in directory locations that follow OFA guidelines
B: Every Oracle software installation has an associated Central Inventory where the details of all
the Oracle products installed on a host are registered. The Central Inventory is located in the
directory that the inventory pointer file specifies. Each Oracle software installation has its own
Central Inventory pointer file that is unknown to another Oracle software installation.
QUESTION NO: 46
Which two options are valid choices for the ASM configuration file?
A. init.ora
B. init.asm
C. asm.ini
D. SPFILE
Answer: A,D
Explanation: "Oracle® Automatic Storage Management Administrator's Guide11g Release 2
(11.2) Part Number E16102-05"
There are two parameters files: spfile<dbname>.ora and init.ora as sample, in fact
init+ASM<instance number>.ora with default, but not mandatory names !
QUESTION NO: 47
Why do you need SSH to install Oracle Database with the RAC option on Linux?
Answer: B
Explanation: During the installation of Oracle RAC, OUI needs to copy files to and execute
programs on the other nodes in the cluster. In order to allow OUI to do that, you must configure
QUESTION NO: 48
Which step must you take before restoring from an OCR backup?
Answer: D
Explanation: For recovering OCR from physical automated backup needs all cluster, RAC
instances and RAC database bring down before performing recovery of OCR. Here you can find
out command reference for Recovery of OCR from physical backup copy.
$ocrconfig -showbackup $srvctl -stop database -d RACDB (Shutdown all RAC instances and RAC
database)
$crsctl stop crs (Shutdown Cluster)
#rm -f /u01/oradata/racdb/OCRFile
#cp /dev/null /u01/oradata/racdb/OCRFile
#chown root /u01/oradata/racdb/OCRFile
#chgrp oinstall /u02/oradata/racdb/OCRFile
#chmod 640 /u01/oradata/racdb/OCRFile
#ocrconfig -restore /u02/apps/crs/cdata/crs/backup00.ocr
$crsctl start crs (After issuing start cluster check status of cluster using 'crs_stat -t')
$srvctl start database -d RACDB (Start Oracle RAC database and RAC instances)
QUESTION NO: 49
Which two storage hardware requirements are correct for Oracle Database 11g Release 2?
Answer: B,C
Explanation:
* (Unix) You need at least 5.5 GB of available disk space for the Grid home directory, which
includes both the binary files for Oracle Clusterware and Oracle Automatic Storage Management
(Oracle ASM) and their associated log files, and at least 4 GB of available disk space for the
Oracle Database home directory, or Oracle home directory.
QUESTION NO: 50
You want to move a service from one instance to another. Which utility would you use?
A. CVU
B. SRVCTL
C. CRSCTL
D. OIFCFG
Answer: B
Explanation: The Server Control (SRVCTL) utility is installed on each node by default. You can
use SRVCTL to start and stop the database and instances, manage configuration information, and
to move or remove instances and services. You can also use SRVCTL to add services. SRVCTL
also manages configuration information.
Incorrect:
Not A: Cluster Verification Utility (CVU)
A tool that verifies a wide range of Oracle RAC components such as shared storage devices,
networking configurations, system requirements, Oracle Clusterware, groups, and users.
Not C: CRSCTL is an interface between you and Oracle Clusterware, parsing and calling Oracle
Clusterware APIs for Oracle Clusterware objects.
You can use CRSCTL commands to perform several operations on Oracle Clusterware, such as:
Integrating Intelligent Platform Management Interface (IPMI) with Oracle Clusterware to provide
failure isolation support and to ensure cluster integrity
Not D: The Oracle Interface Configuration Tool (OIFCFG) command-line interface helps you to
define and administer network interfaces.
QUESTION NO: 51
Answer: B
Explanation: Add a voting disk, as follows:
Note:
* You can manage and monitor OCR and voting files with the following:
The CRSCTL and ocrconfig commands enable the placement of OCR storage and Cluster
Synchronization Services (CSS) voting files inside the disk groups managed by Oracle ASM.
/ V$ASM views
Incorrect:
Not C: To display the voting disk FUID and file path of each current voting disk, run the crsctl
query css votedisk command to display output similar to the following:
QUESTION NO: 52
Answer: D
Explanation: D: If you choose to create an Oracle grid infrastructure home manually, then do not
create the Oracle grid infrastructure home for a cluster under either the grid installation owner
Oracle base or the Oracle Database installation owner Oracle base. Creating an Oracle
Clusterware installation in an Oracle base directory will cause succeeding Oracle installations to
fail.
/
Requirements for Creating an Oracle Grid Infrastructure Home Directory
During installation, you are prompted to provide a path to a home directory to store Oracle grid
infrastructure software. Ensure that the directory path you provide meets the following
requirements:
* (not a) It should be created in a path outside existing Oracle homes, including Oracle
Clusterware homes.
* It should be created either as a subdirectory in a path where all files can be owned by root, or in
a unique path.
* (not C) If you create the path before installation, then it should be owned by the installation
owner of Oracle grid infrastructure (typically oracle for a single installation owner for all Oracle
software, or grid for role-based Oracle installation owners), and set to 775 permissions.
QUESTION NO: 53
Which two privileged operating system groups should be defined during the installation of the
Oracle Database software (with the RAC option)?
Answer: A,B
Explanation: The following O/S groups will be created:
Database Administrator
Database Operator
Oracle Inventory and Software Owner
Oracle Automatic Storage Management Group
ASM Database Administrator Group
ASM Operator Group
QUESTION NO: 54
You are creating an Oracle Cluster database using DBCA. The “Memory size (SGA and PGA)”
field is supplied on value of 2000 MB. The default Block used for the database is __________.
A. 2 KB
B. 4 KB
C. 8 KB
Answer: C
Explanation:
Note:
* In the Block Size list, enter the size in bytes or accept the default. Oracle Database data is stored
in these blocks. One data block corresponds to a specific number of bytes of physical space on
disk. While using pre-defined templates, this field is not enabled since the database will be created
with the default block size of 8 KB. But while using the custom option, you can change block size.
Selecting a block size other than the default 8 KB value requires advanced knowledge and should
only be done when absolutely required.
QUESTION NO: 55
You are running ASMCMD in a non Interactive mode. Which statement is correct?
A. After the specified command has run, you are returned to the ASMCMD prompt.
B. You cannot run scripts in non Interactive mode ASMCMD
C. You can have arguments when running ASMCMD in non-interactive mode
D. You always run ASMCMD from the ASM home directory when running in non-interactive mode
Answer: A
Explanation: In noninteractive mode, you run a single ASMCMD command by including the
command and command options on the command line when invoking ASMCMD. ASMCMD runs
the command, generates output if any, and then exits.
Incorrect:
Not B: The noninteractive mode is especially useful for running scripts.
QUESTION NO: 56
Which two requests can be fulfilled with the oifcfg getif command?
Answer: A,D
Explanation: * oifcfg getif
Displays the interfaces for which an interface type has been defined with the setif command, along
with the type for that interface.
$ oifcfg getif
This command should return values for global public and global cluster_interconnect. For
example:
QUESTION NO: 57
You have configured your eight-node cluster to use the GRID Naming Service (GNS). The network
administrator has established a delegated subdomain for the cluster, which is
MYCLUSTER.COMPANY.COM. DHCP has been configured as that the cluster now manages IP
addresses within it.
Select three responses that describe the VIPs that will exist in this configuration.
A. 1 GNS VIP
B. 3 GNS VIPs
C. 1 SCAN VIP
D. 3 SCAN VIPs
E. 3 Node VIPs
F. 8 Node VIPs
Answer: A,D,F
Using GNS assumes that a DHCP server is running on the public network with enough available
addresses to assign the required IP addresses and the SCAN VIP. Only one static IP address is
required to be configured and it should be in the DNS domain.
D:
* The node VIP and the three SCAN VIPs are obtained from the DHCP server when using GNS.
* RAC instances register to SCAN listeners as remote listeners. Oracle recommends assigning 3
addresses to SCAN, which will create 3 SCAN listeners, though the cluster has got dozens of
nodes.. SCAN is a domain name registered to at least one and up to three IP addresses, either in
DNS (Domain Name Service) or GNS (Grid Naming Service). The SCAN must resolve to at least
one address on the public network. For high availability and scalability, Oracle recommends
configuring the SCAN to resolve to three addresses.
F:
* One VIP address for each node.
* Node listeners on each node which connect clients to the chosen instance – these listeners are
not normally contacted by the clients at the initial connection request and not referenced by the
REMOTE_LISTENER parameter except for upgraded RAC databases from prior releases. Each
local listener also has a vip and these are examples of “LOCAL RESOURCES” in the OCR.
* The node VIP and the three SCAN VIPs are obtained from the DHCP server when using GNS.
QUESTION NO: 58
A. Should register the hostnames for the VIP with a DNS, if available
B. DNS name should be resolvable from any server node
C. DNS name must be resolvable from any client
Answer: D
Explanation: During installation of the Oracle Grid Infrastructure for a cluster, a listener is created
for each of the SCAN addresses. Clients that access the Oracle RAC database should use the
SCAN or SCAN address, not the VIP name or address.
Incorrect:
Not A: The VIPs should be registered in the DNS.
Not C: Advantage of Virtual IP deployment in Oracle RAC:
Using VIP configuration, client can be able to get connection fast even fail over of connection
request to node. Because vip automatically assign to another surviving node faster and it can't
wait for TNS timeout old fashion.
QUESTION NO: 59
You are preparing for a Grid Infrastructure and Oracle Database (with the RAC option) installation.
A. All IP addresses planned to be used for the public or the private network should be unused.
B. All IP addresses for the public and the private network should be in the same subnet
C. All IP addresses should be registered in DNS.
D. The IP addresses for the SCAN-IPs (part of SCAN) need to be in the same subnet as the node
VIPs.
Answer: C,D
Explanation: C: * On each node in the cluster, assign a public IP address with an associated
network name to one network adapter. The public name for each node should be registered with
your domain name system (DNS).
D: During installation a SCAN for the cluster is configured, which is a domain name that resolves
to all the SCAN addresses allocated for the cluster. The IP addresses used for the SCAN
addresses must be on the same subnet as the VIP addresses.
Note:
* To perform a typical installation, which does not use GNS. You must configure the following
QUESTION NO: 60
Which step will you have to perform on Windows to restore the OCR that you did not do on Linux?
Answer: B
Explanation: See step 2) below.
Restoring the Oracle Cluster Registry on Windows-Based Systems
Use the following procedure to restore the OCR on Windows-based systems:
cluvfy comp ocr -n all [-verbose]
Note:
Restoring the Oracle Cluster Registry on UNIX-Based SystemsUse the following procedure to
restore the OCR on UNIX-based systems:
Repeat this command on each node in your Oracle RAC cluster.
Note:
Prior to running the crsctl start crs command in step 4, run the following command to verify that all
processes except init.cssd fatal are inactive:
ps -ef|grep cssd
Repeat this command on each node in your Oracle RAC cluster.
Reference: Oracle Database Oracle Clusterware and Oracle Real Application Clusters
Administration and Deployment Guide
Which option should you use to find out if the Oracle Inventory directory exists in a Linux/UNIX
environment?
A. # show /etc/oraInst.loc
B. # more /etc/oraInst.loc
C. # more /etc/oraInst
D. # more oraInst.loc
Answer: B
Explanation: When you install Oracle software on the system for the first time, the Installer
creates the oraInst.loc file. This file identifies the name of the Oracle Inventory group and the path
of the Oracle Inventory directory. To determine whether the Oracle Inventory group exists, enter
the following command:
# more /etc/oraInst.loc
QUESTION NO: 62
ASMLIB is__________.
Answer: A
Explanation: ASMLib is an optional support library for the Automatic Storage Management
feature of the Oracle Database. Automatic Storage Management (ASM) simplifies database
administration and greatly reduces kernel resource usage (e.g. the number of open file
descriptors). It eliminates the need for the DBA to directly manage potentially thousands of Oracle
database files, requiring only the management of groups of disks allocated to the Oracle
Database. ASMLib allows an Oracle Database using ASM more efficient and capable access to
the disk groups it is using.
How many OCR locations are allocated if you choose an ASM diskgroup using external
redundancy?
A. 1
B. 2
C. 3
D. You cannot use external redundancy for OCR files.
Answer: A
Explanation:
Note:
*
* External redundancy
Oracle ASM does not provide mirroring redundancy and relies on the storage system to provide
RAID functionality. Any write error causes a forced dismount of the disk group. All disks must be
located to successfully mount the disk group.
QUESTION NO: 64
Which two statements about ASM paths and file names are correct?
A. Absolute paths must begin from the root directory of the server.
B. Relative paths start from the Grid Infrastructure home directory.
C. When an Oracle ASM file is created with an alias file name, you can access the file with either
name.
D. Absolute paths can access a file or directory regardless of the current directory.
Answer: C,D
Explanation: C: Alias names, or aliases, are intended to provide a more user-friendly means of
referring to Oracle ASM files, rather than using the system-generated filenames.
You can create an alias for a file when you create it in the database, or you can add an alias to an
existing file using the ADD ALIAS clause of the ALTER DISKGROUP statement. You can create
QUESTION NO: 65
You are beginning the Installation of an Oracle Database, 11g Release 1. The OUI detects that
you are installing onto a cluster. Which two choices does it give you?
A. The ability to install a single node non cluster Installation on the local node
B. The ability to select the nodes to install the RAC enabled Oracle database software
C. the ability to install clusterware
D. The ability to install RAC on some nodes and a single instance Oracle database on others
Answer: A,B
Explanation: A: On the Select Database Management Option page, if you have already
completed the Grid Control Management Agent installation, then you can select either Grid or
Local Database control. Otherwise, only Local Database control for database management is
supported for Oracle RAC.
B: You can install Oracle RAC One Node on two or more nodes in the cluster. An Oracle RAC
One Node installation starts up an instance on one of the nodes you select as an Oracle RAC One
Node pool member. If that instance goes down, then the Oracle RAC One Node instance is
started up on another pool member using Online Database Relocation. This feature migrates
database instances and connections to other cluster nodes for high availability.
Note:
When you run OUI, you can select the Typical or the Advanced Install type.
The Typical install type installs a default configuration of Oracle Database, with basic configuration
choices. Oracle recommends that most users select Typical as their installation type.
The Advanced installation type is for customized installations, and should be used only when you
have a specific requirement for it, such as requiring different passwords for the SYS, SYSMAN,
SYSTEM and DBSNMP accounts, or using a different database character set than is in use on
your servers, changing product languages, or other nonstandard configuration
Choose two options that are not suitable for shared storage in a RAC 11g Release 2 database
created using DBCA.
A. Block device
B. Raw device
C. ASM
D. CFS
Answer: A,B
Explanation: Before you use DBCA to convert a single-instance database to an Oracle RAC or an
Oracle RAC One Node database, ensure that your system meets the following conditions:
/ It has shared storage: either Oracle Cluster File System (CFS) (not D) or Oracle ASM (not C) is
available and accessible from all nodes. On Linux on POWER systems, ensure that GPFS is
available and accessible from all nodes.
/ Your applications have no design characteristics that preclude their use with cluster database
processing.
Note:
* DBCA (Database Configuration Assistant) is a utility used for creating, configuring and removing
Oracle Databases.
Reference: Creating Oracle Real Application Clusters Databases with Database Configuration
Assistant
Reference: Converting to Oracle RAC and Oracle RAC One Node with DBCA
QUESTION NO: 67
What is the difference between running the CVU in stage mode and component mode?
Answer: C
Explanation:
QUESTION NO: 68
Multipathing software_________.
Answer: D
Explanation: Although ASM is not designed with multipathing functionality, ASM does operate
with multipathing technologies. Multipathing technologies are available from many sources.
Storage vendors offer multipathing products to support their specific storage products, while
software vendors usually develop multipathing products to support several server platforms and
storage.
Note:
* Multipathing solutions provide failover by using redundant physical path components. These
components include adapters, cables, and switches that reside between the server and the
storage subsystem. If one or more of these components fails, then applications can still access
their data, eliminating a single point of failure with the Storage Area Network (SAN), Host Bus
Adapter, interface cable, or host port on a multiported storage array.
QUESTION NO: 69
Which three statements about mounting ASM cluster file systems are true?
Answer: A,B,D
Explanation: A: Log in to OEM, scroll to the bottom of the home page, then click on one of the
ASM instances listed. On the resulting ASM screen, click on the "ASM Cluster File System" tab.
You are then presented with the following screen. Click the "Create" button.
Click the "Create ASM Volume" button.
Enter the Volume Name and Size and click the "OK" button. Wait for the volume to be created.
B, D: Mount the file system with the Oracle ACFS mount command. You can mount a file system
before or after registering the file system. If the file system has been registered, you can wait for
the file system to be mounted automatically.
For example:
Note:
* Oracle ASM Cluster File System (ACFS) is a general purpose cluster file system implemented as
part of ASM.
* ASM Configuration Assistant (ASMCA),
Incorrect:
Not E: Probably the easiest interface to use is the ASM Configuration Assistant (ASMCA), but
Enterprise Manager does allow you to see all the commands being run to perform each task. The
easiest way to learn how to use the command line utilities is to use Enterprise Manager and click
the "Show Command" button each step of the way.
Reference: Accessing an Oracle ACFS File System on a Different Node in the Cluster
QUESTION NO: 70
Which two actions do you need to take in Oracle Grid Infrastructure 11g Release 2 to enable
Answer: A,C
Explanation: A: You can use crsctl commands as the root user to enable dynamic debugging for
the Oracle Clusterware Cluster Ready Services (CRS), Oracle Cluster Registry (OCR), Cluster
Synchronization Services (CSS), and the Event Manager (EVM).
C: You can enable debugging for the CRS, OCR, CSS, and EVM modules and their components
by setting environment variables or by issuing crsctl debug commands using the following syntax:
QUESTION NO: 71
Which command can be used to stop Oracle Clusterware and Oracle ASM instances on all nodes
in the cluster running in Linux/UNIX?
Answer: C
Explanation: To stop Oracle Clusterware on all nodes in the cluster, execute the following
command on any node:
Oracle provides Cluster Verification Utility (CVU) to perform system checks in preparation for
Installation, patch updates, or other system changes. Select three verification tasks that CVU can
perform.
Answer: A,C,D
Explanation:
You can perform the following tests using CVU as described under the following topics:
QUESTION NO: 73
When can a wildcard character be used to change a directory with the ASMCMD CD command?
A. Always
B. If the wildcard character causes a match to a single directory
C. If the wildcard character causes a match to multiple directories
D. Never
Answer: B
Explanation: * If a wildcard pattern matches only one directory when using wildcard characters
with cd, then cd changes the directory to that destination. If the wildcard pattern matches multiple
directories, then ASMCMD does not change the directory but instead returns an error.
* The wildcard characters * and % match zero or more characters anywhere within an absolute or
relative path, which saves typing of the full directory or file name. The two wildcard characters
behave identically. There are various ASMCMD commands that accept wildcards. These include
cd, du, find, ls, lsattr, lsdg, lsdsk, lsgrp, lsusr, and rm.
Note: ASMCMD is a command-line utility that you can use to manage Oracle ASM instances, disk
groups, file access control for disk groups, files and directories within disk groups, templates for
disk groups, and volumes.
You can run the ASMCMD utility in either interactive or noninteractive mode.
QUESTION NO: 74
List the two granularity levels supported by the Cluster Verification Utility (CVU).
A. Component
B. Stage
C. Composite
D. CVU only supports one level; just run it
E. Object
Answer: A,B
Explanation: A:
B:
* * Use stage mode during installation/upgrade
* To verify whether your system meets all of the criteria for an Oracle Clusterware installation, use
the -pre crsinst command for the Oracle Clusterware installation stage as follows:
cluvfy stage -pre crsinst -n node_list
[ -c ocr_location ] [-r { 10gR1 | 10gR2 | 11gR1} ][ -q voting_disk ]
[ -osdba osdba_group ]
[ -orainv orainventory_group ] [-verbose]
QUESTION NO: 75
Select two Clusterware administration tasks that must be performed as the root user.
Answer: C,D
Explanation:
QUESTION NO: 76
Name the option(s) that are fully supported by the DBCA (Database Configuration Assistant).
A. Oracle DBCA can be used to manage database services with 11g Release 1 onward.
B. Configure Database Vault and Label Security.
C. Create the database and register it with the default listener and SCAN with Oracle RAC 11g
Release 2.
Answer: B
Explanation: Note:
* Configuring Database Options with DBCA
In the Operations window, select Configure Database Options to change various aspects of your
database configuration. For example, you can change the database from a dedicated server to a
shared server. You can add database options that have not been previously configured for use
with your database, for example, Oracle Label Security or Oracle OLAP.
QUESTION NO: 77
Answer: C
Explanation: The OCRCONFIG executable is located in the Grid_home/bin directory.
Identify the incorrect statement regarding private interconnect in an Oracle Clusterware and RAC
environment.
A. With Oracle RAC 11.2.0.2 and later versions, Redundant Interconnect Usage can be used
instead of Network Interface Card (NIC) bonding.
B. NIC bonding for the Oracle RAC interconnect is not required.
C. If you use bonded NIC cards, they should be on the same subnet.
D. If you use NIC cards, they must be on different subnets.
Answer: C
Explanation: You can bond separate interfaces to a common interface to provide redundancy, in
case of a NIC failure, but Oracle recommends that you do not create separate interfaces for
Oracle Clusterware and Oracle RAC. If you use more than one NIC for the private interconnect,
then Oracle recommends that you use NIC bonding. Note that multiple private interfaces provide
load balancing but not failover, unless bonded.
QUESTION NO: 79
A. OCRCHECK
B. OCRDUMP
C. CRSCTL
D. OCRCMD
E. SRVCTL
F. OCRCONFIG
Answer: C,E,F
Explanation:
C: You can use crsctl commands as the root user to enable dynamic debugging for Oracle
Clusterware, the Event Manager (EVM), and the clusterware subcomponents. You can also
dynamically change debugging levels using crsctl commands. Debugging information remains in
the Oracle Cluster Registry (OCR) for use during the next startup.
E: The Server Control (SRVCTL) utility is installed on each node by default. You can use SRVCTL
to start and stop the database and instances, manage configuration information, and to move or
remove instances and services. You can also use SRVCTL to add services. SRVCTL also
Some SRVCTL operations store configuration information in the Oracle Cluster Registry (OCR).
F: Use the ocrconfig command to manage OCR. Using this utility you can import, export, add,
delete, restore, overwrite, backup, repair, replace, move, upgrade, or downgrade OCR.
Note:
* Oracle Cluster Registry (OCR)