You are on page 1of 49

1z0-068.

exam
Number: 1z0-068
Passing Score: 800
Time Limit: 120 min

ORACLE
1z0-068
Oracle Database 12c: RAC and Grid Infrastructure Administration

http://www.gratisexam.com/

Exam A
QUESTION 1
Examine the output of the asmcmd and srvctl commands:
$ asmcmd showclustermode
ASM cluster : Flex mode enabled
$ srvctl status asm detail
ASM is running on host01, host03
ASM is enabled.
$ srvctl config asm
ASM home: /u01/app/12.1.0/grid
Password file: +DATA/orapwASM
ASM listener: LISTENER
ASM instance count: 2
Cluster ASM listener: ASMNET1LSNR_ASM
Then you execute this command:
$ srvctl relocate asm currentnode host03 targetnode host02
Which three statements are true regarding the execution of this command based on the output shown?
A.
B.
C.
D.
E.
F.

It fails because an ASM instance is not configured to run on HOST02.


It succeeds and starts an ASM instance on HOST02 and shuts down the ASM instance on HOST03.
It succeeds and 12c database instances connected to the ASM instance on HOST03 can be reconnected to the ASM instance on HOST02.
It fails because the ASM instance has not been shut down first on HOST03.
It succeeds and starts an ASM instance on HOST02 but the ASM instance on HOST03 is not shut down until all connected clients disconnected.
It succeeds and 12c database instances connected to the ASM instance on HOST03 can be reconnected to the ASM instance on HOST01.

Correct Answer: CEF


Section: (none)
Explanation
Explanation/Reference:
QUESTION 2
Which three statements are true about ASM Cloud File System (ACFS) encryption?
A. A copy of an encrypted file is not encrypted unless it is created in an encrypted directory.
B. acfsutil encr init is used to establish role separation between encryption managers and encryption auditors.

http://www.gratisexam.com/

C. acfsutil encr off can be run by an encryption manager who may not have system administrator privileges.
D. acfsutil encr on can be used to specify the encryption key length for a directory or file.
E. An ACFS snapshot can be ACFS encrypted.
Correct Answer: ADE
Section: (none)
Explanation
Explanation/Reference:
Explanation:
acfsutil encr on k key_length specifies the encryption key length for a directory or file.
Incorrect Answers:
B: The acfsutil encr init command creates storage for encryption keys.
C: Only an administrator can run the acfsutil encr off command on an Oracle ACFS file system.
References: https://docs.oracle.com/cd/E11882_01/server.112/e18951/asmfs_util009.htm#OSTMG94010
QUESTION 3
Which two statements are true concerning ASM diskgroups using disks with a 4k sector size?
A.
B.
C.
D.
E.

Their COMPATIBLE.ASM attributes must be set to 12.1 or higher.


Their COMPATIBLE.ASM attributes must be set to 11.2 or higher.
Performance of ACFS is improved by using these diskgroups.
Their COMPATIBLE.RDBMS attributes must beset to 11.2 or higher.
Their sector size attributes can be changed using the ALTER DISKGROUP command.

Correct Answer: BD
Section: (none)
Explanation
Explanation/Reference:
Explanation:
The values for SECTOR_SIZE can be set to 512, 4096, or 4K if the disks support those values. The default value is platform dependent. The COMPATIBLE.ASM
and COMPATIBLE.RDBMS disk group attributes must be set to 11.2 or higher to set the sector size to a value other than the default value.
Incorrect Answers:
C: Oracle ASM provides support for 4 KB sector disk drives without negatively affecting performance.
Reference: https://docs.oracle.com/database/121/OSTMG/GUID-8B656725-D347-4166-8775-1070B6C4D580.htm#OSTMG10203

http://www.gratisexam.com/

QUESTION 4
Examine the output of this command:
ASMCMD> volinfo G ACFS -a
Diskgroup Name: ACFS
Volume Name: VOL1
Volume Device: /dev/asm/vol1-280
State: ENABLED
Size (MB): 248
Resize Unit (MB): 32
Redundancy: MIRROR
Stripe Columns: 4
Stripe Width (K): 128
Usage: ACFS

Mountpath: /u01/app/grid/acfsmount
The ACFS disk group is a normal redundancy disk group with 5 GB of free space.
To increase the size of the ACFS file system, you execute this command as the root user:
$ /sbin/acfsutil size +200M /u01/app/grid/acfsmount
Which two statements are true regarding the outcome of this command?
A.
B.
C.
D.
E.

It resizes VOL1.
It fails to resize the filesystem because it must be unmounted before resizing.
It fails to resize VOL1 because it must be executed as a user belonging to the SYSASM group.
It succeeds but leaves the filesystem unmounted.
It resizes the filesystem mounted on /u01/app/grid/acfsmount.

Correct Answer: AD
Section: (none)
Explanation

http://www.gratisexam.com/

Explanation/Reference:
QUESTION 5
You support a three-instance, policy-managed, multitenant RAC database CDB1 with two PDBs PDB_1 and PDB_2.
It runs on an eight-node cluster and a serverpool prod_pool has three servers.
Examine these commands executed on HOST01:
$ srvctl add service db CDB1 pdb PDB_1 service HR serverpool prod_pool
$ srvctl start service db CDB1 service HR
$ srvctl stop service db CDB1 service HR
Which two statements are true?
A.
B.
C.
D.
E.
F.

HR is uniformly managed across all instances in prod_pool.


srvctl stop service only closes PDB_1 in the instance on HOST01.
srvctl stop service closes PDB_1 on all CDB1 instances.
srvctl stop service prevents logins for HR only to CDB1 on HOST01.
srvctl stop service prevents logins to any instance of CDB1 using service HR.
HR is available on a single instance of prod_pool.

Correct Answer: BF
Section: (none)
Explanation
Explanation/Reference:
QUESTION 6
Which three statements are true about the services created when the DBCA is used to create a RAC database?
A.
B.
C.
D.
E.

They can be policy managed for a multitenant database.


Singleton services are not permitted for multitenant databases.
A server-pool must be created with SRVCTL before creating a policy-managed RAC database that uses that server-pool for a service.
Policy-managed services specified for a database allow the creation of a new server pool using DBCA.
They can be administrator managed for a multitenant database.

http://www.gratisexam.com/

Correct Answer: BCE


Section: (none)
Explanation
Explanation/Reference:
Explanation:
C: Cluster Managed Services are no longer managed through DBCA. Instead, use the Cluster Managed Services page in Oracle Enterprise Manager Cloud
Control, if available, or SRVCTL.
E: During installation, if you select a multitenant container database (CDB), and configure pluggable databases (PDBs), then Oracle recommends that you add
services to the PDBs after installation.
Incorrect Answers:
D: Cluster Managed Services are no longer managed through DBCA. Instead, use the Cluster Managed Services page in Oracle Enterprise Manager Cloud
Control, if available, or SRVCTL.
References: https://docs.oracle.com/database/121/RIWIN/dbcacrea.htm#RIWIN1320
QUESTION 7
Which three statements are true about the Global Enqueue Service and Global Enqueue Service (GES) Resources in Oracle 12c RAC?
A.
B.
C.
D.
E.
F.
G.

The mastering instance for a GES resource is never the same as the instance that owns the enqueue in exclusive mode.
The LMD0 runs only on the instance that masters all GES resources.
When a GES resource is dequeued, converters if any exist for that resource, are processed before any waiter for that resource.
The LMD0 process on the requesting instance communicates with the LMD0 process on the mastering instance if they are not the same instance.
The mastering instance for a GES resource is never the same as the instance that owns an enqueue in shared mode.
An LMD0 process runs on all instances.
The foreground process on the requesting instance communicates with the LMD0 process on the mastering instance if they are not the same instance.

Correct Answer: AFG


Section: (none)
Explanation
Explanation/Reference:
QUESTION 8
Which two statements are true concerning buffer states as shown in GV$BH.STATUS in Oracle 12c RAC?
A. An XCUR block image may exist for a specific database block in only one instance.

http://www.gratisexam.com/

B. A CR image may get served from one instance to another to satisfy a read request.
C. An XCUR image is not downgraded to a SCUR image for shipping to another instance until commits occur for updated rows on the block.
D. A PI block image may exist for a specific database block in only one instance.
Correct Answer: AB
Section: (none)
Explanation
Explanation/Reference:
Explanation:
A: xcur is a RAM block that has been acquired in exclusive current mode. According the Oracle documentation, if a buffer state is exclusive current (XCUR), an
instance owns the resource in exclusive mode.
B: cr mode indicates a "cloned" RAM block (a "stale" block), that was once in xcur mode. The instance has shared access to the block and can only perform reads.
The cr state means the owning instance can perform a consistent read of the block, if the instance holds an older version of the data.
References: http://www.dba-oracle.com/t_v$bh_status_free_buffer_blocks.htm
QUESTION 9
You administer a six-instance, policy-managed, multitenant RAC database CDB1 with three PDBs: PDB_1, PDB_2 and PDB_3.
Server pool prod_pool has a cardinality of three and all six hosts of the cluster app.
Examine these commands executed on HOST01:
$ srvctl add service db CDB1 pdb PDB_1 service AR serverpool prod_pool cardinality singleton
$ srvctl start service db CDB1 service AR

Which two statements are true regarding the AR service?


A.
B.
C.
D.

