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."
Copy file name to clipboardExpand all lines: learn-pr/azure/execute-azure-function-with-triggers/includes/1-introduction.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
Imagine a scenario where a busy hair salon has a recurring problem: customers commonly miss their appointments. Appointments are reserved time slots, so if a customer misses an appointment, the salon loses money. To fix this problem, the salon reaches out to you, a software developer. To improve the situation, you decide to send two types of reminder text messages, one that's sent as soon as the appointment is scheduled or changed, and a text message sent each morning to each customer who has an appointment that day.
1
+
Imagine a scenario where a busy hair salon has a recurring problem: customers commonly miss their appointments. Appointments are reserved time slots, so if a customer misses an appointment, the salon loses money. To fix this problem, the salon reaches out to you, a software developer. To improve the situation, you decide to send two types of reminder text messages. One message is sent as soon as the appointment is scheduled or changed. Another text message is sent each morning to each customer who has an appointment that day.
2
2
3
-
You need to create a service that can be easily scheduled, updated, and scaled. You decide to solve this problem using Azure Functions. You already know how to implement the logic to send a text message. Now you need to learn how to send the message at a specific time or when a specific event occurs. Luckily, Azure Functions supports a feature called _triggers_. Triggers are used to invoke your function code in Azure.
3
+
You need to create a service that can be easily scheduled, updated, and scaled. You decide to solve this problem using Azure Functions. You already know how to implement the logic to send a text message. Now you need to learn how to send the message at a specific time or when a specific event occurs. Luckily, Azure Functions supports a feature called *triggers*. Triggers are used to invoke your function code in Azure.
4
4
5
5
## Learning objectives
6
6
@@ -13,7 +13,7 @@ In this module, you will:
13
13
14
14
## Supported languages
15
15
16
-
This module uses the Azure portal to create and test your function code. Functions supports in-portal development for the following languages:
16
+
This module uses the Azure portal to create and test your function code. Azure Functions supports in-portal development for the following languages:
0 commit comments