nerdexam
Microsoft

70-573 · Question #47

You need to create a timer job that queries a list. What should you do?

The correct answer is A. Create a class that inherits SPJobDefinition and override the Execute method. MNEMONIC RULE: "Execute timer job" Next, and the most important thing, is to override Execute() method. This method is called each time when thejob is fired, so it should contain all the logic to accomplish what You expect from the SPJobDefinition as the way to create scheduled…

Developing Business Logic

Question

You need to create a timer job that queries a list. What should you do?

Options

  • ACreate a class that inherits SPJobDefinition and override the Execute method.
  • BCreate a class that inherits SPServiceApplicationand override the Provision method.
  • CCreate a class that inherits SPServiceApplicationand override the Provisionlnstances method.
  • DCreate a class that inherits SPJobDefinition and override the Provision method.

How the community answered

(42 responses)
  • A
    81% (34)
  • B
    12% (5)
  • C
    5% (2)
  • D
    2% (1)

Explanation

MNEMONIC RULE: "Execute timer job" Next, and the most important thing, is to override Execute() method. This method is called each time when thejob is fired, so it should contain all the logic to accomplish what You expect from the SPJobDefinition as the way to create scheduled tasks

Topics

#timer job#SPJobDefinition#Execute method#scheduled tasks

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice