nerdexam
Oracle

1Z0-047 · Question #242

User OE, the owner of the ORDERS table, issues the following command: GRANT SELECT .INSERT ON orders TO hr WITH GRANT OPTION; The user HR issues the following command: GRANT SELECT ON oe. orders TO…

The correct answer is A. The user SCOTT loses the privilege to select rows from OE.ORDERS. See the full explanation below for the reasoning.

Question

User OE, the owner of the ORDERS table, issues the following command:

GRANT SELECT .INSERT ON orders TO hr WITH GRANT OPTION; The user HR issues the following command:

GRANT SELECT ON oe. orders TO scott; Then, OE issues the following command:

REVOKE ALL ON orders FROM hr; Which statement is correct?

Options

  • AThe user SCOTT loses the privilege to select rows from OE.ORDERS.
  • BThe user SCOTT retains the privilege to select rows from OE.ORDERS.
  • CThe REVOKE statement generates an error because OE has to first revoke the SELECT privilege from
  • DThe REVOKE statement generates an error because the ALL keyword cannot be used for privileges

How the community answered

(30 responses)
  • A
    80% (24)
  • B
    10% (3)
  • C
    3% (1)
  • D
    7% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-047 Practice