nerdexam
Oracle

1Z0-067 · Question #73

Your multitenant container database (CDB) contains multiple pluggable databases (PDBs). You execute the command to create a common user: SQL> CREATE USER c##a_admin IDENTIFIED BY password DEFAULT…

The correct answer is B. The command succeeds only if all the PDBs have the users and temp tablespaces. When creating a common user, any tablespace, tablespace group or profile specified in the CREATE command must exist in every PDB. If none of these are specified, the default TABLESPACE, TEMPORARY TABLESPACE, and PROFILE for the PDB will be used.

New Features for Database Infrastructure and Architecture

Question

Your multitenant container database (CDB) contains multiple pluggable databases (PDBs). You execute the command to create a common user:

SQL> CREATE USER c##a_admin IDENTIFIED BY password DEFAULT TABLESPACE users QUOTA I00M ON users TEMPORARY TABLESPACE temp; Which statement is true about the execution of the command?

Options

  • AThe common user is created in the CDB and all the PDBs, and uses the users and temp
  • BThe command succeeds only if all the PDBs have the users and temp tablespaces.
  • CThe command gives an error because the container=all clause is missing.
  • DThe command succeeds and sets the default permanent tablespace of a PDB as the default

How the community answered

(29 responses)
  • A
    14% (4)
  • B
    76% (22)
  • C
    7% (2)
  • D
    3% (1)

Explanation

When creating a common user, any tablespace, tablespace group or profile specified in the CREATE command must exist in every PDB. If none of these are specified, the default TABLESPACE, TEMPORARY TABLESPACE, and PROFILE for the PDB will be used.

Topics

#common user creation#CDB tablespace#multitenant user management#CREATE USER

Community Discussion

No community discussion yet for this question.

Full 1Z0-067 Practice