When calling a RESTful web service, the developer must implement two-way SSL authentication to enhance security. The Salesforce admin has generated a self-sign certificate within Salesforce with a unique name of "ERPSecCertificate". Consider the following code snippet: Which method must the developer implement in order to sign the HTTP request with the certificate?

QuestionsCategory: Certified Platform Developer IIWhen calling a RESTful web service, the developer must implement two-way SSL authentication to enhance security. The Salesforce admin has generated a self-sign certificate within Salesforce with a unique name of "ERPSecCertificate". Consider the following code snippet: Which method must the developer implement in order to sign the HTTP request with the certificate?
Admin Staff asked 4 months ago
When calling a RESTful web service, the developer must implement two-way SSL authentication to enhance security. The Salesforce admin has generated a self-sign certificate within Salesforce with a unique name of "ERPSecCertificate".
Consider the following code snippet:
 Image
Which method must the developer implement in order to sign the HTTP request with the certificate?

A. req.setHeader('certificate', 'ERPSecCertificate');

B. req.setSecureCertificate('ERPSecCertificate');

C. req.setSedure('ERPSecCertificate)';

D. req.setClientCertificateName('ERPSecCertificate');








 

Suggested Answer: D

Community Answer: D



This question is in Certified Platform Developer II Exam
For getting Salesforce Certified Platform Developer II











Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Salesforce. 
Trademarks, certification & product names are used for reference only and belong to Salesforce.
The website does not contain actual questions and answers from Salesforce's Certification Exams.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.