AR runs as a singleton service in the server pool prod_pool and the AR service is available in each of the CDB1 instances.
AR is available on any one available CDB1 instance in prod_pool at any one time.
AR can fail over to any one of the available CDB1 instances.
AR is available only on the CDB1 instance on HOST01.

http://www.gratisexam.com/

E. AR can fail over to any other available CDB1 instance in prod_pool.


Correct Answer: CD
Section: (none)
Explanation
Explanation/Reference:
QUESTION 10
Which two statements are true about the Global Enqueue Service, Instance Locks, and global enqueues in Oracle 12c RAC?
A.
B.
C.
D.
E.
F.

In a RAC One Node database, there is no LMD0 process if only one instance is running.
Global Enqueues and Instance Locks replace mutexes completely in RAC database instances.
In a RAC database, there is no LMD0 process if only one instance is running.
Global Enqueues and Instance Locks replace latches completely in RAC database instances.
Global Enqueues may have owners and waiters in the same instance.
Global Enqueues may have converters and waiters in the same instance.

Correct Answer: AF
Section: (none)
Explanation
Explanation/Reference:
F: A convert queue is a queue of locks that are waiting to be converted to particular mode, this is the process of changing a lock from one mode to another, even a
NULL is a lock. A resource has a lock value block (LVB). The Global Resource Manager (GRM) keeps the lock information valid and correct across the cluster.
Oracle 10g release 2 and beyond replaced some latch mechanisms with the mutex approach, claiming that they are faster and more efficient than traditional
locking mechanisms.
Incorrect Answers:
B, D: Mutexes are objects that exist within the operating system to provide access to shared memory structures. They are similar to latches.
References: http://www.datadisk.co.uk/html_docs/rac/grd.htm
QUESTION 11
Which three statements are true about the cluster file system archiving scheme?
A. Each node can read only the archived logs written by itself.
B. Nodes dont use network to archive files.

http://www.gratisexam.com/

C.
D.
E.
F.

Each node can read the archive redo log files of the other nodes.
Each node archives to a uniquely named local directory.
Each node archives to a local directory with the same path on each cluster node.
Each node writes to a single location on the cluster file system while archiving the redo log files.

Correct Answer: ABD


Section: (none)
Explanation
Explanation/Reference:
Explanation:
AB: In a cluster file system each node can only read from and write to its own local file system.
D: Configure each node to write to a local archiving directory that is named the same on each node.
References:
https://docs.oracle.com/cd/E18283_01/rac.112/e16795/rman.htm
QUESTION 12
Examine these commands:
$ srvctl add service db racdb service erp serverpool srvpooll
- failovertype TRANSACTION commit_outcome TRUE replay_init_time 1800
- retention 86400 notification TRUE rlbgoal SERVICE_TIME clbgoal SHORT
- failoverretry 30 failoverdelay 10
$ srvctl start service db racdb service erp
Instances RACDB_1 and RACDB_2 run on host01 and host02, respectively.
Which three statements are true regarding the service erp?
A.
B.
C.
D.
E.

Connections to the database using erp benefit from Application Continuity.


erp is configured for an administrator-managed RAC database.
Load Balancing Advisory (LBA) will be disabled for this service.
Connections to the database using erp benefit from Load Balancing.
Connections to the database using erp benefit from Transaction Guard.

Correct Answer: ADE


Section: (none)
Explanation
Explanation/Reference:
http://www.gratisexam.com/

Explanation:
A: To enable Application Continuity for Java, set the failovertype parameter to TRANSACTION.
D: -clbgoal {SHORT | LONG}
Connection Load Balancing Goal. Use a value of SHORT for this parameter for run-time load balancing, or if using an integrated connection pool.
E: Enable Transaction Guard through the -commit_outcome parameter. When it is set to TRUE, the commit outcome for a transaction is accessible after the
transaction's session fails due to a recoverable outage.
Incorrect Answers:
C: Load Balancing Advisory (LBA) is set through rlbgoal parameter. Set this parameter to SERVICE_TIME to balance connections by response time
References: https://docs.oracle.com/database/121/RACAD/srvctladmin.htm#RACAD5050
QUESTION 13
Which three statements are true about opatch version 12?
A.
B.
C.
D.
E.
F.

It can apply patches to a database ORACLE_HOME.


It can apply a patchset to a database ORACLE_HOME.
It cannot apply a patch to a Grid Infrastructure ORACLE_HOME.
It cannot run with root privileges on a Unix-like system.
It can apply some patches without shutting down database instances.
It can only apply patches on the cluster node from where it is issued.

Correct Answer: ABE


Section: (none)
Explanation
Explanation/Reference:
Incorrect Answers:
C: The OPatch and OPatchauto utilities provide you with the flexibility to analyze, troubleshoot, and patch an individual GI (Grid Infrastructure)/RAC (Real
Application Cluster) home environments.
D: It is recommended that OPatch should not be invoked by 'root', if so then the CheckUserAdminPrivilege check fails. But it is possible to run OPatch with root
privileges.
F: OPatchauto executes across all hosts in the associated system, using SSH as its remote execution mechanism for requisite commands, such as opatch apply.
References:
http://docs.oracle.com/cd/E24628_01/doc.121/e39376/opatch_overview.htm#OPTCH106
https://docs.oracle.com/cd/E24628_01/doc.121/e39376/opatch_commands.htm#OPTCH198
QUESTION 14
Which three statements are true regarding multitenant architecture for RAC databases?

http://www.gratisexam.com/

A.
B.
C.
D.
E.

One UNDO tablespace for each PDB is required.


One UNDO tablespace for each instance is required.
PDBs can have local temporary tablespaces.
All the containers share the same SYSTEM and SYSAUX tablespaces.
You can open one, several, or all PDBs on one, several, or all CDB instances.

Correct Answer: BCE


Section: (none)
Explanation
Explanation/Reference:
Explanation:
B: For an Oracle RAC CDB, one active undo tablespace exists for each instance.
C: From a physical perspective, a CDB has basically the same structure as a non-CDB, except that each PDB has its own set of tablespaces (including its own
SYSTEM and SYSAUX tablespaces) and data files.
References: https://docs.oracle.com/database/121/CNCPT/cdblogic.htm#CNCPT89268
QUESTION 15
Which two statements are true about database service administration in a RAC environment?
A.
B.
C.
D.
E.
F.

When services are created with srvctl, tnsnames.ora is automatically updated.


When services are created with srvctl, the service is not started automatically.
Service attributes can be modified, unless an instance hosting the service is in restricted mode.
When the DBMS_SERVICE package is used to modify a service, the CRS resource is automatically synchronized with the changes.
When the DBMS_SERVICE package is used to delete a service, it is automatically removed from the OCR.
When services are started with srvctl, they are automatically added to the data dictionary of the hosting database if not already defined.

Correct Answer: BF
Section: (none)
Explanation
Explanation/Reference:
Explanation:
B: To start the service you need to use the START_SERVICE procedure.
F: When the service is started by Oracle Clusterware or Oracle Restart, the service is modified in the database to match the resource defined to either Oracle
Clusterware or Oracle Restart.

http://www.gratisexam.com/

Incorrect Answers:
A: Srvctl manages CRS (OCR), but does not modify tnsnames.ora.
C: Users can modify the edition attribute while the service is up and running
D: If you are using Clustered Managed Services with Oracle Clusterware, or using Oracle Restart with your single instance database, you must modify services
using the srvctl command rather than DBMS_SERVICE.
E: You cannot use the DBMS_SERVICE.DELETE_SERVICE subprogram if your services are managed by Oracle Clusterware, Oracle Restart, or Oracle Global
Data Services.
Note: Oracle Clusterware is the cross platform cluster software required to run the Real Application Clusters (RAC) option for Oracle Database.
References:
https://docs.oracle.com/database/121/ARPLS/d_serv.htm#ARPLS68022
QUESTION 16
Examine this command executed on the first node of a three-node cluster:
# <GRID_INFRASTRUCTURE_ORACLE_HOME>/OPatch/opatchauto apply 18139660
Which two tasks does this command perform?
A.
B.
C.
D.
E.
F.

It applies a patch to the Grid Infrastructure only on the first cluster node.
It applies a patch to the Grid Infrastructure on all cluster nodes.
It applies a patch to all database ORACLE_HOMEs, with the same release as the Grid Infrastructure, only on the first cluster node.
It applies a patch to all database ORACLE_HOMEs, with the same release as the Grid Infrastructure, on all cluster nodes.
It applies a patch to all database ORACLE_HOMEs of any version on the first cluster node.
It applies a patch to all database ORACLE_HOMEs of any version on all cluster nodes.

Correct Answer: BD
Section: (none)
Explanation
Explanation/Reference:
Explanation:
OPatchauto is Oracle's strategic tool for binary and configuration patching. For the supported environments, OPatchauto sequences and executes all required
steps, on all nodes, for comprehensive patch application.
Note: The OPatchauto commands are run from the product home out of the standard OPatch directory.
Example:
$PRODUCT_HOME/OPatch/OPatchauto apply <PATH_TO_PATCH_DIRECTORY>
where <PATH_TO_PATCH_DIRECTORY> is the full path to local staging area where you have downloaded your patches.

http://www.gratisexam.com/

The apply command applies a System Patch to a product home. User specified the patch location or the current directory will be taken as the patch location. .
References: https://docs.oracle.com/cd/E24628_01/doc.121/e39376/configuration_patching.htm#OPTCH149
https://docs.oracle.com/cd/E24628_01/doc.121/e39376/opatchauto_commands.htm#OPTCH585
QUESTION 17
Oracle Clusterware manages an administrator-managed database service defined with the MANUAL management policy.
Which two statements are true?
A.
B.
C.
D.
E.

