Salesforce PDII - Salesforce Certified Platform Developer II (Plat-Dev-301)
Universal Containers implements a private sharing model for the Convention Attendee co 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 ReadWrite 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?
Universal Containers is using a custom Salesforce application to manage customer
support cases. The support team needs to collaborate with external partners to
resolve certain cases. However, they want to control the visibility and access to the
cases shared with the external partners. Which Salesforce feature can help achieve this requirement?
An org has an existing process, built using Process Builder, on Opportunity that sets a custom field, CommissionBaseAmount__c, when
an Opportunity is edited and the Opportunity's Amount changes.
A developer recently deployed an Opportunity before update trigger that uses the CommissionBaseAmount__c and complex logic to calculate a
value for a custom field, CommissionAmount__c, when an Opportunity stage changes to Closed/Won.
Users report that when they change the Opportunity to Closed/Won and also change the Amount during the same save, the CommissionAmount__c is incorrect.
Which action should the developer take to correct this problem?
A developer is creating a page in App Builder that will be used in the Salesforce mobile app.
Which two practices should the developer follow to ensure the page operates with optimal performance?
Choose 2 answers
Given the following code:
Assuming there were 10 Contacts and five Accounts created today, what is the expected result?
A developer created the following test method:
The developer org has five accounts where the name starts with “Testâ€. The developer executes this test in the Developer Console.
After the test code runs, which statement is true?
A developer built an Aura component for guests to self-register upon arrival at a front desk kiosk. Now the developer needs to create a component for the utility tray to alert users whenever a guest arrives at the front desk.
What should be used?
Which Salesforce feature allows a developer to see when a user last logged in to
Salesforce if real-time notification is not required?
A corporation has many different Salesforce orgs, with some different objects and some common objects, and wants to build a single Java application that can create, retrieve, and update common object records in all of the different orgs.
Which method of integration should the application use?
The Salesforce admin et 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.
Which code segment is the most efficient way to fulfill this request?
A)
B)
C)
D)