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 300 discussion

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

A company wants to run different logic based on an Opportunity’s record type.

Which code segment handles this request and follows best practices?

  • A.
  • B.
  • C.
  • D.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Udayudyvk1818
1 year, 3 months ago
Selected Answer: C
to simply use getRecordTypeInfosByDeveloperName https://salesforce.stackexchange.com/questions/11968/what-would-be-the-best-approach-to-get-the-recordtype-id
upvoted 2 times
dasabhisek404
4 months ago
Why not Option A?
upvoted 1 times
...
...
AppleDash
1 year, 5 months ago
Should be C.
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 ...