MySQL 8.0 Database Administrator — Question 15

Examine this statement:
mysql> DROP ROLE r_role1, r_role2;
Which two are true? (Choose two.)

Answer options

Correct answer: C, E

Explanation

Option C is correct because existing connections retain access to the roles' privileges until they reconnect, making the privileges effective even after the roles are dropped. Option E is also correct since the command will fail if the user executing it does not have the ADMIN OPTION for the specified roles. The other options are incorrect as they misinterpret the requirements and behaviors associated with dropping roles in MySQL.