Oracle 11g OCP认证052考试题库(58)-CUUG内部学员版
最新学讯:近期OCP认证正在报名中,因考试人员较多请尽快报名获取最近考试时间,报名费用请联系在线老师,甲骨文官方认证,报名从速!
我要咨询11g版本的OCP考试持续了好几年,一直比较稳定,直到2018年4月份左右,052考试不断的出现新的考题,虽然我们收集整理了不少,但新题还是难避免,这样出现一部分新题,我们收集一部分,持续了不短的时间。
对于这些052考试新题,不仅老师给出了答案,学员也积极的找资料、查文档,形成了一份内部综合版本,通过分数非常高,一起渡过这次052考试的难关。
-----------------------------------------------
052考试题-58(OCP考试题库讨论群:101-5267-481 验证:ocp)
In one of your databases:
1.USER1 and USER2 have no system privileges.
2.ROLE1 only has these privileges:
?CREATE SESSION
?CREATE TABLE
?CREATE VIEW
Examine these commands:
SQL> conn / as sysDBA
Connected.
SQL> GRANT create table, role1 TO user1 WITH ADMIN OPTION;
Grant succeeded.
SQL> conn user1/Oracle_4U
Connected.
SQL> GRANT role1 TO user2;
Grant succeeded.
Which command would you execute and as which user, to revoke the create table privilege from USER2?
A)REVOKE CREATE TABLE FROM user2 as SYS
B)REVOKE CREATE TABLE FROM role1 as SYS
C)REVOKE CREATE TABLE FROM role1 as USER1
D)REVOKE CREATE TABLE FROM user1 as SYS
Answer: B
只有 sys 用户才能够从 role 中 revoke 权限,而 user1 只能把 role 授权给其它用户,或者从其它用户回收 role。