Oracle Database 12c: Advanced Administration — Question 14

You are administering a multitenant container database (CDB) CDB1 with two pluggable databases (PDBs), PDB1 and PDB2. You execute the following commands on CBD$ROOT as the SYS user:
SQL> CREATE USER c##scott IDENTIFIED BY scottorcll;
SQL> GRANT CREATE SESSION TO c##scott user?
Which statement is true about the c##scott user?

Answer options

Correct answer: C

Explanation

The correct answer is C because the user c##scott is created in the CDB$ROOT and receives privileges only in the PDBs that are currently open. Options A and B are incorrect as they suggest the user has privileges in all PDBs, which is not true. Option D is also incorrect because it implies the user is limited to CDB$ROOT only, disregarding the possibility of being granted privileges in an open PDB.