Valid SOL-C01 Dumps shared by ExamDiscuss.com for Helping Passing SOL-C01 Exam! ExamDiscuss.com now offer the newest SOL-C01 exam dumps, the ExamDiscuss.com SOL-C01 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com SOL-C01 dumps with Test Engine here:
You need to create a database named 'SALES DB' that is only accessible to users with the 'ACCOUNTADMIN' role. After the database is created, you want to grant the 'USAGE' privilege on it to a custom role named 'DATA ANALYST. Which sequence of commands is the MOST efficient and correct way to achieve this?
Correct Answer: E
Option E is the most efficient and correct. You first need to assume the 'ACCOUNTADMIN' role to ensure you have the necessary privileges to create the database. While not strictly necessary, 'CREATE OR REPLACE is often preferred as it allows the script to be re-run without errors if the database already exists. Finally, you grant the USAGE' privilege to the 'DATA ANALYST role. Options A and B do not specify to assume the 'ACCOUNTADMIN' role first. Options C and D does not use the 'CREATE OR REPLACE which is slightly inefficient and option D returns role to Data Analyst after creation which is not required.