Examine the commands executed in the root container of your multitenant container database (CDB) that has multiple plugg

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899559
Joined: Mon Aug 02, 2021 8:13 am

Examine the commands executed in the root container of your multitenant container database (CDB) that has multiple plugg

Post by answerhappygod »

Examine the commands executed in the root container of your multitenant container database (CDB) that has multiple pluggable databases (PDBs):SQL> CREATE USER c##a_admin IDENTIFIED BY orcl123;SQL> CREATE ROLE c##role1 CONTAINER=ALL;SQL> GRANT CREATE VIEW TO C##roleI CONTAINER=ALL;SQL> GRANT c##role1 TO c##a_admin CONTAINER=ALL;SQL> REVOKE c##role1 FROM c##a_admin;What is the result of the revoke command?

A. It executes successfully and the c##role1 role is revoked from the c##a_admin user only in the root container.
B. It fails and reports an error because the container=all clause is not used.
C. It executes successfully and the c##rocl1 role is revoked from the c##a_admin user in the root database and all the PDBs.
D. It fails and reports an error because the container=current clause is not used.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This question has been solved and has 1 reply.

You must be registered to view answers and replies in this topic. Registration is free.


Register Login
 
Post Reply