Salesforce Certified Platform Developer II Practice Test - Questions Answers, Page 36
List of questions
Related questions
What should a developer use to query all Account fields for the Acme account in their sandbox?
Consider the following code snippet:
How should <c-order> component communicate to the <c-order-order> component that an order has been selected by the user?
A developer is asked to create a Lightning web component that will be invoked via button on a record page. The component must be displayed in a model dialog.
Which three steps should the developer take to achieve this/ Choose 3 answers
Consider the following code snippet:
Which governor limit is likely to be exceeded when the trigger runs when a scope of 200 newly inserted accounts?
A developer is asked to look into an issue where a scheduled Apex is running into DML limits. Upon investigation, the developer finds that the number of records processed by the scheduled Apex has recently increased to more than 10,000.
What should the developer do to eliminate the limit exception error?
A developer implemented a custom data table in a Lightning web component with filter functionality. However, users are submitted support tickets about long load times when the filters are changed. The component uses an Apex method that is called to query for records the selected filters.
What should the developer do to improve performance of the component?
In a previous data audit, It was determined that close to 5 million Opportunity records are stored within the Salesforce environment. The organization-wide default for the object are set to Public Read-Only and most opportunities are related to an external case.
The method is called from a Lightning web component. Some end users do not provide a cased value and experience low performance while running the query.
Which two techniques should the developer implement to avoid low performance queries from executing? Choose 2 answers
A developer wrote a class named AccountHistoryManager that relies on field history tracking. The class has a static method called getAccountHistory that takes in an Account as a parameter and returns a list of associated AccountHistroy object records.
The following test falls:
What should be done to make this test pass?
A developer created the following test method:
The developer org has five accounts where the name starts with Test". The developer executes this test in the Developer Console.
After the test code runs, which statement is true?
A developer is tasked with creating a Lightning web component that is responsive on various devices. which two components should help accomplish this goal?
Choose 2 answers
Question