nerdexam
Oracle

1Z0-063 · Question #147

You are administering a multitenant container database (CDB) that contains multiple pluggable databases (PDBs). You are connected to cdb$root as the sys user. You execute the commands: SQL> CREATE…

The correct answer is C. It is granted to the c##admin user in all PDBs and can be granted only to a local user in a PDB. See the full explanation below for the reasoning.

Question

You are administering a multitenant container database (CDB) that contains multiple pluggable databases (PDBs). You are connected to cdb$root as the sys user. You execute the 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?

Options

  • AIt is created only in cdb$root and cannot be granted to the c##admin user with the container=all
  • BIt is granted to the c##admin user only in the CDB.
  • CIt is granted to the c##admin user in all PDBs and can be granted only to a local user in a PDB.
  • DIt is granted to the c##admin user in all PDBs and can be granted object and system privileges

How the community answered

(38 responses)
  • A
    13% (5)
  • B
    8% (3)
  • C
    76% (29)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-063 Practice