nerdexam
Snowflake

COF-C02 · Question #552

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

The correct answer is D. SHOW NETWORK POLICIES. SHOW NETWORK POLICIES lists all network policies defined in the current account. SHOW commands in Snowflake are used to list multiple objects of a given type. DESCRIBE (or DESC) NETWORK POLICY is used to show the details of a single, specific network policy - not to list all of…

Account Access and Security

Question

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

Options

  • ADESCRIBE SESSION POLICY
  • BDESCRIBE NETWORK POLICY
  • CSHOW SESSION POLICIES
  • DSHOW NETWORK POLICIES

How the community answered

(27 responses)
  • A
    4% (1)
  • C
    7% (2)
  • D
    89% (24)

Explanation

SHOW NETWORK POLICIES lists all network policies defined in the current account. SHOW commands in Snowflake are used to list multiple objects of a given type. DESCRIBE (or DESC) NETWORK POLICY is used to show the details of a single, specific network policy - not to list all of them. SHOW/DESCRIBE SESSION POLICY applies to session policies, not network policies.

Topics

#Network Policies#Security#SHOW commands#Account Administration

Community Discussion

No community discussion yet for this question.

Full COF-C02 Practice