ExamGecko
Ask Question

Salesforce Certified Platform Developer II Practice Test - Questions Answers, Page 36

List of questions

Question 351

Report
Export
Collapse

What should a developer use to query all Account fields for the Acme account in their sandbox?

Become a Premium Member for full access
  Unlock Premium Member

Question 352

Report
Export
Collapse

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?

Become a Premium Member for full access
  Unlock Premium Member

Question 353

Report
Export
Collapse

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

Become a Premium Member for full access
  Unlock Premium Member

Question 354

Report
Export
Collapse

Consider the following code snippet:

Salesforce Certified Platform Developer II image Question 354 68001 09232024003105000000

Which governor limit is likely to be exceeded when the trigger runs when a scope of 200 newly inserted accounts?

Become a Premium Member for full access
  Unlock Premium Member

Question 355

Report
Export
Collapse

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?

Become a Premium Member for full access
  Unlock Premium Member

Question 356

Report
Export
Collapse

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?

Become a Premium Member for full access
  Unlock Premium Member

Question 357

Report
Export
Collapse

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

Become a Premium Member for full access
  Unlock Premium Member

Question 358

Report
Export
Collapse

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:

Salesforce Certified Platform Developer II image Question 358 68005 09232024003105000000

What should be done to make this test pass?

Become a Premium Member for full access
  Unlock Premium Member

Question 359

Report
Export
Collapse

A developer created the following test method:

Salesforce Certified Platform Developer II image Question 359 68006 09232024003105000000

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?

Become a Premium Member for full access
  Unlock Premium Member

Question 360

Report
Export
Collapse

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

Become a Premium Member for full access
  Unlock Premium Member
Total 438 questions
Go to page: of 44
Search

Related questions