Vous êtes sur la page 1sur 80

s@lm@n

Oracle
Exam 1z0-497
Oracle Database 12c Essentials
Version: 9.0

[ Total Questions: 150 ]


Oracle 1z0-497 : Practice Test
Question No : 1

Your database instance is running. db01 is a net service name. You issue a connection
request by using the command:

SQL> CONNECT scott/tiger@db01

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.

Which statement is true in this situation?

A Composite Solution With Just One Click - Certification Guaranteed 2


Oracle 1z0-497 : Practice Test
A. The online redo log files and archived redo log files are required to accomplish a
recovery.
B. The uncommitted transaction is committed at the next startup of the database instance.
C. The uncommitted transaction is rolled back automatically at the next opening of the
database.
D. The DBA has to perform a recovery on the database to recover the uncommitted
transaction.

Answer: C

Question No : 4

What happens when you execute these SQL statements?

ALTER SYSTEM SET SGA_TARGET = 992M;

ALTER SYSTEM SET SHARED_POOL_SIZE = 0;

ALTER SYSTEM SET LARGE_POOL_SIZE = 0;

ALTER SYSTEM SET JAVA_POOL_SIZE = 0;

ALTER SYSTEM SET DB_CACHE_SIZE = 0;

ALTER SYSTEM SET STREAMS POOL SIZE = 0;

A. The database stops (shutdown abort).


B. B) The database Stops (shutdown immediate).
C. You activate Automatic Shared Memory Management.
D. You get an error message.

Answer: C
Reference: http://www.orafaq.com/forum/t/67825/0/ (see the second post)

Question No : 5

A Composite Solution With Just One Click - Certification Guaranteed 3


Oracle 1z0-497 : Practice Test

Which two statements about this policy are true?

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

Which three components are always part of System Global Area?

A. Database Buffer Cache


B. Undo Log Buffer
C. Shared Pool
D. Small Pool
E. Java Pool

A Composite Solution With Just One Click - Certification Guaranteed 4


Oracle 1z0-497 : Practice Test
F. Private SQL Area

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:

SQL> UPDATE persons SET ccode='U031' WHERE ccode='U029';

123 rows updated.

SQL> DELETE FROM persons WHERE exp='Y';

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?

A. all sessions of the HR user


B. all sessions of the HR user and the SYS user
C. the session of the HR user that executed the commands
D. all sessions for which database users have access privileges to the PERSONS table

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

A Composite Solution With Just One Click - Certification Guaranteed 5


Oracle 1z0-497 : Practice Test
You execute some DMLcommands, followed by a COMMIT Statement.

Which option correctly describes how the logwriter (LGWR) process takes part in the
transaction commit?

A. 1. LGWR writes the commit record to disk.


2. LGWR writes all redo entries from Redo Log Buffer to disk.
B. 1. GWR writes only the transaction's redo entries from Redo Log Buffer to disk.
2. LGWR writes the commit record to disk.
C. 1. LGWR puts the commit record to Redo Log Buffer.
2. IGWR writes all redo entries from Redo Log Buffer to disk.
D. 1. LGWR puts the commit record to Redo Log Buffer.
2. If the activity is high, LGWR waits three seconds for other transactions to commit.
3. LGWR writes all redo log entries from Redo Log Buffer to disk.
E. 1. LGWR puts the commit record to Redo Log Buffer.
2. LGWR signals the database writer (DBW) process to write dirty blocks to disk.
3. LGWR writes all redo entries from Redo Log Buffer to disk.

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

A Composite Solution With Just One Click - Certification Guaranteed 6


Oracle 1z0-497 : Practice Test
copy into the development CDB using:
SQL> CREATE PLUGGABLE DATABASE salesdev USING' /tmp/salesprd.xml';

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.

D: Plugging In an Unplugged PDB


To plug in an unplugged PDB, the following prerequisites must be met:
* Complete the prerequisites described in "Preparing for PDBs".
* The XML file that describes the PDB must exist in a location that is accessible to the
CDB.
The USING clause must specify the XML file.
Etc

Question No : 10

Which is the default port number for Database Express?

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

Examine the command below:

LSNRCTL> SERVICES LISTENER2

A Composite Solution With Just One Click - Certification Guaranteed 7


Oracle 1z0-497 : Practice Test
Connecting to (DESCRIPTION=(ADDRESS= (PROTOCOL=TCP) (HOST=estb. us.
abc.com) (PORT=1525)))

Services Summary. . .

Service "orcl.oracle.com" has 1 instance(s).

Instance "oracle", status UNKNOWN, has 1 handler(s) for this service... Handler(s):

"DEDICATED" established:2 refused:0 LOCAL SERVER The command completed


successfully

Which two statements are true about LISTENER2?

A. The ORCL instance is registered dynamically with the listener.


B. The ORCL instance is registered statically in the listener.ora file.
C. The number of current client connections handled by the service handler is two.
D. The total number of client connections handled so far by the service handler is two.

Answer: B,D

Question No : 12

Which two statements are true about a buffer cache?

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?

A Composite Solution With Just One Click - Certification Guaranteed 8


Oracle 1z0-497 : Practice Test
A. the CDB as the ROOT user
B. the CDB as the CDBADMIN user
C. the PDB as the ROOT user
D. the PDB as the PDB Admin user

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?

A. You have to copy the seed data files yourself,


B. You can use the new SEED FILE_NAME_CONVERTclause in the CREATE
DATABASE statement.
C. The seed pluggable database is not required.
D. The seed pluggable database does not require data files.
E. The seed pluggable database is always kept in READ ONLY mode.
F. The seed pluggable database is not a container.
G. The seed pluggable database can be dropped.

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

A Composite Solution With Just One Click - Certification Guaranteed 9


Oracle 1z0-497 : Practice Test
Explanation:
http://docs.oracle.com/database/121/ASOAG/redaction_config.htm#ASOAG10563

Question No : 16

Which two statements are true about the B-tree Index?

A. The leaf blocks in the index are doubly linked.


B. The leaf node stores a bitmap for each key value.
C. Rows with a NULL value in key columns also have entries in the Index.
D. The deletion of a row from the table causes a logical deletion in the index leaf block and
the space becomes available for a new leaf entry.

Answer: A,D
Explanation: https://docs.oracle.com/database/121/CNCPT/indexiot.htm#CNCPT88836

Question No : 17

In Oracle Database 12c, when does a transaction begin?

A. when a transaction ID is allocated for it.


B. when a user explicitly issues a "begin" statement
C. when a transaction is assigned to an available undo data segment to record undo
entries for the new transaction
D. when the first executable SQL statement is encountered

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?

A Composite Solution With Just One Click - Certification Guaranteed 10


