SnowPro Core Exam QuestionsBrowse all questions from this exam

SnowPro Core Exam - Question 629


What happens when a user exits Snowsight during a session that a query is running?

Show Answer
Correct Answer: B

When a user exits Snowsight during a session where a query is running, Snowflake will cancel any queries submitted during that session that are still running.

Discussion

14 comments
Sign in to comment
HarpreetwalOption: B
Nov 15, 2023

B Correct: When you exit Snowsight, Snowflake cancels any queries that you submitted during this session that are still running. https://docs.snowflake.com/en/user-guide/ui-snowsight-quick-tour

Def21
Dec 15, 2023

Correct, above is a direct quote.

0e504b5Option: D
Aug 11, 2024

This article says: https://docs.snowflake.com/en/user-guide/ui-snowsight-quick-tour When you exit Snowsight, Snowflake cancels any queries that you submitted during this session that are still running. However, like another user isolated_sniper said, it continued executing. I submitted a query, ended the session, came back, logged out, logged back in, the query continued executing. So D is correct. B is not correct based on testing. Documentation is not correct /up-to-date.

isolated_sniper
Nov 14, 2023

None. Snowflake will continue to execute on the virtual warehouse assigned to the session even after user has logged out.

Tore100Option: D
Dec 5, 2023

Should be D

Lematthew31Option: D
Oct 29, 2024

When a user exits Snowsight during a session while a query is running, the query continues to execute in Snowflake independently of the Snowsight interface. Snowflake runs queries on its servers, and Snowsight is simply an interface for interacting with Snowflake's services. Exiting Snowsight does not affect the execution of the query itself. Once a query is submitted to Snowflake, it continues to run until completion, cancellation, or until it reaches a timeout limit, regardless of whether the user remains connected to the Snowsight interface. The user can check the status or results of the query later by reconnecting to Snowsight or by accessing the Snowflake web interface or other client tools. Snowflake also provides options to monitor and manage long-running queries through its web interface or using SQL commands.

MultiCloudIronManOption: B
Jan 7, 2024

its B i checked it here view and scroll to the end https://docs.snowflake.com/en/user-guide/ui-snowsight-quick-tour

pvskbrod
Mar 12, 2024

YES I also checked it although the snowflake documentation said the opposite

SSaharOption: A
Sep 16, 2024

I executed a query with snowsight verified th session ID then logged out, when I loged in the previous query continued to execute. I ran another query on the same worsheet, the session ID have changed for the new query but the first query continued to run with the previous session ID

SatyamKishore
Nov 16, 2023

Should be B https://docs.snowflake.com/en/user-guide/ui-snowsight-quick-tour#user-menu

Hopefan
Nov 23, 2023

no I tested several times, it continues to run it

happykeieiekek
Jan 28, 2024

B Important: When you exit Snowsight, Snowflake cancels any queries that you submitted during this session that are still running. https://docs.snowflake.com/en/user-guide/ui-snowsight-quick-tour

Rajivnb
Mar 28, 2024

This is confusing. https://docs.snowflake.com/en/user-guide/session-policies --> Caution Active queries are not canceled when the session ends and the user is logged out, even if the ABORT_DETACHED_QUERY parameter is set to true. https://docs.snowflake.com/en/user-guide/ui-snowsight-quick-tour --> Important: When you exit Snowsight, Snowflake cancels any queries that you submitted during this session that are still running.

Rajivnb
Apr 17, 2024

I got this like, 1. If the User exits the session willingly, then it falls in the second link. i.e., Exiting Snowsight. 2. If the session ends due to inactivity even if ABORT_DETACHED_QUERY is set to true, it will run. Which is the first link

HeetecOption: B
Apr 8, 2024

B correct

s_indira15Option: A
Feb 10, 2025

When a user exits Snowsight during a session where a query is running, Snowflake continues to execute the query in the same session. The query will not be canceled or paused due to the user exiting the interface.

MultiCloudIronManOption: B
Feb 10, 2025

From a costing point of view it has to cancel otherwise who is paying for the query especially if its no longer required