nerdexam
Microsoft

AZ-204 · Question #353

A CRON expression is a string that consists of six fields that represent a set of times. The order of the six fields in Azure is: {second} {minute} {hour} {day} {month} {day of the week}. Suppose…

The correct answer is B. *. To specify 'every day' in the {{day of the week}} position of an Azure CRON expression, the asterisk (*) special character is used.

Submitted by rachelw· Mar 30, 2026Develop Azure compute solutions

Question

A CRON expression is a string that consists of six fields that represent a set of times. The order of the six fields in Azure is: {second} {minute} {hour} {day} {month} {day of the week}. Suppose you needed a CRON expression that meant "every day", what special character would you put in the {day of the week} position?

Options

  • A/
  • B
  • C,
  • D

How the community answered

(28 responses)
  • A
    7% (2)
  • B
    75% (21)
  • C
    14% (4)
  • D
    4% (1)

Why each option

To specify 'every day' in the {{day of the week}} position of an Azure CRON expression, the asterisk (*) special character is used.

A/

The forward slash (/) is used to specify increments (e.g., */5 for every 5 units).

B*Correct

In CRON expressions, the asterisk (*) character is a wildcard that signifies 'every' or 'any' value for a particular field, meaning it will match every day of the week. Therefore, placing an asterisk in the {{day of the week}} field schedules the job to run daily.

C,

The comma (,) is used to specify a list of values (e.g., MON,WED,FRI).

D-

The hyphen (-) is used to specify a range of values (e.g., MON-FRI).

Concept tested: CRON expression wildcard character

Source: https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-timer?tabs=in-process&pivots=programming-language-csharp#ncrontab-expressions

Topics

#CRON expressions#Timer trigger#Azure Functions scheduling

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice