ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 332 - Certified Platform Developer II discussion

Report
Export

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?

A.
req.setHeader('certificate', 'ERPSecCertificate');
Answers
A.
req.setHeader('certificate', 'ERPSecCertificate');
B.
req.setSecure('ERPSecCertificare)';
Answers
B.
req.setSecure('ERPSecCertificare)';
C.
req.setClientCertificateName('ERPSecCertificate');
Answers
C.
req.setClientCertificateName('ERPSecCertificate');
D.
req.setSecureCertificate( 'ERPSecCertificate');
Answers
D.
req.setSecureCertificate( 'ERPSecCertificate');
Suggested answer: C
asked 23/09/2024
Gennaro Migliaccio
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first