You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- content: '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?'
18
-
choices:
19
-
- content: "/"
20
-
isCorrect: false
21
-
explanation: "A slash specifies an increment. For example, a */5 in the {seconds} field means every five seconds."
22
-
- content: "*"
23
-
isCorrect: true
24
-
explanation: "An asterisk specifies that every possible value should be selected. Having an asterisk in the {day of the week} field means that every day should be selected."
25
-
- content: ","
26
-
isCorrect: false
27
-
explanation: "A comma separates items in a list. For example, a 1,2,3 in the {month} field means select January, February, and March."
28
-
- content: "‐"
29
-
isCorrect: false
30
-
explanation: "A hyphen specifies a range. For example, a 1-3 in the {month} field means select January, February, and March."
31
-
32
-
- content: 'Suppose your Azure Function has a blob trigger associated with it and you want it to execute only when *png* images are uploaded. Which of the following blob trigger *Path* values should you use?'
33
-
choices:
34
-
- content: "samples-workitems/{name}"
35
-
isCorrect: false
36
-
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
37
-
- content: "samples-workitems/{name}/png"
38
-
isCorrect: false
39
-
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
40
-
- content: "samples-workitems/{name}?png"
41
-
isCorrect: false
42
-
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
43
-
- content: "samples-workitems/{name}.png"
44
-
isCorrect: true
45
-
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
46
-
47
-
- content: 'True or false: an Azure Function can have multiple triggers associated with it?'
48
-
choices:
49
-
- content: "True"
50
-
isCorrect: false
51
-
explanation: "Every Azure Function must have exactly one trigger associated with it. If you want to use multiple triggers, you must create multiple functions."
52
-
- content: "False"
53
-
isCorrect: true
54
-
explanation: "Every Azure Function must have exactly one trigger associated with it. If you want to use multiple triggers, you must create multiple functions."
- content: '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?'
18
+
choices:
19
+
- content: "/"
20
+
isCorrect: false
21
+
explanation: "A slash specifies an increment. For example, a */5 in the {seconds} field means every five seconds."
22
+
- content: "*"
23
+
isCorrect: true
24
+
explanation: "An asterisk specifies that every possible value should be selected. Having an asterisk in the {day of the week} field means that every day should be selected."
25
+
- content: ","
26
+
isCorrect: false
27
+
explanation: "A comma separates items in a list. For example, a 1,2,3 in the {month} field means select January, February, and March."
28
+
- content: "‐"
29
+
isCorrect: false
30
+
explanation: "A hyphen specifies a range. For example, a 1-3 in the {month} field means select January, February, and March."
31
+
32
+
- content: 'Suppose your Azure Function has a blob trigger associated with it and you want it to execute only when PNG images are uploaded. Which of the following blob trigger *Path* values should you use?'
33
+
choices:
34
+
- content: "`samples-workitems/{name}`"
35
+
isCorrect: false
36
+
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
37
+
- content: "`samples-workitems/{name}/png`"
38
+
isCorrect: false
39
+
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
40
+
- content: "`samples-workitems/{name}?png`"
41
+
isCorrect: false
42
+
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
43
+
- content: "`samples-workitems/{name}.png`"
44
+
isCorrect: true
45
+
explanation: "The Path tells the blob trigger where it should monitor for changes, and if there are any filters applied. Adding a file extension to the Path specifies that uploaded files must have that file extension in order for the trigger to invoke the function."
46
+
47
+
- content: 'True or false: an Azure Function can have multiple triggers associated with it?'
48
+
choices:
49
+
- content: "True"
50
+
isCorrect: false
51
+
explanation: "Every Azure Function must have exactly one trigger associated with it. If you want to use multiple triggers, you must create multiple functions."
52
+
- content: "False"
53
+
isCorrect: true
54
+
explanation: "Every Azure Function must have exactly one trigger associated with it. If you want to use multiple triggers, you must create multiple functions."
0 commit comments