You are on page 1of 16

Which procedure do you use to extract the LogMiner dictionary?

Choice 1

DBMS_LOGMINER.EXTRACT

Choice 2

DBMS_LOGMNR.BUILD

Choice 3

DBMS_LOGMNR_D.BUILD_DICT

Choice 4

DBMS_LOGMNR_D.BUILD

Choice 5

DBMS_LOGMINER_D.BUILD

Record Answ er

Oracle 12c Administration, Question 3 of 40

Take a 15 minute break AFTER this question

Based on the scenario above, before the recovery is complete you must
Choice 1 run dbverify on data file 1.
Choice 2 recover using a backup control file.
Choice 3 restore the sys01.dbf file and apply appropriate archived redo logs.
Choice 4 restore the sys01.dbf file.
Choice 5 restore from an earlier backup and rerun the recovery

Which initialization parameter do you set to enable automatic shared memory


management?
Choice 1

SGA_MAX_SIZE

Choice 2

SGA_SHARED_SIZE

Choice 3

SGA_MANAGE

Choice 4

SGA_TARGET

Choice 5

SGA_AUTO

Scenario

A developer accidentally drops the CUSTOMER table from a database that has flashback
turned on.
Based on the scenario above, which statement does the DBA use to restore the CUSTOMER
table without database downtime?

Choice 1

FLASHBACK TABLE CUSTOMER UNDO DROP;

Choice 2

FLASHBACK TABLE CUSTOMER TO BEFORE DROP;

Choice 3

FLASHBACK CUSTOMER UNDO DROP;

Choice 4

FLASHBACK CUSTOMER TO DROP;

Choice 5

FLASHBACK TABLE CUSTOMER NODROP;

Scenario

You want to shut down the database, but you do not want client connections to lose any
uncommitted work. You also do not want to wait for every open session to disconnect.
Based on the scenario above, which method do you use to shut down the database?

Choice 1

Shutdown normal

Choice 2

Shutdown force

Choice 3

Shutdown transactional

Choice 4

Shutdown abort

Choice 5

Shutdown restricted sessions

Which system view do you query to find out what database objects are currently in the inmemory column store?
Choice 1

V$IM_OBJECTS

Choice 2

V$IM_CURRENT

Choice 3

V$IM_SEGMENTS

Choice 4

V$IM_TABLES

Choice 5

V$IM_CACHE

Scenario

You set up replication between databases situated at various locations. You find out the
ORDER tables in the Madrid and New Zealand databases are out of sync.
Based on the scenario above, which command detects the differences between the copies
of the ORDER table at these two sites?

Choice 1

DBMS_DIFFERENCES.RECTIFY

Choice 2

DBMS_DIFFERENCES.DETECT

Choice 3

DBMS_DIFF.DETECT

Choice 4

DBMS_RECTIFIER.DETECT_DIFF

Choice 5

DBMS_RECTIFIER_DIFF.DIFFERENCES

Where does AWR store SQL execution plans?


Choice 1

DBA_HIST_DB_CACHE_ADVICE

Choice 2

DBA_HIST_SQL_PLAN

Choice 3

DBA_HIST_ACTIVE_SESS_HISTORY

Choice 4

DBA_HIST_SNAPSHOT

Choice 5

DBA_HIST_IOSTAT_DETAIL

Which statement do you use to clear cached data dictionary information from the SGA?
Choice 1

Choice 2

Choice 3

Choice 4

Choice 5

Scenario

Your database is accessed via applications running on the same physical server as the
database, and also with client/server connections from clients running on physically
different machines. You need to make changes to your database, but want to ensure that
only database administrators can establish new connections to the database.
Based on the scenario above, how do you accomplish this?

Choice 1

Shut down the listener.

Choice 2

Shut down the database and restart in nomount.

Choice 3

Kill off any system administrator sessions using ALTER SESSION.

Choice 4

Enable RESTRICTED SESSION.

Choice 5

Kill off any non-system administrator sessions using ALTER SESSION.

Scenario

You are examining the execution plans for an application which is working very slowly.
Based on the scenario above, which do you examine first when performing SQL statement
tuning?

Choice 1

Outer joins

Choice 2

Inner joins

Choice 3

Full table scans

Choice 4

Hash joins

Choice 5

Index range scans

Which security feature does the database administrator use to monitor successful and
unsuccessful attempts to access specific data?
Choice 1

Password Auditing

Choice 2

Tkprof

Choice 3

Autotrace

Choice 4

Fine-Grained Auditing

Choice 5

Sql_trace

Scenario

You want new data entered or changed in a table to adhere to a given integrity constraint,
but data exists in the table that violates the constraint.
To accomplish your objective in the scenario above, you use:

Choice 1

a deferred constraint.

