PDI試験無料問題集「Salesforce Platform Developer I (PDI) 認定」

A developer wants to improve runtime performance of Apex calls by caching results on the client.
What is the most efficient way to implement this and follow best practices?

解説: (GoShiken メンバーにのみ表示されます)
A developer must troubleshoot to pinpoint the causes of performance issues when a custom page loads in their org.
Which tool should the developer use to troubleshoot query performance?

解説: (GoShiken メンバーにのみ表示されます)
What are two use cases for executing Anonymous Apex code?
Choose 2 answers

解説: (GoShiken メンバーにのみ表示されます)
A developer must write an Apex method that will be called from a Lightning component. The method may delete an Account stored in the accountRec variable.
Which method should a developer use to ensure only users that should be able to delete Accounts can successfully perform deletions?

解説: (GoShiken メンバーにのみ表示されます)
Which annotation should a developer use on an Apex method to make it available to be wired to a property in a Lightning web component?

解説: (GoShiken メンバーにのみ表示されます)
Which exception type cannot be caught?

解説: (GoShiken メンバーにのみ表示されます)
The orderHelper class is a utility class that contains business logic for processing orders. Consider the following code snippet:
Public class without sharing orderHelper {// code implementation
}
A developer needs to create a constant named delivery_multiplier with a value of 4.15. The value of the constant should not change at any time in the code.
How should the developer declare the delivery multiplier constant to meet the business objectives?

解説: (GoShiken メンバーにのみ表示されます)
A developer created this Apex trigger that calls MyClass.mystaticMethod:
The developer creates a test class with a test method that calls MyClass.myStaticMethod directly, resulting in
81% overall code coverage What happens when the developer tries to deploy the trigger and two classes to production, assuming no other code exists?

解説: (GoShiken メンバーにのみ表示されます)
A custom picklist field, Pool Preference , exists on a custom object. The picklist contains the following options: 'Vegan', 'Kosher', 'No Preference'. The developer must ensure a value is populated every time a record is created or updated.
What is the optimal way to ensure a value is selected every time a record is saved?

解説: (GoShiken メンバーにのみ表示されます)
The following code snippet is executed by a Lightning web component in an environment with more than
2,000 lead records:

Which governor limit will likely be exceeded within the Apex transaction?

解説: (GoShiken メンバーにのみ表示されます)
A developer wants to import 500 Opportunity records into a sandbox.
Why should the developer choose to use Data Loader instead of Data Import Wizard?

解説: (GoShiken メンバーにのみ表示されます)
Which three resources in an Aura component can contain JavaScript functions?
Choose 3 answers

正解:B,C,D 解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
A lead developer creates a virtual class called "OrderRequest". Consider the following code snippet:
Public class CustomerOrder {
//code implementation
}
How can a developer use the OrderRequest class within the CustomerOrder class?

解説: (GoShiken メンバーにのみ表示されます)
A developer is asked to write helper methods that create test data for unit tests.

What should be changed in the TestUtils class so that its methods are only usable by unit test methods?

解説: (GoShiken メンバーにのみ表示されます)