Oracle 1z0-497 : Practice Test
A. It requires the database to be open.
B. It analyzes the performance of specified objects.
C. It implements all recommendations automatically.
D. It recommends solutions and quantifies expected benefits.
E. It retains snapshots in the SYSAUX tablespace until the database is restarted.
F. It analyzes the snapshots stored in the Automatic Workload Repository (AWR).

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?

A. Process Monitor Process (PMON)


B. Flashback Data Archive process (FBDA)
C. Space Management Coordinator process (SMCO)

A Composite Solution With Just One Click - Certification Guaranteed 11


Oracle 1z0-497 : Practice Test
D. Recoverer process (RECO)
E. Listener Registration process (LREG)
F. Checkpoint Process

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:

Checking available swap space requirements...

Expected result: 1512MB

Actual Result: 1018MB

Check complete. The overall result of this check is: failed

Problem: The system does not have the required swap space.

What happens to the installation in this situation?

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

A Composite Solution With Just One Click - Certification Guaranteed 12


Oracle 1z0-497 : Practice Test
A DBA informs you that an Oracle instance has started. What does this imply?

A. Users can access the data in the database.


B. Only SGA has been allocated for the database.
C. Only background and user processes are running.
D. Memory areas have been allocated and background processes have been started.

Answer: D

Question No : 23

Which two options can you use to list Oracle Database 12c patches by using Queryable
Patch Inventory?

A. select patch from vSoption where opatch_data=' 333333' ;


B. select xmltransform(dbms_qopatch.get_opatch_data(3333333),
dbms_qopatch.GET_OPATCH_XSLT()) from dual
C. select opatch from vSpatchsets where opatch_number = '333333';
D. opatchlsinventory -xml

Answer: B,D
Reference:http://www.oracle.com/technetwork/pt/articles/sql/queryable-patch-inventory-
12c-2098576-ptb.html

Question No : 24

You execute the following command:

SQL> ALTER USER skd ACCOUNT LOCK;

Which two statements are correct?

A. The SKD user cannot log in to the database instance.


B. The objects owned by the SKD user are not accessible to any user.
C. Other users can access objects owned by the SKD user, to which they have access.
D. The SKD user's password expires and the user is forced to change the password at the
next login.

A Composite Solution With Just One Click - Certification Guaranteed 13


Oracle 1z0-497 : Practice Test
Answer: A,C

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.

Reference: Benefits of the Multitenant Architecture for Database Consolidation

URL:
http://docs.oracle.com/cd/E16655_01/server.121/e17633/cdbovrvw.htm#CNCPT89239

Question No : 26

Which option represents a function of Global Data Services (GDS)?

A Composite Solution With Just One Click - Certification Guaranteed 14


Oracle 1z0-497 : Practice Test
A. performs data replication
B. performs database failovers
C. replaces the functionality of Oracle Clusterware and Oracle RAC
D. coordinates site failovers
E. works seamlessly with Oracle Site Guard

Answer: E

Question No : 27

Examine the output:

SQL> SELECT index_name, status FROM dba_indexes WHEREstatus='UNUSABLE;

INDEX_NAME STATUS

--------------------- -----------------

EIND UNUSABLE

Which two statements about this index are true?

A. It is ignored by the query optimizer.


B. It is not used while the index is being rebuilt.
C. The index cannot be rebuilt, and has to be re-created.
D. The index is automatically rebuilt when used the next time.

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';

A Composite Solution With Just One Click - Certification Guaranteed 15


Oracle 1z0-497 : Practice Test

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?

A. Active Data Guard


B. Oracle GoldenGate
C. Oracle Real Application Clusters
D. Oracle Transportable Tablespaces
E. Oracle Cloud Platform as a Service

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

When executing shutdown abort in a pluggable database (PDB), you ____________.

A. shut down abort the CDB


B. shut down abort the PDB

A Composite Solution With Just One Click - Certification Guaranteed 16


Oracle 1z0-497 : Practice Test
C. shut down immediate the PDB
D. shut down immediate the CDB

Answer: C

Question No : 31

Which two statements are true about this common user?

A. SQL> conn c##usr/pwd@pdb1


You are connected to PDB1 successfully.
B. SQL> conn c##usr/pwd@pdb2
You are connected to PDB2 successfully.
C. SQL> conn c##usr/pwd@pdb2
You are unable to create a connection. You first need to sync PDB2 by executing:
SQL> conn / as sysdba
SQL>exec DBMS_PDB.SYNC_PDB;
D. SQL> conn c##usr/pwd@pdb2
You are unable to create a connection. You need to create the common user c# #usr
explicitly in PDB2 by executing:
SQL>conn system/pwd@pdb2
SQL> CREATE USER c##usrIDENTIFIED BYpwd CONTAINER=CURRENT;
Now you are able to connect as common user c##usr to PDB2.

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?

A. There is only one SYSTEM tablespace per CDB.


B. There is only one instance per PDB.
C. There is a set of redo log files per PDB.
D. There is only one UNDO tablespace per CDB.
E. There is one SYSAUXtablespace per PDB.

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

A Composite Solution With Just One Click - Certification Guaranteed 18


Oracle 1z0-497 : Practice Test
E. cumulative

Answer: C,D,E

Question No : 35

Which two statements represent where Oracle Net must reside?

A. Only on the client for traditional client/server applications


B. Only on the database server for web-based applications
C. On both the web server and database server for web-based applications
D. On both the client and database server for traditional client/server applications.

Answer: C,D

Question No : 36

Which statement regarding Oracle Active Data Guard 12c is false?

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

Why does performance degrade when many UPDATE, INSERT, or DELETEstatements


are issued on a table that has an associated bitmap index?

A Composite Solution With Just One Click - Certification Guaranteed 19


Oracle 1z0-497 : Practice Test
A. The DML operations re-create the bitmap index blocks.
B. The bitmap index is rebuilt automatically after a DML operation.
C. The smallest amount of a bitmap that can be locked is a bitmap segment.
D. Additional time is taken to remove NULL values from the bitmap index alter a DML
operation.

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

Which two statements about Data Recovery Advisor are true?

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.

A Composite Solution With Just One Click - Certification Guaranteed 20


Oracle 1z0-497 : Practice Test
Answer: A,D
Explanation: A (not B): In the current release, Data Recovery Advisor can only be used to
diagnose and repair data corruptions in non-CDBs and the root of a multitenant container
database (CDB).
Not C: Data Recovery Advisor is not supported for pluggable databases (PDBs).

D: A failure is detected either automatically by the database or through a manual check


such as the VALIDATE command. You can use the LIST FAILURE command to view
problem statements for failures and the effect of these failures on database operations.
Each failure is uniquely identified by a failure number. In the same RMAN session, you can
then use the ADVISE FAILURE command to view repair options, which typically include
both automated and manual options.

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?

A. The buffer must be written to flash cache.


B. A log writer (LGWR) must write all redo entries that have been copied into the buffer
since the last time it wrote.
C. The modified data block must be moved from the LRU list to the write queue.
D. The database must advance the checkpoint.

Answer: B

Question No : 40

Which statement about CDB architecture is true?

A. Oracle-supplied metadata resides only in the root container.

A Composite Solution With Just One Click - Certification Guaranteed 21


Oracle 1z0-497 : Practice Test
B. A seed PDB can sometimes be opened for particular operations.
C. Multiple PDBs with the same name can reside in the same CDB.
D. A CDB can have an infinite number of PDBs.
E. You can create common users in PDBs.

Answer: A
Reference:
http://docs.oracle.com/cd/E16655_01/server.121/e17633/cdbovrvw.htm#CNCPT89235

Question No : 41

In this SQL statement, what is the partitioning criteria?

CREATE TABLE books_part

PARTITION BY RANGE (cell_id) (

PARTITION p0l VALUES LESS THAN (2),

PARTITION p02 VALUES LESS THAN (3) ,

...

PARTITION pl4 VALUES LESS THAN (15),

PARTITION pl5 VALUES LESS THAN (16),

PARTITION pl6 VALUES LESS THAN (MAXVALUE)

AS SELECT * FROM books;

A. books
B. pxx
C. MAXVALUE
D. cell_id
E. There is no partitioning criteria.

Answer: D

A Composite Solution With Just One Click - Certification Guaranteed 22


Oracle 1z0-497 : Practice Test
Question No : 42

Which two statements are true about transactions in Oracle Database 12c?

A. Multiple transactions can use the same undo segment.


B. A transaction is assigned an undo segment when it is started.
C. Multiple transactions cannot share the same extent in an undo tablespace.
D. If all the segments in an undo tablespace are used, transactions use system undo
segments to store undo data.

Answer: A,B

Question No : 43

Which process is responsible for writing the contents of database buffers to data files?

A. Process Monitor process (PMON)


B. Listener Registration process (LREG)
C. System Monitor process (SMON)
D. Database Writer process (DBW)
E. Log Writer process (LGWR)
F. Checkpoint process (CKPT)

Answer: D
Reference:
http://docs.oracle.com/cd/E11882_01/server.112/e25789/process.htm#CNCPT1254 (see
database writer process (DBW))

Question No : 44

Examine the error:

GSM-45054: GSM error or NET-40006: unable to start GSH

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

A Composite Solution With Just One Click - Certification Guaranteed 23


Oracle 1z0-497 : Practice Test
and the service is enabled and started.
C. The GDS pool database's local listener may be down. Make sure that it is running.
D. The global service may be down. Verify that the pool databases are up and the service
is started.
E. The global service may be disabled. Make sure that the pool databases are up and the
service is enabled and started.

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.

A. Oracle Database alert.log file


B. object-level statistics
C. Automatic SGA Memory Management
D. Oracle Database Trace files
E. all server-generated alerts

Answer: B,C,E

Question No : 46

In which situation would you use static database registration for a listener?

A. when multiple databases are to be registered with the listener


B. when DBAs need to connect remotely to start up the database instance
C. when users need to connect the database instance by using the host naming method
D. when the database instance to be registered with the listener is configured in shared
server mode

Answer: B
Explanation: https://docs.oracle.com/database/121/NETAG/advcfg.htm#NETAG1589

A Composite Solution With Just One Click - Certification Guaranteed 24


Oracle 1z0-497 : Practice Test
Question No : 47

As part of your Oracle Database 12c post-installation tasks, you run these commands:

Cd $ORACLE_HOME/bin

srvctl stop database -d myDb

chopt enable dm

srvctl start database -d myDb

What does this do?

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)

A Composite Solution With Just One Click - Certification Guaranteed 25


Oracle 1z0-497 : Practice Test

Question No : 49

Which two are client-side components of Oracle Data Guard Broker?

A. Oracle Enterprise Manager Cloud Control


B. Oracle Data Guard monitor
C. Oracle Data Guard command-line interface (DGMGRL)
D. Oracle Data Guard Broker Manager

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?

A. Undo reverses a change, whereas redo re-creates a change.


B. Redo reverses a change, whereas undo re-creates a change.
C. Undo protects against inconsistent reads, whereas redo protects against data loss.
D. Redo protects against inconsistent reads, whereas undo protects against data loss.

Answer: A,C

Question No : 51

Which statement about Online Move Data file is true?

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

A Composite Solution With Just One Click - Certification Guaranteed 26


Oracle 1z0-497 : Practice Test
Question No : 52

Consider 10 scenarios that result in database downtime. Which five of them are considered
as planned downtime?

A. addition or removal of nodes, memory, or disks


B. changing configuration parameters, upgrading, or patching Oracle software
C. file deletion
D. migrating to cluster architecture
E. dropped database object
F. table definition changes
G. runaway processes that consume system resources
H. adding table partitioning
I. operating system or storage device / driver failure
J. database or application deadlocks

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

Which statement about the Queryable Patch inventory feature is false?

A. It is used to retrieve installed patch information from a SQL prompt.


B. It uses the PREPROCESSOR feature, which allows users to preprocess input data
before it is sent to the access drivers.
C. DBMS_QOPATCH provides a PL/SQL or SQL interface to view the database patches
installed.
D. It works in an Oracle database instance that is mounted. Therefore, it works in ASM
instances and DG instances.

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.

* Using DBMS_QOPATCH feature, users can do:

A Composite Solution With Just One Click - Certification Guaranteed 27


Oracle 1z0-497 : Practice Test
Query what patches are installed from SQL*Plus.
Write wrapper programs to create reports and do validation checks across multiple
environments.
Check patches installed on Oracle RAC nodes from a single location instead of having to
log onto each one in turn.

Question No : 54

Which two statements are true regarding SQL*Plus?

A. It has commands for performing database administration operations.


B. It can be used in interactive but not batch mode for SQL commands.
C. It has to be installed separately after the Oracle Database 12c installation.
D. Operating system commands can be executed from the SQL*Plus command prompt.

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.

A Composite Solution With Just One Click - Certification Guaranteed 28


Oracle 1z0-497 : Practice Test
html
http://docs.oracle.com/database/121/BRADV/rcmflash.htm#BRADV640

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

Examine the statements:

SQL> CREATE TABLESPACE MYTBS DATAFILE '/disk1/mytbs_l.dbf ' SIZE 10M;

SQL> CREATE TABLE mytab (id NUMBER, descr VARCHAR2 (100) )

PARTITION BY RANGE(id) (

partition pi values loss than (100000) tablespacemytbs storage (initial lm),

partition p2 values less than (MAXVALUE) tablespacemytbs storage (initial 1m)

);

When inserting data, you get the error:

