Académique Documents
Professionnel Documents
Culture Documents
Oracle
Exam 1z0-497
Oracle Database 12c Essentials
Version: 9.0
Your database instance is running. db01 is a net service name. You issue a connection
request by using the command:
Which component receives the request and establishes the appropriate connection?
A. listener
B. user process
C. service name
D. server process
Answer: A
Reference:
http://docs.oracle.com/cd/E11882_01/network.112/e41945/trouble.htm#NETAG394
Question No : 2
You want to clone PDB1 and PDB2 into the same CDB. Which statement is correct?
A. You cannot do this, because you can only clone PDBs into another CDB.
B. You can clone only one PDB (either PDB1 or PDB2) into the same CDB.
C. Cloning a PDB can use the source files copy method to the target PDB files.
D. Cloning a PDB can use the NOCOPY clause if the target PDB files use the source files.
Answer: C
Question No : 3
You are in the middle of transaction, updating a table. The machine on which the database
is running reboots because of a power outage. This causes a database instance failure.
Answer: C
Question No : 4
Answer: C
Reference: http://www.orafaq.com/forum/t/67825/0/ (see the second post)
Question No : 5
A. It replaces the first four digits of the value from the SALARY column with the number 9.
B. It replaces the first digit of the value from the SALARY column with the number 4.
C. It replaces the first digit of the value from the COMMISSION_PCTcolumn with 9.
D. It replaces the first nine digits of the value from the COMMISSION_PCTcolumn with 1.
E. It uses the full data redaction method.
F. It uses the random redaction method.
Answer: A,C
Explanation:
http://docs.oracle.com/database/121/ASOAG/redaction_config.htm#ASOAG10552
http://docs.oracle.com/database/121/ASOAG/redaction_config.htm#ASOAG817
Question No : 6
Answer: A,C,E
Reference:
http://docs.oracle.com/cd/E11882_01/server.112/e40540/memory.htm#CNCPT802
Question No : 7
All database users are currently connected to the database instance and are working. The
HR user opens three database sessions and executes this command in one of the
sessions:
3 rows deleted.
The SYS user opens a new session after HR executes the preceding commands. Which
option represents the sessions that can see the effect of the UPDATE and DELETE
commands?
Answer: C
Explanation: Without issue of commit by the HR user, the other users are unable to see
the changes even though they have access.
Question No : 8
Which option correctly describes how the logwriter (LGWR) process takes part in the
transaction commit?
Answer: A
Question No : 9
Your customer has two CDBs: one for Production and one for development. You are asked
to create a new development PDB (salesdev) from an existing production PDB (salesprd).
Which two options would accomplish this?
A. You copy all the PDBSSEEDdata files from the production CDB into the development
CDB and execute this on the development CDB;
SQL> CREATE PLUGGABLE DATABASE salesdev ADMIN USER salesdm IDENTIFIED
by password;
B. You alter the salesprd source database to open in read-only mode, and start cloning the
source database:
SQL> ALTER PLUGGABLE DATABASE salesprd OPEN READ ONLY;
SQL> CREATE PLUGGABLE DATABASE salesdev FROM salesprd;
C. You alter the salesprd source database to open in read-only mode:
SQL> ALTER PLUGGABLE DATABASE salesprd OPEN READ ONLY;
In the development CDB, you create a databaselink "PRD" that connects to the root of the
source CDB, and start cloning the source PDB:
SQL> CREATE PLUGGABLE DATABASE salesdevFROM salesprd@prd;
D. Connected as the salesprd local DBA, you create an XML using:
SQL> ALTER PLUGGABLE DATABASE salespdb UNPLUG INTO ' /tmp/salesprd-xml' ;
Copy the XML file and all salesprd-related files to the target CDB and start plugging the
Answer: C,D
Explanation: A: Creating a PDB Using the Seed
You can use the CREATE PLUGGABLE DATABASE statement to create a PDB in a CDB
using the files of the seed.
Question No : 10
A. 7801
B. 5500
C. 2243
D. 1521
E. 22
Answer: B
Reference: http://dbasolved.com/2013/07/05/em-express-12c-edition/
Question No : 11
Services Summary. . .
Instance "oracle", status UNKNOWN, has 1 handler(s) for this service... Handler(s):
Answer: B,D
Question No : 12
A. When a buffer is read from a buffer cache, it may be inconsistent and require undo data
to make it consistent.
B. A buffer cache stores copies of data blocks from all files of the database.
C. Buffer access is kept efficient by maintaining a least recently used (LRU) list for dirty and
clean buffers.
D. A buffer cache always resides completely in System Global Area (SGA).
E. A buffer cache contains exactly three pools: default, keep, and recycle pool.
Answer: A,E
Question No : 13
Several tables are accidentally deleted from a PDB. Which database would you
immediately connect to, and as which user, to recover these tables?
Answer: D
Explanation: https://docs.oracle.com/database/121/BRADV/rcmflash.htm#BRADV81511
Question No : 14
You went to create a new CDB foe your customer. Which two statements are true about
the seed pluggable database that will reside in the new CDB?
Answer: B,E
Explanation: http://docs.oracle.com/database/121/ADMIN/cdb_create.htm#BABHACEC
Question No : 15
Your customer wants all email addresses from the database displayed as
[hidden]@company.com. What method of data redaction must you use?
A. full redaction
B. partial redaction
C. regular expressions
D. random redaction
E. no redaction
Answer: C
Question No : 16
Answer: A,D
Explanation: https://docs.oracle.com/database/121/CNCPT/indexiot.htm#CNCPT88836
Question No : 17
Answer: D
Explanation: https://docs.oracle.com/database/121/CNCPT/transact.htm#CNCPT038
Question No : 18
Which three statements about Automatic Database Diagnostic Monitor (ADDM) are true?
Answer: A,D,F
Reference: http://docs.oracle.com/cd/B19306_01/server.102/b14211/diagnsis.htm
Question No : 19
Oracle Database 12c provides new task-specific privileges (SYSBACKUP, SYSDG, and
SYSKM) to handle standard administration duties. Which two statements about these
standard administration privileges are true?
A. These administrative privileges enable you to connect to the database only if the
database is open.
B. After connecting with these privileges, you are connected under a predefined user
whose name is the privilege name.
C. These administrative privileges allow a user to view DBA_xxx, GV$, VS, and SELECT
on application tables.
D. Without being a member of OSBACKUP. OSDG, and OSKM OS groups, users cannot
connect as administrative users by using OS authentication.
Answer: B,D
Explanation: https://docs.oracle.com/database/121/ADMIN/dba.htm#ADMIN11052
Question No : 20
Which three background processes are mandatory in a database Instance started with a
minimally configured Initialization parameter file?
Answer: D,E,F
Reference: Oracle Database Concepts 12c, Mandatory Background Processes
http://docs.oracle.com/database/121/CNCPT/process.htm#CNCPT008
Question No : 21
You are installing OracleDatabase 12c on a machine. When you run the installer; Oracle
Universal installer (OUI) shows a message that says one of the product-specific
prerequisite checks has failed:
Problem: The system does not have the required swap space.
A. It can be continued.
B. It resizes the swap space automatically when you proceed further.
C. It can be continued, but the instance cannot be started without increasing swap space.
D. It shows a message saying one or more prerequisite checks have failed and the
installation aborts.
Answer: A
Reference: https://bugs.kde.org/show_bug.cgi?id=111460
Question No : 22
Answer: D
Question No : 23
Which two options can you use to list Oracle Database 12c patches by using Queryable
Patch Inventory?
Answer: B,D
Reference:http://www.oracle.com/technetwork/pt/articles/sql/queryable-patch-inventory-
12c-2098576-ptb.html
Question No : 24
Question No : 25
Which three statements represent the benefits of multitenant architecture for database
consolidation?
A. You can unplug a PDB from a development CDB and plug it into a production CDB,
which allows for easier and more rapid movement of data and code.
B. You can consolidate shared database memory by combining multiple PDBs in a single
CDB.
C. Patching individual PDBs requires the same amount of time as patching individual
databases.
D. Consolidating separate databases into a single CDB requires the same amount of
storage allocation.
E. In multitenant architecture, a PDB behaves the same as a non-CDB as seen from a
client connecting with Oracle Net. No client modification is required.
Answer: A,B,E
Explanation: By design, you can quickly plug a PDB into a CDB, unplug the PDB from the
CDB, and then plug this PDB into a different CDB. The implementation technique for
plugging and unplugging is similar to the transportable tablespace technique.
A PDB is a portable collection of schemas, schema objects, and nonschema objects that
appears to an Oracle Net client as a non-CDB. All Oracle databases before Oracle
Database 12c were non-CDBs.
URL:
http://docs.oracle.com/cd/E16655_01/server.121/e17633/cdbovrvw.htm#CNCPT89239
Question No : 26
Answer: E
Question No : 27
INDEX_NAME STATUS
--------------------- -----------------
EIND UNUSABLE
Answer: A,B
Explanation: * Oracle indexes can go into a UNUSABLE state after maintenance
operation on the table or if the index is marked as 'unusable' with an ALTER INDEX
command. A direct path load against a table or partition will also leave its indexes
unusable.
Queries and other operations agains a table with unuable indexes will generate errors:
ORA-01502: index string.string or partition of such index is in unusable state
* The following SQL will print out a list of alter commands that can be executed to fix
unusable indexes:
Indexes:
SELECT 'alter index '||index_name||' rebuild tablespace '||tablespace_name ||';'
FROM dba_indexes
WHERE status = 'UNUSABLE';
Question No : 28
Your customer wants to migrate their production database from Oracle Database 10gon
AIX to Oracle Database 12con Solaris, and is concerned about the downtime. Which
Oracle solution would you recommend?
Answer: B
Question No : 29
Which three operations can the PUBLIC user with the SYSOPER privilege perform?
A. STARTUP
B. SHUTDOWN
C. CREATE DATABASE
D. DROP DATABASE
E. ALTER DATABASE RECOVER
Answer: A,B,E
Reference:
http://docs.oracle.com/cd/B28359_01/server.111/b28310/dba006.htm#ADMIN11049
Question No : 30
Answer: C
Question No : 31
Answer: A,B
Question No : 32
A Composite Solution With Just One Click - Certification Guaranteed 17
Oracle 1z0-497 : Practice Test
Which two statements about PDBs and CDBs are true?
Answer: D,E
Question No : 33
Which three statements represent the difference between a container database (CDB)and
a non-container database?
A. A container database has exactly one seed PDB, and a non-container database has no
seed PDB.
B. In a newly created non-CDB that does not yet contain user data, the data dictionary
contains only system metadata. When application users create their own objects, this
metadata is mixed with the system metadata. In a CDB, the data dictionary metadata is
split between the root and the PDBs. The data dictionary in the PDB contains pointers to
the data dictionary in the root.
C. New views are introduced. Next to DBA_views, AIL_-views, and USER_-views, there
are CDB_-views. Both CDB and non-CDB databases can access this information.
D. You are allowed to create only a single HR user in a non-CDB database. This restriction
is identical for a CDB database.
E. Every PDB in a CDB has its own control file. A non-CDB, which has no containers,
needs only one control file.
Answer: A,B,C
Question No : 34
Which three options best describe Patch Set Updates (PSUs) in Oracle Database 12c?
A. non-cumulative
B. multi-version
C. proactive
D. stabilizing
Answer: C,D,E
Question No : 35
Answer: C,D
Question No : 36
A. Any application compatible with a read-only database can run on an Oracle Active Data
Guard standby.
B. It provides new support for DML to global temporary tables and the use of sequences in
the standby database.
C. It repairs block corruptions detected in the primary or standby database.
D. It supports different software patch levels between a primary database and its physical
standby database for the purpose of applying and validating Oracle patches in a rolling
fashion.
E. It supports multi master and bidirectional replication architectures where there are
multiple databases that all contain the same data, even if they are not synchronized.
Answer: E
Question No : 37
Answer: C
Explanation: Bitmap indexes in currently supported versions of Oracle are maintained in
a much more efficient manner than they were previously, to the point where the need for
frequently rebuilds has been much reduced, even in tables in which such indexes are not
dropped during heavy loads.
That said, Bitmap indexes are still unsuitable in OLTP type environments (even in 11g or
later) due to the locking implications associated with them.
Note: bitmap indexes are only suitable for static tables and materialized views which are
updated at nigh and rebuilt after batch row loading.
Not B: Like b-tree indexes, bitmap indexes should be rebuilt (ALTER INDEX . . . REBUILD)
if there is a lot of DML (UPDATE, INSERT, DELETE) activity.
Not A: Since 10g, Oracle is significantly more efficient and where possible will simply adjust
the current rowid range of the Bitmap index entry and modify the bitmap string accordingly
to accommodate a new row value (resulting in an overall increase of just 2 bytes overall in
this example) rather than create a totally new index entry (which required an additional 21
bytes in the 9i example).
Question No : 38
A. Data Recovery Advisor can be used to diagnose and repair data corruptions in non-
CDBs.
B. Data Recovery Advisor cannot be used to diagnose and repair data corruptions in the
root of a CDB.
C. Data Recovery Advisor can be used to diagnose and repair data corruptions in PDBs.
D. You can use the ADVISE FAILURE command to display repair options after running
LIST FAILURE in an RMAN session.
Reference: Oracle Database Backup and Recovery User's Guide, 12c, Diagnosing and
Repairing Failures with Data Recovery Advisor
Question No : 39
You connect to a database instance and execute a DML command that changes one data
block. The block is read from the buffer cache, modified, and modified, and marked as
dirty. You commit the transaction. What must take place before the block can be written to
disk?
Answer: B
Question No : 40
Answer: A
Reference:
http://docs.oracle.com/cd/E16655_01/server.121/e17633/cdbovrvw.htm#CNCPT89235
Question No : 41
...
A. books
B. pxx
C. MAXVALUE
D. cell_id
E. There is no partitioning criteria.
Answer: D
Which two statements are true about transactions in Oracle Database 12c?
Answer: A,B
Question No : 43
Which process is responsible for writing the contents of database buffers to data files?
Answer: D
Reference:
http://docs.oracle.com/cd/E11882_01/server.112/e25789/process.htm#CNCPT1254 (see
database writer process (DBW))
Question No : 44
What is the cause of this error, and what troubleshooting steps should you perform?
A. The GDS catalog database of its listener may be down. Verify that the GDS catalog
database and its local listener are running.
B. The GDS pool database may be down. Make sure that the GDS pool databases are up
Answer: A
Explanation: https://docs.oracle.com/database/121/GSMUG/trouble.htm#GSMUG706
Question No : 45
Identify three types of important statistics collection that you can disable in Oracle
Database 12c by setting the STATISTIS_LEVEL parameter to BASIC.
Answer: B,C,E
Question No : 46
In which situation would you use static database registration for a listener?
Answer: B
Explanation: https://docs.oracle.com/database/121/NETAG/advcfg.htm#NETAG1589
As part of your Oracle Database 12c post-installation tasks, you run these commands:
Cd $ORACLE_HOME/bin
chopt enable dm
A. It enables the Oracle Data Mining option in your Oracle binary files.
B. It creates the Fast Recovery Area disk group.
C. It generates Client Static Library.
D. It configures one of the Oracle user accounts.
E. It configures Oracle Net Services.
F. It configures Oracle Messaging Gateway.
Answer: A
Reference:
http://docs.oracle.com/cd/E16655_01/install.121/e17889/postinst.htm#RILIN1049 (see 4.4)
Question No : 48
What new role in Oracle Database 12c encompasses the administrative privileges required
for backup and recovery?
A. SYSBKP
B. SYSBKPRMAN
C. SYSRMAN
D. SYSBACKUP
Answer: D
Reference:
http://docs.oracle.com/cd/E16655_01/backup.121/e17631/release_changes.htm#RCMRF9
0521 (sys backup privilege)
Question No : 49
Answer: A,C
Explanation: https://docs.oracle.com/database/121/DGBKR/concepts.htm#DGBKR030
Question No : 50
Which two statements correctly distinguish between undo and redo data?
Answer: A,C
Question No : 51
A. Moving a data file online prevents DML operations on segments stored in the data file.
B. Flashing back a database to a point in time before a data file had been renamed online
retains the new name.
C. Moving a data file online can be performed if the data file is in OFFLINE mode.
D. Moving a data file online cannot be performed if the data file is under BEGIN BACKUP.
Answer: B
Consider 10 scenarios that result in database downtime. Which five of them are considered
as planned downtime?
Answer: A,B,D,F,H
Explanation:
http://docs.oracle.com/cd/E11882_01/server.112/e10803/schedule_outage.htm#HABPT50
83
Question No : 53
Answer: D
Explanation: * New in Oracle 12c is queryable Opatch. Oracle offers a set of tables and a
PL/SQL packages to query the Oracle Inventory.Prior to Oracle 12c, it was not easy to List
Oracle patches. Now from Oracle 12c and beyond, you can use the DBMS_QOPATCH
package to list all patches.
Question No : 54
Answer: A,D
Reference: http://docs.oracle.com/cd/B14117_01/server.101/b12170/qstart.htm
Question No : 55
John is a CDB administrator, and Mike and Tim are PDB administrators of their respective
databases- John takes a complete CDB backup by using RMAN>Backup Database. Mike
and Tim may need point-in-time recovery of their PDBs. Which statement is true?
A. Recovery of individual PDBs is not possible, because John did not back up by using
RMAN>Backup Pluggable database pdb1 pdb2. However, complete CDB recovery is still
possible.
B. Mike and Tim need to individually take backups of their respective PDBs, because CDB-
level backup does not include PDB data dictionary objects.
C. Mike and Tim do not need to worry, because recovery of individual PDBs is possible.
D. Recovery of individual PDBs is not possible at all.
Answer: C
Explanation:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/12c/r1/pdb/pdb_pitr/pdb_pitr.
Question No : 56
Which three statements are true about a database instance that has mounted a database
but has not opened it?
A. System administrators and users with the CREATE SESSION system privilege may
connect to the instance.
B. Data files are open in read-only mode.
C. A control file is open.
D. System Global Area (SGA) is allocated and background processes are started.
E. An alert log and trace files are open.
F. Instance recovery is performed for the database.
Answer: C,D,E
Question No : 57
PARTITION BY RANGE(id) (
);
A. Extend the logical volume by 10 MB where the data files are stored;
# lvextend -L+10M /diskl
B. Add a data file:
SQL>ALTER TABLESPACE MYTBS ADD DATAFILE ' /disk1/mytbs_2 .dbf SIZE 10M;
C. Move a partition to another tablespace:
SQL> CREATE TABLESPACE ADDITIONAL_TBS DATAFILE '/disk1/additional_tbs_1 .dbf'
SIZE 10M;
SQL> ALTER TABLE MYTAB MOVE PARTITION P2 TABLESPACE ADDlTIONAL_TBS;
D. Resize the existing data file:
SQL> ALTER DATABASE DATAFILE '/diskl/mytbs_l .dbf' RESIZE 20M;
E) Remove a data file:
SQL> ALTER TABLESPACE MYTBS DROP DATAFILE '/diskl/mytbs_l - dbf';
Answer: B,C,D
Question No : 58
Which two statements about Global Data Services (GDS) are correct?
A. GDS allows scaling replication-aware application workloads beyond the cluster (that is,
across replicated clusters).
B. GDS helps in performing data replication.
C. GDS works seamlessly with any combination of Oracle RAC databases, single-instance
databases, Oracle Data Guard, Oracle Active Data Guard, and Oracle Golden Gate.
D. GDS helps to perform database failovers, and does not require Data Guard Broker.
E. The GDSMGRL utility is a command-line interface for configuring and managing the
Global Data Services framework.
Answer: A,C
Reference: http://www.oracle.com/technetwork/database/availability/global-data-services-
12c-wp-1964780.pdf (page 8)
Question No : 59
Answer: B,D
Explanation: https://docs.oracle.com/database/121/BRADV/rcmbckba.htm#BRADV380
Reference: Specifying Multisection Incremental Backups
Question No : 60
A. merge patch
B. combine patch
C. overlay patch
D. dual patch
E. super patch
Answer: A,C
Question No : 61
A. database files and parameter file (initialization parameter file or server parameter file)
B. System Global Area (SGA) and background processes
C. a listener process, server processes, and background processes
D. System Global Area (SGA), server processes, and background processes
E. database files, System Global Area (SGA), and background processes
Answer: B
Reference: http://docs.oracle.com/cd/A57673_01/DOC/server/doc/SCN73/ch9.htm#o
instance
Question No : 62
A. 1NF
B. 2NF
C. 3NF
D. BCNF
Answer: C
Explanation: http://docs.oracle.com/database/121/DWHSG/ch2logdes.htm#DWHSG9225
Question No : 63
A. Option A
B. Option B
C. Option C
D. Option D
E. Option E
Question No : 64
When you start up a CDB, which operations are performed automatically and in what
order?
c - The root container is opened (redo logs and root data files).
A. a, b, c, d, e, f
B. b, c, a, d, e, f
C. c, b, a, d, f, e
D. a, b, c, d
E. b, c, a, d
Answer: A
Explanation: http://oracle-base.com/articles/12c/multitenant-startup-and-shutdown-cdb-
and-pdb-12cr1.php
Question No : 65
Answer: D
Question No : 66
You create a CDB with four containers: the loot, the seed, and two pluggable databases
PDB1 and PDB2. Which four items can reside In PDB1, but not in the root?
Answer: E,F,G,H
Question No : 67
CON_NAME
--------------------------------
CDB$ROOT
Answer: D
Answer: C,D,E
Explanation:
https://docs.oracle.com/cd/E11882_01/server.112/e40540/physical.htm#CNCPT1109
Question No : 69
A. Interim patches, also known as "one-off" patches, are created to provide a specific fix
between the releases of patch sets.
B. Security Patch Update (SPU) is the primary means of releasing security fixes for Oracle
products. SPUs are cumulative with respect to prior SPUs and generally contain only
security fixes.
C. Patch Set Update (PSU) is a collection of proactive, stabilizing, cumulative patches for a
particular product version (base release or patch set). PSUs are cumulative and include all
the security fixes from CPU patches, plus additional fixes.
D. Patch Set is the main way in which Oracle provides bug fixes in between releases.
Oracle bundles a number of fixes, tests them thoroughly together, and packages, then
together for easy download and installation.
E. Terminal Patch Set is an unsupported patch set by Oracle Lifetime Support policies.
Answer: B
Explanation: https://blogs.oracle.com/UPGRADE/entry/october_2013_psus_and_cpus
Question No : 70
Schema: SCOTT
Tablespace: USERS
This table contains 20 rows. In the data that has been entered, the PROD_ID column
contains only single-digit values, PROD_NAME has a maximum of five characters, and
PROD_RATE has four-digit values for all rows.
Which two statements are true regarding the modifications that can be performed to the
structure of the PRODUCTS table?
Answer: A,C
Question No : 71
Answer: C
Explanation: http://docs.oracle.com/database/121/ADMIN/start.htm#ADMIN12825
Question No : 72
A. recompile it
B. rewrite its SQL queries
C. relink
D. rework the applications schema
E. nothing; it is transparent
Answer: E
Reference: http://docs.oracle.com/cd/B19306_01/server.102/b14220/partconc.htm
Question No : 73
Exhibit below:
A. Without any error, you can terminate the active session by executing:
SQL> ALTER SYSTEM KILL SESSION '7, 15';
B. You can terminate the active session by executing:
SQL> ALTER SYSTEM KILL SESSION "7, 15';
But you also get the error message:
ORA-00028: your session has been killed
C. You cannot terminate the active session. You have to wait until that session becomes
inactive.
D. Without any error, you can terminate the inactive session by executing:
SQL> ALTER SYSTEM KILL SESSION '12, 63';
E. When an inactive session is killed, the status of that session remains visible in
VSSESSION with status KILLED. The rowf the terminated session is removed from
VSSESSION after the user attempts to use the session again.
F. You cannot terminate the inactive session. You have to wait until that session becomes
Answer: B,D,E
Explanation: B (not A, Not C):
* You terminate a current session using the SQL statement ALTER SYSTEM KILL
SESSION. The following statement terminates the session whose system identifier is 7 and
serial number is 15:
* Terminating an Active Session
If a user session is processing a transaction (ACTIVE status) when you terminate the
session, the transaction is rolled back and the user immediately receives the following
message:
If the session is not making a SQL call to Oracle Database (is INACTIVE) when it is
terminated, the ORA-00028 message is not returned immediately. The message is not
returned until the user subsequently attempts to use the terminated session.
When an inactive session has been terminated, the STATUS of the session in the
V$SESSION view is KILLED. The row for the terminated session is removed from
V$SESSION after the user attempts to use the session again and receives the ORA-00028
message.
URL:
http://docs.oracle.com/cd/B28359_01/server.111/b28310/manproc008.htm#ADMIN11192
Question No : 74
A. The Oracle Streams information flow consists of three components: capture, redo
Answer: B,C,E
Explanation:
http://docs.oracle.com/cd/E11882_01/server.112/e10705/prep_rep.htm#STREP220
http://www.oracle.com/technetwork/database/multitenant/overview/index.html
https://docs.oracle.com/database/121/UPGRD/deprecated.htm#UPGRD60159
http://www.oracle.com/us/products/middleware/data-integration/oracle-goldengate-ds-
2030490.pdf
Question No : 75
Your customer needs server availability that provides uninterrupted access to database
services, handling any unexpected failure of one or more machines hosting the database
server, due to a hardware or software fault. Which product should your customer use?
Answer: C
Reference: http://www.oracle.com/technetwork/database/availability/maximum-availability-
wp-12c-1896116.pdf (page 5, Server HA: Oracle Real Application Clusters)
Question No : 76
Answer: A,D
Reference: http://www.oracle.com/technetwork/database/manageability/emx-intro-
1970113.html
Question No : 77
A. RMAN
B. Cold Backup
C. Traditional Export / Import
D. Data Pump
E. SQL*Plus
Answer: D
Explanation: https://docs.oracle.com/database/121/SUTIL/dp_overview.htm#SUTIL4334
Question No : 78
Real-Time ADDM detects a high-load performance issue within the database. Which
condition triggered it?
A. The average active sessions were more than three times the number of CPU cores.
B. Active sessions were more than 10% of total load and CPU utilization was more than
50%.
C. Memory allocations were more than 95% of physical memory.
D. Hung sessions were more than 10% of total sessions.
E. A deadlock was detected.
F. The session limit was close to 100%.
Question No : 79
For which database operation do you need the database to be in MOUNT state?
Answer: E
Explanation: To enable or disable archiving, the database must be mounted but not open.
To change the archiving mode of the database, use the ALTER DATABASE statement with
the ARCHIVELOG or NOARCHIVELOG clause. To change the archiving mode, you must
be connected to the database with administrator privileges (AS SYSDBA).
The following steps switch the database archiving mode from NOARCHIVELOG to
ARCHIVELOG:
STARTUP MOUNT
To enable or disable archiving, the database must be mounted but not open.
Question No : 80
Which four statements about users in Oracle Database 12c are correct?
A. A common user cannot have the same name as any local user across all PDBs.
B. A common user can be created only in the root container.
C. A local user with the proper privileges can also create a common user.
D. If a PDB is closed, the common and local users of the PDB are not visible.
E. A common user with the proper privileges can create a common user by using the
CONTAINER=CURRENT clause.
F. A common user is one that has the same username and authentication credentials
across multiple PDBs.
Answer: A,B,D,F
Explanation: https://docs.oracle.com/database/121/DBSEG/users.htm#DBSEG99798
Question No : 81
Question No : 82
Which statement about the Oracle Advanced Security Data Redaction feature is true?
Answer: E
Explanation: Redacting Sensitive Data for Display
Data Redaction provides selective, on-the-fly redaction of sensitive data in query results
prior
to display by applications so that unauthorized users cannot view the sensitive data. It
enables
consistent redaction of database columns across application modules accessing the same
data.
Data Redaction minimizes changes to applications because it does not alter actual data in
internal database buffers, caches, or storage, and it preserves the original data type and
formatting when transformed data is returned to the application. Data Redaction has no
impact on database operational activities such as backup and restore, upgrade and patch,
and
high availability clusters.
Question No : 83
$QL>STARTUP MOUNT
Which four options represent what happens when these commands are executed?
Answer: A,B,C,E
Question No : 84
- Online addition and removal of disks should automatically rebalance data across new
storage configurations while storage, database, and applications remain online.
- Add a column with a default value without disrupting the database or applications.
Answer: A,B,D,F
Question No : 85
5 - SQL execution
A. 3, 4, and 5
B. 1, 2, 5, and 6
C. 1, 2, 3, and 4
D. 2, 3, 5, and 6
E. 2, 3, 4, 5, and 6
F. 1, 2, 3, 4, 5, and 6
Answer: F
Reference:
http://docs.oracle.com/cd/E16655_01/server.121/e17633/datadict.htm#CNCPT1213
(overview of dynamic performance views)
Question No : 86
The session of user SCOTT receives the following error after executing an UPDATE
command on the EMP table:
You find out that a session opened by user JIM has a transaction that caused the deadlock.
Which two statements are true about SCOTT's session in this scenario?
A. The session is terminated after receiving the error and JIM can continue with his
transaction.
B. SCOTT should perform a COMMIT or ROLLBACK to allow JIM to continue with his
transaction.
C. The session is rolled back after receiving the error and JIM can continue with his
transaction.
D. SCOTT has to re-execute the last command in the transaction after he commits the
transaction.
Answer: B,D
Explanation: https://www.youtube.com/watch?v=JitJRb5x9vI
Question No : 87
Which three events signal a database writer (DWR) to write buffers to disk?
Answer: A,D,F
Explanation: When tablespace is changed to read only status it will issue a Partial
checkpoint. During db shutdown a checkpoint is also issued. DWR writes when there is a
checkpoint.
Question No : 88
A. when upgrading from Oracle Database 12c to the first patch set of Oracle Database 12c
B. when upgrading from Oracle Database 10g to Oracle Database 12c
C. when upgrading from Oracle Database 11g to Oracle Database 12c
D. when upgrading from any previous version of Oracle Database to Oracle Database 12c
Answer: A
Explanation: You will be able to use this feature to perform database version upgrades
starting with the first patchset of Oracle Database 12c (that is, you cannot use it to upgrade
from any version earlier than the first Oracle Database 12c patchset). This means that the
manual Transient Logical Standby upgrade procedure must still be used when upgrading
from Oracle Database 11g to Oracle Database12c, or when upgrading from the initial
Oracle Database 12c release to the first patchset of Oracle Database 12c.
Reference: Oracle Data Guard Concepts and Administration, 12c, Using DBMS_ROLLING
to Perform a Rolling Upgrade
Question No : 89
You have two database servers EMP and EXP. A user of the database from the EXP
server wants to extract some information from the database in the EMP server for cross-
verification. Which schema object enables the user to access the information from the
remote database?
A. cluster
B. database link
C. mapping table
D. materialized view
Answer: B
Reference: http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5005.htm
Which type of file system is NOT valid for storing data files, online redo log files, and
control files for a pluggable database?
Answer: E
Explanation:
https://docs.oracle.com/database/121/UPGRD/deprecated.htm#UPGRD60120
Question No : 91
You add the following code in the tnsnames.ora file on a client PC:
sales=
(DESCRIPTION=
(CONNECT_DATA=
(SERVICE_NAME=sales.acme)))
Which statement is true about the code with respect to creating a new connect identifier?
A. It is created for the SALES database in the network domain ACME on the SALESDATA
server.
B. It is created for the SALESDATA database on the SALES server in the network domain
called ACME.
C. It generates an error because the connect identifier name cannot be a part of
SERVICE_NAME.
D. It generates an error because the server configuration mode (dedicated or shared) is not
specified.
Answer: A
net_service_name=
(DESCRIPTION=
(ADDRESS=(protocol_address_information))
(CONNECT_DATA=
(SERVICE_NAME=service_name)))
* This tnsnames.ora file is a configuration file that contains net service names mapped to
connect descriptors for the local naming method, or net service names mapped to listener
protocol addresses.
Question No : 92
You want to start a global service on your database. Which three conditions must be met?
Answer: A,D,F
Explanation: https://docs.oracle.com/database/121/GSMUG/cloud.htm#GSMUG694
You need to recover a database running In NOARCHIVELOG mode. Which two statements
are true in this scenario?
Answer: B,C
Reference:
http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmrecov.htm#CACGEAEE
Question No : 94
Answer: A
Reference: http://www.dummies.com/how-to/content/basics-of-logical-structures-in-oracle-
12c.html
Question No : 95
A. 1, 2, 3, 4, 5
B. 2, 1, 5, 3, 4
C. 5, 1, 2, 3, 4
D. 2, 3, I, 5, 4
E. 1, 2, 4, 5, 2
Answer: B
Explanation:
https://docs.oracle.com/database/121/DVADM/priv_analysis.htm#DVADM1005
Question No : 96
Identify two types of solutions in which you would need to use Active Data Guard and
Golden Gate together.
Answer: B,C
Reference: http://www.oracle.com/technetwork/database/availability/active-data-guard-wp-
https://docs.oracle.com/database/121/UPGRD/deprecated.htm#UPGRD60084
Question No : 97
Which database feature can be used for organizing data when there is a very large amount
of data?
A. Index
B. Partitioning
C. Triggers
D. Row-level security
E. Database vault
Answer: B
Reference: http://docs.oracle.com/cd/B28359_01/server.111/b28318/intro.htm#CNCPT999
(see very large databases)
Question No : 98
Your customer has three data centers in three different locations, location A has their
production database running on Oracle Database 12c. They want to replicate the data from
location A to location B. which is 50 miles away and is used for disaster protection and
database rolling upgrades. They also want to create a replica database at location C, which
must be open in read-write mode, while synchronizing with the primary database.
A. Oracle GoldenGate
B. Oracle Advanced Replication
C. Oracle Active Data Guard
D. Oracle Streams
Answer: A,C
Answer: A,C
Explanation: https://docs.oracle.com/database/121/CNCPT/datadict.htm#CNCPT1210
Question No : 100
Your database is open and the listener is running. The DBA stops the listener by using the
command:
LSNRCTL> STOP
What happens to the sessions that are currently connected to the database instance?
Answer: B
Question No : 101
Which two statements are true when you execute an invoker's rights procedure?
A. The owner must have the INHERIT PRIVILEGES object privilege on the invoking user,
or the INHERIT ANY PRIVILEGES privilege.
B. Invoking users can control who can access their privileges when they run an invoker's
rights procedure.
Answer: A,B
Reference:
http://docs.oracle.com/cd/E16655_01/network.121/e17607/dr_ir.htm#DBSEG661
Question No : 102
Identify three outcomes of using the Oracle Multitenant option in Oracle Database 12c.
Answer: A,D,F
Question No : 103
sqlplus /nolog
Question No : 104
(DESCRIPTION
(FAILOVER=on)
(ADDRESS_LIST=
(LOAD_BALANCE=ON)
(ADDRESS=(host=sales-east1) (port=1522) )
(ADDRESS=(host=sales-east2)(port=1522))
(ADDRESS=(host=sales-east3) (port=1522) ))
(ADDRESS_LIST=
(LOAD_BALANCE=ON)
(ADDRESS=(host=sales-west1) (port=1522) )
(ADDRESS=(host=sales-west2) (port=JS22))
(ADDRESS=(host=sales-west3) (port=lS22) ) )
(CONNECT_DATA=
(SERVICE_NAME=sales)
(REGION=east)))
A. It contains three global service managers in the client's local region (east).
B. Client-side load balancing has been enabled only for the global service managers within
the client's buddy (west).
C. Connect-time failover between regions has not been enabled.
D. The REGION parameter is optional.
Answer: D
Explanation: https://docs.oracle.com/database/121/GSMUG/globser.htm#GSMUG650
Question No : 105
A. durability
B. consistency
C. concurrency
D. isolation
E. scalability
F. manageability
Answer: A,B,D
Reference:
http://docs.oracle.com/cd/E16655_01/server.121/e17633/transact.htm#CNCPT016
Question No : 106
You want to drop a pluggable database from a multitenant container database that is used
for development, which two statements are true?
Answer: A,C
Explanation:
https://docs.oracle.com/database/121/SQLRF/statements_8028.htm#SQLRF55699
Question No : 107
Which tablespace contains the data dictionary, being automatically created at database
A. USERS
B. TEMP
C. SYSAUX
D. SYSTEM
E. EXAMPLE
Answer: D
Reference: http://docs.oracle.com/cd/B10500_01/server.920/a96524/c04space.htm
Question No : 108
Which three statements are true about System Global Area (SGA)?
A. SGA contains shared memory structures for all Oracle processes running on a single
server.
B. Each server process has its own SGA.
C. SGA is allocated automatically when a database is started.
D. SGA is used to speed up queries by caching data blocks, program data, information
about database objects, and query results
E. SGA is allocated automatically when a database is mounted.
F. SGA is read and written by server and background processes.
Answer: C,D,F
Question No : 109
Answer: B,C
Question No : 110
Which statement is true about Enhanced Real-Time ADDM in Oracle Database 12c?
Answer: D
Question No : 111
Answer: A
Reference:
http://docs.oracle.com/cd/E16655_01/backup.121/e17630/release_changes.htm#BRADV2
76 (new features, third bullet)
Question No : 112
A. CLONEDB
B. FILESYSTEMIO_OPTIONS
C. DB_CREATE_FILE_DEST
D. RECYCLEBIN
E. TAPE_ASYNCH_IO
Answer: A,D,E
Explanation:
http://docs.oracle.com/database/121/REFRN/refrn00102.htm#REFRN00102
Question No : 113
Which three statements about common and local roles are true?
A. When a role is granted to a user, the privileges in the role are limited to the context of
the PDB.
B. Local roles can be granted only to local users.
C. Common roles can be granted to both local and common users.
D. A user can create common roles if the user has the CREATE ROLE privilege, and SET
CONTAINER for all PDBs
E. Common roles can be created in the root and PDBs.
Answer: A,C,D
Explanation: https://docs.oracle.com/database/121/DBSEG/authorization.htm#DBSEG834
Question No : 114
regexp_position => 1,
regexp_occurrence => 0,
END;
A. They find a pattern of nine digits; break the digits into three groups that contain the first
three, the next two and then the last four digits; and replace all digits with XXXXX
concatenated with the last four digits.
B. They find a pattern of six digits; break the digits into two groups that contain the first five,
and then the last digit; and replace all digits with XXXXX concatenated with the last digit.
C. They find a pattern of nine digits and display the digits as XXXXX XX XXXX.
D. They find a pattern of nine digits and display the first five digits as XXXXX and the last
four digits as 3333.
Answer: A
Explanation:
http://docs.oracle.com/database/121/ASOAG/redaction_features.htm#ASOAG925
Question No : 115
NAMETYPEVALUE
db_file_multiblock_read_count
integer
107
ddl_lock_timeout
integer
60
Distributed_lock_timeout
integer
60
dml_locks
integer
748
lock_sga
boolean
FALSE
enab1e_dd1_1ogging
boolean
FALSE
resumable_timeout
integer
(empno NUMBER(3),
enamo VARCHAR2(20),
At this moment, a second user also logs in to the hrschema and issues the following
command:
Answer: C
Question No : 116
Your customer is looking for zero-data-loss failover with maximum data protection and high
availability for their primary database. Which two solutions would you recommend to the
customer if the distance between the primary and the standby location is more than 300
miles?
Answer: B,C
Explanation: http://www.oracle.com/technetwork/database/availability/active-data-guard-
Question No : 117
Which option represents the steps to add a multiplexed copy of the current control file or to
rename a control file in Oracle Database 12c?
c - Copy an existing control file to a new location by using operating system commands.
A. b, c, d
B. a, c, d, b
C. a, d, b, c
D. c, d, b
Answer: B
Reference:
http://docs.oracle.com/cd/E16655_01/server.121/e17636/control.htm#ADMIN11287
Question No : 118
Which command do you use to create a local role while you are connected as the local
user?
Question No : 119
Answer: B,C
Reference: http://www.oracle.com/technetwork/database/availability/farsync-2267608.pdf
Question No : 120
You are about to apply a patch to a database. Which recommended action is incorrect?
A. You should check the patch conflict with installed patches before applying the patch.
B. You should make sure that you have a good backup of the software, database, and
configuration files.
C. You should install the latest O patch before applying the patch.
D. You should check the fifth digit of the release information to confirm that the Patch Set
Update (PSU) is applied successfully.
E. You should stop all applications running from the software directory that is being
patched.
Answer: D
A. EXPDP and IMPDP are the client components of Oracle Data Pump.
B. DBMS_DATAPUMP PL/SQL packages can be used independently of Data Pump
clients.
C. Oracle Data Pump export and import operations can be performed only by users with
the SYSDBA privilege.
D. Oracle Data Pump imports can be done from the export files generated in Original
Export Release 9.x.
E. EXPDP and IMPDP use the procedures provided by DBMS_METADATA to execute
export and import commands.
Answer: A,B
Reference: http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_overview.htm
Question No : 122
Answer: D
Reference: http://musingdba.wordpress.com/2013/07/05/new-in-oracle-database-12c-a/
Question No : 123
Which three options correctly match environment variables with their specific functionality?
Answer: A,C,E
Question No : 124
Which two statements about the Process Monitor (PMON) process are true?
Answer: A,D
Explanation: http://docs.oracle.com/database/121/CNCPT/process.htm#CNCPT9840
Question No : 125
A. serializable
B. read-only
C. read committed
D. read uncommitted
Answer: C
Reference:
http://docs.oracle.com/cd/B28359_01/server.111/b28318/consist.htm#CNCPT1312 (see
the sentence that comes right after table 13-1)
Question No : 126
Which four items exist in the root of a CDB, but not in the PDBs?
Answer: A,B,C,D
Question No : 127
Which parameter can be changed by explicitly re-creating the control file or by using the
DBNEWID utility?
A. db_name
B. maxdatafiles
C. control_files
D. instance_name
Answer: A
Reference: http://docs.oracle.com/cd/B10501_01/server.920/a96652/ch14.htm
Question No : 128
Which three DBA operations can be performed by using Oracle SQL Developer?
Answer: A,B,E
Explanation:
http://docs.oracle.com/cd/E35137_01/appdev.32/e35117/intro.htm#RPTUG45282
Question No : 129
Your database instance is down because there was a user-initiated shutdown. Which
option represents the actions performed, in the correct order, if you start up the instance?
b - Memory is allocated.
A. b, c, a
B. d, a, e
C. a, e, d, b
D. d, b, c, a, e
E. c, b, d, a, e
Answer: D
Explanation:
https://docs.oracle.com/database/121/DVADM/priv_analysis.htm#DVADM1005
Question No : 130
A. Multiple PDBs on a single server need multiple database instances and multiple sets of
Answer: B,D
Explanation: B: A PDB is a portable collection of schemas, schema objects, and
nonschema objects that appears to an Oracle Net client as a non-CDB. All Oracle
databases before Oracle Database 12c were non-CDBs.
It is easier to collect performance metrics for a single database than for multiple databases.
It is easier to size one SGA than 100 SGAs.
URL:
http://docs.oracle.com/cd/E16655_01/server.121/e17633/cdbovrvw.htm#CNCPT89239
Question No : 131
Which two statements about Automatic Data Optimization (ADO) are true?
Answer: A,B
Explanation:
http://www.oracle.com/technetwork/database/options/compression/advanced-compression-
Question No : 132
Your customer is looking for a solution that meets these four needs:
4 - Replicate data from multiple sources to a single target for a data warehouse.
A. Uni-directional for 1
Peer-to-peer for 2
Bi-directional for 3
Consolidation for 4
B. Peer-to-peer for 1
Broadcast for 2
Bi-directional for 3
Consolidation for 4
C. Uni-directional for 1
Broadcast for 2
Bi-directional for 3
Consolidation for 4
D. Peer-to-peer for 1
Consolidation for 2
Broadcast for 3
Cascading for 4
Answer: C
Question No : 133
YOU want to move all objects of the CONSULTANT user from the test database to theDB-
USER schema of the production database. Which option of IMPDP would you use to
A. FULL
B. SCHEMAS
C. TRANSFORM
D. REMAP_SCHEMA
E. REMAP_TABLESPACE
Answer: D
Question No : 134
SQL> CREATE TABLE orders(oid NUMBER (6) PRIMARY KEY, odato DATE, ccode
NUMBER (6), oamt NUMBER (10, 2)) TABLESPACE users ;
Which two statements are true about the execution of the command?
Answer: B,D
Explanation: B: A NOT NULL constraint is put on the primary key.
D:
* To enable a unique or primary key constraint, you must have the privileges necessary to
create an index on the table. You need these privileges because Oracle Database creates
an index on the columns of the unique or primary key in the schema containing the table.
* TABLESPACE Specify the tablespace in which Oracle Database creates the table, object
table OIDINDEX, partition, LOB data segment, LOB index segment, or index-organized
table overflow data segment. If you omit TABLESPACE, then the database creates that
item in the default tablespace of the owner of the schema containing the table.
Question No : 135
Your database is down. You log in as the SYS user and issue this command:
SQL> STARTUP
Answer: C
Reference: http://docs.oracle.com/cd/E17781_01/server.112/e18804/startup.htm
Question No : 136
Answer: F
Reference: http://www.oracle.com/technetwork/oem/framework-infra/wp-em12c-security-
best-practicesv2-1493383.pdf (page 3, second bulleted point, last couple of sentences)
Answer: A,D,E
Question No : 138
Which statement is true about loading data by using the conventional path of SQL*Loader?
Answer: C
Reference: http://www.orafaq.com/wiki/SQL*Loader
Question No : 139
Question No : 140
Which two items are key for maintaining data consistency in Oracle Database 12c?
A. undo data
B. isolation level
C. lock mechanism
D. serializability
Answer: B,C
Reference:
http://docs.oracle.com/cd/E11882_01/server.112/e25789/consist.htm#CNCPT88969
(overview of the oracle database locking mechanism)
Question No : 141
You are about to install Oracle Database 12c Enterprise Edition. Which statement is true?
A. You should not install the Oracle Database software into an existing Oracle home from a
different release.
B. A multitenant container database (CDB) can have several pluggable databases (PDBs)
with different character sets.
C. Oracle recommends that you back up the root. sh script after you complete the
installation.
D. Cloning an Oracle home is useful if you are performing multiple Oracle Database
Installations.
E. You can stop existing Oracle processes, including the listener and the database running
in the Oracle home, before the database software installation.
Answer: C
Explanation: https://docs.oracle.com/database/121/NLSPG/ch2charset.htm#NLSPG1035
https://docs.oracle.com/database/121/LADBI/post_inst_task.htm#LADBI7749
Question No : 142
There are two listeners, LISTENER1 arid LISTENER2, and one service name ORCL
available for your database. The database is running and currently, only LISIENER1 is
started. You issue the command:
Answer: A
Reference: https://blogs.oracle.com/rtsai/entry/how_to_configure_multiple_oracle
Question No : 143
Which command do you use to check for block corruption by validating the database?
Answer: D
Explanation: since 11g the syntax got changed to
RMAN> validate [check logical] database;
Example:
output include:
Block Corruptions found NO NO
Question No : 144
Answer: B,D
Reference: Oracle Database Concepts, 12c, Memory Architecture
Question No : 145
YOUR database crashes after a user accidentally kills a background process. What are
three possible ways to restart your database?
A. S sqlplus / as sysdba
SQL> restart;
B. S sqlplus / as sysdba
SQL> startup immediate;
C. S rman target /
RMAN> Startup
D. S sqlplus / as sysdba
SQL> startup open recover;
E. S srvctl start database -db SORACLE_SID
Answer: C,D,E
STARTUP
If you know that media recovery is required, you can start an instance, mount a database to
the instance, and have the recovery process automatically start by using the STARTUP
command with the RECOVER clause:
To start or stop your entire cluster database, that is, all of the instances and its enabled
services, enter the following SRVCTL commands:
Question No : 146
A. COMMIT
B. ROLLBACK
C. SAVEPOINT
D. SELECT
E. CREATE
Answer: A,B,E
Explanation: A transaction ends when any of the following actions occurs:
* (E) A user runs a DDL command such as CREATE, DROP, RENAME, or ALTER.
Etc.
A. Oracle GoldenGate
B. Global Data Services
C. Oracle Data Guard
D. Data Recovery Advisor
E. Oracle Flashback technology
F. Oracle Advanced Queuing
Answer: A,B,C,E
Reference:
http://docs.oracle.com/cd/E16655_01/server.121/e17601/unplanned.htm#HAOVW11824
Question No : 148
A standby database is in mounted state and you are required to perform a failover to the
physical standby. Which solution is best suited forthis scenario?
Answer: A
Question No : 149
Answer: A,D
Explanation: http://oracle-base.com/articles/12c/multitenant-resource-manager-cdb-and-
pdb-12cr1.php
https://docs.oracle.com/database/121/RACAD/admcon.htm#RACAD8961
https://docs.oracle.com/database/121/BRADV/rcmrepai.htm#BRADV89725
Question No : 150
Consider an application in which memory required for each session is 400 KB and memory
required for each server process is 4 MB. The pool size is 100 and the number of shared
servers used is 100. If there are 5000 client connections, what is the amount of memory
used by a dedicated server?
A. 615 MB
B. 2.5 GB
C. 4 GB
D. 12 GB
E. 22 GB
Answer: E
Explanation:
http://docs.oracle.com/cd/E11882_01/server.112/e25494/manproc.htm#ADMIN12483