The service must be manually restarted with SRVCTL every time the instance hosting the service fails.
Clusterware will monitor the service while it is active.
The service must be manually restarted with SRVCTL after restarting the Clusterware stack on the node hosting the service.
When manually started, the service will always start on one or more available instances rather than on their preferred instances.
The service must be manually started with SRVCTL after a planned restart of the instance hosting the service.

Correct Answer: BE
Section: (none)
Explanation
Explanation/Reference:
Explanation:
MANUAL: The database is never automatically restarted upon restart of the database host computer. A MANUAL setting does not prevent Oracle Clusterware from
monitoring the database while it is running and restarting it if a failure occurs.
Note: To prevent Oracle Clusterware from restarting your Oracle RAC database when you restart your system, or to avoid restarting failed instances more than
once, configure a policy to define the degree of control. There are two policies, automatic, which is the default, and manual.
References: https://docs.oracle.com/database/121/RACAD/srvctladmin.htm
QUESTION 18
Which three statements are true about Oracle Enterprise Manager Topology Viewer?
A.
B.
C.
D.
E.
F.

It displays which listeners listen on behalf of which instances.


It displays the relationship between targets of different target types in a cluster.
It displays the status of all cluster components.
It displays the status of Pluggable Databases (PDBs) in a multitenant container database (CDB).
It displays the relationship between clustered ASM and cluster databases if the database is stored in ASM.
It displays the type of network used by RAC database instance.

http://www.gratisexam.com/

Correct Answer: ABE


Section: (none)
Explanation
Explanation/Reference:
Explanation:
Using the topology view you can quickly see the components that comprise your cluster database environment, such as database instances, listeners, Oracle ASM
instances, hosts, and interfaces.
Note: Enterprise Manager provides a Topology Viewer which is a graphical representation of routing relationships across targets, components and elements. You
can easily determine how requests are routed across components. For example, you can see how requests are routed from Oracle Web Cache, to Oracle HTTP
Server, to a Managed Server, to a data source.
The Topology Viewer allows you to view the relationships between components, nodes, or objects within different Oracle applications.
References: https://docs.oracle.com/database/121/TDPRC/racmon2.htm#TDPRC350
QUESTION 19
Which two statements are true regarding server-side connect-time load balancing for a RAC database when using SCAN listeners?
A.
B.
C.
D.
E.

It is based on performance metrics provided by the database instances LREG processes.


LOCAL_LISTENER must be configured to point to the SCAN to enable server-side load balancing.
The services connection load balancing goal must be manually configured to enable server-side connect-time load balancing.
Its enabled only when LOAD_BALANCE=YES is included in the TNS entry used by the client.
Server-side load balancing requires the REMOTE_LISTENER to point to the SCAN.

Correct Answer: CE
Section: (none)
Explanation
Explanation/Reference:
Explanation:
C: With server-side load balancing, the SCAN listener directs a connection request to the best instance currently providing the service, based on the -clbgoal and rlbgoal settings for the service.
E: The SCAN is an essential part of Database configuration. So, by default, the REMOTE_LISTENER parameter is set to the SCAN, assuming that the Database is
created using standard Oracle tools. This enables the instances to register with the SCAN Listeners as remote listeners to provide information on what services are
being provided by the instance, the current load, and a recommendation on how many incoming connections should be directed to the instance.
Note: Single Client Access Name (SCAN) is an Oracle Real Application Clusters (Oracle RAC) feature that provides a single name for clients to access Oracle
http://www.gratisexam.com/

Databases running in a cluster.


Incorrect Answers:
B: You must set the LOCAL_LISTENER parameter to the node-VIP. If you need fully qualified domain names, then ensure that the LOCAL_LISTENER parameter
is set to the fully qualified domain name. By default, a node listener is created on each node in the cluster during cluster configuration. With Oracle Grid
Infrastructure, the node listener runs out of the Oracle Grid Infrastructure home and listens on the node-VIP using the specified port.
D: LOAD_BALANCE=on, not LOAD_BALANCE=YES, is used.
References: https://docs.oracle.com/database/121/JJDBC/scan.htm#JJDBC29151
https://docs.oracle.com/database/121/RACAD/hafeats.htm#RACAD7122
QUESTION 20
You are developing a user callout procedure to send an email to the helpdesk whenever a RAC database instance fails to restart after node failure.
Examine these tasks (see exhibit):

Identify the minimum steps required, in the correct sequence, to implement this.
A. 1, 3, 7
B. 1, 4, 6

http://www.gratisexam.com/

C.
D.
E.
F.

2, 5, 8
2, 4, 7, 8
2, 4, 7
1, 4, 7, 8

Correct Answer: F
Section: (none)
Explanation
Explanation/Reference:
Explanation:
FAN callouts are server-side executables that Oracle Restart executes immediately when high availability events occur.
You can use FAN callouts to automate the following activities when events occur, such as:
Opening fault tracking tickets
Sending messages to pagers
Sending e-mail
Starting and stopping server-side applications
Maintaining an uptime log by logging each event as it occurs
To use FAN callouts, place an executable in the directory grid_home/racg/usrco on both the primary and the standby database servers. If you are using scripts,
then set the shell as the first line of the executable. The following is an example file for the grid_home/racg/usrco/callout.sh callout:
#! /bin/ksh
FAN_LOGFILE= [your path name]/admin/log/`hostname`_uptime.log
echo $* "reported="`date` >> $FAN_LOGFILE &
Note: Oracle has proved options where a script or utility or application (called server side callout), if placed in $GRID_HOME/racg/usrco directory, will be executed
automatically.
References: Expert Oracle RAC Performance Diagnostics and Tuning (2014), page 506
https://docs.oracle.com/cd/E18283_01/server.112/e17120/restart001.htm
QUESTION 21
Which three options have a RAC-specific tuning component?
A.
B.
C.
D.
E.
F.

contention on index leaf blocks


sequence definitions
the size of the online redo log buffers
contention for online redo log files
contention for archived redo log files
the load on the Cluster Interconnect
http://www.gratisexam.com/

Correct Answer: ACF


Section: (none)
Explanation
Explanation/Reference:
Explanation:
A: Contention for data and index blocks in a single instance database will probably magnify in a RAC environment.
C: A typical cause of high latencies is when the LMS process must flush uncommitted changes to the redo log prior to sending the block to the requesting instance.
If the application design is such that uncommitted blocks are often in demand across instances in the cluster then these redo log flushes might become common.
F: Examining the interconnect
When Global Cache waits are high, we should first determine if the latency is primarily the result of interconnect network waits.
References: http://www.toadworld.com/platforms/oracle/w/wiki/10939.optimizing-oracle-rac#rac-tuning-principles
QUESTION 22
Which three statements are true about Oracle 12 RAC Database software installations?
A.
B.
C.
D.
E.
F.

It is possible to install RAC database software on a one node cluster.


It is possible to install multiple RAC database 12c software homes on the same cluster.
The RAC database 12c software home and Grid infrastructure homes must be owned by separate OS users.
The Cluster Verification Utility (CLUVFY) must be used to check the cluster before installing the RAC database software.
The Cluster Verification Utility (CLUVFY) must be used to check the cluster after installing the RAC database software.
The RAC database 12c software home and Grid Infrastructure homes must be owned by the same OS user.

Correct Answer: ADF


Section: (none)
Explanation
Explanation/Reference:
Explanation:
A: An Oracle home is the directory in which you install Oracle Database binaries, and from which Oracle Database runs. Use Oracle Appliance Manager (through
oakcli commands) to create and manage multiple Oracle homes and databases on Oracle Database Appliance.
Oracle Database Appliance supports multiple Oracle Homes including different versions for Oracle Database 11g Release 2, 11gR2 and Oracle Database Release
12c Release 1.
D: You can use Cluster Verification Utility (CVU) to assist you with system checks in preparation for starting an upgrade.
F: The same user that owned the earlier release Oracle Grid Infrastructure software must perform the Oracle Grid Infrastructure 12c Release 1 (12.1) upgrade.
Before Oracle Database 11g, either all Oracle software installations were owned by the Oracle user, typically oracle, or Oracle Database software was owned by

http://www.gratisexam.com/

oracle, and Oracle Clusterware software was owned by a separate user, typically crs.
Reference:
https://docs.oracle.com/cd/E22693_01/doc.12/e55580/dbadmin.htm#CHDJIBEE
https://docs.oracle.com/database/121/CWLIN/procstop.htm#CWLIN517
QUESTION 23
PROD1, PROD2 and PROD3 are three instances that have multitenant container database PROD open.
PROD contains multiple PDBs.
Examine these successful commands:
$ srvctl add service db PROD pdb PRDPDB1 service SRVPDB1
$ srvctl start service db PROD service SRVPDB1
Which statement is true about the srvctl start service command?
A.
B.
C.
D.

It opens the PRDPDB1 PDB if not already opened.


It can open the PRDPDB1 PDB only if it is policy managed.
It can open the PRDPDB1 PDB automatically.
It can open the PRDPDB1 PDB only if it is manually managed.

