exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 174 discussion

Actual exam question from Snowflake's SnowPro Core
Question #: 174
Topic #: 1
[All SnowPro Core Questions]

What is a feature of a stored procedure in Snowflake?

  • A. They can be created as secure and hide the underlying metadata from all users.
  • B. They can access tables from a single database.
  • C. They can only contain a single SQL statement.
  • D. They can be created to run with a caller's rights or an owner's rights.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
PrashantGupta1616
2 weeks ago
Selected Answer: D
answer is D
upvoted 1 times
...
_yyukta
3 months, 4 weeks ago
Selected Answer: A
A. They can be created as secure and hide the underlying metadata from all users.
upvoted 1 times
...
Colourseun
7 months, 1 week ago
The answer is D. They can be created to run with a caller's rights or an owner's rights. Stored procedures in Snowflake can be created to run with either the caller's rights or the owner's rights. This allows you to control the level of access that users have to the data and resources that are used in the stored procedure.
upvoted 1 times
...
[Removed]
8 months, 1 week ago
A is wrong secured stored procedures only hide certain aspects like code handlers etc, but unauthorized users can still see parameters
upvoted 1 times
...
BobFar
8 months, 1 week ago
Answer is D , I am not sure about A. For example, for a secure function or procedure, information omitted for unauthorized users includes its: Body (the handler code that comprises its logic) List of imports Handler name Packages list Unauthorized users will still be able to see information that includes its: Parameter types Return type Handler language Null handling Volatility https://docs.snowflake.com/en/developer-guide/secure-udf-procedure#label-secure-limiting-visibility-definition But D is definitely true A stored procedure runs with either the caller’s rights or the owner’s rights. It cannot run with both at the same time. This topic describes the differences between a caller’s rights stored procedure and an owner’s rights stored procedure. https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights
upvoted 1 times
...
Marge23
9 months, 2 weeks ago
Selected Answer: A
A - https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-overview
upvoted 1 times
...
singhks
10 months, 1 week ago
A and D https://docs.snowflake.com/developer-guide/stored-procedure/stored-procedures-overview and https://docs.snowflake.com/developer-guide/secure-udf-procedure
upvoted 1 times
...
SoftwareEngineerGoneData
10 months, 1 week ago
Selected Answer: D
https://docs.snowflake.com/en/sql-reference/stored-procedures-overview#what-is-a-stored-procedure
upvoted 1 times
...
malexandersalazar
1 year, 1 month ago
I think that the "Correct Answers" are designed to fail hahaha. D is the correct.
upvoted 2 times
...
Raju039
1 year, 3 months ago
Selected Answer: D
D is correct...https://docs.snowflake.com/en/sql-reference/stored-procedures-rights
upvoted 1 times
...
EmiB
1 year, 3 months ago
Selected Answer: D
A - False - When you specify that the UDF or procedure is secure, these details are visible only to authorized users – in other words, to users who are granted a role that owns the function.
upvoted 1 times
...
KarBiswa
1 year, 4 months ago
Selected Answer: D
Invokers and caller rights
upvoted 1 times
...
SV1122
1 year, 5 months ago
Selected Answer: A
Stored procs can be created to be secure https://docs.snowflake.com/en/developer-guide/secure-udf-procedure.html#determining-if-a-udf-or-procedure-is-secure
upvoted 1 times
SV1122
1 year, 5 months ago
but can't hide the underlying metadata from all users. Here "all" users is the catch. The role that created can view the definition of stored proc
upvoted 2 times
sakis213
1 year, 5 months ago
According to documentation is D.
upvoted 1 times
...
...
...
baig123
1 year, 6 months ago
should be D
upvoted 1 times
...
db1290
1 year, 6 months ago
Selected Answer: D
Should be D
upvoted 1 times
...
Sk1020
1 year, 7 months ago
Selected Answer: D
Caller's Owner's is correct . Secured option is good for views, Materialized views.
upvoted 1 times
...
William_20
1 year, 9 months ago
Selected Answer: D
https://docs.snowflake.com/en/sql-reference/stored-procedures-rights.html
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago