Free CERTIFIED-PLATFORM-DEVELOPER Salesforce CERTIFIED-PLATFORM-DEVELOPER Practice Test Question

Loading demo links...

Showing 1–2 of 2 questions

Question 1 (Topic 1)

The OrderHelper class is a utility class that contains business logic for processing orders. Consider the following code snippet: public class without sharing OrderHelper( //code implementation } A developer needs to create a constant named DELIVERY_MULTIPLIER with a value of 4.15. The value of the constant should not change at any time in the code. How should the developer declare the DELIVERY_MULTIPLIER constant to meet the business objectives?

Select an option, then click Submit answer.

  • A decimal DELIVERY_MULTIPLIER = 4.15;
  • static final decimal DELIVERY_MULTIPLIER = 4.15;
  • constant decimal DELIVERY_MULTIPLIER = 4.15;
  • static decimal DELIVERY_MULTIPLIER = 4.15;
Question 2 (Topic 1)

Which annotation should a developer use on an Apex method to make it available to be wired to a property in a Lightning web component?

Select an option, then click Submit answer.

  • @RemoteAction (cacheable=true)
  • @AuraEnabled
  • @AuraEnabled (cacheable=true)
  • @RemoteAction