单选题

Choose the best answer. Examine this configuration: 

1. CDB1 is an Oracle Database 12c Release 2 container database (CDB). 

2. PDB1 and PDB2 are two pluggable databases (PDBs) in CDB1. 

After successfully performing all the preupgrade tasks, you execute these commands from the Oracle Database 18c environment: 

$ export ORACLE_SID=cdb1 

$ sqlplus / as sysdba 

SQL> STARTUP UPGRADE; SQL> SHOW pdbs 

CON_ID CON_NAME OPEN MODE RESTRICTED

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

2 PDB$SEED MIGRATE YES 

3 PDB1 MOUNTED YES 

4 PDB2 MOUNTED YES

SQL> ALTER PLUGGABLE DATABASE pdb1 OPEN UPGRADE; 

Pluggable database altered. 

SQL> exit 

$ $ORACLE_HOME/perl/bin/perl catctl.pl -C 'PDB2' 

What is the outcome?

A、

It fails because PDB$SEED is in MIGRATE state.

B、

Only CDB$ROOT, PDB$SEED, and PDB1 are upgraded.

C、

Only CDB$ROOT, PDB$SEED, and PDB2 are upgraded.

D、

It fails because PDB2 is not in UPGRADE state.

E、

CDB$ROOT, PDB$SEED, PDB1, and PDB2 are upgraded.

F、

Only CDB$ROOT and PDB$SEED are upgraded.

下载APP答题
由4l***v3提供 分享 举报 纠错

相关试题

单选题 Choose the best answer. Which should be tuned first when doing a performance tuning exercise for an Oracle Database environment?

A、

log writer performance

B、

database writer performance

C、

general operating system health

D、

SQL statements

E、

database instance memory management and sizes

单选题 How do you configure a CDB for local undo mode?

A、

Open the CDB instance in restricted mode. In CDB$ROOT,drop the UNDO tablespace Execute ALTER DATABASE LOCAL UNDO ON in each PDB.and then restart the CDB instance

B、

Open the CDB instance in restricted mode.ln CDB$ROOT,execute ALTER DATABASE LOCAL UNDO ON. create an UNDO tablespace in each PDB,and then restart the CDB instance.

C、

Open the CDB instance in upgrade mode. In CDB$ROOT,execute ALTER DATABASE LOCAL UNDO ON, and then restart the CDB instance

D、

Open the CDB in read-only mode.In CDB$ROOT, execute ALTER DATABASE LOCAL UNDO ON and then change the CDB to read/write mode

E、

Open the CDB instance in upgrade mode.In each PDB, execute ALTER DATABASE LOCAL UNDO ON, create an UNDO tablespace, and then restart the CDB instance.

单选题 Choose the best answer. You want to transport the UNIVERSITY

tablespace from one database to another. The UNIVERSITY tablespace is

currently open read/write. The source and destination platforms have the

same endian Examine this list of steps:

1. Make the UNIVERSITY tablespace read-only on the source

2. Export the UNIVERSITY tablespace metadata using EXPDP

3. Create a cross-platform backup set from the UNIVERSITY source system, using an RMAN command that includes the DATAPUMP clause.

4. Copy the cross-platform backup sets to the destination system

5.Copy the Data Pump dump set from the source to the destination system

6.Restore the cross-platform backup set on the destination system using an RMAN command that includes the DATAPUMP clause

7. Import the UNIVERSITY tablespace metadata using IMPDP

8.Make the UNIVERSITY tablespace read/write on the destination system

Which are the minimum number of steps required, in the correct order, to transport the UNIVERSITY tablespace?

A、

3,4,6

B、

2,3,4,5,6,7

C、

1,3,4,6,8

D、

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

单选题 A user complains about poor database performance You want to verify if the user's session has waited for certain types of l/O activity Which view displays all waits waited on by a session at least once?

A、

V$SESSTAT

B、

V$SESSION_WAIT

C、

V$SESSION_EVENT

D、

V$SESSION_WAIT_CLASS

E、

V$SESSION

单选题 Choose the best answer.

Examine this configuration:

1. CDB1 is a container database.

2. APP_ROOT is an application root in CDB1.

3. APP_PDB1 is an application PDB in APP_ROOT.

4. FLASHBACK DATABASE is ON.

You execute these commands:

$$ sqlplus sys/orac1e_4U@localhost:1521/cdb1

SQL> SELECT current_scn FROM v$$database;

CURRENT_SCN

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

2074756

SQL> CREATE TABLE cdb1_tab(c1 NUMBER) ;

Table created.

SQL> ALTER SESSION SET CONTAINER=app_root;

Session altered.

SQL> CREATE TABLE app_root_tab (c1 NUMBER) ;

Table created.

SQL> ALTER SESSION SET CONTAINER=app_pdb1;

Session altered.

SQL> CREATE TABLE app_pdb1_tab (c1 NUMBER) ;

Table created.

SQL> conn / as sysdba

Connected.

SQL> ALTER PLUGGABLE DATABASE app_root CLOSE;

Pluggable database altered.

SQL> FLASHBACK PLUGGABLE DATABASE app_root TO SCN 2074756;

Flashback complete.

Which table or set of tables will exist after the Flashback operation has

completed?

A、

CDB1_TAB, APP_ROOT_TAB, and APP_PDB1_TAB

B、

CDB1_TAB and APP_PDB1_TAB

C、

CDB1_TAB and APP_ROOT_TAB

D、

CDB1_TAB only

E、

none of the tables, because all three tables will be dropped

单选题 A schema owner truncated a table in error and must recover the data.

Which Oracle Flashback feature could be used to recover the data?

A、

FLASHBACK TRANSACTION

B、

FLASHBACK VERSION QUERY

C、

FLASHBACK DATA ARCHIVE

D、

FLASHBACK TABLE

E、

FLASHBACK DATABASE

单选题 Choose the best answer. Which statement correctly describes the SQL profiling performed by the SQL Tuning Advisor?

A、

It is a set of recommendations by the optimizer to change the access methods used.

B、

It is auxiliary information collected by the optimizer for a SQL statement to eliminate estimation error.

C、

It is a set of recommendations by the optimizer to restructure a SQL statement to avoid suboptimal execution plans.

D、

It is auxiliary information collected by the optimizer for a SQL statement to help use better joins orders.

E、

It is a set of recommendations by the optimizer to create new indexes.

单选题 Choose the best answer. Examine this configuration:

1. CDB1 is a container database running in ARCHIVELOG mode.

2. Multiple uncommitted transactions are running in CDB1 .

3. Redo log groups 1 and 2 are INACTIVE.

4. Redo log group 3 is the CURRENT group. All members of redo log group 3

are lost before it is archived.

Examine these possible steps:

1. SHUTDOWN ABORT

2. STARTUP NOMOUNT

3. STARTUP MOUNT

4. ALTER DATABASE MOUNT

5. RESTORE DATABASE

6. RECOVER DATABASE NOREDO

7. RECOVER DATABASE UNTIL AVAILABLE

8. RESTORE ARCHIVELOG ALL

9. ALTER DATABASE OPEN

10. ALTER DATABASE OPEN RESETLOGS

Choose the minimum required steps in the correct order to recover the

database.

A、

1,3,5, 6, 9

B、

1,3,5, 7, 10

C、

1,2, 5, 7,4, 10

D、

1,3, 5, 6, 10

E、

1,3,5,8, 6, 10