ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 72 - Certified Platform Developer II discussion

Report
Export

A developer is working on code that requires a call to an external web service from a batch. How should the developer enable this functionality?

A.
Implement a custom System.CalloutException class
Answers
A.
Implement a custom System.CalloutException class
B.
Include Database.AllowCallout() in the class definition
Answers
B.
Include Database.AllowCallout() in the class definition
C.
Implement an @future method for the callout, and invoke it from the batch
Answers
C.
Implement an @future method for the callout, and invoke it from the batch
D.
Specify "callout=true" in the batch implementation
Answers
D.
Specify "callout=true" in the batch implementation
Suggested answer: B
asked 23/09/2024
Bates, Michael
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first