ORA-01688: unable to extend table SYS.MYTAB partition P2 by 128 in tablespace MYTBS

A Composite Solution With Just One Click - Certification Guaranteed 29


Oracle 1z0-497 : Practice Test
Which three operations would allow you to insert data without getting the error message?

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

Which two statements about multi section backup are true?

A Composite Solution With Just One Click - Certification Guaranteed 30


Oracle 1z0-497 : Practice Test
A. It is available only for full backups.
B. It supports incremental backups and image copies.
C. Backup for each data file is divided into sections and is backed up in parallel. However,
for image copies, sections are backed up sequentially.
D. For image copies, sections are backed up in parallel and recomposed at the end.

Answer: B,D
Explanation: https://docs.oracle.com/database/121/BRADV/rcmbckba.htm#BRADV380
Reference: Specifying Multisection Incremental Backups

Making Multisection Backups Using Image Copies

Question No : 60

Identify two solutions that Oracle provides for patch conflict.

A. merge patch
B. combine patch
C. overlay patch
D. dual patch
E. super patch

Answer: A,C

Question No : 61

An Oracle instance is a combination of______.

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

A Composite Solution With Just One Click - Certification Guaranteed 31


Oracle 1z0-497 : Practice Test

Question No : 62

Which normalization level is adopted in real-world database systems?

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

A Composite Solution With Just One Click - Certification Guaranteed 32


Oracle 1z0-497 : Practice Test
Answer: A,C,E

Question No : 64

When you start up a CDB, which operations are performed automatically and in what
order?

a - The instance is started.

b - Control files are opened.

c - The root container is opened (redo logs and root data files).

d - Seed pluggable database is in READ ONLY mode.

e - Other PDBs are still in MOUNTED mode.

f - Triggers may fire if they exist to open other PDBs.

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

Identify the correct order of consolidation density.

A. multitenant< schema consolidation< dedicated database< VMs


B. schema consolidation< VMs< dedicated databases< multitenant
C. dedicated databases< VMs< schema consolidation< multitenant
D. VMs< dedicated databases< schema consolidation< multitenant

Answer: D

A Composite Solution With Just One Click - Certification Guaranteed 33


Oracle 1z0-497 : Practice Test

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?

A. shared UNDO and default database temporary tablespace


B. Oracle-supplied metadata
C. shared Oracle-supplied data
D. CDB views providing information across PDBs
E. application tablespaces
F. local temporary tablespaces
G. local users and local roles
H. non-shared local metadata

Answer: E,F,G,H

Question No : 67

What happens if you execute these SQL statements?

SQL> show con_name

CON_NAME

--------------------------------

CDB$ROOT

SQL> create user 1_freed identified by y container=current;

A. A common user is created in the root container.


B. A local user is created in the root container.
C. A local user is created in all the PDBs.
D. The second SQL statement fails because a local user cannot be created in the root
container.

Answer: D

A Composite Solution With Just One Click - Certification Guaranteed 34


Oracle 1z0-497 : Practice Test
Question No : 68

Which three statements are true about database storage structures?

A. A data file can span across tablespaces.


B. An extent contains one or more segments.
C. Tablespaces contain one or more data files.
D. Data objects are stored as segments in tablespaces.
E. Segments can span across data files within a tablespace.

Answer: C,D,E
Explanation:
https://docs.oracle.com/cd/E11882_01/server.112/e40540/physical.htm#CNCPT1109

Question No : 69

Which statement about Oracle patches is false?

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

Examine the table:

A Composite Solution With Just One Click - Certification Guaranteed 35


Oracle 1z0-497 : Practice Test
Table name: PRODUCTS

Schema: SCOTT

Tablespace: USERS

Organization: Standard (Heap Organized)

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?

A. PROD_NAME size can be increased from five to 10 characters.


B. PROD_ID can be changed from CHAR to NUMBER data type.
C. PROD_RATE size can be changed from NUMBER(4) to NUMBER(6, 2).
D. New columns can be added only if they have a NOT NULL constraint.
E. None of the existing columns can be dropped because they contain data.

Answer: A,C

Question No : 71

Which statement about a server parameter file (SPFILE) is false?

A. An SPFILE is a binary file that cannot be edited by using a text editor.


B. You can create an SPFILE from an existing text initialization parameter file or from
memory.
C. You can use the SHOW PARAMETERS command to display the values of initialization
parameters in an SPFILE.
D. The instance first searches for an SPFILE named spfileoRACLE_SID.ora and, if this is
not found. It searches for spfile.ora.

Answer: C
Explanation: http://docs.oracle.com/database/121/ADMIN/start.htm#ADMIN12825

Question No : 72

A Composite Solution With Just One Click - Certification Guaranteed 36


Oracle 1z0-497 : Practice Test
What must you do to an application for it to take advantage of partitioning?

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:

Which three statements are true about terminating a session?

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

A Composite Solution With Just One Click - Certification Guaranteed 37


Oracle 1z0-497 : Practice Test
active again.

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:

ORA-00028: your session has been killed

ALTER SYSTEM KILL SESSION '7,15';

E (not F): Terminating an Inactive Session

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.

Reference: Oracle Database Administrator's Guide, Terminating Sessions

URL:
http://docs.oracle.com/cd/B28359_01/server.111/b28310/manproc008.htm#ADMIN11192

Question No : 74

Which three statements about replication options are true?

A. The Oracle Streams information flow consists of three components: capture, redo

A Composite Solution With Just One Click - Certification Guaranteed 38


Oracle 1z0-497 : Practice Test
transfer, arid consumption.
B. Oracle Streams is deprecated in Oracle Database 12c Release 1.
C. Oracle Database Advanced Replication is deprecated in Oracle Database 12c Release
1, including multimaster replication, updatable materialized views, multitier materialized
views, and deployment templates.
D. Oracle Database Advanced Queuing is independent of Oracle Streams.
E. The Oracle GoldenGate software architecture is composed of three primary
components: capture, propagate, and trail files.

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?

A. Oracle Data Guard


B. Oracle Streams
C. Oracle Real Application Clusters
D. Oracle GoldenGate

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

Which two statements about Database Express are true?

A Composite Solution With Just One Click - Certification Guaranteed 39


Oracle 1z0-497 : Practice Test
A. It uses internal infrastructure components, such as XDB and SQL*Net.
B. It can perform actions outside the database.
C. It has background tasks and processes that periodically collect information via FTP.
D. It has two new features: Performance Hub and Composite Active Reports.
E. It is not supported on Standard Edition (SE) and Express Edition (XE).

Answer: A,D
Reference: http://www.oracle.com/technetwork/database/manageability/emx-intro-
1970113.html

Question No : 77

Which tool is recommended for moving a PDB to a non-CDB?

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%.

A Composite Solution With Just One Click - Certification Guaranteed 40


