QuestionQ5

VerifiedManage Multitenant Architecture

You administer a multitenant container database (CDB) cdb1 that contains multiple pluggable databases (PDBs). As the sys user in cdb$root, you run these commands:

SQL> CREATE USER C##ADMIN IDENTIFIED BY orc1123;  
SQL> GRANT CREATE SESSION to C##ADMIN CONTAINER=ALL;  
SQL> GRANT CREATE USER TO C##ADMIN CONTAINER=ALL;  

Which two statements are true about the c##admin user created in all PDBs?

Choose two
Explanation

A CDB common user that has CREATE USER granted with CONTAINER=ALL can create local users when connected to each PDB. Creating a CDB common user requires connection to CDB$ROOT and a commonly granted CREATE USER privilege. Common-user schemas can differ across containers; local users cannot be created in the root; and a common user can receive a role locally in a PDB.

Learn more

Community Discussion

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