Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Salesforce logo

SalesforceCertified Platform Developer II

Domain 4Objective 6

Describe Use Cases for JavaScript in a Visualforce Page. PLATFORM-DEVELOPER-II Practice Questions (Page 1)

Part of the USER INTERFACE domain, which accounts for 20% of the PLATFORM-DEVELOPER-II exam.

30questions here
6free pages
7concepts
20%of the exam

Questions 1–5

  1. 1expert · hard

    A Visualforce page displays a list of records with a 'Refresh' button. When clicked, the page should fetch the latest data from the server and update the list without a full page refresh. The developer is considering two approaches: using a JavaScript remoting call to a @RemoteAction method, or using an actionFunction with a rerender. Which approach is more appropriate and why?

    Select an answer first
  2. 2foundation · easy

    Which practice helps avoid conflicts between JavaScript libraries in a Visualforce page?

    Select an answer first
  3. 3application · medium

    A developer is building a Visualforce page for a custom object called 'Project__c'. The page displays a list of related 'Task__c' records. The requirement is that when a user clicks a checkbox on a task row, the row's background color changes immediately to indicate completion, without a page refresh. Which JavaScript approach should the developer use?

    Select an answer first
  4. 4application · medium

    A Visualforce page needs to display a count of related records for a list of accounts. The developer wants to fetch the counts asynchronously after the page loads and update the display without a page refresh. Which approach is most efficient?

    Select an answer first
  5. 5expert · hard

    A Visualforce page has a custom lookup field. When the user types in the field, the page should display matching records in a dropdown. The developer wants to implement this using JavaScript. The page also needs to handle cases where the user types quickly, to avoid sending too many requests. Which technique should be used?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Salesforce. “PLATFORM-DEVELOPER-II” is a trademark of its owner, used for identification only.