Salesforce PDI Practice Questions 2024 PDF

Summary

This document is a collection of Salesforce PDI practice questions. It is geared toward professional certifications, with a focus on Platform Developer I exam preparation. The questions cover various Salesforce concepts, addressing topics like outbound message invocation, Salesforce query optimizations, and testing strategies.

Full Transcript

lOMoARcPSD|45887265 Fresh Salesforce PDI Practice Questions - 2024 Quick Preparation Materials QuestionsTube (Universal Training Institute) Scan to open on Studocu Studocu is not sponsored or endorsed by any college or uni...

lOMoARcPSD|45887265 Fresh Salesforce PDI Practice Questions - 2024 Quick Preparation Materials QuestionsTube (Universal Training Institute) Scan to open on Studocu Studocu is not sponsored or endorsed by any college or university Downloaded by Liz Srodka ([email protected]) lOMoARcPSD|45887265 Salesforce PDI Practice Questions Platform Developer I Order our PDI Practice Questions Today and Get Ready to Pass with Flying Colors! PDI Practice Exam Features | QuestionsTube Latest & Updated Exam Questions Subscribe to FREE Updates Both PDF & Exam Engine Download Directly Without Waiting https://www.questionstube.com/exam/pdi/ At QuestionsTube, you can read PDI free demo questions in pdf file, so you can check the questions and answers before deciding to download the Salesforce PDI practice questions. These free demo questions are parts of the PDI exam questions. Download and read them carefully, you will find that the PDI test questions of QuestionsTube will be your great learning materials online. Share some PDI exam online questions below. 1.A developer wants to invoke on outbound message when a record meets a specific criteria. Downloaded by Liz Srodka ([email protected]) lOMoARcPSD|45887265 Which three features satisfy this use case? Choose 3 answer A. Approval Process has the capacity to check the record criteria and send an outbound message without Apex Code B. Process builder can be used to check the record criteria and send an outbound message with Apex Code. C. workflows can be used to check the record criteria and send an outbound message. D. Process builder can be used to check the record criteria and send an outbound messagewithout Apex Code. E. Visual Workflow can be used to check the record criteria and send an outbound message without Apex Code. Answer: A, B, C 2.A company has been adding data to Salesforce and has not done a good Job of limiting the ls creation of duplicate Lead records. The developer is considering writing an Apex process to identify ia er duplicates and merge the records together. at Which two statements are valid considerations when using merged? Choose 2 answers M on A. The field values on the master record are overwritten by the records being merged. ti B. Merge is supported with accounts, contacts, cases, and leads. ra pa C. External ID fields can be used with the merge method. re D. The merge method allows up to three records, including the master and two additional records with P the same sObject type, to be merged into the master record. ck ui Answer: B, D Q 4 02 -2 3.Management asked for opportunities to be automatically created for accounts with annual revenue ns io greater than $1,000,000. st A developer created the following trigger on the Account object to satisfy this requirement. ue Q e ic ct ra P I D P e rc fo es al S h es Fr 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: C, D 4.Which three resources in an Azure Component can contain JavaScript functions? A. Controllers Downloaded by Liz Srodka ([email protected]) lOMoARcPSD|45887265 B. helper C. Design D. Style E. Renderer Answer: A, B, E 5.A software company uses the following objects and relationships: Case: to handle customer support issues Defect_c: a custom object to represent known issues with the company's software case_Defect__c: a junction object between Case and Defector to represent that a defect Is a customer issue What should be done to share a specific Case-Defect_c record with a user? A. Share the Case_Defect_c record. ls B. Share the parent Case record. ia er C. Share the parent Defect_c record. at D. Share the parent Case and Defect_c records. M on Answer: D ti ra pa re 6.A developer Is Integrating with a legacy on-premise SQL database. P ck What should the developer use to ensure the data being Integrated is matched to the right records in ui Salesforce? Q 4 A. Lookup field 02 B. External ID field -2 C. Formula field ns io D. External Object st Answer: B ue Q e ic ct 7.Universal Container(UC) wants to lower its shipping cost while making the shipping process more ra P efficient. The Distribution Officer advises UC to implement global addresses to allow multiple I D Accounts to share a default pickup address. The Developer is tasked to create the supporting object P e and relationship for this business requirement and uses the Setup Menu to create a custom object rc fo called "Global Address". es Which field should the developer ad to create the most efficient model that supports the business al S need? h A. Add a Master-Detail field on the Account object to the Global Address object es Fr B. Add a Master-Detail field on the Global Address object to the Account object. C. Add a Lookup field on the Account object to the Global Address object. D. Add a Lookup field on the Global Address object to the Account object Answer: B 8.What can be used to override the Account's standard Edit button for Lightning Experience? A. Lightning action B. Lightning component C. Lightning page D. Lightning flow Answer: B Explanation: A Lightning Component can be used to override the Account's standard Edit button for Lightning Downloaded by Liz Srodka ([email protected]) lOMoARcPSD|45887265 Experience. This allows the developer to create a custom page with custom fields and custom functionality that can be used instead of the standard Edit page. It also allows for the creation of custom navigation and buttons to make the user experience more intuitive and efficient. Reference: https://trailhead.salesforce.com/en/content/learn/projects/quick-start-lightning-components 9.Which two are best practices when it comes to component and application event handling? (Choose two.) A. Reuse the event logic in a component bundle, by putting the logic in the helper. B. Use component events to communicate actions that should be handled at the application level. C. Handle low-level events in the event handler and re-fire them as higher-level events. D. Try to use application events as opposed to component events. Answer: A, C ls ia er 10.Universal Containers stores the availability date on each Line Item of an Order and Orders are at only shipped when all of the Line Items are available. M on Which method should be used to calculate the estimated ship date for an Order? ti A. Use a CEILING formula on each of the Latest availability date fields. ra pa B. Use a DAYS formula on each of the availability date fields and a COUNT Roll-Up Summary field re on the Order. P C. Use a LATEST formula on each of the latest availability date fields. ck ui D. Use a Max Roll-Up Summary field on the Latest availability date fields. Q 4 Answer: D 02 -2 ns io 11.A developer created a child Lightning web component nested inside a parent Lightning web st component, parent component needs to pass a string value to the child component. ue Q In which two ways can this be accomplished? Choose 2 answers e A. The parent component can use a custom event to pass the data to the child component, ic ct B. The parent component can use the Apex controller class to send data to the child component. ra P C. The parent component can invoke a method in the child component I D D. The parent component can use a public property to pass the data to the child component. P e Answer: A, D rc fo es al S 12.A developer wants to get access to the standard price book in the org while writing a test class that h covers an OpportunityLineItem trigger. es Fr Which method allows access to the price book? A. Use Test.loadData ( )and a static resource to load a standard price book B. Use @TestVisible to allow the test method to see the standard price book. C. Use Test,getStandardPricebookid ( ) to get the standard price book ID. D. Use @IsTest (SeeAllData=True) and delete the existing standard price book Answer: C 13.What are two use cases for executing Anonymous Apex code? Choose 2 answers A. To delete 15,000 inactive Accounts In a single transaction after a deployment B. To schedule an Apex class to run periodically C. To run a batch Apex class to update all Contacts D. To add unit test code coverage to an org Answer: B, C Downloaded by Liz Srodka ([email protected]) lOMoARcPSD|45887265 14.What is the result of the following code? A. The record will not be created and a exception will be thrown. B. The record will be created and a message will be in the debug log. C. The record will not be created and no error will be reported. D. The record will be created and no error will be reported. Answer: C ls ia er at M on ti ra pa re P ck ui Q 4 02 -2 ns io st ue Q e ic ct ra P I D P e rc fo es al S h es Fr Downloaded by Liz Srodka ([email protected]) Powered by TCPDF (www.tcpdf.org)

Use Quizgecko on...
Browser
Browser