Oracle 1z0-497 : Practice Test
Answer: A
Reference:
http://docs.oracle.com/cd/E16655_01/server.121/e15857/pfgrf_diag.htm#TGDBA95369
(table 7-1)

Question No : 79

For which database operation do you need the database to be in MOUNT state?

A. renaming the control files


B. re-creating the control files
C. dropping a user in your database
D. dropping a tablespace in your database
E. configuring the database instance to operate in ARCHIVELOG or NOARCHIVELOG
mode

Answer: E
Explanation: To enable or disable archiving, the database must be mounted but not open.

Note: See step 5 below.


Changing the Database Archiving Mode

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:

1.Shut down the database instance


2.Back up the database.
3.Edit the initialization parameter file to include the initialization parameters that specify the
destinations for the archived redo log files
4.Start a new instance and mount, but do not open, the database.

STARTUP MOUNT
To enable or disable archiving, the database must be mounted but not open.

A Composite Solution With Just One Click - Certification Guaranteed 41


Oracle 1z0-497 : Practice Test
5.Change the database archiving mode. Then open the database for normal operations.

ALTER DATABASE ARCHIVELOG;


ALTER DATABASE OPEN;

6.Shut down the database.


SHUTDOWN IMMEDIATE

7.Back up the database.

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

Which two statements about ADDM are true?

A. Real-Time ADDM uses AWR snapshots of the last 10 minutes.


B. Real-Time ADDM uses ASH recent activity from SGA data.
C. Real-Time ADDM analyzes performance in a completely different fashion than regular
ADDM.
D. Regular ADDM uses AWR snapshots that are not yet purged.

A Composite Solution With Just One Click - Certification Guaranteed 42


Oracle 1z0-497 : Practice Test
Answer: B,D
Explanation: http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-emergency-
monitoring-real-time-addm/

Question No : 82

Which statement about the Oracle Advanced Security Data Redaction feature is true?

A. It transparently encrypts data at rest in Oracle databases.


B. It securely manages encryption keys.
C. It protects against theft or loss of disks and backups.
D. It prevents OS users from inspecting tablespace files.
E. It limits the exposure of sensitive data in applications.
F. It alters data in caches, buffers, and persistent storage.
G. It impacts operational activities such as backup & restore, upgrade & patch, and
replication.

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.

Reference: Oracle Advanced Security, 12c, Oracle Data Sheet

Question No : 83

A Composite Solution With Just One Click - Certification Guaranteed 43


Oracle 1z0-497 : Practice Test
Examine the commands:

SQL> CONNECT sys@CDBl AS SYSDBA

$QL>STARTUP MOUNT

SQL> ALTER DATABASE cdbl MOUNT;

Which four options represent what happens when these commands are executed?

A. The instance is started.


B. The CDB control files are opened for the instance.
C. The root is mounted.
D. The root is opened.
E. The PDBs are mounted.
F. The PDBs are mounted, and the seed is opened in READ ONLY mode.
G. The PDBs are mounted, and opened in READ WRITE mode, while the seed is opened
In READ ONLY mode.

Answer: A,B,C,E

Question No : 84

Your customer is looking for a solution to address these downtime needs:

- Online addition and removal of disks should automatically rebalance data across new
storage configurations while storage, database, and applications remain online.

- Dynamically add or remove clustered nodes without disrupting the database or


applications.

- Automate the sizing and distribution of shared memory.

- Add a column with a default value without disrupting the database or applications.

- Perform rolling patch upgrades.

Which four would you recommend to address those needs?

A. Automatic Storage Management (ASM)


B. Online Data and Application change
C. Global Data Services (GDS)
D. Real Application Clusters (RAC)

A Composite Solution With Just One Click - Certification Guaranteed 44


Oracle 1z0-497 : Practice Test
E. Oracle Streams
F. Online Table Redefinition
G. Oracle Database Vault

Answer: A,B,D,F

Question No : 85

Which type of information is included in dynamic performance views?

1 - System and session parameters

2 - Memory usage and allocation

3 - File states (including RMAN backup files)

4 - Progress of jobs and tasks

5 - SQL execution

6 - Statistics and metrics

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:

A Composite Solution With Just One Click - Certification Guaranteed 45


Oracle 1z0-497 : Practice Test
ERROR at line 1:

ORA-00060: deadlock detected while waiting for resource

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?

A. The database advances a checkpoint.


B. A client process commits a transaction.
C. The redo log buffer becomes full.
D. A server process cannot find non-dirty blocks after scanning a threshold number of
buffers.
E. A tablespace is changed to read-only status.
F. The database is shut down in immediate mode.

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 Composite Solution With Just One Click - Certification Guaranteed 46


Oracle 1z0-497 : Practice Test
For which use case would you use a rolling upgrade with the Oracle Active Data Guard
feature?

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

A Composite Solution With Just One Click - Certification Guaranteed 47


Oracle 1z0-497 : Practice Test
Question No : 90

Which type of file system is NOT valid for storing data files, online redo log files, and
control files for a pluggable database?

A. Automatic Storage Management (ASM)


B. OS file system
C. logical volume (LVM)
D. clustered file system
E. RAW

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=

(ADDRESS= (PROTOCOL=TCP)(HOST=salesdata) (PORT=1521) )

(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

A Composite Solution With Just One Click - Certification Guaranteed 48


Oracle 1z0-497 : Practice Test
Explanation: * Example, Basic Format of tnsnames.ora File

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.

A net service name is an alias mapped to a database network address contained in a


connect descriptor. A connect descriptor contains the location of the listener through a
protocol address and the service name of the database to which to connect. Clients and
database servers (that are clients of other database servers) use the net service name
when making a connection with an application.

Reference: Oracle Database Net Services Reference

Question No : 92

You want to start a global service on your database. Which three conditions must be met?

A. The database is open and registered with a global service manager.


B. The service has been disabled on that database.
C. The database role is different from the role attribute of the service.
D. The replication lag on the database does not exceed the maximum value specified for
the service.
E. The service has reached its cardinality defined by the number of preferred databases.
F. No other database in the pool is a better candidate for starting the service.

Answer: A,D,F
Explanation: https://docs.oracle.com/database/121/GSMUG/cloud.htm#GSMUG694

A Composite Solution With Just One Click - Certification Guaranteed 49


Oracle 1z0-497 : Practice Test
Question No : 93

You need to recover a database running In NOARCHIVELOG mode. Which two statements
are true in this scenario?

A. You can perform complete recovery by using the command:


RESTORE DATABASE
FROM TAGconsistent_whole_backup;
RECOVER DATABASE;
B. You can perform incomplete recovery by using the command:
RESTORE DATABASE;
FROM TAG "consistent_whole_backup";
RECOVER DATABASE NOREDO;
C. Only consistent backups can be used for restoring a database in NOARCHIVELOG
mode.
D. Media recovery is possible in most cases.

Answer: B,C
Reference:
http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmrecov.htm#CACGEAEE

Question No : 94

Which logical storage relationship is correct?

A. Tablespace< Segment < Extent < Oracle Datablock


B. B) Segment < Extent < Oracle Datablock<Tablespace
C. Tablespace< Extent < Segment < Oracle Datablock
D. Data File <Tablespace< Segment < Extent < Oracle Datablock