Choice 2

an enabled novalidate constraint.

Choice 3

a disabled novalidate constraint.

Choice 4

the RELY flag in the constraint specification.

Choice 5

a disabled validate constraint.

Scenario

You start RMAN and connect to a target database.


Based on the scenario above, which command do you then run to view the current RMAN
configuration settings?

Choice 1

CONFIGURATION DISPLAY

Choice 2

SHOW ALL

Choice 3

CONFIGURE ALL

Choice 4

SHOW CONFIGURATION ALL

Choice 5

CONFIGURE

Which background process coordinates the relocation of data between disks, ensuring
every file is evenly spread across all of the disks in an ASM disk group?
Choice 1

CJQ0

Choice 2

RECO

Choice 3

J000

Choice 4

ORB1

Choice 5

RBAL

Scenario

A developer creating an application to run on a database you are administering needs to


access Oracle's data dictionaries.
Based on the scenario above, without granting the developer more rights than necessary,
how do you provide the developer with access?

Choice 1

Assign the developer the READ_ONLY_CATALOG.

Choice 2

Assign the developer the DBA role.

Choice 3

Grant the developer SELECT ANY TABLE system privilege.

Choice 4

Assign the developer the CONNECT role.

Choice 5

Assign the developer the SELECT_CATALOG_ROLE.

The only type of backup you can perform on a database operating in NOARCHIVELOG mode
is:
Choice 1

delta.

Choice 2

consistent.

Choice 3

inconsistent.

Choice 4

logical.

Choice 5

online.

Scenario

When exporting a high volume table using the Data Pump Export tool (expdp), you do not
pass the DIRECTORY parameter and do not pass the directory name in the output filename.
Based on the scenario above, which environment variable are you using to set the location
of the output file?

Choice 1

DATA_PUMP_EXP_LOC

Choice 2

DATA_PUMP_DIR

Choice 3

DATA_PUMP_LOC

Choice 4

EXP_DATA_DUMP_LOC

Choice 5

DATA_DUMP_IO_LOC

Record Answ er

Which is the prefix for the public synonyms for views that provide access to SYS-owned
dynamic performance tables?
Choice 1

V$

Choice 2

V_$

Choice 3

GV_$

Choice 4

_V$

Choice 5

GV$_

What is the setting for session multiplexing for all network sessions?
Choice 1

MULTIPLEX=on

Choice 2

MULTIPLEX=out

Choice 3

MULTIPLEX=in

Choice 4

MULTIPLEX=0

Choice 5

MULTIPLEX=no

Record Answ er

What is the maximum number of levels of CPU percentage you can specify when you create
a resource plan directive for Database Resource Manager?
Choice 1

Choice 2

Choice 3

Choice 4

16

Choice 5

32

In the SYNC or zero-lose mode of a standby database, the LGWR on the primary site does
not acknowledge a COMMIT until:
Choice 1

all the tablespaces on the primary site are successfully copied to the standby location.

Choice 2

the corresponding undo segments have been successfully copied to the standby location.

Choice 3

the LGWR finishes writing to the standby redo logs on the primary site.

Choice 4

the log network service confirms that the redo needed to recover the transaction has been
written to disk at the standby site.

Choice 5

the redo log switch occurs and the redo log is archived.

Record Answ er

Scenario

You administer a database that experienced several table and column modifications.

Based on the scenario above, which steps do you take to check specific indexes that are no
longer being used?
Choice 1

Choice 2

Choice 3

Choice 4

Choice 5

Scenario

You need to send listener log information to Oracle Support Services. The listener name is
LSNRORA1.
Based on the scenario above, which statement do you use in the listener.ora file to
generate this log information?

Choice 1

Choice 2

Choice 3

Choice 4

Choice 5

Sample Code

CREATE SPFILE FROM PFILE='/u01/software/oracle/dbs/init.ora';


What is the name of the spfile created when you run the above command?

Choice 1

Choice 2

Choice 3

Choice 4

Choice 5

Which package do you use to prepare the library cache of a Real Application Cluster to
improve performance after a failover?
Choice 1

$ORACLE_HOME/bin/xfr_cache

Choice 2

DBMS_CACHE_XFR

Choice 3

DBMS_LIBCACHE

Choice 4

$ORACLE_HOME/plsql/xfr_warm_cache.sql

Choice 5

DBMS_XFRCACHE

Scenario

One of your database developers is concerned about optimizer execution plan changes
when other changes are made to the database.
Based on the scenario above, how do you prevent this from occurring?

Choice 1

Set the optimizer mode to ALL_ROWS.

Choice 2

Follow ANSI SQL standards only.

Choice 3

Set the optimizer mode to RULE.

Choice 4

Use optimizer plan stability.

Choice 5

