You must run a Timer-triggered function at 7:00 AM every Monday through Friday in Pacific Time, including daylight saving time adjustments. The Function App runs on Windows. How should you configure the schedule?
Choose an answer
Tap an option to check your answer.
Correct answer: Use a six-field NCRONTAB expression of "0 0 7 * * 1-5" on the Timer trigger and set the WEBSITE_TIME_ZONE app setting to "Pacific Standard Time"..
Why this is the answer
The correct approach for scheduling a Timer-triggered function with time zone awareness on Windows is to use a six-field NCRONTAB expression and specify the time zone using the WEBSITETIMEZONE app setting. The six-field NCRONTAB expression 0 0 7 1-5 translates to "at minute 0, hour 7, every day of the month, every month, on day of week 1 (Monday) through 5 (Friday)". The WEBSITETIMEZONE app setting, when set to "Pacific Standard Time", ensures the function respects Pacific Time, including automatic daylight saving adjustments. Using a UTC schedule (0 0 15 1-5) would require manual adjustment for daylight saving, as UTC does not observe it. A five-field CRON expression (0 7 1-5) is interpreted as UTC by default on Azure Functions, not local time, and doesn't support time zone settings directly. While host.json can have time zone settings, the WEBSITETIMEZONE app setting is the recommended and effective way to configure the time zone for Timer triggers in Azure Functions on Windows.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed