PDI Demo
PDI Demo
PDI Demo
Version: DEMO
★ Instant Download ★ PDF And VCE ★ 100% Passing Guarantee ★ 100% Money Back Guarantee
QUESTION 1
Universal Containers hires a developer to build a custom search page to help user-find the
Accounts they want. Users will be able to search on Name, Description, and a custom comments
field. Which consideration should the developer be aware of when deciding between SOQL and
SOSL? Choose 2 answers
Answer: CD
QUESTION 2
Universal Container uses Service Cloud with a custom field, stage_c, on the Case object.
Management wants to send a follow-up email reminder 6 hours after the stage_c field is set to
`';Waiting on customer'' The .... Administrator wants to ensure the solution used is bulk safe.
Which two automation tools should a developer recommend to meet these business
requirements? Choose 2 answers
A. Scheduled Flow
B. Einstein Next Best Action
C. Record_Triggered Flow
D. Process Builder
Answer: AC
QUESTION 3
A developer must troubleshoot to pinpoint the causes of performance issues when a custom page
loads in their org. Which tool should the developer use to troubleshoot?
A. AppExchange
B. Salesforce CLI
C. Visual Studio Core IDE
D. Developer Console
Answer: D
QUESTION 4
A developer Is asked to create a Visualforce page that lists the contacts owned by the current
user.
This component will be embedded In a Lightning page.
Without writing unnecessary code, which controller should be used for this purpose?
Answer: B
Get Latest & Actual PDI Exam's Question and Answers from Lead2pass. 2
https://www.lead2pass.com
★ Instant Download ★ PDF And VCE ★ 100% Passing Guarantee ★ 100% Money Back Guarantee
QUESTION 5
A developer has a Visualforce page and custom controller to save Account records. The
developer wants to display any validation rule violation to the user. How can the developer make
sure that validation rule violations are displayed?
Answer: B
QUESTION 6
A developer is creating a page that allows users to create multiple Opportunities. The developer
is asked to verify the current user's default } |
Opportunity record type, and set certain default values based on the record type before inserting
the record.
How can the developer find the current user's default record type? ns
A. Query the Profile where the ID equals userInfo.getProfileID() and then use the
profile.Opportunity.getDefaultRecordType() | |method. ] |
B. Use Opportunity. SObjectType.getDescribe().getRecordTypelnfos() to get a list of record types,
and iterate through them until [ J
isDefaultRecordTypeMapping() is true. Pencil & Paper |
C. Use the Schema.userlnfo.Opportunity.getDefaultRecordType() method. < Create the opportunity
and check the opportunity.recordType before inserting, which will have the record ID of the
current Dal user's default record type.
Answer: B
QUESTION 7
Universal Containers has a Visualforce page that displays a table of every Container_c.
being ....... Is falling with a view state limit because some of the customers rent over 10,000
containers. What should a developer change about the Visualforce page to help with the page
load errors?
Answer: D
QUESTION 8
A developer migrated functionality from JavaScript Remoting to a Lightning web component and
wants to use the existing getOpportunities() method to provide data.
What to do now?
Get Latest & Actual PDI Exam's Question and Answers from Lead2pass. 3
https://www.lead2pass.com
★ Instant Download ★ PDF And VCE ★ 100% Passing Guarantee ★ 100% Money Back Guarantee
Answer: A
QUESTION 9
A Lightning component has a wired property, searchResults, that stores a list of Opportunities.
Which definition of the Apex method, to which the searchResults property is wired, should be
used?
A. @AuraEnabled(cacheable=true)
public static List<Opportunity> search(String term) { /* implementation*/ }
B. @AuraEnabled(cacheable=true) public List<Opportunity> search(String term)
{ /*implementation*/ }
C. @AuraEnabled(cacheable=false) public static List<Opportunity> search(String term)
{ /*implementation*/ }
D. @AuraEnabled(cacheable=false) public List<Opportunity> search(String term)
{ /*implementation*/ }
Answer: A
QUESTION 10
Management asked for opportunities to be automatically created for accounts with annual
revenue greater than $1,000,000. A developer created the following trigger on the Account object
to satisfy this requirement.
Users are able to update the account records via the UI and can see an opportunity created for
high annual revenue accounts. However, when the administrator tries to upload a list of 179
accounts using Data Loader, It fails with system. Exception errors. Which two actions should the
developer take to fix the code segment shown above? Choose 2 answers
A. Check if all the required fields for Opportunity are being added on creation.
B. Use Database.query to query the opportunities.
C. Move the DML that saves opportunities outside the for loop.
D. Query for existing opportunities outside the for loop.
Answer: CD
QUESTION 11
What are two ways a developer can get the status of an enquered job for a class that queueable
Get Latest & Actual PDI Exam's Question and Answers from Lead2pass. 4
https://www.lead2pass.com
★ Instant Download ★ PDF And VCE ★ 100% Passing Guarantee ★ 100% Money Back Guarantee
Answer: BD
QUESTION 12
Cloud kicks has a multi-screen flow that its call center agents use when handling inbound service
desk calls.
At one of the steps in the flow, the agents should be presented with a list of order numbers and
dates that are retrieved from an external order management system in real time and displayed on
the screen.
What should a developer use to satisfy this requirement?
A. An Apex controller
B. An Apex REST class
C. An outbound message
D. An invocable method
Answer: B
QUESTION 13
A developer needs to have records with specific field values in order to test a new Apex class.
What should the developer do to ensure the data is available to the test?
Answer: B
QUESTION 14
How can a developer check the test coverage of active Process Builder and Flows deploying
them in a Changing Set?
Answer: D
Get Latest & Actual PDI Exam's Question and Answers from Lead2pass. 5
https://www.lead2pass.com
★ Instant Download ★ PDF And VCE ★ 100% Passing Guarantee ★ 100% Money Back Guarantee
Get Latest & Actual PDI Exam's Question and Answers from Lead2pass. 6
https://www.lead2pass.com