Make no structural changes to the database.

Which FREQ value results in an error when used in scheduler?


Choice 1

HOURLY

Choice 2

DAILY

Choice 3

WEEKLY

Choice 4

QUARTERLY

Choice 5

YEARLY

Which view do you access to find out if sessions have failed over?
Choice 1

V$SYSSTAT

Choice 2

V$SESSION

Choice 3

V$SESSION_EVENT

Choice 4

V$SESSION_CONNECT_INFO

Choice 5

V$SYSTEM_EVENT

Scenario

You are designing the PCTFREE and PCTUSED parameters for a read-only table.
Based on the scenario above, which settings do you use for this table?

Choice 1

PCTFREE=10%, PCTUSED=90%

Choice 2

PCTFREE=20%, PCTUSED=40%

Choice 3

PCTFREE=35%, PCTUSED=35%

Choice 4

PCTFREE=40%, PCTUSED=20%

Choice 5

PCTFREE=50%, PCTUSED=50%

Scenario

In a DSS environment, the SALES data is kept for a rolling window of the past two years.
Based on the scenario above, which partitioning type do you use for this data?

Choice 1

List

Choice 2

Equi

Choice 3

Range

Choice 4

Join

Choice 5

Hash

Which command do you execute to start Database Control?


Choice 1

$ORACLE_HOME/bin>./emctl start dbctl

Choice 2

$ORACLE_HOME/bin>./emctl start dbcontrol

Choice 3

$ORACLE_HOME/bin>./emctl start dbconsole

Choice 4

$ORACLE_HOME/bin>./emctl init dbcontrol

Choice 5

$ORACLE_HOME/bin>./emctl init dbconsole

Which procedure do you use to analyze a single SQL statement?


Choice 1

DBMS_ADVISOR.CREATE_SQLWKLD

Choice 2

DBMS_ADVISOR.ADD_SQLWKLD_REF

Choice 3

DBMS_ADVISOR.ANALYZE_SQLWKLD

Choice 4

DBMS_ADVISOR.CREATE_TASK

Choice 5

DBMS_ADVISOR.QUICK_TUNE

Sample Code
Given the initialization parameter setting above, what is the maximum size in bytes a
VARCHAR2 column may have?
Choice 1

2048

Choice 2

4096

Choice 3

8192

Choice 4

16384

Choice 5

32767

Which SQL function do you use to support NLS parameters?


Choice 1

CEIL

Choice 2

DECODE

Choice 3

UPPER

Choice 4

TO_CHAR

Choice 5

GETDATE

Scenario

You have performed a DBPITR but are not satisfied with the results.
Based on the scenario above, to return to the prior incarnation of the database, you use
the "Reset database to incarnation" command in Recovery Manager to:

Choice 1

perform a resynchronization of online redo logs to a given archive log system change
number (SCN).

Choice 2

restore the database to a save point as defined by the version control number or
incarnation number of the database.

Choice 3

undo the effect of a resetlogs operation by restoring backups of a prior incarnation of the
database.

Choice 4

restore the database to the initial state in which it was found when first backing it up via

Recovery Manager.
Choice 5

perform database duplication when using Recovery Manager with a Recovery Catalog and
an auxiliary database instance.

With respect to UNDO tablespaces, when a database is created without an explicit undo
tablespace, the database:

Scenario

Choice 1

starts normally and throws exceptions when transactions are attempted.

Choice 2

does not start and throws an error message indicating it needs an undo tablespace.

Choice 3

starts normally but writes "undo data" to the automatically created SYS_UNDOTBS
tablespace.

Choice 4

starts partially, waiting for the DBA to assign an "undo tablespace" and then resumes
normal operations.

Choice 5

starts in a restricted mode and does not allow any operations that require "undo".

Several attempts to start the Connection Manager have failed.


Based on the scenario above, you determine a possible cause of this problem is:

oice 1

cman.ora does not exist.

oice 2

tnsnames.ora contains an invalid entry.

oice 3

the host's network is not configured for Connection Manager.

oice 4

the Oracle instance is down.

Scenario

Several attempts to start the Connection Manager have failed.


Based on the scenario above, you determine a possible cause of this problem is:

oice 1

cman.ora does not exist.

oice 2

tnsnames.ora contains an invalid entry.

oice 3

the host's network is not configured for Connection Manager.

oice 4

the Oracle instance is down.

nario

You conduct a full database recovery, but notice that performing the recovery process does not apply a few of the recent archive logs. There is no error reporte
Based on the scenario above, why are the recent archive logs not being applied with no error reported?

ice 1
Any archived logs that are not picked up by the recovery process need to be manually applied.

ice 2
The recovery process has detected a corruption in the redo logs and stops recovery at the point of corruption.

You might also like