nerdexam
Salesforce

PDII · Question #286

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

Sign in or unlock PDII to reveal the answer and full explanation for question #286. The question stem and answer options stay visible for context.

Question

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?

Options

  • Areq.setHeader('certificate', 'ERPSecCertificate');
  • Breq.setSecureCertificate('ERPSecCertificate');
  • Creq.setSedure('ERPSecCertificate)';
  • Dreq.setClientCertificateName('ERPSecCertificate');

Unlock PDII to see the answer

You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full PDII Practice