QuestionQ102

VerifiedManage Multitenant Architecture

You administer a multitenant container database (CDB) containing multiple pluggable databases (PDBs), and you are connected to cdb$root as the sys user.

You execute these commands:

SQL> CREATE USER C##ADMIN IDENTIFIED BY orcll23;  
SQL> CREATE ROLE C##CONNECT;  
SQL> GRANT CREATE SESSION, CREATE TABLE, SELECT ANY TABLE TO C##CONNECT;  
SQL> GRANT C##CONNECT to C##ADMIN CONTAINER=ALL;  

Which statement is true about the c##connect role?

Explanation

A role created in the CDB root with a C## name is a common role. Granting that common role to the common user with CONTAINER=ALL makes the role available to the user in all existing and future PDBs. A common role may also receive locally granted system or object privileges in an individual PDB; those local privileges apply only within that PDB.

Learn more

Community Discussion

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