Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 305 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 305
Topic #: 1
[All Certified Platform Developer II Questions]

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');
  • B. req.setSecureCertificate('ERPSecCertificate');
  • C. req.setSedure('ERPSecCertificate)';
  • D. req.setClientCertificateName('ERPSecCertificate');
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Ullr
Highly Voted 1 year, 7 months ago
D https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_callouts_client_certs_http.htm
upvoted 6 times
...
stan_malta
Most Recent 1 year ago
Selected Answer: D
Definitely D
upvoted 1 times
...
Udayudyvk1818
1 year, 3 months ago
Selected Answer: D
D is the answer
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...