Salesforce Certified Platform Developer II Practice Test - Questions Answers, Page 34
List of questions
Related questions
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.
A developer receives the exception 'SOQL query not selective enough.
Which step should be taken to resolve the issue?
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?
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?
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?
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.
Cloud Kicks wants a trigger on the Lead to populate the Region based on the Lead's zip code.
Refer to the code below:
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
A developer is building a Lightning web component that retrieves data from Salesforce and assigns it to the record property.
What must be done in the component to get the data from Salesforce?
Which three approaches should a developer Implement to obtain the best performance for data retrieval when building a Lightning web component?
Choose 3 answers
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
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?
Question