Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam SnowPro Advanced Architect All Questions

View all questions & answers for the SnowPro Advanced Architect exam

Exam SnowPro Advanced Architect topic 1 question 11 discussion

Actual exam question from Snowflake's SnowPro Advanced Architect
Question #: 11
Topic #: 1
[All SnowPro Advanced Architect Questions]

A Data Engineer is designing a near real-time ingestion pipeline for a retail company to ingest event logs into Snowflake to derive insights. A Snowflake Architect is asked to define security best practices to configure access control privileges for the data load for auto-ingest to Snowpipe.
What are the MINIMUM object privileges required for the Snowpipe user to execute Snowpipe?

  • A. OWNERSHIP on the named pipe, USAGE on the named stage, target database, and schema, and INSERT and SELECT on the target table
  • B. OWNERSHIP on the named pipe, USAGE and READ on the named stage, USAGE on the target database and schema, and INSERT end SELECT on the target table
  • C. CREATE on the named pipe, USAGE and READ on the named stage, USAGE on the target database and schema, and INSERT end SELECT on the target table
  • D. USAGE on the named pipe, named stage, target database, and schema, and INSERT and SELECT on the target table
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Akhil_8121
1 month, 4 weeks ago
option B https://docs.snowflake.com/en/user-guide/data-load-snowpipe-intro#creating-pipes Creating pipes Creating and managing pipes requires a role with a minimum of the following privileges: Object Privilege Notes Database USAGE Schema USAGE, CREATE PIPE Stage in the pipe definition USAGE External stages only. Stage in the pipe definition READ Internal stages only. Table in the pipe definition SELECT, INSERT
upvoted 1 times
...
oracle901
5 months, 4 weeks ago
To view details about the pipe, you must use a role with the MONITOR or OWNERSHIP privilege on the pipe and the USAGE privilege on both the database and schema that contain the pipe. See Pipe privileges for more details. https://docs.snowflake.com/user-guide/data-load-snowpipe-manage
upvoted 1 times
oracle901
5 months, 4 weeks ago
A is the answer
upvoted 1 times
...
...
jlad26
9 months ago
Selected Answer: A
Pipe does not have USAGE privilege and internal stage does not have READ privilege so has to be A
upvoted 4 times
jlad26
9 months ago
Sorry forgot to say pipe does not have CREATE privilege either. https://docs.snowflake.com/en/user-guide/security-access-control-privileges
upvoted 1 times
...
...
Vishal27dec
1 year, 1 month ago
Ans is A: -- Create a role to contain the Snowpipe privileges use role securityadmin; create or replace role snowpipe1; -- Grant the required privileges on the database objects grant usage on database snowpipe_db to role snowpipe1; grant usage on schema snowpipe_db.public to role snowpipe1; grant insert, select on snowpipe_db.public.mytable to role snowpipe1; grant usage on stage snowpipe_db.public.mystage to role snowpipe1; -- Grant the OWNERSHIP privilege on the pipe object grant ownership on pipe snowpipe_db.public.mypipe to role snowpipe1; -- Grant the role to a user grant role snowpipe1 to user jsmith; -- Set the role as the default role for the user alter user jsmith set default_role = snowpipe1;
upvoted 3 times
carloscloud
11 months ago
So, it would be an internal stage by the USAGE on stage. This is the answer that makes the most sense, thank you!
upvoted 1 times
...
...
Saai123
1 year, 3 months ago
Answer is A. OWNERSHIP on the named pipe, USAGE on the named stage, target database, and schema, and INSERT and SELECT on the target table
upvoted 3 times
...
hillcat111
1 year, 4 months ago
Answer is D and is validated
upvoted 1 times
...
qqcvd
1 year, 5 months ago
Selected Answer: D
it doesn't exist a GRANT USAGE on PIPE https://docs.snowflake.com/en/user-guide/security-access-control-privileges#pipe-privileges As it is about auto-ingest, it's not possible with internal STAGE, so it is not B or C as READ grant is only for internal STAGE Thus, it it response D
upvoted 1 times
...
Alachramkowa
1 year, 6 months ago
C https://docs.snowflake.com/en/user-guide/data-load-snowpipe-intro#creating-pipes
upvoted 1 times
...
serg_khar
1 year, 7 months ago
Selected Answer: B
https://docs.snowflake.com/en/user-guide/data-load-snowpipe-intro#owning-pipes
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...