PrepAway - Latest Free Exam Questions & Answers

Category: Certified Platform Developer II (SU19)

Exam Certified Platform Developer II (SU19)

Which design resource configuration should be used?

A company wants to build a custom Lightning Component that will display a specified Account Field Set and that can only be added to the Account record page. Which design resource configuration should be used? A. <design:component label=”Account FS Component”> <design:attribute name=”fieldSetName” Label=”Field Set Name” /> <sfdc:objects> <sfdc:object>FieldSet&lt/sfdc:object> </sfdc:objects> </design:component> B. <design:component label=”Account FS Component”> […]

What is one way in which the integration can stay near real-time, but not exceed the number of allowed API cal

Recently a Salesforce org’s integration failed because it exceeded the number of allowed API calls in a 24-hour period. The integration handles a near real-time, complex insertion of data into Salesforce. The flow of data is as follows: • The integration looks up Contact records with a given email address and, if found, the integration […]

What change should be applied to the component?

A Lightning Component functions in preview mode and needs to be used inside a Lightning App Builder page, but it is not available. What change should be applied to the component? A. Expose it in the markup using the implements and access attributes. B. Delete the component, metadata, and Apex controller and recreate them. C. […]

Which code block will accurately meet the business requirements?

A developer is asked to update data in an org based on new business rules. The new rules state that Accounts with the type set to ‘Customer’ should have a status of ‘Active’, and Accounts with the type set to ‘Prospect’ should have a status of ‘Pending’. No other changes to data should be made. […]

What is the best way to implement this?

A developer wishes to improve runtime performance of Apex calls by caching results on the client. What is the best way to implement this? A. Decorate the server-side method with @AuraEnabled(cacheable=true). B. Set a cookie in the browser for use upon return to the page. C. Call the setStorable() method on the action in the […]

Which functionality consideration impacts the final decision?

A developer is trying to decide between creating a Visualforce component or a Lightning component for a custom screen. Which functionality consideration impacts the final decision? A. Does the screen need to be rendered as a PDF? B. Does the screen need to be accessible from the Lightning Experience UI? C. Will the screen make […]

An Apex class does not achieve expected code coverage. The testSetup method explicitly calls a method the Apex

An Apex class does not achieve expected code coverage. The testSetup method explicitly calls a method the Apex class. How can the developer generate the code coverage? A. Verify the user has permissions passing a user into System.runAs(). B. Call the Apex class method from a testMethod instead of the testSetup method. C. Add @testVisible […]

Consider the Apex controller above, that is called from a Lightning Aura Component.

Consider the Apex controller above, that is called from a Lightning Aura Component. What is wrong with it? A. Line 1: class must be global B. Lines 1 and 6: class and method must be global C. Line 6: method must be static D. Line 8: method must first serialize the list to JSON before […]

What is the optimal method to implement this?

A company processes Orders within their Salesforce instance. When an Order’s status changes to ‘Paid’ it must notify the company’s order management system (OMS). The OMS exposes SOAP web service endpoints to listen for when to retrieve the data from Salesforce. What is the optimal method to implement this? A. Generate the Enterprise WSDL and […]


Page 1 of 212