ExamGecko
Ask Question

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

List of questions

Question 331

Report
Export
Collapse

Universal Containers uses a custom Lightning page to provide a mechanism to perform a step-bystep wizard search for Accounts. One of the steps in the wizard is to allow the user to input text into a text field, ERP_Number__c, that is then used in a query to find matching Accounts.

Salesforce Certified Platform Developer II image Question 331 67978 09232024003105000000

A developer receives the exception 'SOQL query not selective enough.

Which step should be taken to resolve the issue?

Become a Premium Member for full access
  Unlock Premium Member

Question 332

Report
Export
Collapse

When calling a RESTful web service, the developer must implement two-way SSL authentication to enhance security. The Salesforce admin has generated a self-sign certificate within Salesforce with a unique name of "ERPSecCertificate". Consider the following code snippet:

Which method must the developer implement in order to sign the HTTP request with the certificate?

Become a Premium Member for full access
  Unlock Premium Member

Question 333

Report
Export
Collapse

A developer created a JavaScript library that simplifies the development of repetitive tasks and features and uploaded the library as a static resource called jsutils in Salesforce. Another developer is coding a new Lightning web component (LWC) and wants to leverage the library.

Which statement properly loads the static resource within the LWC?

Become a Premium Member for full access
  Unlock Premium Member

Question 334

Report
Export
Collapse

Ursa Major Solar has a custom object, serviceJcb__c, with an optional Lookup field to Account called Partr,er_service_Provid«r__c.

The TocaUobs__c field on Account tracks the total number of serviceJcb__o records to which a partner service provider Account is related.

What should be done to ensure that the TotalJobs_c field is kept up to date?

Become a Premium Member for full access
  Unlock Premium Member

Question 335

Report
Export
Collapse

The Salesforce admin at Cloud Kicks created a custom object called Region__c to store all postal zip codes in the United States and the Cloud Kicks sales region the zip code belongs to.

Salesforce Certified Platform Developer II image Question 335 67982 09232024003105000000

Cloud Kicks wants a trigger on the Lead to populate the Region based on the Lead's zip code.

Become a Premium Member for full access
  Unlock Premium Member

Question 336

Report
Export
Collapse

Refer to the code below:

Salesforce Certified Platform Developer II image Question 336 67983 09232024003105000000

A developer is building this Aura component to display information about top Opportunities in the org.

Which three code changes must be made for the component to work?

Choose 3 answers

Become a Premium Member for full access
  Unlock Premium Member

Question 337

Report
Export
Collapse

A developer is building a Lightning web component that retrieves data from Salesforce and assigns it to the record property.

Salesforce Certified Platform Developer II image Question 337 67984 09232024003105000000

What must be done in the component to get the data from Salesforce?

Become a Premium Member for full access
  Unlock Premium Member

Question 338

Report
Export
Collapse

Which three approaches should a developer Implement to obtain the best performance for data retrieval when building a Lightning web component?

Choose 3 answers

Become a Premium Member for full access
  Unlock Premium Member

Question 339

Report
Export
Collapse

A developer is creating a Lightning web component that can be added to a Lightning App Page and displayed when the page Is rendered in desktop and mobile phone format. To ensure a great mobile experience, the developer chooses to use the SLDS grid utility.

Which two Lighting web components should the developer implement to ensure the application Is mobile-ready? Choose 2 answers

Become a Premium Member for full access
  Unlock Premium Member

Question 340

Report
Export
Collapse

Universal Containers wants to use a Customer Community with Customer Community Plus licenses to allow their customers access to track how many containers they have rented and when they are due back. Universal Containers uses a Private sharing model for External users.

Many of their customers are multi-national corporations with complex Account hierarchies. Each account on the hierarchy represents a department within the same business.

One of the requirements is to allow certain community users within the same Account hierarchy to see several departments' containers, based on a custom junction object that relates the Contact to the various Account records that represent the departments.

Which solution solves these requirements?

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

Related questions