exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 3 question 9 discussion

Actual exam question from Microsoft's AZ-300
Question #: 9
Topic #: 3
[All AZ-300 Questions]

You have an Azure App Service named WebApp1.
You plan to add a WebJob named WebJob1 to WebApp1.
You need to ensure that WebJob1 is triggered every 15 minutes.
What should you do?

  • A. Change the Web.config file to include the 1-31 1-12 1-7 0*/15* CRON expression
  • B. From the properties of WebJob1, change the CRON expression to 0*/15****.
  • C. Add a file named Settings.job to the ZIP file that contains the WebJob script. Add the CRON expression to the JOB file 1-31 1-12 1-7 0*/15*
  • D. Create an Azure Automation account and add a schedule to the account. Set the recurrence for the schedule
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
You can enter a CRON expression in the portal or include a settings.job file at the root of your WebJob .zip file, as in the following example:
{
"schedule": "0 */15 * * * *"
}
References:
https://docs.microsoft.com/en-us/azure/app-service/webjobs-create

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
qr
Highly Voted 5 years, 3 months ago
infp: https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-timer?tabs=csharp
upvoted 8 times
...
AmazonAu
Most Recent 4 years, 9 months ago
https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-timer?tabs=csharp#ncrontab-expressions
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...