Salesforce Certified Platform Developer II — Question 118
A company exposes a REST web service and wants to establish two-way SSL between Salesforce and the REST web service. A certificate signed by an appropriate certificate authority has been provided to the developer.
What modification is necessary on the Salesforce side? (Choose two.)
Answer options
- A. Create an entry for the certificate in Certificate and Key Management
- B. Update the code to use HttpRequest.setClientCertificateName()
- C. Configure two-factor authentication with the provided certificate
- D. Update the code to use HttpRequest.setHeader() to set an Authorization header
Correct answer: A, B
Explanation
The correct answers are A and B because creating an entry for the certificate in Certificate and Key Management is essential for Salesforce to recognize the certificate, and updating the code with HttpRequest.setClientCertificateName() allows the client certificate to be sent with requests. Options C and D are incorrect as two-factor authentication is not required for this setup, and setting an Authorization header does not relate to establishing two-way SSL.