Free Certified Platform Developer II Exam Braindumps (page: 52)

Page 52 of 90

Which annotation exposes an Apex class as a RESTful web service?

  1. @AuraEnabled
  2. @HttpInvocable
  3. @RestResource
  4. @RemoteAction

Answer(s): C



Which three Visualforce components can be used to initiate Ajax behavior to perform partial page updates? (Choose three.)

  1. <apex:actionSupport>
  2. <apex:commandLink>
  3. <apex:actionStatus>
  4. <apex:commandButton>
  5. <apex:form>

Answer(s): A,B,D



A developer is developing a reuseable Aura Component that will reside on an sObject Lightning Page with the following HTML snippet:



How can the component’s Controller get the context of the Lightning Page that the sObject is on without requiring additional test coverage?

  1. Use the getSObjectType() method in an Apex class
  2. Create a design attribute and configure via App builder
  3. Set the sObject type as a component attribute
  4. Add force:hasSobjectName to the implements

Answer(s): D



A developer is asked to develop a new AppExchange application. A feature of the program creates Survey records when a Case reaches a certain stage and is of a certain Record Type. This feature needs to be configurable, as different Salesforce instances require Surveys at different times. Additionally, the out-of-the- box AppExchange app needs to come with a set of best practice settings that apply to most customers.

What should the developer use to store and package the custom configuration settings for the app?

  1. Custom Metadata
  2. Process Builder
  3. Custom Objects
  4. Custom Settings

Answer(s): A



Page 52 of 90



Post your Comments and Discuss Salesforce Certified Platform Developer II exam with other Community members:

Jenil Gandhi commented on November 14, 2024
Hi everyone could sone share the certification voucher for PD2.
INDIA
upvote

Aniq commented on December 02, 2023
Hi every one Could some share the certification voucher for PD2
Anonymous
upvote

Rasheed commented on June 07, 2023
Worth the price. I got 50% off when I selected 2 exams.
PAKISTAN
upvote

Lisha commented on September 21, 2022
Thank you!
Anonymous
upvote