exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 245 discussion

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

Which statement is true about running tasks in Snowflake?

  • A. A task can be called using a CALL statement to run a set of predefined SQL commands.
  • B. A task allows a user to execute a single SQL statement/command using a predefined schedule.
  • C. A task allows a user to execute a set of SQL commands on a predefined schedule.
  • D. A task can be executed using a SELECT statement to run a predefined SQL command.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
SV1122
Highly Voted 2 years ago
Selected Answer: B
A task can execute any one of the following types of SQL code: Single SQL statement Call to a stored procedure Procedural logic using Snowflake Scripting Developer Guide https://docs.snowflake.com/en/user-guide/tasks-intro.html
upvoted 9 times
...
Mallikharjuna452
Most Recent 5 months, 1 week ago
B is correct answer
upvoted 1 times
...
YoshiSamoZou
6 months ago
Selected Answer: B
agree b
upvoted 1 times
...
deeshubh
7 months, 4 weeks ago
Multiple SQL statements using SnowSQL Create task executes multiple SQL statements. Example, task modifies the TIMESTAMP_OUTPUT_FORMAT for the session and then queries the CURRENT_TIMESTAMP function. The SQL code in the task definition includes multiple statements. To execute the CREATE TASK statement, you must temporarily set a character other than a semicolon as the delimiter for SQL statements; otherwise, the CREATE TASK statement would return a user error. The command to change the SQL delimiter in SnowSQL is !set sql_delimiter = <character>. https://docs.snowflake.com/en/sql-reference/sql/create-task Now Decide B or C, As per my understanding, may be now they have add this feature, so as per old snowflake its B but for now its C
upvoted 1 times
...
Prashn
9 months, 3 weeks ago
Selected Answer: C
https://docs.snowflake.com/en/sql-reference/sql/create-task Multiple SQL statements using SnowSQL !set sql_delimiter=/ CREATE OR REPLACE TASK test_logging USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE = 'XSMALL' SCHEDULE = 'USING CRON 0 * * * * America/Los_Angeles' AS BEGIN ALTER SESSION SET TIMESTAMP_OUTPUT_FORMAT = 'YYYY-MM-DD HH24:MI:SS.FF'; SELECT CURRENT_TIMESTAMP; END;/ !set sql_delimiter=";"
upvoted 1 times
...
_yyukta
10 months ago
Selected Answer: B
B. A task allows a user to execute a single SQL statement/command using a predefined schedule.
upvoted 1 times
...
OscarWest2023
1 year, 7 months ago
Selected Answer: B
https://docs.snowflake.com/en/user-guide/tasks-intro
upvoted 1 times
...
dmitriypo
1 year, 7 months ago
Selected Answer: B
Agree - B
upvoted 1 times
...
Prajdeo
1 year, 9 months ago
Selected Answer: B
A task can execute any one of the following types of SQL code: Single SQL statement Call to a stored procedure Procedural logic using Snowflake Scripting Developer Guide https://docs.snowflake.com/en/user-guide/tasks-intro
upvoted 3 times
...
snowcert
2 years ago
B is the answer
upvoted 2 times
...
Rob__C
2 years ago
https://docs.snowflake.com/en/user-guide/tasks-intro.html
upvoted 2 times
SnowProCertDec22
2 years ago
A task can execute any one of the following types of SQL code: Single SQL statement
upvoted 2 times
...
...
halol
2 years ago
Most probably B as task can run a single SQL statement
upvoted 2 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