Courseiva
Data Collaboration →hardMultiple Choice

COF-C03 Data Collaboration Practice Question

A provider has a share containing a secure view that references a table in the same database. The provider wants the share to stop being visible to a specific consumer account but keep the share and its grants intact for other consumers. Which action accomplishes this?

⚠ Common exam trap

The trap here is reaching for DROP SHARE or privilege revokes to cut off one consumer, when the share's account list is what controls which accounts can mount it.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Run ALTER SHARE ... REMOVE ACCOUNTS = <consumer_account> so only that account loses access while the share and its grants remain unchanged.

A share's consumer list is managed with ALTER SHARE. Using REMOVE ACCOUNTS for one account revokes that account's access while leaving the share definition and all object grants untouched, so remaining consumers continue working without interruption.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Run ALTER SHARE ... ADD ACCOUNTS = <consumer_account> with a REVOKE keyword to flip the account's access off.

    Why it's wrong here

    The ADD ACCOUNTS clause only adds consumers; it has no revoke modifier. There is no syntax that adds an account and simultaneously denies it. Removing access for an existing consumer is done with the REMOVE ACCOUNTS clause, which performs the opposite operation on the share's account list.

  • ✗

    Run REVOKE USAGE ON DATABASE <shared_db> FROM SHARE <share_name> to detach the consumer account.

    Why it's wrong here

    USAGE grants on the shared database are made to the share, not to individual consumer accounts, so revoking from a share name in that form does not target a consumer. Removing one consumer from a multi-consumer share requires altering the share's account list, not revoking database privileges that other consumers depend on.

  • ✗

    Run DROP SHARE <share_name> and recreate it immediately, re-adding every consumer except the one to be excluded.

    Why it's wrong here

    Dropping the share destroys the share object and its grants, disrupting all consumers and requiring full reconstruction. The requirement is to remove a single consumer while preserving the share and grants for others, so a drop-and-recreate approach causes needless outage and risk of misconfiguration.

  • ✓

    Run ALTER SHARE ... REMOVE ACCOUNTS = <consumer_account> so only that account loses access while the share and its grants remain unchanged.

    Why this is correct

    REMOVE ACCOUNTS deletes the account-to-share association for the named consumer only. The share object and all grants on its objects persist, so other consumers are unaffected. The removed account can no longer create a database from the share, and its existing shared database loses access on the next access attempt.

About these practice questions

This COF-C03 question is part of Courseiva's 280-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Snowflake exam blueprint

This COF-C03 practice question is part of Courseiva's free Snowflake certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the COF-C03 exam.