Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 (?) , you can switch to a simple comment.
Switch to a voting comment New
PrashantGupta1616
5 months, 2 weeks ago
Selected Answer: D
answer is D
upvoted 1 times
...
_yyukta
8 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
1 year 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]
1 year, 1 month 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
1 year, 1 month 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
1 year, 2 months ago
Selected Answer: A
A - https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-overview
upvoted 1 times
...
singhks
1 year, 3 months 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
1 year, 3 months 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, 6 months ago
I think that the "Correct Answers" are designed to fail hahaha. D is the correct.
upvoted 2 times
...
Raju039
1 year, 8 months ago
Selected Answer: D
D is correct...https://docs.snowflake.com/en/sql-reference/stored-procedures-rights
upvoted 1 times
...
EmiB
1 year, 8 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, 9 months ago
Selected Answer: D
Invokers and caller rights
upvoted 1 times
...
SV1122
1 year, 10 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, 10 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, 10 months ago
According to documentation is D.
upvoted 1 times
...
...
...
baig123
1 year, 11 months ago
should be D
upvoted 1 times
...
db1290
1 year, 11 months ago
Selected Answer: D
Should be D
upvoted 1 times
...
Sk1020
2 years ago
Selected Answer: D
Caller's Owner's is correct . Secured option is good for views, Materialized views.
upvoted 1 times
...
William_20
2 years, 2 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 ...