Upgrade to Oracle Database 12c — Question 11

You are connected with SQL*Plus to a multitenant container database (CDB) with SYSDBA privileges and execute these sequence of statements:
SQL> CREATE PLUGGABLE DATABASE NEW_PDB ADMIN USER PDB_ADMIN IDENTIFIED BY SECRET;
SQL> ALTER PLUGGABLE DATABASE NEW_PDB OPEN;
SQL> CONNECT PDB_ADMIN/SCRET@//LOCALHOST/NEW_PDB
What is the outcome of the CONNECT statement?

Answer options

Correct answer: B

Explanation

The correct answer is B because the PDB_ADMIN user does not have the CREATE SESSION privilege, which is necessary for logging in. Options A, C, and D are incorrect as they incorrectly state that the user was granted roles or privileges that would allow a successful connection, which is not the case here.