nerdexam
Oracle

1Z0-047 · Question #207

SCOTT is a user in the database. Evaluate the commands issued by the DBA: 1 - CREATE ROLE mgr; 2 - GRANT CREATE TABLE, SELECT ON oe. Orders TO mgr; 3 - GRANT mgr, create table TO SCOTT; Which…

The correct answer is D. Statement 2 would not execute because system privileges and object privileges cannot be granted. See the full explanation below for the reasoning.

Question

SCOTT is a user in the database. Evaluate the commands issued by the DBA:

1 - CREATE ROLE mgr; 2 - GRANT CREATE TABLE, SELECT ON oe. Orders TO mgr; 3 - GRANT mgr, create table TO SCOTT; Which statement is true regarding the execution of the above commands?

Options

  • AStatement 1 would not execute because the WITH GRANT option is missing.
  • BStatement 1 would not execute because the IDENTIFIED BY <password> clause is missing.
  • CStatement 3 would not execute because role and system privileges cannot be granted together in a
  • DStatement 2 would not execute because system privileges and object privileges cannot be granted

How the community answered

(36 responses)
  • A
    6% (2)
  • B
    3% (1)
  • C
    17% (6)
  • D
    75% (27)

Community Discussion

No community discussion yet for this question.

Full 1Z0-047 Practice