ADA-C01 · Question #80
For Snowflake network policies, what will occur when the account_level and user_level network policies are both defined?
The correct answer is B. The user_level policy will override the account_level policy. According to the Network Policies documentation, a network policy can be applied to an account, a security integration, or a user. If there are network policies applied to more than one of these, the most specific network policy overrides more general network policies. The…
Question
For Snowflake network policies, what will occur when the account_level and user_level network policies are both defined?
Options
- AThe account_level policy will override the user_level policy.
- BThe user_level policy will override the account_level policy.
- CThe user_level network policies will not be supported.
- DA network policy error will be generated with no definitions provided.
How the community answered
(40 responses)- A8% (3)
- B78% (31)
- C3% (1)
- D13% (5)
Explanation
According to the Network Policies documentation, a network policy can be applied to an account, a security integration, or a user. If there are network policies applied to more than one of these, the most specific network policy overrides more general network policies. The following summarizes the order of precedence: - Account: Network policies applied to an account are the most general network policies. They are overridden by network policies applied to a security integration or user. - Security Integration: Network policies applied to a security integration override network policies applied to the account, but are overridden by a network policy applied to a user. - User: Network policies applied to a user are the most specific network policies. They override both accounts and security integrations. Therefore, if both the account_level and user_level network policies are defined, the user_level policy will take effect and the account_level policy will be ignored.
Topics
Community Discussion
No community discussion yet for this question.