Your container database, CDB1, is in local undo mode.
You successfully execute this command while connected to CDB1:
CREATE PLUGGABLE DATABASE pdb1
ADMIN USER pdb1_admin IDENTIFIED BY pdb123 ROLES= (CONNECT)
CREATE_FILE_DEST='/u01/app/oracle/oradata/cdb1/pdb1' ;
Which three are true about PDB1?
A container database, CDB1, contains a pluggable database PDB1.
Another container database is called CDB2.
You want to relocate PDB1 from CDB1 to CDB2 with near-zero down time.
Which three are required?
CDB1 must be in archivelog mode.
CDB2 must be in shared UNDO mode only.
CDB1 and CDB2 must be in shared UNDO mode.
CDB2 must be in archivelog mode.
CDB1 and CDB2 must both be in local UNDO mode.
You have the required privilege to clone HR_PDB1 to container database CDB2, which does not contain HR_ROOT.
Which two are always true? (Choose two.)
CDB1 and CDB2 must be in shared undo mode.
A common user must exist in CDB2 with the CREATE PLUGGABLE DATABASE privilege.
All transactions in HR_PDB1 of CDB1 must commit before the cloning process starts.
Cloning HR_ROOT automatically clones HR_PDB1.
The HR_PDB1clone created in CDB2 will be in mount state when cloning ends.
And PDB2. The LOCAL_UNDO_ENABLED database property is set to FALSE in
The CDB. Data file 24 of PDB2 was deleted and you need to restore and
Recover it.
The only RMAN backup that exists was created with the BACKUP
DATABASE command while connected to CDB$ROOT. Which three are true?
(Choose three.)
1) CDB1 and CDB2 are two container databases.
2) PDB1 is a pluggable database in CDB1.
3) PDB1_C1_SRV is a service for PDB1.
4) CDB1_LINK is a database link in CDB2 referring to PDB1.
5) CDB2 is also an entry in tnsnames.ora pointing to the CDB2 database
Default service.
You execute these commands successfully:
$ sqlplus sys/oracle_4U@cdb2 as sysdba
SQL> CREATE PLUGGABLE DATABASE PDB1
FROM PDB1@CDB1_LINK -
SERVICE_NAME_CONVERT=('PDB1_C1_SRV','PDB1_C2_SRV');
Which two are true? (Choose two.)
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 DATABSE
6) RECOVER DATABASE NOREDO
7) RECOVER DATABASE UNTIL AVAILABLE
8) RESTORE ARCHIVELOG ALL
9) ALTER DATABSE OPEN
10)ALTER DATABASE OPEB RESETLOGS
Choose the minimum required steps in the correct order to recover the
Database.
1, 3, 5, 8, 6, 10
1, 3, 5, 6, 10
1, 3, 5, 7, 10
1, 2, 5, 7, 4, 10
Media management interface (MMI).
Which two are true about the use of
The RMAN MMI?
You can use it to create proxy copies for database files.
You can use it to create proxy copies for entire file systems.
You can use it to create image copies for entire file systems.
You can use it to create image copies for database files.
Explicitly?
Which three are true about unified auditing in full mode?
The unified audit trail is written to a read-only table.
The unified audit trail is written to a read-only external file.
Audit records are created for COMMIT, ROLLBACK, and SAVEPOINT statements.
Audit records are created for SYS.
RMAN> DUPLICATE TARGET DATABASE
TO cdb
PLUGGABLE DATABASE pdbl,pdb5;
Which two statements are true about the DUPLICATE command?
Recovery catalog?
Use Flashback Database. Which two features or parameters manage space
Availability in the fast recovery area?
1CDB1 is a container database.
2 DEFAULT_SHARING is METADATA.
3APP_ROOT is an application root contained in CDB1.
4APP_PDB1 is an application PDB contained in APP_ROOT.
5COMPANYAPP is an application contained in APP_ROOT.
6EMP is a common table created in APP_ROOT and all its application PDBs,
Created when version 1.0 of COMPANYAPP was installed.
You execute these commands:
$ sqlplus sys/orac1e@localhost:1521/cdb1 as sysdba
SQL> ALTER SYSTEM SET DEFAULT_SHARING=DATA;
System altered.
SQL> ALTER SESSION SET CONTAINER=app_root;
Session altered.
SQL> ALTER PLUGGABLE DATABASE APPLICATION companyapp BEGIN
UPGRADE '1.0' TO '2.0';
Pluggable database altered.
SQL> ALTER TABLE emp ADD (sal NUMBER NOT NULL) ;
Table altered.
SQL> ALTER PLUGGABLE DATABASE APPLICATION companyapp END
UPGRADE TO '2.0';
Pluggable database altered.
SQL> ALTER SESSION SET CONTAINER=app_pdb1;
Session altered.
SQL> DESC emp;
Name
Null?
Type
--------------------------------------------------------------
ENO
NUMBER
ENAME
VARCHAR2 (20)
SQL> SELECT * FROM emp;
ENO
ENAME
---------------------------------
100
Alan
200
Ben
SQL> ALTER PLUGGABLE DATABASE APPLICATION companyapp SYNC;
What will be the outcome and why?
SAL will be added to APP_PDB1.EMP, with 0 in columns of existing rows.
SAL will be added to APP_PDB1.EMP, with NULLs in columns of existing rows.
It will return an error because the SYNC operation is not allowed when
Constraints are added to common objects.
It will return an error because EMP is not empty in APP_ROOT.
Current release of an Oracle multitenant database: $ sqlplus system/oracle .
SQL> col name for a10
SQL> select name, open_mode from v$pdbs;
NAME OPEN_MODE
---------------------------------------
PDB$SEED READ ONLY
PDB1 READ WRITE
PDB2 MOUNTED
SQL> exit
Next you execute: $ expdp system/oracle full=y What is the outcome?
It fails because Data Pump cannot be used while connected to the root container.
It creates a full export of the root and pdb1.
It creates a full export of the root and all pdbs
.
It creates a full export of the root container and all open pdbs.
It creates a full export of only the root container
COPY command is used to create a backup?
Backups can be taken only if a fast recovery area is configured.
Backups can be written only to disk.
Backups can be taken only for data files.
Binary compression cannot be applied to the backup.
Recovery Manager (RMAN).
to allow database duplication without a connection to the target instance.
to store backup metadata that would cause the controlfile to become too large.
to store backups that would cause the controlfile to become too large.
to report on the database schema at an earlier point in time.
to allow database duplication without a connection to the auxiliary instance.
我来回答: