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)- A6% (2)
- B3% (1)
- C17% (6)
- D75% (27)
Community Discussion
No community discussion yet for this question.