ExamGecko
Ask Question

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

Add to Whishlist

List of questions

Question 411

Report Export Collapse

A developer is writing a Visualforce page that queries accounts in the system and presents a data table with the results. The users want to be able to filter the results based on up to five fields. However, the users want to pick the five fields to use as filter fields when they run the page.

Which Apex code feature is required to facilitate this solution?

Become a Premium Member for full access
  Unlock Premium Member

Question 412

Report Export Collapse

Which two best practices should the developer implement to optimize this code? Choose 2 answers

Become a Premium Member for full access
  Unlock Premium Member

Question 413

Report Export Collapse

A developer needs to implement a system audit feature that allows users, assigned to a custom profile named 'Auditors', to perform searches against the historical records in the Account object. The developer must ensure the search is able to return history records that are between 6 and 12 months old.

Given the code below, which select statement should be inserted below as a valid way to retrieve the Account History records ranging from 6 to 12 months old?

Salesforce Certified Platform Developer II image Question 413 135398 02032025000724000000

A)

Salesforce Certified Platform Developer II image Question 413 135398 02032025000724000000

B)

Salesforce Certified Platform Developer II image Question 413 135398 02032025000724000000

C)

Salesforce Certified Platform Developer II image Question 413 135398 02032025000724000000

D)

Salesforce Certified Platform Developer II image Question 413 135398 02032025000724000000

Become a Premium Member for full access
  Unlock Premium Member

Question 414

Report Export Collapse

A developer created a Lightning web component mat allows users to Input a text value that is used to search for Accounts by calling an Apex method. The Apex method returns a list of account to apply and is called imperatively from a JavaScript event handler.

Salesforce Certified Platform Developer II image Question 414 135399 02032025000724000000

Which two changes should the developer make so the Apex method functions correctly.

Choose 2 answers

Become a Premium Member for full access
  Unlock Premium Member

Question 415

Report Export Collapse

A developer needs to implement a historical Task reporting feature that allows users, assigned to a custom profile named 'Auditors', to perform searches against the Tasks related to the Account object.

The developer must ensure the search is able to return Tasks that are between 12 and 24 months old. It should exclude any tasks which have been deleted, and include Tasks whether archived or not.

Given the following code, which select statement should be inserted at the placeholder as a valid way to retrieve the Tasks ranging from L2 to 24 months old?

Salesforce Certified Platform Developer II image Question 415 135400 02032025000724000000

Become a Premium Member for full access
  Unlock Premium Member

Question 416

Report Export Collapse

A developer created an Apex class that updates an Account based on input from a Lightning web component that Is used to register an Account. The update to the Account should only be made if it has not already been registered.

Salesforce Certified Platform Developer II image Question 416 135401 02032025000724000000

What should the developer do to ensure that users do not overwrite each other's updates to the same Account if they make updates at the same time?

Become a Premium Member for full access
  Unlock Premium Member

Question 417

Report Export Collapse

Consider the below trigger intended to assign the Account to the manager of the Account's region:

Salesforce Certified Platform Developer II image Question 417 135402 02032025000724000000

Which two changes should a developer make in this trigger to adhere to best practices?

Choose 2 answers

Become a Premium Member for full access
  Unlock Premium Member

Question 418

Report Export Collapse

Refer to the component code and requirements below:

Salesforce Certified Platform Developer II image Question 418 135403 02032025000724000000

Requirements:

1. For mobile devices, the information should display in three rows.

2. For desktops and tablets, the information should display in a single row.

Requirement 2 Is not displaying as desired.

Which option has the correct component code to meet the requirements for desktops and tablets?

Become a Premium Member for full access
  Unlock Premium Member

Question 419

Report Export Collapse

A company accepts orders for customers in their enterprise resource planning (ERP) system that must be integrated into Salesforce as order_ c records with a lookup field to Account. The Account object has an external ID field, ENF_Customer_ID_c.

What should the Integration use to create new Oder_c records that will automatically be related to the correct Account?

Become a Premium Member for full access
  Unlock Premium Member

Question 420

Report Export Collapse

Given the following containment hierarchy:

What is the correct way to communicate the new value of a property named ''passthrough'' to my-parent-component if the property is defined within my-child-component?

A)

Salesforce Certified Platform Developer II image Question 420 135405 02032025000724000000

B)

Salesforce Certified Platform Developer II image Question 420 135405 02032025000724000000

C)

Salesforce Certified Platform Developer II image Question 420 135405 02032025000724000000

Salesforce Certified Platform Developer II image Question 420 135405 02032025000724000000

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

Related questions