Durable Function:
You plan to create an Azure durable function to manage an online subscription process. the process must call an external API to perform an action. which type of Azure durable function should you use?
Client
Orchestrator
Activity
Triggered
you are developing an Azure function that should run every two hours. which type of expression should you include in the function trigger?
Cron
csharp date time
ticks
ISO 8601
you are developing an Azure function that runs whenever a PNG image is uploaded to an Azure BLOB storage containers named images. which code segment should you include in the Azure function trigger?
BlobTrigger(“images/(name)”);
BlobTrigger(“images/*name*”);
BlobTrigger(“images/(name).png”);
BlobTrigger(“images/*name*.png”);
You are developing a web app that uses Azure durable functions. the app will allow users to create images for use on social media. user upload images of themselves and then the app will superimpose the uploaded images on up to 20 different background images. you need to develop a app. which pattern should you use?
function chaining
fan out fan in
monitor
human interaction
You are developing an Azure durable function to manage and online shopping process. you use an external API to query for current promotions. the API returns a work item GUID that represents the query. query result can take upwards of five minutes to appear. you need to periodically check for every result while minimizing Azure cost. what should you do?
configure a timer in the function that returns on the caller thread
configure a timer in function that returns on a different thread
use the durable function SDK to create a timer
Share with your friends: |