QuestionQ22

VerifiedManage Multitenant Architecture

You are administering a multitenant container database (CDB) CDB1 that has two pluggable databases (PDBs), PDB1 and PDB2. On CBD$ROOT, as the SYS user, you run these commands:

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?

Explanation

A common user has the same identity in the CDB root and every existing and future PDB. A privilege granted locally applies only in the container where it is granted; when granted from the root without CONTAINER=ALL, CREATE SESSION applies only in CDB$ROOT. A common grant would require CONTAINER=ALL.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!