Oracle Database Administration II — Question 164

Examine this configuration:

1. CDB1 is a container database.
2. APP1_ROOT is an application container contained in CDB1.
3. APP1_ROOT$SEED is the application seed contained in APP1_ROOT and synchronized with APP1_ROOT.
4. APP1_PDB1 and APP1_PDB2 are application PDBs contained in APP1_ROOT.
5. APP1_USER_APP is an application installed in APP1_ROOT at version 1.0.
6. USER1 is a common user in APP1_ROOT and all its application PDBs, created when version 1.0 of APP1_USER_APP was installed.

You execute these commands:

$ sqlplus sys/oracle@localhost:1521/cdb1 as sysdba

SQL> ALTER SESSION SET CONTAINER=app1_root;
Session altered.

SQL> ALTER PLUGGABLE DATABASE APPLICATION app1_user1_app BEGIN UPGRADE '1.0' TO '2.0';
Pluggable database altered.

SQL> GRANT CREATE SESSION TO USER1;
Grant succeeded.

SQL> ALTER PLUGGABLE DATABASE APPLICATION app1_user1_app END UPGRADE TO '2.0';
Pluggable database altered.

SQL> ALTER SESSION SET CONTAINER=app1_pdb1;
Session altered.

SQL> ALTER PLUGGABLE DATABASE APPLICATION app1_userl_app SYNC;
Pluggable database altered.

Which two are true? (Choose two.)

Answer options

Correct answer: A, F

Explanation

The correct answer is A and F. USER1 is a common user that can connect to all application PDBs under APP1_ROOT, including APP1_PDB1. F is also correct because USER1 is defined in APP1_PDB2 as a common user. The other options are incorrect as they either limit USER1's access or incorrectly state USER1's existence.