nerdexam
Oracle

1Z0-071 · Question #402

Table HR.EMPLOYEES contains a row where the EMPLOYEE_ID is 109. User ALICE has no privileges to access HR.EMPLOYEES. User ALICE starts a session. User HR starts a session and successfully executes…

The correct answer is B. The DELETE command will immediately delete the row. See the full explanation below for the reasoning.

Question

Table HR.EMPLOYEES contains a row where the EMPLOYEE_ID is 109. User ALICE has no privileges to access HR.EMPLOYEES. User ALICE starts a session. User HR starts a session and successfully executes these statements:

GRANT DELETE ON employees TO alice; UPDATE employees SET salary = 24000 WHERE employee_id = 109; In her existing session ALICE then executes:

DELETE FROM hr.employees WHERE employee_id = 109; What is the result?

Options

  • AThe DELETE command will wait for HR'S transaction to end then delete the row.
  • BThe DELETE command will immediately delete the row.
  • CThe DELETE command will immediately return an error.
  • DThe DELETE command will wait for HR'S transaction to end then return an error.

How the community answered

(29 responses)
  • A
    14% (4)
  • B
    76% (22)
  • C
    7% (2)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-071 Practice