Answer: A
Reference: http://www.dummies.com/how-to/content/basics-of-logical-structures-in-oracle-
12c.html

Question No : 95

A Composite Solution With Just One Click - Certification Guaranteed 50


Oracle 1z0-497 : Practice Test
To revoke unnecessary and unused privileges, you can use Privilege Analysis. Which
sequence should you follow?

1 -Start the analysis.

2 - Set up the analysis policy type (database, role, context).

3 - Generate the results.

4 -View the results in DBA_USED_PRIVSand DBA_UNUSED_PRJVS.

5 - Stop the analysis.

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.

A. a solution that provides zero-data-loss protection at any distance without impacting


database performance
B. a solution for disaster protection and database rolling upgrades for a mission-critical
OLTP database, where you also want to extract data from a data guard primary database
for ETL update o' an enterprise data warehouse
C. a solution requiring minimal planned downtime and risk, using standby first patching,
database rolling upgrades, and select platform migrations
D. a solution that helps with integrated automatic database and client failover between
source and target, where you also need to establish advanced replication (such as multi
master and bidirectional replication and data transformations)

Answer: B,C
Reference: http://www.oracle.com/technetwork/database/availability/active-data-guard-wp-

A Composite Solution With Just One Click - Certification Guaranteed 51


Oracle 1z0-497 : Practice Test
12c-1896127.pdf (page 16, last two bulleted points)

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.

Which two solutions would you recommend to your customer?

A. Oracle GoldenGate
B. Oracle Advanced Replication
C. Oracle Active Data Guard
D. Oracle Streams

Answer: A,C

A Composite Solution With Just One Click - Certification Guaranteed 52


Oracle 1z0-497 : Practice Test
Question No : 99

Which two statements describe data dictionary views?

A. They are stored in the SYSTEM tablespace.


B. They are based on virtual tables.
C. They are owned by the SYS user.
D. They speed up query and data manipulation language (DML) operations.
E. The VSFIXED_TABLEview can be queried to list the names of these views.

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?

A. They can perform only queries.


B. They are not affected and continue to function normally.
C. They are terminated and the active transactions are rolled back.
D. They are not allowed to perform any operations till the listener is started.

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.

A Composite Solution With Just One Click - Certification Guaranteed 53


Oracle 1z0-497 : Practice Test
C. The calling user must be granted the INHERIT PRIVILEGES object privilege on the user
owner of the procedure.
D. The calling user must grant the INHERIT PRIVILEGES object privilege on the user
owner of the 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.

A. less instance overhead


B. increased storage cost
C. minor application changes
D. fast and easy provisioning
E. same time needed for patching and upgrade as in the previous release
F. isolation

Answer: A,D,F

Question No : 103

Examine the command:

sqlplus /nolog

In which scenario would this command execute successfully?

A. only from the server, if the database instance is not up


B. from either a client or server, even if the database instance is not up
C. from either a client or server, only if the database instance is up, and the command
connects the session to the instance
D. from either a client or server, only if the database instance is up, but the command does
not connect the session to the instance

A Composite Solution With Just One Click - Certification Guaranteed 54


Oracle 1z0-497 : Practice Test
Answer: B

Question No : 104

Which statement is true regarding this connect string?

