Developing Microsoft Azure and Web Services — Question 88
You need to configure the WebJob.
What should you do?
Answer options
- A. Set the type to Triggered. Set the Scale to Single Instance.
- B. Set the type to Continuous. Set the Scale to Multiple Instance.
- C. Set the type to Triggered. Set the Scale to Multiple Instance.
- D. Set the type to Continuous. Set the Scale to Single Instance.
Correct answer: A
Explanation
The correct answer is A because a Triggered WebJob runs on demand and is best suited for a Single Instance to avoid multiple executions of the same job. Options B and D specify Continuous WebJobs, which are designed for ongoing operations and do not require a Single Instance setting, while option C suggests Multiple Instances for a Triggered job, which is not ideal as it can lead to conflicts.