Correct Answer: B
Section: (none)
Explanation
Explanation/Reference:
QUESTION 24
Which method can be used to convert a single-instance Oracle 12c Database to a RAC Database?
A. using DBCA to migrate the database to shared storage and then start one or more RAC database instances on the cluster
B. using DBCA to create a template from the single-instance database and then to create a RAC database on the cluster using that template
C. using the rconfig utility to create a template from the single-instance database and then using DBCA to create a RAC database on the cluster using that
template
D. using the rconfig utility to migrate the database to shared storage and then using DBCA to start one or more RAC database instances on the cluster.
Correct Answer: C
Section: (none)
Explanation

http://www.gratisexam.com/

Explanation/Reference:
Explanation:
You can use the command-line utility rconfig to convert a single-instance database to an Oracle RAC database, or to convert it to an Oracle RAC One Node
database, depending on the values you provide in the ConvertToRAC.xml file.
Incorrect Answers:
A, B: To convert from a single-instance Oracle Database that is on a non-clustered computer to Oracle RAC, perform the procedures described in the following
sections, and in the order shown:
1. Use DBCA to Create an Image of the Single-Instance Database
2. Complete the Oracle Clusterware Installation
3. Validate the Cluster
4. Copy the Preconfigured Database Image
5. Install Oracle Database 12c Software with Oracle RAC
References: https://docs.oracle.com/database/121/RACAD/cvt2rac.htm#RACAD8854
QUESTION 25
Which three are benefits of using RAC One Node in Oracle 12c?
A.
B.
C.
D.
E.
F.

automatic failover for high availability


ability to perform rolling patches
online conversion from RAC One Node databases to multi-instance RAC databases
load-balancing of services within a single instance
online-conversion from non-RAC databases to RAC One Node databases
multiple instances of the same database on a single node to protect against instance failure

Correct Answer: BCF


Section: (none)
Explanation
Explanation/Reference:
Explanation:
Oracle Real Application Clusters One Node is a single instance of an Oracle Real Application Clusters-enabled database running on one node in a cluster. It lets
you consolidate multiple databases onto a single cluster and thereby adds to the flexibility that Oracle offers for database consolidation while reducing management
overhead by providing a standard deployment for highly available Oracle Database editions.
Overview
Failover cluster protection for unplanned downtime
Online Database Relocation for workload management

http://www.gratisexam.com/

Online database patching to reduce planned downtime


(C) Online upgrade to Oracle RAC for full scalability
Benefits
(F) Protection from unplanned database or system failures
(B) Rolling upgrades and patches for your OS and database
Standard management for highly available Oracle Databases
Online Databases Relocation for database virtualization
References: http://www.oracle.com/us/products/database/options/rac-one-node/overview/index.html
QUESTION 26
Which three statements are true about Quality of Service Management (QoS)?
A.
B.
C.
D.
E.

A server-pool can be managed by QoS even if it does have database instances running on any server in the pool.
It can manage database services only if they are defined as UNIFORM services.
It requires Oracle Grid Infrastructure for a Cluster to be installed and Clusterware to be running.
It supports multiple databases assigned to the same server pool.
Databases managed by QoS can be administrator managed or policy managed.

Correct Answer: BCD


Section: (none)
Explanation
Explanation/Reference:
Explanation:
B: Database services should be created as UNIFORM services, meaning the service is offered by every available instance running in the specified server pool. If
your application requires a SINGLETON service, then, to use Oracle Database QoS Management in management mode, the service must run in a server pool that
has a maximum size of one. If you use a SINGLETON service in a server pool that has a maximum size greater than one, then Oracle Database QoS Management
reports a configuration violation.
C: Initial QoS configuration includes:
Installing and Configuring Oracle Grid Infrastructure for a Cluster
Creating and Configuring Server Pools
Creating and Configuring an Oracle RAC Database
Enabling Oracle Database QoS Management
Incorrect Answers:
E: It must be policy managed. When you use DBCA to create an Oracle RAC database, you select policy-managed for the database, and choose the server pools
which the database instances should run in.
References: https://docs.oracle.com/cd/E11882_01/server.112/e24611/install_config.htm#APQOS157

http://www.gratisexam.com/

https://docs.oracle.com/database/121/APQOS/wlm_strats.htm#APQOS341
QUESTION 27
Which two statements are true about Quality of Service Management?
A.
B.
C.
D.
E.

It can enable a more efficient sharing of hardware resources.


It can improve the performance of SQL statements.
It can improve system stability as the workload changes.
It can improve the performance of PL/SQL.
It can reduce the load on the system caused by Oracle background processes.

Correct Answer: AC
Section: (none)
Explanation
Explanation/Reference:
Explanation:
Oracle Database QoS Management provides the following benefits:
Enables more effective sharing of hardware resources
Provides stability to the system as the workloads change
Note: More benefits are:
Reduces the time and expertise requirements for system administrators who manage Oracle Real Application Clusters (Oracle RAC) resources
Helps reduce the number of performance outages
Reduces the time needed to resolve problems that limit or decrease the performance of your applications
Makes the addition or removal of servers transparent to applications
Reduces the impact on the system caused by server failures
Helps ensure that service-level agreements (SLAs) are met
Reference: https://docs.oracle.com/cd/E11882_01/server.112/e24611/apqos_intro.htm#APQOS268
QUESTION 28
After creating a RAC One Node database using SQL statements, you want to register this database with Oracle Clusterware as a policy-managed resource.

http://www.gratisexam.com/

Which command, or sequence of commands, should you use?


A. srvctl add srvpool serverpool ron importance 100 min 2 max 2 servers 016n1, 016n2
srvctl add db db ron oraclehome $ORACLE_HOME dbtype raconenode serverpool ron
B. srvctl add db db ron oraclehome $ORACLE_HOME dbtype raconenode server 016n1, 016n2
C. srvctl add db db ron oraclehome $ORACLE_HOME dbtype raconenode serverpool ron server 016n1, 016n2
D. srvctl add srvpool serverpool ron importance 100 min 2 max 2 servers 016n1, 016n2
srvctl add db db ron oraclehome $ORACLE_HOME dbtype raconenode server 016n1, 016n2
Correct Answer: C
Section: (none)
Explanation
Explanation/Reference:
Explanation:
If your Oracle RAC One Node database did not register automatically with Oracle Clusterware, then use the srvctl add database command to add an Oracle RAC
One Node database to your cluster.
For example:
srvctl add database -c RACONENODE [-e server_list] [-i instance_name] [-w timeout]
When you add services to a policy-managed Oracle RAC One Node database, SRVCTL does not accept any placement information, but instead configures those
services using the value of the SERVER_POOLS attribute.
Note: Use the srvctl add database command to add an Oracle RAC One Node database to your cluster. For example:
srvctl add database -c RACONENODE [-e server_list] [-i instance_name] [-w timeout]
* -c {RACONENODE | RAC | SINGLE}
The type of database you are adding: Oracle RAC One Node, Oracle RAC, or single instance.
Reference: https://docs.oracle.com/cd/E11882_01/rac.112/e41960/onenode.htm#RACAD8194

http://www.gratisexam.com/

QUESTION 29
You plan to create a three-instance RAC database stored in ASM, with its data files in the DATA disk group.
Identify three supported storage solutions for the Fast Recovery Area (FRA).
A.
B.
C.
D.
E.

a shared nothing file system accessed directly by the database instances


a cluster file system
a shared NFS file system
the DATA disk group
a local file system with the same path name on each cluster node

Correct Answer: BCD


Section: (none)
Explanation
Explanation/Reference:
Explanation:
There are special considerations for choosing a location for the flash recovery area in a RAC environment. The location must be on a cluster file system, ASM or a
shared directory configured through NFS. The location and disk quota must be the same on all instances.
References: https://docs.oracle.com/cd/B19306_01/backup.102/b14192/setup005.htm
QUESTION 30
Which three statements are true about services when used with transparent application failover (TAF) for an administrator-managed RAC database?
A.
B.
C.
D.
E.

TAF-enabled sessions fail over to a surviving instance accepting logins for the service.
TAF-settings for the service override TAF settings in TNS entry used by the client.
TAF can restart a query or a transaction after failover.
The TAF settings for a client connections overrides any TAF settings in the service definition.
TAF PRECONNECT requires configuration for the service and in the client TNS entry.

Correct Answer: ACD


Section: (none)
Explanation
Explanation/Reference:
Explanation:
A: SESSION failover. When the connection to an instance is lost, SESSION failover results only in the establishment of a new connection to another Oracle RAC
node; any work in progress is lost. SESSION failover is ideal for online transaction processing (OLTP) systems, where transactions are small.

http://www.gratisexam.com/

C: SELECT failover. With SELECT failover, Oracle Net keeps track of all SELECT statements issued during the transaction, tracking how many rows have been
fetched back to the client for each cursor associated with a SELECT statement. If the connection to the instance is lost, Oracle Net establishes a connection to
another Oracle RAC node and re-executes the SELECT statements, repositioning the cursors so the client can continue fetching rows as if nothing has happened.
The SELECT failover approach is best for data warehouse systems that perform complex and time-consuming transactions.
D: Oracle's answer to application failover is a new Oracle Net mechanism dubbed Transparent Application Failover. TAF allows the DBA to configure the type and
method of failover for each Oracle Net client.
Incorrect Answers:
E: In PRECONNECT failover, the application simultaneously connects to both a primary and a backup node. This offers faster failover, because a pre-spawned
connection is ready to use. But the extra connection adds everyday overhead by duplicating connections.
References: http://www.dba-oracle.com/art_oramag_rac_taf.htm
QUESTION 31
Examine this query and output:
SQL> select order_flag, cache_size, session_flag, keep_value,
2 from user_sequences where sequence_name = SEQ1;
O CACHE_SIZE S K
-- ------------------- -- -Y
10 N N
Performance analysis revealed severe SQ enqueue contention on the SEQ1 sequence.
The SEQ1 sequence is incremented from all instances equally and is frequently used.
Which two statements should you execute to reduce SQ enqueue contention?
A.
B.
C.
D.
E.

