Salesforce Certified Platform Developer II - Multiple Choice Sample Questions:
1. Which three approaches should a developer implement to obtain the best performance for data retrieval when building a Lightning web component? Choose 3 answers
A) Use lazy load for occasionally accessed data.
B) Use the Lightning Data Service.
C) Use {Cacheable=true} whenever possible
D) Use layoutTypes: 9'Full') to display a set of fields.
E) Use getRecordUi to obtain metadata.
2. When the sales team views an individual customer record, they need to see recent interactions for the customer. These interactions can be sales orders, phone calls, or Cases. The date range for recent interactions will be different for every customer record type.
How can this be accomplished?
A) Use a Lightning component to query and display interactions based on record type that is passed in using a design:attribute from the Lightning page.
B) Use Lightning Flow to read the customer's record type, and then do a dynamic query for recent interactions and display on the View page.
C) Use batch Apex to query for the most recent interactions when the customer view screen is loaded.
D) Use a dynamic form on the customer record page to display recent interactions.
3. A developer implemented a custom data table in a Lightning web component with filter functionality. However, users are submitting support tickets about long load times when the filters are changed. The component uses an Apex method that is called to query for records based on the selected filters.
What should the developer do to improve performance of the component?
A) Use a selective SOQL query with a custom Index.
B) Use SOSL to query the records on filter change.
C) Return all records into a list when the component is created and filter the array In JavaScript.
D) Use setstoraclel() in the Apex method to store the response In the client-side cache.
4. A Salesforce developer is hired by a multi-national company to build a custom Lightning application that shows employees their employment benefits and earned commissions over time. The application must acknowledge and respect the user's locale context for dates, times, numbers, currency, and currency symbols.
When using Aura components, which approach should the developer implement to ensure the Lightning application complies with the user's locale?
A) Use the $Lacale value provider to retrieve the user preferences.
B) Use the $Label global value provider.
C) Use the $User global variable to retrieve the user preferences.
D) Create a Hierarchical custom setting to store user preferences.
5. A Lightning web component exists in the system and displays information about the record in context as a medal. Salesforce administrators need to use this component within the Lightning App Builder, Which two settings should the developer configure within the xml resource file?
Choose 2 answers
A) Specify the target to be lightning_AppPage
B) Set the IsVisible attribute to true
C) Set the IsExposed=d attribute to true.
D) Specify the target to be lightning_RecordPage
Solutions:
| Question # 1 Answer: A,B,C | Question # 2 Answer: A | Question # 3 Answer: A | Question # 4 Answer: A | Question # 5 Answer: C,D |














1286 Customer Reviews
Quality and ValueITCertKing Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.
Tested and ApprovedWe are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.
Easy to PassIf you prepare for the exams using our ITCertKing testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.
Try Before BuyITCertKing offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.
