ExamGecko
Ask Question

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

Add to Whishlist

List of questions

Question 191

Report Export Collapse

Salesforce Certified Platform Developer II image Question 191 67838 09232024003105000000

A company has the Lightning Component above that allows users to dick a button to save their changes and redirects them to a different page. Currently, when the user hits the Save button the records are getting saved, but they are not redirected.

Which three techniques can a developer use to debug the JavaScript? Choose 3 answers

Become a Premium Member for full access
  Unlock Premium Member

Question 192

Report Export Collapse

An org has a custom object, Registeration_c that has a lookup relationship to the Opportunity object.

What should a developer use to create a stand-alone Vlsualforce page that displays the Registration__c records related to an Opportunity.

Become a Premium Member for full access
  Unlock Premium Member

Question 193

Report Export Collapse

What is the best practice to initialize a Visualforce page in a test class?

Become a Premium Member for full access
  Unlock Premium Member

Question 194

Report Export Collapse

Universal Containers implements a private sharing model for the Convention_Attendence_c custom object. As part of a new quality assurance effort, the company created an Event___Reviewer__c user lookup field on the object.

Management wants the event reviewer to automatically gain Read/write access to every record they are assigned to.

What is the best approach to ensure the assigned reviewer obtains Read/Write access to the record?

Become a Premium Member for full access
  Unlock Premium Member

Question 195

Report Export Collapse

This sales team needs a custom Visualforce page to enter sales orders. When a product is selected on the Visualforce page, a web service is invoked to determine if the product is in stock, and the result is displayed on the page.

How can a developer write this page to display the result of the web service and ensure governor limits for concurrent usage are not exceeded?

Become a Premium Member for full access
  Unlock Premium Member

Question 196

Report Export Collapse

A Visualforce page needs to make a callout to get biding information and tax information from two different REST endpoints. The information needs to be Displayed to the user at the same time and the return value of the billing information contains the input for the tax information callout. Each endpoint might take up to two minutes to process.

How should a developer implement the callouts?

Become a Premium Member for full access
  Unlock Premium Member

Question 197

Report Export Collapse

In an organization that has multi-currency enabled, a developer is tasked with building a Lighting Component that displays the top ten Opportunities most recently access by the logged in user. The developer must ensure the Amount and LastModifiedDate field values are displayed according to the user's locale.

What is the most effective approach to ensure values displayed respect the user's locale settings?

Become a Premium Member for full access
  Unlock Premium Member

Question 198

Report Export Collapse

A developer created three Rollup Summary fields: Total_timesheets_c, Total_Approved_timesheet_c and Total_project_Timesheet_c in the custom object, project _c Now, the developer is tasked with created a new field to show the ratio between and approved

Become a Premium Member for full access
  Unlock Premium Member

Question 199

Report Export Collapse

Refer to re code segment above.

Salesforce Certified Platform Developer II image Question 199 67846 09232024003105000000

When following best practices for writing Apex taggers, which two lots are wrong or cause for concern? Choose 2 answers

Become a Premium Member for full access
  Unlock Premium Member

Question 200

Report Export Collapse

A developer Is asked to develop a new AppExthange application. A feature of the program creates Survey records when a Case reaches a certain stage and Is of a certain Record Type. This feature needs to be configurable, as different

Salesforce instances require Surveys at different times.

Additionally, the out-of-the-box AppExchange app needs to come with a set of best practice settings that apply to most customers.

What should the developer use to store and package the custom configuration settings for the app?

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

Related questions