ExamGecko
Question list
Search
Search

Question 591 - COF-C02 discussion

Report
Export

Which command can be used to list all network policies available in an account?

A.
DESCRIBE SESSION POLICY
Answers
A.
DESCRIBE SESSION POLICY
B.
DESCRIBE NETWORK POLICY
Answers
B.
DESCRIBE NETWORK POLICY
C.
SHOW SESSION POLICIES
Answers
C.
SHOW SESSION POLICIES
D.
SHOW NETWORK POLICIES
Answers
D.
SHOW NETWORK POLICIES
Suggested answer: D

Explanation:

To list all network policies available in an account, the correct command is SHOW NETWORK POLICIES. Network policies in Snowflake are used to define and enforce rules for how users can connect to Snowflake, including IP whitelisting and other connection requirements. The SHOW NETWORK POLICIES command provides a list of all network policies defined within the account, along with their details.

The DESCRIBE SESSION POLICY and DESCRIBE NETWORK POLICY commands do not exist in Snowflake SQL syntax. The SHOW SESSION POLICIES command is also incorrect, as it does not pertain to the correct naming convention used by Snowflake for network policy management.

Using SHOW NETWORK POLICIES without any additional parameters will display all network policies in the account, which is useful for administrators to review and manage the security configurations pertaining to network access.

asked 23/09/2024
Phuong Pham
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first