1Z0-047

单选题The user SCOTT who is the owner of ORDERS and ORDERJTEMS tables issues the following  GRANT command:  GRANT ALL   ON orders, order_items   TO PUBLIC;   What correction needs to be done to the above statement? ()APUBLIC should be replaced with specific 

题目
单选题
The user SCOTT who is the owner of ORDERS and ORDERJTEMS tables issues the following  GRANT command:  GRANT ALL   ON orders, order_items   TO PUBLIC;   What correction needs to be done to the above statement? ()
A

 PUBLIC should be replaced with specific usernames.

B

 ALL should be replaced with a list of specific privileges.

C

 WITH GRANT OPTION should be added to the statement.

D

 Separate GRANT statements are required for ORDERS and ORDERJTEMS tables.

如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

The user Sue issues this SQL statement:GRANT SELECT ON sue. EMP TO alice WITH GRANT OPTION; The user Alice issues this SQL statement:GRANT SELECT ON sue. EMP TO reena WITH GRANT OPTION; The user Reena issues this SQL statement:GRANT SELECT ON sue. EMP TO timber;The user Sue issues this SQL statement:REVOKE select on sue. EMP FROM alice;For which users does the revoke command revoke SELECT privileges on the SUE.EMP table?()

A. Alice only

B. Alice and Reena

C. Alice, Reena, and Timber

D. Sue, Alice, Reena, and Timber


参考答案:C

第2题:

Which of the following describes the BEST course of action when a user continuously calls atechnician with computer issues instead of the helpdesk?()

A. Put all other work orders on hold and assist the user with all their computer issues.

B. Have another technician take over support calls for this user.

C. Explain that the user needs to fill out a work order for the computer problems.

D. Ask the user to call another technician for more in-depth assistance.


参考答案:C

第3题:

The user Alice wants to grant all users query privileges on her DEPT table. Which SQL statement accomplishes this? ()

A. GRANT select ON dept TO ALL_ USER;

B. GRANT select ON dept TO ALL;

C. GRANT QUERY ON dept TO ALL_USERS

D. GRANT select ON dept TO PUBLIC;


参考答案:D

第4题:

The HR user creates a view with this command:  SQL> CREATE VIEW emp_v AS SELECT * FROM scott.emp;  Now HR wants to grant the SELECT privilege on the EMP_V view to the JIM user.  Which statement is true in this scenario?()

  • A、HR can grant the privilege to JIM but without GRANT OPTION.
  • B、HR can grant the privilege to JIM because HR is the owner of the view.
  • C、SCOTT has to grant the SELECT privilege on the EMP table to JIM before this operation.
  • D、HR needs the SELECT privilege on the EMP table with GRANT OPTION from SCOTT for this operation.

正确答案:D

第5题:

Which of the following describes the BEST course of action when a user continuously calls atechnician with computer issues instead of the helpdesk?()

  • A、Put all other work orders on hold and assist the user with all their computer issues.
  • B、Have another technician take over support calls for this user.
  • C、Explain that the user needs to fill out a work order for the computer problems.
  • D、Ask the user to call another technician for more in-depth assistance.

正确答案:C

第6题:

Scott issues the SQL statements:CREATE TABLE dept(deptno NUMBER(2),dname VARCHAR2(14),loc VARCHAR2(13)};GRANT SELECTON DEPTT0 SUE;If Sue needs to select from Scott‘s DEPT table, which command should she use?()

A.SELECT*FROMDEPT;

B.SELECT*FROMSCOTT.DEPT;

C.SELECT*FROMDBASCOTTDEPT;

D.SELECT*FROMALL_USERSWHEREUSER_NAME=‘;SCOTT‘;ANDTABLENAME=‘;DEPT‘;;


参考答案:B

第7题:

The user SCOTT who is the owner of ORDERS and ORDERJTEMS tables issues the following  GRANT command:  GRANT ALL   ON orders, order_items   TO PUBLIC;   What correction needs to be done to the above statement? ()

  • A、 PUBLIC should be replaced with specific usernames.
  • B、 ALL should be replaced with a list of specific privileges.
  • C、 WITH GRANT OPTION should be added to the statement.
  • D、 Separate GRANT statements are required for ORDERS and ORDERJTEMS tables.

正确答案:D

第8题:

The DBA issues this SQL command: CREATE USER scott IDENTIFIED by tiger; What privileges does the user Scott have at this point?()

A. no privileges

B. only the SELECT privilege

C. only the CONNECT privilege

D. all the privileges of a default user


参考答案:A

第9题:

The user Alice wants to grant all users query privileges on her DEPT table. Which SQL statement accomplishes this?()

  • A、GRANT select ON dept TO ALL_ USER;
  • B、GRANT select ON dept TO ALL;
  • C、GRANT QUERY ON dept TO ALL_USERS
  • D、GRANT select ON dept TO PUBLIC;

正确答案:D

第10题:

The user Sue issues this SQL statement: GRANT SELECT ON sue. EMP TO alice WITH GRANT OPTION; The user Alice issues this SQL statement: GRANT SELECT ON sue. EMP TO reena WITH GRANT OPTION; The user Reena issues this SQL statement: GRANT SELECT ON sue. EMP TO timber; The user Sue issues this SQL statement: REVOKE select on sue. EMP FROM alice; For which users does the revoke command revoke SELECT privileges on the SUE.EMP table?()

  • A、Alice only
  • B、Alice and Reena
  • C、Alice, Reena, and Timber
  • D、Sue, Alice, Reena, and Timber

正确答案:C

更多相关问题