(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

A Composite Solution With Just One Click - Certification Guaranteed 55


Oracle 1z0-497 : Practice Test

Question No : 105

Identify three key properties of a transaction in Oracle Database 12c.

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?

A. You can drop the PDB only if it is closed.


B. You can drop the seed PDB, but you cannot create any other PDB within the CDB.
C. You can drop the PDB and keep the data files to be reused by another PDB.
D. When you drop the PDB, the data files and redo log files are automatically removed
from the storage file system.

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 Composite Solution With Just One Click - Certification Guaranteed 56


Oracle 1z0-497 : Practice Test
creation?

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

Which two statements are true about listeners?

A. Listeners use only the TCP/IP protocol.


B. Multiple listener processes can run simultaneously on a host.
C. Multiple database instances can be registered with a single listener,
D. Listener-related errors can be traced only at the administrative level.
E. Only one database instance can be registered with a single listener at any time.

Answer: B,C

A Composite Solution With Just One Click - Certification Guaranteed 57


Oracle 1z0-497 : Practice Test
Explanation:
http://docs.oracle.com/cd/E11882_01/network.112/e10835/protocoladd.htm#NETRF179

Question No : 110

Which statement is true about Enhanced Real-Time ADDM in Oracle Database 12c?

A. The analyzed result is lost when the database instance is restarted.


B. It runs every 1 hour automatically.
C. It is shipped only with Oracle Enterprise Manager 12c.
D. It analyzes high CPU trend and identifies problems before they can threaten application
performance.

Answer: D

Question No : 111

Which statement about Storage Snapshot Optimization is correct?

A. It enables you to use third-party technologies to take a storage snapshot of your


database without putting the database in BACKUP mode. You can then use the snapshot
to recover all or part of the database.
B. It enables you to use RMAN to take a storage snapshot of your database. The database
must be in BACKUP mode. You can then use the snapshot to recover all or part of the
database.
C. It enables you to use RMAN to take a storage snapshot of your database. The database
doesn't have to be in BACKUP mode. You can then use the snapshot to recover all or part
of the database.
D. It enables you to use third-party technologies to take a storage snapshot of your
database. The database must be in BACKUP mode. You can then use the snapshot to
recover all or part of the database.

Answer: A
Reference:
http://docs.oracle.com/cd/E16655_01/backup.121/e17630/release_changes.htm#BRADV2
76 (new features, third bullet)

A Composite Solution With Just One Click - Certification Guaranteed 58


Oracle 1z0-497 : Practice Test

Question No : 112

Which three are initialization parameters for backup and recovery?

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

Examine the command below:

A Composite Solution With Just One Click - Certification Guaranteed 59


Oracle 1z0-497 : Practice Test
BEGIN DBMS_REDACT.ADD_POLICY(

object_schema => 'mavis',

object_name => 'cust_info',

column_name => 'emp_id',

policy_name => 'redact_cust_ids',

function_type => DBMS_REDACT.REGEXP,

expression => '1=1',

regexp_pattern => '(\d\d\d)(\d\d)(\d\d\d\d)',

regexp_replace_string => 'XXXXX\3',

regexp_position => 1,

regexp_occurrence => 0,

regexp_match_parameter => 'i',

policy_description => 'Redacts customer IDs',

column_description => 'emp_id contains employee ID numbers');

END;

What do the regexp_pattern and regexp_replace_string parameters accomplish?

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

A Composite Solution With Just One Click - Certification Guaranteed 60


Oracle 1z0-497 : Practice Test

Question No : 115

View the current parameter settings shown in the output below.

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

A Composite Solution With Just One Click - Certification Guaranteed 61


Oracle 1z0-497 : Practice Test
A user logs in to the hrschema and issues the following commands:

SQL> CREATE TABLE emp

(empno NUMBER(3),

enamo VARCHAR2(20),

sal NUMBER (8, 2));

SQL> INSERT INTO emp (empno, ename) VALUES(1, 'JAMES');

At this moment, a second user also logs in to the hrschema and issues the following
command:

SQL> ALTER TABLE emp MODIFY salNUMBER(10, 2);

What happens in this scenario?

A. The second user's session immediately produces a "resource busy" error.


B. The second user's command executes successfully.
C. The second user's session waits for a time before producing a "resource busy" error.
D. A deadlock is created.

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?

A. Asynchronous redo transport with Data Guard


B. Synchronous redo transport with Data Guard
C. Active Data Guard Far Sync
D. Data Guard SQL Apply

Answer: B,C
Explanation: http://www.oracle.com/technetwork/database/availability/active-data-guard-

A Composite Solution With Just One Click - Certification Guaranteed 62


Oracle 1z0-497 : Practice Test
wp-12c-1896127.pdf

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?

a - Shut down the database.

b - Restart the database.

c - Copy an existing control file to a new location by using operating system commands.

d - Edit the CONTROL_FILESparameter in the database initialization parameter file to add


the new control file name, or to change the existingcontrol file name.

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?

A. create local role l_hr;


B. create role c##_hr container=current;
C. create role l_hr container=current;
D. create role l_hr container=all;

A Composite Solution With Just One Click - Certification Guaranteed 63


Oracle 1z0-497 : Practice Test
Answer: C
Explanation: You can include CONTAINER=CURRENT in the CREATE ROLE statement
to specify the role as a local role.

Reference: Oracle Database Security Guide , Creating a Local Role

Question No : 119

Which two statements about switchover and failover are true?

A. A snapshot standby can be the target of a switchover or fast-start failover operation.


B. Neither a switchover nor a failover is possible to a far sync instance.
C. For fast-start failover, you must preselect the target standby database that will be used.
D. You can activate a standby database to test whether it is being updated correctly.

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 Composite Solution With Just One Click - Certification Guaranteed 64


Oracle 1z0-497 : Practice Test
Question No : 121

Which two statements are true about Oracle Data Pump?

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

Which new process was introduced as of Oracle Database 12c?

A. Result Cache Background process (RCBG)


B. AQ Coordinator process (QMNC)
C. Change Tracking Writer process (CTWR)
D. Listener Registration process (LREG)

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?

A. ORACLE_SID specifies the instance name.


B. ORACLE_SID specifies the global database name.

A Composite Solution With Just One Click - Certification Guaranteed 65


Oracle 1z0-497 : Practice Test
C. ORACLE_BASE specifies the root of the Oracle Database directory tree in all platforms.
D. ORACLE_BASE specifies the root of the Oracle Database directory tree only in UNIX
and Linux platforms.
E. ORACLE_HOME specifies the directory containing the Oracle software executables and
network files.
F. ORACLE_HOME specifies the directory containing only the Oracle software
executables, but not the network files.

Answer: A,C,E

Question No : 124

Which two statements about the Process Monitor (PMON) process are true?

A. PMON performs process recovery when a client process fails.


B. During instance startup, PMON takes care of instance recovery.
C. PMON performs listener registration.
D. PMON restarts background and dispatcher processes when they fail.
E. PMON resolves failures of distributed transactions.

Answer: A,D
Explanation: http://docs.oracle.com/database/121/CNCPT/process.htm#CNCPT9840

Question No : 125

Which is the default isolation level in Oracle Database 12c?

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)

A Composite Solution With Just One Click - Certification Guaranteed 66


Oracle 1z0-497 : Practice Test

Question No : 126

Which four items exist in the root of a CDB, but not in the PDBs?

A. shared UNDO and default database temporary tablespace


B. Oracle-supplied metadata
C. shared Oracle-supplied data
D. CDB views providing information across PDBs
E. application tablespaces
F. local temporary tablespaces
G. local users and local roles
H. non-shared local metadata

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?

A. database backup and recovery using RMAN


B. performance tuning operations such as generation of AWR, ADDM, and ASH reports

A Composite Solution With Just One Click - Certification Guaranteed 67


Oracle 1z0-497 : Practice Test
C. storage configuration for archive logs and control files
D. storage configuration for data files and redo log groups
E. database status view and Data Pump export and import jobs

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?

a - The control file is read.

b - Memory is allocated.

c - Background processes pre started.

d -The initialization parameter file is read,

e- Redo log files and data files are opened.

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

Which two statements about multitenant architecture are true?

A. Multiple PDBs on a single server need multiple database instances and multiple sets of

A Composite Solution With Just One Click - Certification Guaranteed 68


Oracle 1z0-497 : Practice Test
database files.
B. Although consolidated into a single physical database, PDBs mimic the behavior of non-
CDBs.
C. A PDB administrator can use Oracle Flashback or point-in-time recovery to retrieve lost
data from a PDB, only by shutting down all the PDBs from the CDB.
D. It is easier to collect performance metrics for many databases in a CDB than individual
non-CDB databases.
E. It takes more time to apply a patch to one CDB that holds hundreds of PDBs than to
hundreds of non-CDB databases.

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.

D: Ease of performance tuning

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.

Reference: Benefits of the Multitenant Architecture for Database Consolidation

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?

A. ADO policies can automatically compress data when it qualifies.


B. ADO policies can automatically move segments when necessary.
C. ADO is not dependent on Heat Map, and works even if Heat Map is disabled.
D. You cannot compress at block level, but you can compress at segment level.
E. You can compress at row level only for QUERY LOW.

Answer: A,B
Explanation:
http://www.oracle.com/technetwork/database/options/compression/advanced-compression-

A Composite Solution With Just One Click - Certification Guaranteed 69


Oracle 1z0-497 : Practice Test
wp-12c-1896128.pdf

Question No : 132

Your customer is looking for a solution that meets these four needs:

1 - Replicate data from source to target for reporting purposes.

2 -Replicate data from one source to multiple targets.

3 - Replicate data between two databases for instant failover.

4 - Replicate data from multiple sources to a single target for a data warehouse.

