Salesforce Certified Platform Developer II - Multiple Choice - Plat-Dev-301 模擬練習
A developer wrote an Apex class to make several callouts to an external system.
If the URLs used in these callouts will change often, which feature should the developer use to minimize changes needed to the Apex class?
If the URLs used in these callouts will change often, which feature should the developer use to minimize changes needed to the Apex class?
正解: D
解説: (PassTest メンバーにのみ表示されます)
Universal Containers develops a Visualforce page that requires the inclusion of external JavaScript and C55 files. They want to ensure efficient loading and caching of the page.
Which feature should be utilized to achieve this goal?
Which feature should be utilized to achieve this goal?
正解: D
解説: (PassTest メンバーにのみ表示されます)
Which interface needs to be implemented by an Aura component so that it may be displayed in modal dialog by clicking a button on a Lightning record page?
正解: B
解説: (PassTest メンバーにのみ表示されます)
Which three actions must be completed in a Lightning web component for a JavaScript file In a static resource to be loaded? Choose 3 answers
正解: C,D,E
A developer built an Aura component for guests to self-register upon arrival at a front desk kiosk. Now the developer needs to create a component for the utility tray to alert users whenever a guest arrives at the front desk.
What should be used?
What should be used?
正解: B
解説: (PassTest メンバーにのみ表示されます)
Salesforce users consistently receive a "Maximum trigger depth exceeded" error when saving an Account. How can a developer fix this error?
正解: C
解説: (PassTest メンバーにのみ表示されます)
Which technique can run custom logic when a Lightning web component is loaded?
正解: A
解説: (PassTest メンバーにのみ表示されます)
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?
How can this be accomplished?
正解: A
解説: (PassTest メンバーにのみ表示されます)
Universal Containers (LIC) wants to develop a customer community to help their customers log issues with their containers. The community needs to function for their German- and Spanish-speaking customers also. UC heard that it's easy to create an international community using Salesforce, and hired a developer to build out the site.
What should the developer use to ensure the site is multilingual?
What should the developer use to ensure the site is multilingual?
正解: A
解説: (PassTest メンバーにのみ表示されます)
Exhibit:

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?

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?
正解: A
解説: (PassTest メンバーにのみ表示されます)