ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 4 - ADA-C01 discussion

Report
Export

Which commands can be performed by a user with the ORGADMIN role but not the ACCOUNTADMIN role? (Select TWO).

A.
SHOW REGIONS;
Answers
A.
SHOW REGIONS;
B.
SHOW USERS;
Answers
B.
SHOW USERS;
C.
SHOW ORGANIZATION ACCOUNTS;
Answers
C.
SHOW ORGANIZATION ACCOUNTS;
D.
GRANT ROLE ORGADMIN TO USER <username>;
Answers
D.
GRANT ROLE ORGADMIN TO USER <username>;
E.
SELECT SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER ( 'ACCOUNT LOCATOR', 'ENABLE ACCOUNT DATABASE_REPLICATION', 'true' );
Answers
E.
SELECT SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER ( 'ACCOUNT LOCATOR', 'ENABLE ACCOUNT DATABASE_REPLICATION', 'true' );
Suggested answer: C, E

Explanation:

According to the Snowflake documentation1, the ORGADMIN role is a special system role that is responsible for managing operations at the organization level, such as creating and viewing accounts, enabling database replication, and setting global account parameters. The ACCOUNTADMIN role is a system role that is responsible for managing operations at the account level, such as creating and managing users, roles, warehouses, databases, and shares. Therefore, the commands that can be performed by the ORGADMIN role but not the ACCOUNTADMIN role are:

* SHOW ORGANIZATION ACCOUNTS: This command lists all the accounts in the organization and their properties, such as region, edition, and status2. The ACCOUNTADMIN role can only show the current account and its properties using the SHOW ACCOUNTS command3.

* SELECT SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER: This function sets a global account parameter for an account in the organization, such as enabling account database replication4. The ACCOUNTADMIN role can only set local account parameters using the ALTER ACCOUNT command.

Option A is incorrect because the SHOW REGIONS command can be executed by any role, not just the ORGADMIN role. Option B is incorrect because the SHOW USERS command can be executed by the ACCOUNTADMIN role, as well as any role that has been granted the MONITOR privilege on the account. Option D is incorrect because the GRANT ROLE ORGADMIN TO USER <username> command can be executed by the ACCOUNTADMIN role, as well as any role that has been granted the ORGADMIN role1.

asked 23/09/2024
Bob Target
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first