alter sequence seq1 cache 10000;


alter sequence seq1 order;
alter sequence seq1 noorder;
exec sys.dbms_shared_pool.keep (SEQ1, Q)
alter sequence seq1 keep;

Correct Answer: AD
Section: (none)
Explanation
Explanation/Reference:
Explanation:

http://www.gratisexam.com/

A: Use cache.
D: The KEEP procedure keeps an object in the shared pool. Once an object has been kept in the shared pool, it is not subject to aging out of the pool. This may be
useful for frequently used large objects. When large objects are brought into the shared pool, several objects may need to be aged out to create a contiguous area
large enough.
References:
https://ora600tom.wordpress.com/2015/01/09/enq-sq-contention/
https://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_shpool.htm#i999221
QUESTION 32
Which three statements are true concerning the Automatic Workload Repository (AWR) in a RAC environment?
A.
B.
C.
D.
E.

Taking an AWR snapshot in a RAC database captures data from all instances that have the database opened.
Taking an AWR snapshot in a RAC database captures data from the local instance only.
Data captured by an AWR is aggregated across all instances before being stored in the database.
The awr_snapshot_time_offset parameter specifies the number of seconds each instance waits after the top of the hour before taking its AWR snapshot.
AWR snapshots are created when control_management_pack_access is set to none

Correct Answer: ACD


Section: (none)
Explanation
Explanation/Reference:
Explanation:
AWR snapshots are collect at database level.
Oracle extends the AWR tool for RAC databases by adding the possibility to generate snapshots reports against the whole cluster database, some database
instances of the cluster database, a specific database instance of the cluster database, statistics for a specific select query.
D: AWR_SNAPSHOT_TIME_OFFSET specifies an offset for the AWR snapshot start time. AWR snapshots normally start at the top of the hour (12:00, 1:00, 2:00,
and so on). This parameter allows DBAs to specify an offset for the AWR snapshot start time.
Incorrect Answers:
E: CONTROL_MANAGEMENT_PACK_ACCESS specifies which of the Server Manageability Packs should be active. The following packs are available:
The DIAGNOSTIC pack includes AWR, ADDM, and so on.
The TUNING pack includes SQL Tuning Advisor, SQLAccess Advisor, and so on.
The NONE value means that both packs are not available.
References: https://docs.oracle.com/cloud/latest/db112/REFRN/initparams018.htm#REFRN10325
http://www.oracle-class.com/?p=2409

http://www.gratisexam.com/

QUESTION 33
Which four tasks are performed by DBCA when you convert a single-instance database to a four-instance RAC database?
A.
B.
C.
D.
E.
F.

creating additional redo threads


creating additional undo tablespaces
creating shared ASM disk groups
adding cluster resources
creating database services
adding additional initialization parameters

Correct Answer: ABDF


Section: (none)
Explanation
Explanation/Reference:
Explanation:
A: Create redo threads that have at least two redo logs for each additional instance.
B: If your single-instance database was using automatic undo management, then create an undo tablespace for each additional instance using the CREATE UNDO
TABLESPACE SQL statement.
Note:
ABF: You can use Database Configuration Assistant to convert from single-instance Oracle databases to Oracle RAC. DBCA automates the configuration of the
control file attributes, creates the undo tablespaces and the redo logs, and makes the initialization parameter file entries for cluster-enabled environments. It also
configures Oracle Net Services, Oracle Clusterware resources, and the configuration for Oracle RAC database management for use by Oracle Enterprise Manager
or the SRVCTL utility.
References: https://docs.oracle.com/cd/B28359_01/install.111/b28264/cvrt2rac.htm
QUESTION 34
PROD1, PROD2 and PROD3 are three active instances of the PROD database.
Examine these commands executed on PROD1:
SQL > ALTER SYSTEM SET PARALLEL_MIN_SERVERS=200 SCOPE=MEMORY sid=*;
SQL > ALTER SYSTEM SET PARALLEL_MIN_SERVERS=100 SCOPE=MEMORY sid=PROD1;
Which statement is true?
A. PARALLEL_MIN_SERVERS will be 200 for all instances of PROD.
B. PARALLEL_MIN_SERVERS will be 100 for all instances of PROD.
C. The second statement returns an error because this parameter must be identical for all instances.

http://www.gratisexam.com/

D. PARALLEL_MIN_SERVERS will be 200 for PROD2 and PROD3 and 100 for PROD1.
Correct Answer: D
Section: (none)
Explanation
Explanation/Reference:
Explanation:
First SET PARALLEL_MIN_SERVERS is set to 200 for all instances, then it is set to 100 for PROD1.
QUESTION 35
Which three statements are true about Global Resource Management in an Oracle 12c RAC database?
A.
B.
C.
D.
E.

Lazy remastering occurs when an instance shuts with SHUTDOWN IMMEDIATE.


Object remastering causes all blocks in any instances buffer cache from the same object to be mastered in the Global Resource Directory (GRD).
When a database instance fails, then some global resource masters lost from the failing instance are remastered among the surviving instances.
Lazy remastering instances occurs when an instance shuts with SHUTDOWN TRANSACTIONAL.
Global Enqueue resources are recovered after Global Cache Resources after an instance failure.

Correct Answer: BCD


Section: (none)
Explanation
Explanation/Reference:
Explanation:
B: Remastering is the term used that describes the operation whereby a node attempting recovery tries to own or master the resource(s) that were once mastered
by another instance prior to the failure. When one instance leaves the cluster, the GRD of that instance needs to be redistributed to the surviving nodes. RAC uses
an algorithm called lazy remastering to remaster only a minimal number of resources during a reconfiguration.
D: Using the SHUTDOWN TRANSACTIONAL command with the LOCAL option is useful to shut down a particular Oracle RAC database instance. Transactions on
other instances do not block this operation.
C: Recovery from instance failure is automatic, requiring no DBA intervention. In case of instance failure, a surviving instance can read the redo logs of the failed
instance.
For example, when using the Oracle Parallel Server, another instance performs instance recovery for the failed instance. In single-instance configurations, Oracle
performs crash recovery for a database when the database is restarted, that is, mounted and opened to a new instance. The transition from a mounted state to an
open state automatically triggers crash recovery, if necessary.
Incorrect Answers:
A: After a NORMAL or IMMEDIATE shutdown, instance recovery is not required.

http://www.gratisexam.com/

References: https://docs.oracle.com/database/121/RACAD/admin.htm#RACAD8910
QUESTION 36
Which three statements are true about ASM Cloud File System (ACFS) tagging?
A.
B.
C.
D.
E.

acfssettag is a command provided by a platform-independent API to tag files.


acfssettag is a command provided by a platform-dependent API to tag files.
ACFS tagging is used to mark a subset of files in an ACFS file system for replication.
acfsutil encr on can be used to specify the tag names of the files to be encrypted.
acfsutil tag set can be used to tag files.

Correct Answer: ACE


Section: (none)
Explanation
Explanation/Reference:
Explanation:
A: The acfssettag command sets the tag name on an Oracle ACFS file.
Syntax
sb8 acfssettag(const oratext *path, const oratext *tagname, oratext *value,
size_t size, ub4 flags);
C: Oracle ACFS tagging assigns a common naming attribute to a group of files. Oracle ACFS Replication can use this tag to select files with a unique tag name for
replication to a different remote cluster site. The tagging option avoids having to replicate an entire Oracle ACFS file system.
E: The acfsutil tag set command adds the given tag to the specified files or directories in an Oracle ACFS file system.
Incorrect Answers:
D: The acfsutil encr on command encrypts an Oracle ACFS file system, directories, or individual files.
However, you specify a directory not a tag name.
References:
https://docs.oracle.com/database/121/OSTMG/GUID-9D88AC84-F3E1-432B-8907-E6D7647E1B0F.htm#OSTMG95633
https://docs.oracle.com/database/121/OSTMG/GUID-5A980C0A-BE5E-4489-8A25-ED9596BF6CA2.htm#OSTMG34700
QUESTION 37
Which two statements are true about ASM alias names?

http://www.gratisexam.com/

A.
B.
C.
D.
E.

ASM files created using an alias name are not OMF files even if OMF is enabled.
Alias file names cannot be used together with templates when creating tablespaces.
ASM files created using an alias name are OMF files even if OMF is not enabled.
Alias names can be stored only in user-defined directories.
ASM files created using an alias name also have a fully qualified name and can be accessed by either name.

