A managed package uses a list of country ISO codes and country names as reference data in many different places from within the managed package Apex code.What is the optimal way to store and retrieve the list?
Answer(s): B
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_customsettings.htm
Lightning Aura ComponentLightning Aura Controller Apex ControllerGiven the code above, which two changes need to be made in the Apex Controller for the code to work? (Choose two.)
Answer(s): A,C
A developer notices the execution of all the test methods in a class takes a long time to run, due to the initial setup of all the test data that is needed to perform the tests.What should the developer do to speed up test execution?
Answer(s): A
An org has a custom object, Part_ _c. Its records are regularly imported from the company’s Enterprise Resource Planning (ERP) system.What can be used to ensure the correct Part_ _c records are updated in Salesforce when imports are made?
https://help.salesforce.com/articleView?language=en_US&type=1&mode=1&id=000313396
The test method above tests in Apex trigger that the developer knows will make a lot of queries when a lot of Accounts are simultaneously updated to be customers.The test method fails at the Line 20 because of too many SOQL queries. What is the correct way to fix this?
Answer(s): C
Post your Comments and Discuss Salesforce Certified Platform Developer II exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the Certified Platform Developer II content, but please register or login to continue.