nerdexam
Snowflake

ARA-C01 · Question #131

An Architect has a VPN_ACCESS_LOGS table in the SECURITY_LOGS schema containing timestamps of the connection and disconnection, username of the user, and summary statistics. What should the…

The correct answer is C. Assume role with OWNERSHIP on VPN_ACCESS_LOGS and ADD SEARCH OPTIMIZATION in. To enable the search optimization service on a specific table, a role needs two things: (1) OWNERSHIP privilege on that exact table, and (2) the ADD SEARCH OPTIMIZATION privilege granted on the schema that contains the table. Option C correctly requires both on the specific…

Accounts and Security

Question

An Architect has a VPN_ACCESS_LOGS table in the SECURITY_LOGS schema containing timestamps of the connection and disconnection, username of the user, and summary statistics. What should the Architect do to enable the Snowflake search optimization service on this table?

Options

  • AAssume role with OWNERSHIP on future tables and ADD SEARCH OPTIMIZATION on the
  • BAssume role with ALL PRIVILEGES including ADD SEARCH OPTIMIZATION in the SECURITY
  • CAssume role with OWNERSHIP on VPN_ACCESS_LOGS and ADD SEARCH OPTIMIZATION in
  • DAssume role with ALL PRIVILEGES on VPN_ACCESS_LOGS and ADD SEARCH

How the community answered

(19 responses)
  • A
    11% (2)
  • C
    84% (16)
  • D
    5% (1)

Explanation

To enable the search optimization service on a specific table, a role needs two things: (1) OWNERSHIP privilege on that exact table, and (2) the ADD SEARCH OPTIMIZATION privilege granted on the schema that contains the table. Option C correctly requires both on the specific table (VPN_ACCESS_LOGS) and its containing schema (SECURITY_LOGS). Option A is incorrect because OWNERSHIP on 'future tables' does not grant rights on an already-existing table. Options B and D are incorrect because ALL PRIVILEGES on the table alone is not sufficient-the ADD SEARCH OPTIMIZATION privilege must also be held at the schema level, and ALL PRIVILEGES does not implicitly include schema-level grants.

Topics

#Snowflake Search Optimization#Table Privileges#Role-Based Access Control (RBAC)#DDL Operations

Community Discussion

No community discussion yet for this question.

Full ARA-C01 Practice