Correct Answer: AB
Section: (none)
Explanation
Explanation/Reference:
Explanation:
A: Alias names are not created as OMF.
B: An alias ASM filename with template is used only for ASM file creation operations. It has the following format:
+dgroup(template_name)/alias
Incorrect Answers:
D: You can create an alias in any system-generated or user-created Oracle ASM directory.
References: https://docs.oracle.com/database/121/OSTMG/GUID-7AE5B8CA-B563-4864-A934-4C170A9590F5.htm#OSTMG10065
QUESTION 38
The DGRP1 diskgroup has these attributes:
Normal redundancy
Two failgroups with four asmdisks in each failgroup
compatible.asm set to 12.1
The ASM_POWER_LIMIT is currently set to 1 in the ASM instances.
There are three databases whose instances are up and which access data in the DGRP1 diskgroup.
No other clients use this diskgroup.
You want to add two asmdisks to each failgroup, complete the rebalance as quickly as possible, by avoiding checks for access to allocation units, and then restore
database availability.
Examine the list of actions (see exhibit):
Exhibit:

http://www.gratisexam.com/

Identify the correct sequence of required steps:


A.
B.
C.
D.

1, 2, 3, 4, 5, 2, 10, 7
1, 3, 5, 7
1, 8, 6, 3, 5, 8, 9, 7
1, 8, 6, 3, 5, 2, 10, 7

Correct Answer: C
Section: (none)
Explanation
Explanation/Reference:
QUESTION 39
A Java application using thick JDBC connections will soon be deployed, and you must configure a RAC database to support highly available connections.
Broken connections must be re-established as quickly as possible.

http://www.gratisexam.com/

Which feature will support this requirement?


A.
B.
C.
D.

Fast Connection Failover (FCF) with Transparent Application Failover (TAF)


Transparent Application Failover (TAF)
Transparent Application Failover (TAF) using Fast Application Notification (FAN)
Fast Connection Failover (FCF)

Correct Answer: C
Section: (none)
Explanation
Explanation/Reference:
Explanation:
The Fast Connection Failover (FCF) feature is an Oracle RAC/Fast Application Notification (FAN) client implemented through the connection pool. The feature
requires the use of an Oracle JDBC driver and an Oracle RAC database.
References: https://docs.oracle.com/cd/B28359_01/java.111/e10788/rac.htm
QUESTION 40
Which three statements are true concerning policy-based cluster management in Oracle 12c Clusterware?
A.
B.
C.
D.
E.

Server Pools must be managed with the crsctl utility for servers hosting an application or other administrator-defined high-availability resource.
All servers in a new cluster installation belong to the generic server pool.
The server pool contains servers that host administrator-defined high availability resources.
Server pools must be managed with the srvctl utility for servers hosting a database.
All servers in a new cluster installation belong to the free server pool.

Correct Answer: CDE


Section: (none)
Explanation

http://www.gratisexam.com/

Explanation/Reference:
Explanation:
C: Server pools divide the cluster into logical groups of servers hosting both singleton and uniform applications. The application can be a database service or a
non-database application.
D: You manage server pools that contain Oracle RAC databases with the Server Control (SRVCTL) utility.
E: When Oracle Clusterware is installed, two internal server pools are created automatically: Generic and Free. All servers in a new installation are assigned to the
Free server pool, initially
References: https://docs.oracle.com/database/121/CWADD/pbmgmt.htm#CWADD92594
QUESTION 41
You administer a three-instance, policy-managed, multitenant RAC database CDB1 with two PDBs: PDB_1 and PDB_2.
Examine these commands executed on host01:
$ srvctl add service db CDB1 pdb PDB_1 serverpool prod_pool cardinality singleton
$ srvctl start service db CDB1 service CRM
$ srvctl stop service db CDB1 service CRM
Which three statements are true?
A.
B.
C.
D.
E.

CRM is only available for new logins on the CDB1 instance on host01.
CRM is available for new logins on one CDB1 instance.
The srvctl start service command automatically opens PDB_1 if not already opened.
The srvctl stop service command does not close PDB_1 on any instance of CDB1.
The CRM service is not available for new logins on any instance of CDB1.

Correct Answer: CDE


Section: (none)
Explanation
Explanation/Reference:
QUESTION 42
Which two tasks must be performed before launching the Oracle universal installer to install Oracle Database Software for RAC?
A.
B.
C.
D.

ssh user equivalence for the Oracle software owner must be configured on all cluster nodes.
Grid infrastructure must be installed on all cluster nodes where the Database software will be installed.
ssh user equivalence for the Oracle software owner must be configured on all cluster nodes where the Database Software will be installed.
Grid infrastructure must be installed on all cluster nodes.

http://www.gratisexam.com/

E. The Clusterware stack must be up on all cluster nodes.


Correct Answer: AD
Section: (none)
Explanation
Explanation/Reference:
Explanation:
A: You must enable SSH User Equivalency on Cluster Nodes.
References: https://docs.oracle.com/database/121/CWLIN/manpreins.htm#CWLIN407
QUESTION 43
Examine this output:
ASMCMD> volinfo G ACFS a
Diskgroup Name: ACFS
Volume Name: VOL1
Volume Device: /dev/asm/vol1-280
State: ENABLED
Size (MB): 2048
Resize Unit (MB): 32
Redundancy: MIRROR
Stripe Columns: 4
Stripe Width (K): 128
Usage: ACFS
Mountpath: /u01/app/grid/acfsmount
The ACFS disk group has 10 GB free space and the file system is currently mounted.
You execute this command to increase the volume size:
ASMCMD >volresize G ACFS s 3G VOL1
Which statement is true regarding the outcome?
A.
B.
C.
D.
E.

It succeeds
It fails because the file system must be unmounted before resizing.
It fails because resizing a volume containing an ACFS file system must be performed using ACFSUTIL.
It succeeds but the file system is automatically unmounted.
It fails because the f option is not specified.

http://www.gratisexam.com/

Correct Answer: C
Section: (none)
Explanation
Explanation/Reference:
Explanation:
If there is an Oracle ACFS file system on the volume, then you cannot resize the volume with the volresize command. You must use the acfsutil size command,
which also resizes the volume and file system.
References: https://docs.oracle.com/cd/E11882_01/server.112/e18951/asm_util007.htm#OSTMG94769
QUESTION 44
You plan to apply a patchset to a RAC database running on a two-node cluster.
The cluster has this configuration:
Grid infrastructure release 12.1.0.1.0
RAC database release 12.1.0.1.0
All software installed on local file systems
The database is deployed on ASM disk groups.
Examine this list of possible tasks (see exhibit).
Exhibit:

Identify the required tasks in the correct order to apply the patchset with the least amount of down time.
A. 1, 3, 2, 5 and 8
B. 3, 2, 5 and 8

http://www.gratisexam.com/

C. 1, 2, 3, 5 and 8
D. 3, 2, 6 and 8
E. 3, 2, 5, 2 and 8
Correct Answer: C
Section: (none)
Explanation
Explanation/Reference:
Reference: https://docs.oracle.com/cd/B19306_01/rac.102/b28759/softpatch.htm#TDPRC918
QUESTION 45
Which two components must always be defined or specified by an administrator to make an application highly available using Oracle 12c Clusterware?
A.
B.
C.
D.
E.

A Server Pool
an application VIP
an application resource
a resource dependency definition
a script agent

Correct Answer: CE
Section: (none)
Explanation
Explanation/Reference:
Explanation:
Oracle Clusterware manages applications when they are registered as resources with Oracle Clusterware. Oracle Clusterware has access to application-specific
primitives that have the ability to start, stop, and monitor a specific resource. Oracle Clusterware runs all resource-specific commands through an entity called an
agent.
Note: When initializing the agent framework, if any of the mandatory entry points are not provided, then the agent framework invokes a script pointed to by the
ACTION_SCRIPT resource attribute.
References: https://docs.oracle.com/database/121/CWADD/crschp.htm#CWADD92082
QUESTION 46
Which two statements are true about resources defined by an administrator and registered with Oracle 12c Clusterware for high availability?

http://www.gratisexam.com/

A.
B.
C.
D.
E.
F.

A policy-managed resource can be started manually using crsctl.


A policy-managed resource can be started manually using srvctl.
Resource dependencies are automatically set when using a policy-managed resource.
An administrator-managed resource can be started manually using crsctl.
An administrator-managed resource can be started manually using srvctl.
The action script is automatically set when using a policy-managed resource.

Correct Answer: AE
Section: (none)
Explanation
Explanation/Reference:
Explanation:
A: With policy-based management, administrators specify the server pool (excluding the Generic and Free pools) in which the servers run. For example, a
database administrator uses SRVCTL to create a server pool for servers hosting a database or database service. A clusterware administrator uses CRSCTL to
create server pools for non-database use, such as creating a server pool for servers hosting an application.
E: Administrator-managed resources refer to databases. You must use SRVCTL to create server pools that host Oracle databases. You must use CRSCTL to
create server pools that host non-database resources such as middle tiers and applications.
References: https://docs.oracle.com/database/121/CWADD/pbmgmt.htm#CWADD92894
QUESTION 47
Which statement is true about using OPatch to patch Oracle Grid Infrastructure 12c?
A.
B.
C.
D.

All grid infrastructure patches may be applied in a rolling fashion with Opatch.
Opatch can patch all cluster nodes simultaneously without stopping the clusterware on all nodes.
Opatch can patch all cluster nodes simultaneously only for nonrolling patches.
Applying patches with Opatch must be done in an out-of-place fashion.

http://www.gratisexam.com/

