nerdexam
Salesforce

PDII · Question #19

PDII Question #19: Real Exam Question with Answer & Explanation

The correct answer is A. The callouts will be made in an Apex Trigger.. See the full explanation below for the reasoning.

Question

A developer is writing code that requires making callouts to an external web service. Which scenario necessitates that the callout be made in an @future method?

Options

  • AThe callouts will be made in an Apex Trigger.
  • BThe callouts will be made in an Apex Test class.
  • CThe callout could take longer than 60 seconds to complete.
  • DOver 10 callouts will be made in a single transaction.

Community Discussion

No community discussion yet for this question.

Full PDII Practice