ocp考试资料群:569933648 验证码:ocp ocp 12c 19c考试题库解析与资料群:钉钉群号:35277291
全部博文(486)
分类: oracle
2019-09-25 09:25:03
examine these facts about a databases:
1.users is the database default tablespace.
2.user1,user2,and user3 have the create session privilege
3.they also have unlimited quota on the default tablespace users.
4.they have no other provileges.
examine these commands:
sql>conn / as sysdba
connected.
sql>grant create table to user1 with admin option
grant succeeded
sql>conn user1/oracle_4u
connected.
sql>grant create table to user2;
grant succeeded.
sql>grant create table to user3 with admin option;
grant succeeded.
which two are true?
a)if sys revokes create table from user1,it is not revoked from user2 and user3
b)any user with create table with admin option can revoke create table from user1
c)if sys revokes create table from user1,it is revoked from user2 but not from user3
d)only sys and user1 can revoke create table from user3
e)only sys can revoke create table from user1.
answer: ab
赵:注意与上题的区别是,中间切换到了 user1 对 user2 和 user3 进行的授权,而不是 sys 直接授权的。
经测试,sys 和 user1 可以收回 user3 的 create table 权限,但 user2 不能收回 user3 的建表权。
user3 可以收回 user1 和 user2 的 create table 权限。此题 d 选项虽是对的,但是其中用了 only,没有 b 选项好。