OCP-052考試題庫彙總(53)-CUUG內部解答版

USER1 grants SELECT, INSERT, and UPDATE privileges on USER1.EMP to USER2.

Sys executes this command:

SQL> REVOKE UPDATE ON user1.emp FROM user1;

What will be the outcome?

A)It will fail because USER1 is the owner of USER1.EMP.

B)It will succeed but neither USER1 nor USER2 will be able to perform SELECT, INSERT, or UPDATE on USER1.EMP.

C)It will succeed and only USER1 will be unable to perform SELECT, INSERT, or UPDATE on USER1.EMP.

D)It will succeed and neither USER1 nor USER2 will be able to perform INSERT or UPDATE on USER1.EMP, but both will be able to query USER1.EMP.

E)It will succeed and only USER2 will be unable to perform SELECT, INSERT, or UPDATE on USER1.EMP.

Answer: A

趙:SYS 不能收回對象屬主的權限。

考點:系統權限和對象權限的級聯授予和級聯收回。對象權限可以級聯收回,系統權限不能級聯收回。

系統權限的級聯授予 WITH ADMIN OPTION

對象權限的級聯授予 WITH GRANT OPTION

系統權限和對象的級聯收回

(1) 系統權限: A 賦予一個系統權限給 B,B 再授予 C.然後 A 將該權限從 B 回收. 此後,C 仍然有該權限.

(2) 對象權限: A 賦予一個對象權限給 B,B 再授予 C.然後 A 將該權限從 B 回收. 此後,C 也失去了該權限.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章