1Z0-052 · Question #19
Examine the following steps performed on a database instance: 1. The DBA grants the CREATE TABLE system privilege to the SKD user with ADMIN OPTION 2. The SKD user creates a table 3. The SKD user…
The correct answer is C. The table created by HR remains and HR still has the CREATE TABLE system privilege. Revoking a system privilege in Oracle does not cascade to users who received it from the grantee, so HR retains the CREATE TABLE privilege and the table HR already created remains intact.
Question
Options
- AThe table created by SKD is not accessible and SKD cannot create new tables
- BThe tables created by SKD and HR remain, but both cannot create new tables
- CThe table created by HR remains and HR still has the CREATE TABLE system privilege
- DThe table created by HR remains and HR can grant the CREATE TABLE system privilege to other users
How the community answered
(23 responses)- A4% (1)
- B17% (4)
- C65% (15)
- D13% (3)
Why each option
Revoking a system privilege in Oracle does not cascade to users who received it from the grantee, so HR retains the CREATE TABLE privilege and the table HR already created remains intact.
SKD's existing table remains accessible after the revoke because privilege revocation in Oracle does not retroactively remove objects already created; only SKD's ability to create future tables is eliminated.
HR retains CREATE TABLE because system privilege revocations are non-cascading in Oracle; the revoke from SKD has no effect on HR's grant, so HR can still create new tables.
Oracle system privilege revocations are non-cascading - unlike object privilege revocations - so when the DBA revokes CREATE TABLE from SKD, HR's independently held grant remains valid. Additionally, revoking a privilege never drops objects already created using that privilege, so HR's table is unaffected.
The question states only that SKD granted CREATE TABLE to HR - not WITH ADMIN OPTION - so HR does not have the right to further grant the privilege to other users.
Concept tested: Non-cascading revocation of Oracle system privileges
Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/dbseg/configuring-privilege-and-role-authorization.html
Topics
Community Discussion
No community discussion yet for this question.