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_user1_app SYNC;
Pluggable database altered.
Which two are true?
USER1 is defined in APP1_PDB2.
USER1 can connect only to APP1_PDB1
USER1 can connect only to APP1_ROOT.
我来回答: