OCP 062中文考试题库(cuug内部资料)第3题
本套题库是OCP考试中的062(中文版)试题,由CUUG整理,如有报考OCP认证意向,可以联系cuug咨询老师。
3、请选择最佳答案
查看以下步骤:
connect / as sysdba
SHOW PDBS;
CON_ID CON_NAME OPEN_MODE RESTRICTED
------------ --------------- ------------------ ---------------------
2 PDB$SEED READ ONLY NO
3 SALESPDB READ WRITE NO
CREATE DIRECTORY dumpdir AS ' /u01/app/';
Directory created.
GRANT READ, WRITE ON DIRECTORY dumpdir TO PUBLIC;
Grant succeeded.
conn sys/sys@salespdb as sysdba
Connected.
CREATE USER TEST IDENTIFIED BY Test;
User created.
GRANT CONNECT, RESOURCE, DATAPUMP_EXP_FULL_DATABASE, UNLIMITED TABLESPACE TO test;
Grant succeeded.
现在查看以下命令:
$ expdp test/Test@salespdb DIRECTORY=dumpdir DUMPFILE=test1.dmp SCHEMAS=test
关于执行此命令, 哪一项是正确的?
A)它引发错误, 因为用户缺少CREATE JOB权限。
B)它引发错误, 因为TEST用户无法访问DUMPDIR目录。
C)它引发错误, 因为TEST方案不包含任何对象。
D)它执行TEST方案的导出。