Correct Answer: A
Section: (none)
Explanation
Explanation/Reference:
Explanation:
As with standard upgrades to Oracle Grid Infrastructure, at any given point in time for normal operation of the cluster, all the nodes in the cluster must have the
same software release and patch level. Because one-off patches can be applied as rolling upgrades, all possible patch levels on a particular software release are
compatible with each other.
Note: Starting with Oracle Grid Infrastructure 12c Release 1 (12.1), a new cluster state called "Rolling Patch" is available. This mode is similar to the existing
"Rolling Upgrade" mode in terms of the Oracle ASM operations allowed in this quiesce state.
References: https://docs.oracle.com/database/121/CWLIN/procstop.htm#CWLIN528
QUESTION 48
Which three statements are true about the administration and use of policy sets in Oracle 12c Clusterware?
A.
B.
C.
D.
E.

All server pools in a cluster are controlled by the policy set, when user-defined policy management is used.
Servers in a server pool outside the control of policy set are never affected by policy changes, when user-defined policy management is used.
Clusterware administrators cannot directly modify the policy set when Quality of Service (QoS) Management is used.
A server pool can have the same attributes defined for different policies in the policy set, when user-defined policy management is used.
A server pool can have different attributes defined for different policies in the policy set, when user-defined policy management is used.

Correct Answer: ACE


Section: (none)
Explanation
Explanation/Reference:
Explanation:
A: A cluster configuration policy set is a document that defines the names of all server pools configured for the cluster and definitions for all policies.
C: If you create policies with Oracle Database Quality of Service Management (Oracle Database QoS Management), then you categorize servers by setting server
pool directive overrides, and CRSCTL commands using the policy and policyset nouns are disabled.
Note: Oracle Database 12c has introduced the policy sets, a feature that allows preparing in advance all the different workload scenarios and activating them with a
single command. The easiest way to create policy sets is dumping the current configuration into a file, edit it, and reload it into the cluster.
References: https://docs.oracle.com/database/121/CWADD/pbmgmt.htm#CWADD92635
QUESTION 49
Your flex cluster has these attributes:
http://www.gratisexam.com/

1. Hub nodes host01 and host02


2. Leaf nodes host03 and host04
3. Full Featured GNS is configured and running.
You attempt to run this command to add two more nodes to the cluster:
$ ./addnode.sh silent CLUSTER_NEW_NODES={host05,host06}
CLUSTER_NEW_NODE_ROLES={hub,leaf}
What is the result and the reason for this result?
A.
B.
C.
D.

It fails because no VIP was specified for the hub node host05.
It fails because hub and leaf nodes may not be added by the same execution of addNode.sh.
It fails because GNS doesnt assign VIPs for leaf nodes and no VIP was specified in the command.
It succeeds because no VIP specification is required for leaf nodes and none need to be specified for hub nodes when using full featured GNS.

Correct Answer: A
Section: (none)
Explanation
Explanation/Reference:
Explanation:
Hub Nodes always have VIPs.
Incorrect Answers:
C: Hub Nodes always have VIPs but Leaf Nodes may not.
B: Use the CLUSTER_NEW_NODE_ROLES parameter to indicate, in an Oracle Flex Cluster, whether the node you are adding is a Hub Node or a Leaf Node.
You can add multiple nodes, as follows:
$ addnode.sh -silent -noCopy ORACLE_HOME=Grid_home "CLUSTER_NEW_NODES={node2,node3,node4}"
"CLUSTER_NEW_VIRTUAL_HOSTNAMES={node2-vip,node3-vip,}"
"CLUSTER_NEW_NODE_ROLES={HUB,HUB,LEAF}"
In the preceding syntax example, Node 4 is designated as a Leaf Node and does not require that a VIP be included.
References: https://docs.oracle.com/database/121/CWADD/clonecluster.htm#CWADD92139
QUESTION 50
Which two actions are performed by installing the Oracle 12c Preinstall RPM on Oracle Linux?
A. It creates the grid user if not already defined.

http://www.gratisexam.com/

B.
C.
D.
E.

It modifies the /etc/sysctl.conf Linux file.


It installs kernel modules required for the ASM Cluster File System (ACFS).
It installs the OpenSSH client package.
It creates the oinstall group if not already defined.

Correct Answer: BE
Section: (none)
Explanation
Explanation/Reference:
Explanation:
When installed, the Oracle Preinstallation RPM does the following:
As needed, sets sysctl.conf settings, system startup parameters, and driver parameters to values based on recommendations from the Oracle Preinstallation
RPM program
Creates an oracle user, and creates the oraInventory (oinstall) and OSDBA (dba) groups for that user
Automatically downloads and installs any additional RPM packages needed for installing Oracle Grid Infrastructure and Oracle Database, and resolves any
dependencies
Sets hard and soft resource limits
Sets other recommended parameters, depending on your kernel version
Note: The Oracle RPMs for your Oracle Linux distributions and Oracle RDBMS releases automatically install any additional packages needed for installing Oracle
Grid Infrastructure and Oracle Database, and configure your server operating system automatically, including setting kernel parameters and other basic operating
system requirements for installation.
References: https://docs.oracle.com/database/121/LADBI/pre_install.htm#LADBI7493
QUESTION 51
Which three statements are true about Oracle Clusterware components, architecture, and behavior?
A. The Cluster Ready Services Daemon (CRSD) is responsible for monitoring and maintaining the availability of cluster resources defined in the Oracle Local
Repository file (OLR).
B. All cluster nodes can write or read from the Oracle Clusterware Repository (OCR) file at the same time.
C. The Oracle High Availability Services Daemon (OHASD) is responsible for monitoring and maintaining the availability of the Clusterware stack on a cluster
node.
D. Voting disks stored in Automatic Storage Management (ASM) can be discovered or used even if the ASM instance on a cluster node is down.
E. The Cluster Synchronization Services Daemon (CSSD) must connect to the cluster by accessing the Oracle Clusterware Repository (OCR) file before the
Oracle High Availability Services Daemon (OHASD) is started.
F. Time synchronization in an Oracle Cluster is possible without using network Time Protocol (NTP).

http://www.gratisexam.com/

Correct Answer: CDF


Section: (none)
Explanation
Explanation/Reference:
Explanation:
F: To activate CTSS in your cluster, you must stop and deconfigure the vendor time synchronization service on all nodes in the cluster. CTSS detects when this
happens and assumes time management for the cluster.
For example, to deconfigure NTP, you must remove or rename the ntp.conf file.
Incorrect Answers:
A: The CRS daemon (crsd) manages cluster resources based on the configuration information that is stored in OCR, not the OLR, for each resource.
B: You must update OCR through supported utilities such as Oracle Enterprise Manager, the Oracle Clusterware Control Utility (CRSCTL), the Server Control Utility
(SRVCTL), the OCR configuration utility (OCRCONFIG), or the Database Configuration Assistant (DBCA)
E: Please refer to the cluster startup picture below.

http://www.gratisexam.com/

http://www.gratisexam.com/

References: https://docs.oracle.com/cd/E11882_01/rac.112/e41959/intro.htm#CWADD90955
QUESTION 52
Which two statements are true regarding the configuration of ASM disk groups when installing Oracle Grid Infrastructure 12c?
A.
B.
C.
D.
E.

The installer permits the creation of a disk group for use by the voting disks and OCR file.
If no ASM disk groups are specified during installation, then ASM instances are not started after the installation completes on any cluster node.
The installer permits the creation of a disk group to be used for the Recovery Area for the ASM instance.
If ASM disk groups are configured for the Clusterware files, then ASM must be used for all databases on the cluster.
ASM disk groups used for voting files and OCR files require a quorum failgroup.

Correct Answer: AB
Section: (none)
Explanation
Explanation/Reference:
Explanation:
You can store Oracle Cluster Registry (OCR) and voting files in Oracle ASM disk groups.
Incorrect Answers:
D: If you install Oracle Database or Oracle RAC after you install Oracle Grid Infrastructure, then you can either use the same disk group for database files, OCR,
and voting files, or you can use different disk groups. If you create multiple disk groups before installing Oracle RAC or before creating a database, then you can do
one of the following:
Place the data files in the same disk group as the Oracle Clusterware files.
Use the same Oracle ASM disk group for data files and recovery files.
Use different disk groups for each file type.
References: https://docs.oracle.com/database/121/CWLIN/storage.htm#CWLIN488
QUESTION 53
When installing Oracle Grid Infrastructure 12c, which three options exist for the configuration of Grid naming Service (GNS)?

http://www.gratisexam.com/

A.
B.
C.
D.
E.

using Shared GNS for the leaf nodes and local GNS for the hub nodes in a Flex Cluster
using Shared GNS running on another cluster
using Shared GNS for the hub nodes and local GNS for the leaf nodes in a Flex Cluster
creation of a new GNS for this cluster
using DHCP to assign Node Virtual IP addresses for nodes in the cluster

Correct Answer: BDE


Section: (none)
Explanation
Explanation/Reference:
Explanation:
B: With dynamic configurations, you can configure GNS to provide name resolution for one cluster, or to advertise resolution for multiple clusters, so that a single
GNS instance can perform name resolution for multiple registered clusters. This option is called shared GNS.
D: With static configurations, no subdomain is delegated. A DNS administrator configures the GNS VIP to resolve to a name and address configured on the DNS,
and a DNS administrator configures a SCAN name to resolve to three static addresses for the cluster.
E: With automatic configurations, a DNS administrator delegates a domain on the DNS to be resolved through the GNS subdomain. Automatic configuration occurs
in one of the following ways:
For IPv4 addresses, Oracle Clusterware assigns unique identifiers for each cluster member node interface allocated for Oracle Grid Infrastructure, and
generates names using these identifiers within the subdomain delegated to GNS. A DHCP server assigns addresses to these interfaces, and GNS maintains
address and name associations with the IPv4 addresses leased from the IPv4 DHCP pool.
For IPv6 addresses, Oracle Clusterware automatically generates addresses with autoconfig.
References: https://docs.oracle.com/database/121/CWADD/admin.htm#CWADD838
QUESTION 54
Which three statements are true about displaying the location of voting files, OCR files, or OLR files in Oracle Clusterware 12c on a UNIX system?
A.
B.
C.
D.
E.
F.

