Salesforce Certified Platform Developer II — Question 130

A developer is building a Visualforce page that interacts with external services.
Which interface should the developer implement to test this functionality? (Choose two.)

Answer options

Correct answer: A, D

Explanation

The correct choices are HTTPCalloutMock and StaticResourceCalloutMock, as both are designed to simulate HTTP callouts in tests. HTTPRequestMock and HTTPResponseMock do not exist as standard interfaces for this testing purpose, making them incorrect options.