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

Exam SnowPro Advanced Data Engineer All Questions

View all questions & answers for the SnowPro Advanced Data Engineer exam

Exam SnowPro Advanced Data Engineer topic 1 question 24 discussion

Actual exam question from Snowflake's SnowPro Advanced Data Engineer
Question #: 24
Topic #: 1
[All SnowPro Advanced Data Engineer Questions]

A stream called TRANSACTIONS_STM is created on top of a TRANSACTIONS table in a continuous pipeline running in Snowflake. After a couple of months, the TRANSACTIONS table is renamed TRANSACTIONS_RAW to comply with new naming standards.
What will happen to the TRANSACTIONS_STM object?

  • A. TRANSACTIONS_STM will keep working as expected.
  • B. TRANSACTIONS_STM will be stale and will need to be re-created.
  • C. TRANSACTIONS_STM will be automatically renamed TRANSACTIONS_RAW_STM.
  • D. Reading from the TRANSACTIONS_STM stream will succeed for some time after the expected STALE_TIME.
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
drunk_goat82
Highly Voted 1 year ago
I think it's A. Renaming a source object does not break a stream or cause it to go stale. In addition, if a source object is dropped and a new object is created with the same name, any streams linked to the original object are not linked to the new object
upvoted 8 times
...
MultiCloudGuru
Most Recent 4 months ago
Selected Answer: A
Important Recreating an object (using the CREATE OR REPLACE TABLE syntax) drops its history, which also makes any stream on the table or view stale. In addition, recreating or dropping any of the underlying tables for a view makes any stream on the view stale. Currently, when a database or schema that contains a stream and its source table (or the underlying tables for a source view) is cloned, any unconsumed records in the stream clone are inaccessible. This behavior is consistent with Time Travel for tables. If a table is cloned, historical data for the table clone begins at the time/point when the clone was created. Renaming a source object does not break a stream or cause it to go stale. In addition, if a source object is dropped and a new object is created with the same name, any streams linked to the original object are not linked to the new object.
upvoted 1 times
...
randreag
1 year ago
but will the stream work as expected if there is no more changes in the table(old) to record? After a while it will become stale, doesn't it?
upvoted 1 times
...
stopthisnow
1 year ago
Selected Answer: A
Renaming a source object does not break a stream or cause it to go stale. In addition, if a source object is dropped and a new object is created with the same name, any streams linked to the original object are not linked to the new object. https://docs.snowflake.com/en/user-guide/streams-intro
upvoted 3 times
...
acapone001
1 year ago
A should be the correct answer here. From Snowflake: "Renaming a source object does not break a stream or cause it to go stale. In addition, if a source object is dropped and a new object is created with the same name, any streams linked to the original object are not linked to the new object."
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 ...