Use cat /etc/oracle/ocr.loc to view the location of the OCR if stored in ASM.
Use ocrcheck command to view the location of the OCR only if stored in a file system.
Use crsctl querry votedisk to view the location of voting files if stored in ASM.
Use the ls command in the asmcmd utility to view the location of voting files if stored in ASM.
Use crsctl query votedisk to view the location of voting files if stored in a file system.
Use cat /etc/oracle/olr.loc to view the location of the OCR and OLR if stored on a file system.

Correct Answer: BEF

http://www.gratisexam.com/

Section: (none)
Explanation
Explanation/Reference:
Explanation:
B: The OCRCHECK utility displays the version of the OCR's block format, total space available and used space, OCRID, and the OCR locations that you have
configured
Use the ocrconfig -add command to add an OCR location to a shared file system or Oracle Automatic Storage Management (Oracle ASM) disk group.
Note: The example shows using the ocrcheck -config -details command to obtain the location of OCR in an Oracle ASM disk group.
Using OCRCHECK to Obtain OCR Information:
$ ocrcheck -config -details
Oracle Cluster Registry configuration is :
Device/File Name
: +ocrvd11/mjk_1/OCRFILE/registry.255.842574113
Device/File Name
: +ocrdv2/mjk_1/OCRFILE/registry.255.842574125
E: To determine the current voting disk by issuing the following command:
crsctl query votedisk css
F: The olr.loc file consists of the OLR config file location and the crs_home location.
$ cat olr.loc
olrconfig_loc=/u01/app/oracle/grid/11.2.0/cdata/<hostname>.olr
crs_home=/u01/app/oracle/grid/11.2.0
So, by default the location is olrconfig_loc =<GRID_HOME>/cdata/<hostname>.olr.
References:
https://docs.oracle.com/database/121/CWADD/ocrsyntax.htm#CWADD92028
https://gjilevski.com/2009/09/23/what-is-a-voting-disk/
QUESTION 55
Which four statements are true concerning the upgrading of Oracle Grid Infrastructure 12c?
A.
B.
C.
D.
E.
F.

The ORACLE_HOME environment variable must be set to the Grid Infrastructure home directory in the installation owners environment.
The upgrade must be done in-place.
The upgrade must be done out of place.
Upgrade validation may be done using the Oracle Universal Installer which in turn invokes the built-in cluster verification utility.
The cluster verification utility cluvfy.sh can verify that the cluster is ready for an upgrade.
The ORACLE_SID environment variable must be set to the SID of the ASM instance in the installation owners environment.

http://www.gratisexam.com/

G. The cluster verification utility cluvfy.sh can generate fixup scripts to run on all nodes of the cluster.
Correct Answer: ACEG
Section: (none)
Explanation
Explanation/Reference:
References: https://docs.oracle.com/database/121/CWLIN/procstop.htm#CWLIN422
QUESTION 56
Which two steps must always be performed to delete node host04 from an Oracle 12c Clusterware cluster that does not use Grid Naming Service (GNS)?

A.
B.
C.
D.
E.
F.

Run the crsctl unpin css host04 command as root on host01, or on either host02 or host03.
Run the rootcrs.pl delete force command as root on host01, or on either host02 or host03.
Run the rootcrs.pl delete force command as root on host04.
Run the crsctl delete node -n host04 command as root on host04.
Run the crsctl delete node -n host04 command as root on host04.
Run the crsctl delete node -n host04 command as root on host01, or on either host02 or host03.

Correct Answer: AF
Section: (none)
Explanation
Explanation/Reference:
Explanation:
To delete a node from a cluster:
1. Ensure that Grid_home correctly specifies the full directory path for the Oracle Clusterware home on each node, where Grid_home is the location of the
installed Oracle Clusterware software.
2. (A) Run the following command as either root or the user that installed Oracle Clusterware to determine whether the node you want to delete is active and
whether it is pinned:
$ olsnodes -s t

http://www.gratisexam.com/

If the node is pinned, then run the crsctl unpin css command. Otherwise, proceed to the next step.
3. (F) From any node that you are not deleting, run the following command from the Grid_home/bin directory as root to delete the node from the cluster:
# crsctl delete node -n node_to_be_deleted
References: https://docs.oracle.com/database/121/CWADD/adddelclusterware.htm#CWADD90992
QUESTION 57
Which two are characteristics of any node that is part of a Grid Plug and Play (GPnP) Domain in Oracle Clusterware?
A.
B.
C.
D.
E.
F.

It has at least two nonroutable interfaces inside the GPnP domain for the private interconnect.
It has at least two routable interfaces outside the GPnP domain for the public interface.
It has at least one routable interface inside the GPnP domain for the private interconnect.
It has at least one routable interface outside the GPnP domain for the public interface.
It has a unique identifier that is unique outside the GPnP domain.
It has a unique identifier that is unique inside the GPnP domain.

Correct Answer: DF
Section: (none)
Explanation
Explanation/Reference:
Explanation:
Each node participating in a GPnP domain has the following characteristics:
At least one routable interface with connectivity outside of the GPnP domain for the public interface
*A unique identifier that is unique within the GPnP domain
A personality affected by the GPnP profile, physical characteristics, and software image of the node
References: https://docs.oracle.com/cd/E11882_01/server.112/e41360/chapter1.htm#NEWFT107
QUESTION 58
Which statement is true concerning the installation of an Oracle Grid Infrastructure 12c patchset and its status during the installation?
A.
B.
C.
D.

Some grid infrastructure patchsets may not be installed in a rolling fashion.


They can be applied in-place.
When performing rolling patches, crsctl query crs softwareversion always displays the lowest version of the software running anywhere in the cluster
When performing rolling patches, the VIPs for the node being patched are relocated to another node.

Correct Answer: C
Section: (none)

http://www.gratisexam.com/

Explanation
Explanation/Reference:
Explanation:
To check the software versions on a single node or if the software version is the latest version installed in on a cluster.
You would use this option when you do the rolling upgrade.
$ crsctl query crs softwareversion [hostname]
References: https://blogs.oracle.com/myoraclediary/entry/how_to_check_clusterware_version
QUESTION 59
Which two utilities can be used to predict the consequences of a filesystem failure for the Oracle 12c Clusterware stack?
A.
B.
C.
D.
E.
F.

asmcmd
srvctl predict....
crsctl fail.
asmca
acfsutil
advmutil

Correct Answer: BE
Section: (none)
Explanation
Explanation/Reference:
Explanation:
B: The srvctl predict filesystem command predicts the consequences of file system failure.
E: The acfsutil info fs command displays detailed Oracle ACFS file system information, such as:
iscorrupt - 1 if the file system is corrupt, 0 if file system is not corrupt.
Incorrect Answers:
A: 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.
C: There is no crsctl fail command.
There is a crsctl eval fail resource command to predict the consequences of a resource, not the file system, failing.
D: Oracle ASM Configuration Assistant (ASMCA) supports installing and configuring Oracle ASM instances, disk groups, volumes, and Oracle Automatic Storage
Management Cluster File System (Oracle ACFS). In addition, you can use the ASMCA command-line interface as a non-GUI utility.

http://www.gratisexam.com/

F: advmutil canonical displays the canonical name of the specified Oracle ADVM device name.
dvmutil tune displays the value of a specific Oracle ADVM parameter or sets the value of a specific Oracle ADVM parameter.
advmutil volinfo displays information about Oracle ADVM volume devices.
References:
https://docs.oracle.com/database/121/RACAD/srvctladmin.htm#sthref1656
https://docs.oracle.com/cd/E11882_01/server.112/e18951/asmfs_util010.htm#OSTMG95207
QUESTION 60
Which two types of IP address details are administered using the srvctl command for Oracle Clusterware 12c?
A.
B.
C.
D.
E.

the Grid Naming Service (GNS) VIP


public IP addresses
High Available VIP (HAIP) addresses
Single Client Access Name (SCAN) VIPs
Storage Network IP addresses

Correct Answer: AD
Section: (none)
Explanation
Explanation/Reference:
Explanation:
A: To convert a cluster that is not running GNS to a GNS server cluster, run the following command as root, providing a valid IP address and a domain:
# srvctl add gns -vip IP_address -domain domain
D: Example:
1. Modify the VIP using a VIP name that resolves to IPv6 by running the following command as root:
# srvctl modify vip -node node_name -address vip_name -netnum network_number
Do this once for each node.
2. 2. Modify the SCAN using a SCAN name that resolves to IPv6 by running the following command:
$ srvctl modify scan -scanname scan_name
Incorrect Answers:
C: The oifcfg command is used configure HAIP addresses. For example:
oifcfg setif -global eth3/172.16.2.0:cluster_interconnect
References: https://docs.oracle.com/database/121/CWADD/admin.htm#CWADD92641

http://www.gratisexam.com/

http://www.gratisexam.com/

You might also like