Back to assessment | Back to main |
Learning Path 2: AZ-204: Implement Azure Functions
Multiple-choice questions
-
Which of the following Azure Functions hosting plans is best hen predictive scaling and costs are required?
- A. Functions Premium Plan
- b. Dedicated plan
- c. Consumption plan
Show answer
Dedicated plan -
An organization wants to implement a serverless workflow to solve a business problem. One of the requirements is the solution needs to use a designer-first (declarative) development model. Which of the choices below meets the requirements?
- A. Azure Functions
- b. Azure Logic Apps
- c. WebJobs
Show answer
Azure Logic Apps -
Which of the following choices is required for a function to run?
- A. Binding
- b. Trigger
- c. Both triggers and bindings
Show answer
Trigger -
Which of the following choices supports both the in and out direction settings?
- A. Bindings
- b. Trigger
- c. Connection value
Show answer
Bindings
Open ended questions
-
Describe the role of triggers and bindings in an Azure Function app. Which, if any, are required?
Show answer
Triggers are what cause a function to run. A trigger defines how a function is invoked and a function must have exactly one trigger. Triggers have associated data, which is often provided as the payload of the function. Bindings, which are not required, connect functions to other resources in Azure and have an in or outdirection. -
Describe how Azure Functions are scaled in the Consumption and Premium plans.
Show answer
In the Consumption and Premium plans, Azure Functions scales CPU and memory resources by adding additional instances of the Functions host. The number of instances is determined on the number of events that trigger a function.
Back to top | Back to assessment | Back to main |