【2019年8月】OCP 071认证考试最新版本的考试原题-第29题

choose two.

·MANAGER is an existing role with no privileges or roles.

·EMP is an existing role containing the CREATE TABLE privilege.

·EMPLOYEES is an existing table in the HR schema.

Which two commands execute successfully?

A) GRANT CREATE SEQUENCE TO manager, emp;

B) GRANT SELECT, INSERT ON hr.employees TO manager WITH GRANT OPTION:

C) GRANT CREATE TABLE, emp TO manager;

D) GRANT CREATE TABLE, SELECT ON hr. employees TO manager ;

E) GRANT CREATE ANY SESSION, CREATE ANY TABLE TO manager;

Answer:AC

(解析:

BAnswer:报错:ORA-01926: cannot GRANT to a role WITH GRANT OPTION

DAnswer::不能同时授权系统权限和对象权限给角色

EAnswer::没有 create any session 的权限

)

上一篇:SQL训练营任务学习打卡-task-02


下一篇:安装TensorFlow中遇到 Cannot uninstall 'wrapt'