ExamGecko
Ask Question

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

Add to Whishlist

List of questions

Question 101

Report Export Collapse

The Contact object has a custom field called "Zone." Its data type is "Text" and field length is 3. What is the outcome after executing the following code snippet in the org?

Salesforce Certified Platform Developer II image Question 101 67748 09232024003105000000

Become a Premium Member for full access
  Unlock Premium Member

Question 102

Report Export Collapse

Which statement is true regarding the use of user input as part of a dynamic SOQL query?

Become a Premium Member for full access
  Unlock Premium Member

Question 103

Report Export Collapse

A developer has written the following method: static void processList(List<sobject> input){ Which code block can be used to call the method?

Become a Premium Member for full access
  Unlock Premium Member

Question 104

Report Export Collapse

A developer needs to design a custom object that will be integrated into a back-end system.

What should the developer do to ensure good data quality and to ensure that data imports, integrations, and searches perform well? (Choose two.)

Become a Premium Member for full access
  Unlock Premium Member

Question 105

Report Export Collapse

A developer encounters an error that states that the Apex heap size is exceeded. Which technique may reduce heap size?

Become a Premium Member for full access
  Unlock Premium Member

Question 106

Report Export Collapse

A developer has a Debug method within a class, which is invoked hundreds of times.

What is the optimal functionality in the Developer Console to count the number of calls made to the method?

Become a Premium Member for full access
  Unlock Premium Member

Question 107

Report Export Collapse

What is a consideration when testing batch Apex? (Choose two.)

Become a Premium Member for full access
  Unlock Premium Member

Question 108

Report Export Collapse

A custom field Exec_Count_c of type Number is created on an Account object. An account record with value of "1" for a: Exec__Count_c is saved. A workflow field update is defined on the Exec_Count_c field, to increment its value every time an account record is created or updated. The following trigger is defined on the account: trigger ExecOrderTrigger on Account (before insert, before update, after insert, after update){ for (Account accountlnstance: Trigger.New){ if (Trigger . isBefore){ accountlnstance Exec_Count_c += 1; } System, debug (accountlnstance.Exec_Count_c); } }

Become a Premium Member for full access
  Unlock Premium Member

Question 109

Report Export Collapse

A developer is building a Visualforce page that interacts with external services.

Which interface should the developer implement to test this functionality? (Choose two.)

Become a Premium Member for full access
  Unlock Premium Member

Question 110

Report Export Collapse

A developer needs to create a Lightning page for entering Order Information. An error message should be displayed if the zip code entered as part of the Order's shipping address is not numeric.

What is a recommended way for the error message be displayed to the end user?

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

Related questions