Exam SnowPro Advanced Architect All QuestionsBrowse all questions from this exam
Question 40

How is the change of local time due to daylight savings time handled in Snowflake tasks? (Choose two.)

    Correct Answer: A, B

    In Snowflake tasks, a task scheduled in a UTC-based schedule will have no issues with the time changes because UTC does not observe daylight saving time. Additionally, task schedules can be designed to follow specified or local time zones to accommodate the time changes by adjusting the schedule accordingly. These approaches ensure that tasks either remain unaffected by daylight saving time changes or can adapt to them as necessary.

Discussion
starkbiOptions: AE

Against B: "A scheduled task runs according to the specified cron expression in the local time for a given time zone. Special care should be taken with regard to scheduling tasks for time zones that recognize daylight saving time. Tasks scheduled during specific times on days when the transition from standard time to daylight saving time (or the reverse) occurs can have unexpected behaviors."

AlachramkowaOptions: AE

https://docs.snowflake.com/en/user-guide/tasks-intro#task-scheduling-and-daylight-saving-time AE

h8er

This example provided in your link is below: "During the autumn change from daylight saving time to standard time, a task scheduled to start at 1 AM in the America/Los_Angeles time zone (i.e. 0 1 * * * America/Los_Angeles) would run twice: once at 1 AM and then again when 1:59:59 AM shifts to 1:00:00 AM local time. That is, there are two points in time when the local time is 1 AM." option E states "fail to handle" it is not failing to handle the task as it is executing it twice.

victorleonisOptions: AB

I guess that is A, B

hillcat111

Answer is A,E and is validated

laksnarnOptions: AB

These options are correct because: Using a UTC-based schedule (Option A) avoids issues with daylight saving time changes as UTC does not observe daylight saving time. Snowflake allows task schedules to follow specified or local time zones (Option B), which can accommodate daylight saving time changes by adjusting the schedule accordingly.