Uniersal Containers (UC) is developing a process for their sales teams that requires all sales reps to go through a set of scripted steps with each new customer they create.
In the first steps of collecting information, UC's ERP system must be checked via as a REST endpoint to see if the customerexists. If the customer exists, the data must be presented to the sales rep in Salesforce.
Which two should a developer implement to satisfy the requirements? Choose2 answer
A. Flow
B. Future method
C. Trigger
D. Invocable method
Which code statement includes an Apex method named update accounts in the Class AccountCont rolles for use in a Lightning web component?
A. import updateAccounts from 'AccountController';
B. import updateAccounts from '@salesforce/apex/AccountController';
C. import updateAccounts from 'AccountController.updateAccounts';
D. import updateAccounts from '@salesforce/apex/AccountController.updateAccounts';
A company wants to implement a new call center process for handling customer service calls. It requires service reps to ask for the caller's account number before proceeding with the rest of their call script. Following best practices, what is the optimal approach to satisfy this requirmrnt?
A. Flow Builder
B. Approvals
C. Apex trigger
D. Einstein Next Best Action
niversal Containers (UC) processes orders in Salesforce in a custom object, Crder_c. They also allow sales reps to upload CSV files with of orders at a time.
A developer is tasked with integrating orders placed in Salesforce with UC's enterprise resource planning (ERP) system.
After the status for an Craer__c is first set to "Placed', the order information must be sent to a REST endpoint in the ERP system that can process ne order at a time.
What should the developer implement to accomplish this?
A. Callout from an  rare method called from a trigger
B. Callout from a Sarchabie class called from a scheduled job
C. Flow with 2 callout from an invocable method
D. Callout from a queseatie class called from a trigger
A company has a custom object, Sales, }_Help_Request__c, that has a Lookup relationship to Opportunity. The Seles Help Request__c has a mumber field, Number_ct_Hours__c, that represents the amount of time spent on the Sales_Help
Request__C.
A developer is tasked with creating a field, total_Hour2__c, on Opportunity that should be the sum of all of the Number_of_Hours_c values for the Sales_Help_Request__c records related to that Opportunity.
What should the developer use to implement this?
A. A roll-up summary field on the sales Help_Request__c object
B. A trigger on the Opportunity object
C. A roll-up summary field on the Opportunity object
D. A record-triggered flow on the Sales Help Request__c object
A company has been adding data to Salesforce and has not done a good Job of limiting the creation of duplicate Lead records. The developer is considering writing an Apex process to identify duplicates and merge the records together. Which two statements are valid considerations when using merged? Choose 2 answers
A. The field values on the master record are overwritten by the records being merged.
B. Merge is supported with accounts, contacts, cases, and leads.
C. External ID fields can be used with the merge method.
D. The merge method allows up to three records, including the master and two additional records with the same sObject type, to be merged into the master record.
A developer needs to prevent the creation of Request_c records when certain conditions exist in the system. A RequestLogic class exists to checks the conditions. What is the correct implementation?
A. Trigger RequestTrigger on Request (after insert) { RequestLogic.validateRecords {trigger.new}; }
B. Trigger RequestTrigger on Request (before insert) { RequestLogic.validateRecords {trigger.new}; }
C. Trigger RequestTrigger on Request (before insert) { if (RequestLogic.isvalid{Request}) Request.addError {'Your request cannot be created at this time.'}; }
D. Trigger RequestTrigger on Request (after insert) { if (RequestLogic.isValid{Request}) Request.addError {'Your request cannot be created at this time.'}; }
A large corporation stones Orders and Line Items In Salesforce for different lines of business. Users are a.. see Orders across the entire organization, but, for security purposes, should only be able to see the Line If Orders in their line of business.
Which type of relationship should be used between Line Items and Orders?
A. Master-Detail
B. Lookup
C. Direct Lookup
D. Indirect Lookup
A business implemented a magnification plan to encourage its customers to watch some educational videos.
Customers can watch videos over several days, and their progress is recorded. Award points are granted to customers for all completed videos. When the video is marked as completed in Salesforce, an external web service must be called
so that points can be awarded to the user.
A developer implemented these requirements in the after update trigger by making a calf to an external web service. However, a System.CalloutException is occurring.
What should the developer do to fix this error?
A. Surround the external call with a try-catch block to handle the exception.
B. Write a REST service to integrate with the external web service.
C. Move the callout to an asynchronous method with structure (callout=true) annotation.
D. Replace the after update trigger with a before insert trigger.
A developer creates a custom exception as shown below:
What are two ways the developer can fire the exception in Apex? Choose 2 answers
A. Throw new ParityException (parity does not match);
B. New ParityException( );
C. New ParityException (parity does not match);
D. Throw new parityException ( );
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PDI exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.