Related questions
Question 71 - ADA-C01 discussion
A user with the proper role issues the following commands when setting up and activating network policies:
CREATE OR REPLACE NETWORK POLICY foo_policy
ALLOWED_IP_LIST = ( '1.1.1.0/24', '2.2.2.0/24' , '3.3. 3. 0/24' )
BLOCKED IP LIST = ( '1.1.1.1')
COMMENT = 'Account level policy';
ALTER ACCOUNT SET NETWORK_POLICY=FOO_POLICY;
CREATE OR REPLACE NETWORK POLICY bar_policy
ALLOWED_IP_LIST = ('3.3.3.0/24')
BLOCKED IP LIST = ('3.3.3.10')
COMMENT = 'user level policy';
ALTER USER userl SET NETWORK_POLICY=BAR_POLICY;
Afterwards, user1 attempts to log in to Snowflake from IP address 3.3.3.10.
Will the login be successful?
A.
Yes, because 3.3.3.10 is found in the ALLOWED_IP_LIST of bar_policy.
B.
No, because 3.3.3.10 is found in the BLOCKED_IP_LIST of bar_policy.
C.
Yes, because 3.3.3.10 is found in the ALLOWED_IP_LIST of foo_policy.
D.
No, because 3.3.3.10 is not found in the ALLOWED_IP_LIST of foo_policy.
Your answer:
0 comments
Sorted by
Leave a comment first