New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Snowflake Exam ARA-C01 Topic 1 Question 41 Discussion

Actual exam question for Snowflake's ARA-C01 exam
Question #: 41
Topic #: 1
[All ARA-C01 Questions]

A user, analyst_user has been granted the analyst_role, and is deploying a SnowSQL script to run as a background service to extract data from Snowflake.

What steps should be taken to allow the IP addresses to be accessed? (Select TWO).

Show Suggested Answer Hide Answer
Suggested Answer: B, D

To ensure that an analyst_user can only access Snowflake from specific IP addresses, the following steps are required:

Option B: This alters the network policy directly linked to analyst_user. Setting a network policy on the user level is effective and ensures that the specified network restrictions apply directly and exclusively to this user.

Option D: Before a network policy can be set or altered, the appropriate role with permission to manage network policies must be used. SECURITYADMIN is typically the role that has privileges to create and manage network policies in Snowflake. Creating a network policy that specifies allowed IP addresses ensures that only requests coming from those IPs can access Snowflake under this policy. After creation, this policy can be linked to specific users or roles as needed.

Options A and E mention altering roles or using the wrong role (USERADMIN typically does not manage network security settings), and option C incorrectly attempts to set a network policy directly as an IP address, which is not syntactically or functionally valid. Reference: Snowflake's security management documentation covering network policies and role-based access controls.


Contribute your Thoughts:

Kanisha
1 months ago
Option C is just hilarious. Setting the network policy to a specific IP address? That's like trying to plug a leaky dam with a piece of chewing gum.
upvoted 0 times
Annalee
6 days ago
C: Let's go with option A and D to set the network policy for the analyst role.
upvoted 0 times
...
Coleen
9 days ago
B: I agree, we need a more flexible solution to allow multiple IP addresses.
upvoted 0 times
...
William
23 days ago
A: Option C is definitely not the way to go. It's too restrictive.
upvoted 0 times
...
...
Chana
2 months ago
This is a classic Snowflake security question. I can't believe they're still asking about this. It's like they're stuck in the 90s or something.
upvoted 0 times
Ronny
24 days ago
D) USE ROLE SECURITYADMIN; CREATE OR REPLACE NETWORK POLICY ANALYST_POLICY ALLOWED_IP_LIST = ('10.1.1.20');
upvoted 0 times
...
Ronny
28 days ago
A) ALTER ROLE ANALYST_ROLE SET NETWORK_POLICY='ANALYST_POLICY';
upvoted 0 times
...
...
Paris
2 months ago
I agree, D and E are the way to go. Trying to set the network policy directly on the user or role won't work. Gotta use the SECURITYADMIN and USERADMIN roles.
upvoted 0 times
Merrilee
1 months ago
You have to use the SECURITYADMIN and USERADMIN roles.
upvoted 0 times
...
Isabella
1 months ago
Setting the network policy directly on the user or role won't work.
upvoted 0 times
...
Kathryn
1 months ago
Yes, those are the steps to allow the IP addresses to be accessed.
upvoted 0 times
...
Nichelle
2 months ago
I think D and E are the correct options.
upvoted 0 times
...
...
Paola
2 months ago
I agree with Kenneth, altering the role and creating a network policy with allowed IP list are the right steps.
upvoted 0 times
...
Britt
2 months ago
Option D and E are the correct answers. The SECURITYADMIN role is required to create a network policy, and the USERADMIN role is needed to assign the policy to the user or role.
upvoted 0 times
Clarence
23 days ago
E) USE ROLE USERADMIN; CREATE OR REPLACE NETWORK POLICY ANALYST_POLICY ALLOWED_IP_LIST = ('10.1.1.20');
upvoted 0 times
...
Rosio
26 days ago
Great, so we need to set the network policy for the analyst role and create the policy with the allowed IP list.
upvoted 0 times
...
Luther
1 months ago
D) USE ROLE SECURITYADMIN; CREATE OR REPLACE NETWORK POLICY ANALYST_POLICY ALLOWED_IP_LIST = ('10.1.1.20');
upvoted 0 times
...
Staci
1 months ago
A) ALTER ROLE ANALYST_ROLE SET NETWORK_POLICY='ANALYST_POLICY';
upvoted 0 times
...
...
Kenneth
2 months ago
I think option A and D are the correct steps to allow IP addresses to be accessed.
upvoted 0 times
...

Save Cancel