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

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

A developer recently released functionality to production that performs complex commission calculations in Apex code called from an Opportunity trigger. Users report that the calculations seem incorrect because the values they see for commissions are wrong.

The developer has representative test data in their developer sandbox.

Which three tools or techniques should the developer use to execute the code and pause it at key lines to visually inspect values of various Apex variables? (Choose two.)

  • A. Apex Replay Debugger
  • B. Visual Studio Code
  • C. Workbench
  • D. Developer Console
  • E. Breakpoints
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
[Removed]
Highly Voted 1 year, 2 months ago
The question mentions "which three tools or techniques," so using [B. Visual Studio Code]'s [A. Apex Replay Debugger] to set up [E. Breakpoints] for inspection seems to be the correct answer.
upvoted 5 times
...
FriedConsole2000
Most Recent 8 months, 4 weeks ago
Selected Answer: AB
"A" & "B"
upvoted 2 times
...
Sapphire808
1 year, 2 months ago
AD Breakpoints are a part of Apex Replay Debugger which is an extension of Visual Studio Code. https://developer.salesforce.com/tools/vscode/en/apex/replay-debugger Checkpoints inside the developer console can be used to access variables and collections. https://help.salesforce.com/s/articleView?id=sf.code_dev_console_view_checkpoints.htm&type=5
upvoted 1 times
FriedConsole2000
8 months, 4 weeks ago
So "A" & "B".
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 ...