【第12题】【063题库】2019年OCP12c认证1Z0-063考试题库大全
最新学讯:近期OCP认证正在报名中,因考试人员较多请尽快报名获取最近考试时间,报名费用请联系在线老师,甲骨文官方认证,报名从速!
我要咨询OCP 12c考试考3科,分别是071、062、063,之前071和062都已经做过解析,这里开始063题库解析,希望对考063的同学有帮助,顺利通过063考试。
OCP解析公开课时间:【每周五晚8点】
OCP解析公开课地址:http://ke.qq.com/course/326223
OCP解析群资料分享:1015267481 验证:ocp
-------------------------------------------------------
12题、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 100M ON users
TEMPORARY TABLESPACE temp;
Which statement is true about the execution of the command?
A. The common user is created in the CDB and all the PDBs, and uses the users and temp tablespaces of the CDB to store schema objects.
B. The command succeeds only if all the PDBs have the users and temp tablespaces.
C. The command gives an error because the container=all clause is missing.
D. The command succeeds and sets the default permanent tablespace of a PDB as the default tablespace for the c##a_admin user if the users tabiespace does not exist in that PDB.
Answer: B
(经过实验发现如果 pdb 是打开的,没有对应的表空间,则创建用户会失败,而且不同 pdb 的公用用户会使用 pdb 中对应的表空间,不会用 cdb 中对应的表空间,验证方式:在 pdb 中用该用户创建表,插入数据,查看 cdb_extents会看到该表所在的数据文件位置;如果 pdb 没有打开,则不会在该 pdb 上创建公用用户,只会在打开的 pdb 上创建公用用户,这一点比较奇怪,一定要注意。)