Oracle Database Administration II — Question 134

Examine this configuration:
1. CDB1 is a container database.
2. COMMON_USER_PREFIX is set to an empty string.
3. PDB1 is a pluggable database in CDB1.
4. APP1_ROOT is an application container in CDB1.
5. APP1_PDB1 is an application PDB in APP1_ROOT.
You execute these commands:
$ sqlplus sys/oracle@localhost:1521/cdb1 as sysdba
SQL> CREATE ROLE role1 CONTAINER=CURRENT;
What is true?

Answer options

Correct answer: A

Explanation

The correct answer is A because local roles cannot be created in CDB$ROOT, which is a limitation in Oracle databases. The other options incorrectly state where the role would be created or the conditions under which it can be created, leading to misunderstandings about the role's scope and restrictions in container databases.