Which GoldenGate-supported topology would you recommended?

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 Composite Solution With Just One Click - Certification Guaranteed 70


Oracle 1z0-497 : Practice Test
accomplish this task?

A. FULL
B. SCHEMAS
C. TRANSFORM
D. REMAP_SCHEMA
E. REMAP_TABLESPACE

Answer: D

Question No : 134

Examine the command:

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?

A. A CHECK constraint is created on the OID column.


B. A NOT NULL constraint is created on the OID column.
C. The ORDERS table is the only object created in the USERS tablespace.
D. The ORDERS table and a unique index are created in the USERS tablespace.
E. The ORDERS table is created in the USERS tablespace and a unique index is created
on the OID column in the SYSTEM tablespace.

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.

Reference: Oracle Database SQL Language Reference 12c , CREATE TABLE

A Composite Solution With Just One Click - Certification Guaranteed 71


Oracle 1z0-497 : Practice Test

Question No : 135

Your database is down. You log in as the SYS user and issue this command:

SQL> STARTUP

What happens after the instance is started?

A. Nothing else happens.


B. The database is mounted but not opened.
C. The database is mounted and finally opened.
D. The database is opened and finally mounted.

Answer: C
Reference: http://docs.oracle.com/cd/E17781_01/server.112/e18804/startup.htm

Question No : 136

Which targets can be managed by using Enterprise Manager Cloud Control?

A. Hosts and databases


B. Hosts, databases, and application servers
C. Application servers and web applications
D. Databases, Oracle Management Server (OMS), and Oracle Management Repository
(OMR)
E. Databases, application servers, and web applications
F. Hosts, databases, application servers, web applications, OMS, and OMR

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)

A Composite Solution With Just One Click - Certification Guaranteed 72


Oracle 1z0-497 : Practice Test
Question No : 137

Which three tasks can you perform in Database Express?

A. View performance and status information about the database instance.


B. Start up the database.
C. Shut down the database.
D. Create database structures.
E. Manage users and security.

Answer: A,D,E

Question No : 138

Which statement is true about loading data by using the conventional path of SQL*Loader?

A. Redo is not generated while performing conventional path loads.


B. Only PRIMARY KEY, UNIQUE KEY, and NOT NULL constraints are checked,
C. No exclusive locks are acquired when the conventional path loads are performed.
D. Instead of performing transactions, SQL*Loader directly writes data blocks to the data
files.
E. INSERT triggers are disabled before the conventional path load and re-enabled at the
end of the load.

Answer: C
Reference: http://www.orafaq.com/wiki/SQL*Loader

Question No : 139

Which two statements are true regarding undo data records?

A. They are required to support Flashback features.


B. They are not required if Flashback features are enabled.
C. They are retained until the session making the changes ends.
D. Undo records contain copies of data as it appears after a change is made.
E. Undo records contain copies of data as it appears before a change is made.

A Composite Solution With Just One Click - Certification Guaranteed 73


Oracle 1z0-497 : Practice Test
Answer: A,E
Reference:
http://docs.oracle.com/cd/E11882_01/server.112/e25494/undo.htm#ADMIN11463

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

A Composite Solution With Just One Click - Certification Guaranteed 74


Oracle 1z0-497 : Practice Test

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:

lsnrctl start listener2

What would be the outcome?

A. It starts the second listener without affecting current sessions.


B. It starts the second listener and terminates all current sessions.
C. It gives an error because multiple listeners cannot run simultaneously.
D. It gives an error because multiple listeners can run simultaneously only if there are
multiple net service names.

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?

A. RMAN> VALIDATE CHECK LOGICAL


B. RMAN> VALIDATE BACKUP
C. RMAN> VALIDATE CORRUPT BLOCKS
D. RMAN> VALIDATE DATABASE

Answer: D
Explanation: since 11g the syntax got changed to
RMAN> validate [check logical] database;

Example:

A Composite Solution With Just One Click - Certification Guaranteed 75


Oracle 1z0-497 : Practice Test
DGMGRL> validate database verbose d1

output include:
Block Corruptions found NO NO

Question No : 144

Which two statements are true about shared server sessions?

A. No Program Global Area (PGA) is allocated for shared server processes.


B. User Global Area is stored in System Global Area (SGA).
C. Shared SQL Area is allocated from Program Global Area (PGA).
D. Private SQL Area is allocated from Library Cache.
E. Large Pool is used for SQL work areas.

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

A Composite Solution With Just One Click - Certification Guaranteed 76


Oracle 1z0-497 : Practice Test
Explanation: The following command starts an instance, reads the initialization
parameters from the default location, and then mounts and opens the database. (You can
optionally specify a PFILE clause.)

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:

STARTUP OPEN RECOVER

To start or stop your entire cluster database, that is, all of the instances and its enabled
services, enter the following SRVCTL commands:

$ srvctl start database -db db_unique_name [-startoption start_options]

Question No : 146

After a ___________ statement is issued, a transaction ends. (select three)

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:

* (AB) A user issues a COMMIT or ROLLBACK statement without a SAVEPOINT clause.

* (E) A user runs a DDL command such as CREATE, DROP, RENAME, or ALTER.

Etc.

Reference: Oracle Database Concepts, 12c, End of a Transaction

A Composite Solution With Just One Click - Certification Guaranteed 77


Oracle 1z0-497 : Practice Test
Question No : 147

Your customer is planning for a maximum-availability architecture at their data center to


address their planned downtime, unplanned downtime, and replication needs.

Consider these options:

- Instance, site recovery, and heterogeneous setup

- Inter-region and intra-region load balancing across replicated databases

- Fine-grained error investigation of incorrect results

- Integrated client and application failover

- Fastest and simplest database replication

Which four options would you recommend?

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?

A. ALTER DATABASE RECOVER MANAGED STANDBY DATABASE statement with the


FINISH keyword
B. ALTER DATABASE PREPARE TO SWITCHOVER and ALTER DATABASE COMMIT
TO SWITCHOVER statements
C. ALTER DATABASE RECOVER TO STANDBY DATABASE statement with the FINISH

A Composite Solution With Just One Click - Certification Guaranteed 78


Oracle 1z0-497 : Practice Test
keyword
D. D) ALTER DATABASE PREPARE SWITCHOVER and ALTER DATABASE COMMIT
TO SWITCHOVER Statements

Answer: A

Question No : 149

Which two statements about multitenant architecture are true?

A. It ensures full backward compatibility with non-CDBs.


B. It fully operates with RAC.
C. It is integrated with Enterprise Manager, but not with the Resource Manager.
D. It allows central management and administration of single databases.

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

A Composite Solution With Just One Click - Certification Guaranteed 79


Oracle 1z0-497 : Practice Test

A Composite Solution With Just One Click - Certification Guaranteed 80

Vous aimerez peut-être aussi