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

2019-11-18  本文已影响0人  oraclewdp

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 的权限

)

上一篇下一篇

猜你喜欢

热点阅读