An Architect entered the following commands in sequence:
USER1 cannot find the table.
Which of the following commands does the Architect need to run for USER1 to find the tables using the Principle of Least Privilege? (Choose two.)
An Architect entered the following commands in sequence:
USER1 cannot find the table.
Which of the following commands does the Architect need to run for USER1 to find the tables using the Principle of Least Privilege? (Choose two.)
To allow USER1 to find the tables in the SANDBOX.PUBLIC schema using the Principle of Least Privilege, the Architect needs to provide the appropriate usage privileges. Granting USAGE on the database SANDBOX to the ROLE INTERN allows users with the INTERN role, including USER1, to connect to the database. Additionally, granting USAGE on the SANDBOX.PUBLIC schema to the ROLE INTERN allows these users to access the objects within the schema. Therefore, the correct commands are to grant usage on both the database and the schema to the role INTERN.
Answer is B,C and is validated
Answer is correct B & C