PUBLIC should be replaced with specific usernames.
ALL should be replaced with a list of specific privileges.
WITH GRANT OPTION should be added to the statement.
Separate GRANT statements are required for ORDERS and ORDERJTEMS tables.
第1题:
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.
第2题:
Which of the following describes the BEST course of action when a user continuously calls atechnician with computer issues instead of the helpdesk?()
第3题:
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?()
第4题:
The DBA issues this SQL command:CREATE USER scott IDENTIFIED by tiger;What privileges does the user Scott have at this point?()
第5题:
You issue the following code: EXEC DBMS_RESOURCE_MANAGER_PRIVS.GRANT_SWITCH_CONSUMER_GROUP (’SCOTT’ ’GRP1’, TRUE); What will be the result of executing the above code?()
第6题:
Scott issues the SQL statements: CREATE TABLE dept (deptno NUMBER(2), dname VARCHAR2(14), loc VARCHAR2(13)}; GRANT SELECT ON DEPT T0 SUE; If Sue needs to select from Scott's DEPT table, which command should she use?()
第7题:
GRANT select ON dept TO ALL_ USER;
GRANT select ON dept TO ALL;
GRANT QUERY ON dept TO ALL_USERS
GRANT select ON dept TO PUBLIC;
第8题:
The ORDERS_MASTER table would contain the ORDERJDs 1 and 2.
The ORDERS_MASTER table would contain the ORDERJDs 1, 2 and 3.
The ORDERS_MASTER table would contain the ORDERJDs 1, 2 and 4.
The ORDERS MASTER table would contain the ORDER IDs 1, 2, 3 and 4.
第9题:
HR can grant the privilege to JIM but without GRANT OPTION.
HR can grant the privilege to JIM because HR is the owner of the view.
SCOTT has to grant the SELECT privilege on the EMP table to JIM before this operation.
HR needs the SELECT privilege on the EMP table with GRANT OPTION from SCOTT for this operation.
第10题:
The switch privilege will be granted to the user, Scott, for changing the consumer group to GRP1.
The switch privilege will be granted to the user, Scott, for changing the consumer group from GRP1 to any other group.
The code will not execute successfully because there is no GRANT_SWITCH_CONSUMER_GROUP procedure in the DBMS_RESOURCE_MANAGER_PRIVS package.
The code will execute successfully but no privilege will be granted to the user, Scott.
第11题:
One audit record is created for the whole session if user SCOTT successfully drops one or more tables in his session.
One audit record is created for every session when any user successfully drops a table owned by SCOTT.
One audit record is created for each successful DROP TABLE command executed by any user to drop tables owned by SCOTT.
One audit record is generated for the session when SCOTT grants the DROP ANY TABLE privilege to other users in his session.
One audit record is created for each successful DROP TABLE command executed in the session of SCOTT.
第12题:
no privileges
only the SELECT privilege
only the CONNECT privilege
all the privileges of a default user
第13题:
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? ()
第14题:
The user Alice wants to grant all users query privileges on her DEPT table. Which SQL statement accomplishes this?()
第15题:
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?()
第16题:
You executed the following command to drop a user: DROP USER scott CASCADE; Which two statements regarding the above command are correct?()
第17题:
The user HR owns the EMP table. The user HR grants privileges to the user SCOTT by using this command: SQL> GRANT SELECT,INSERT,UPDATE ON emp TO scott WITH GRANT OPTION; The user SCOTT executes this command to grant privileges to the user JIM: SQL> GRANT SELECT,INSERT,UPDATE ON hr.emp TO jim; Now, the user HR decides to revoke privileges from JIM using this command: SQL> REVOKE SELECT,INSERT,UPDATE ON emp FROM jim; Which statement is true after HR issues the REVOKE command()
第18题:
Put all other work orders on hold and assist the user with all their computer issues.
Have another technician take over support calls for this user.
Explain that the user needs to fill out a work order for the computer problems.
Ask the user to call another technician for more in-depth assistance.
第19题:
Alice only
Alice and Reena
Alice, Reena, and Timber
Sue, Alice, Reena, and Timber
第20题:
The statement would not execute because table aliases are not allowed in the JOIN clause.
The statement would not execute because the table alias prefix is not used in the USING clause.
The statement would not execute because all the columns in the SELECT clause are not prefixed with table aliases.
The statement would not execute because the column part of the USING clause cannot have a qualifier in the SELECT list.
第21题:
The command fails because SCOTT still has privileges.
The command succeeds and privileges are revoked from JIM.
The command fails because HR cannot revoke the privileges from JIM.
The command succeeds and only HR has the privilege to perform the SELECT, INSERT, and UPDATEoperations on the EMP table.
第22题:
SELECT*FROMDEPT;
SELECT*FROMSCOTT.DEPT;
SELECT*FROMDBASCOTTDEPT;
SELECT*FROMALL_USERSWHEREUSER_NAME=';SCOTT';ANDTABLENAME=';DEPT';;
第23题:
CREATE SYNONYM ord FOR orders; This command is issued by OE
CREATE PUBLIC SYNONYM ord FOR orders; This command is issued by OE
CREATE SYNONYM ord FOR oe.orders; This command is issued by the database administrator
CREATE PUBLIC SYNONYM ord FOR oe.orders; This command is issued by the database administrator