QUESTION 21
View the Exhibit and examine the privileges granted to the SL_REP user.

The EMP table is owned by the SCOTT user. The SL_REP user executes the following command:
SQL> GRANT SELECT ON scott.emp TO hr;
Which statement describes the outcome of the command?
A. The command executes successfully
B. The command produces an error because the EMP table is owned by SCOTT
C. The command produces an error because SL_REP has the GRANT ANY OBJECT PRIVILEGE without ADMIN_OPTION
D. The command produces an error because SL_REP does not have the SELECT privilege with GRANT_OPTION on the EMP table
Correct Answer: A
实际测试:
SQL> conn / as sysdba
已连接。
SQL> create user sl_rep identified by abcd ;
用户已创建。
SQL> grant connect,resource to sl_rep;
授权成功。
SQL> grant grant any object privilege to sl_rep;
授权成功。
SQL> conn sl_rep/abcd
已连接。
SQL> grant select on scott.emp to hr;
授权成功。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/81227/viewspace-2097677/
,如需转载,请注明出处,否则将追究法律责任。