PDI Dumps PDI Braindumps PDI Real Questions PDI Practice Test PDI Actual Questions Salesforce PDI Platform Developer I https://killexams.com/pass4sure/exam-detail/PDI Question: 72 A developer considers the following snippet of code: Based on this code, what is the value of x? A. 2 B. 1 C. 3 D. 4 Answer: D Question: 73 Since Aura application events follow the traditional publish-subscribe model, which method is used to fire an event? A. ernit() B. fireEvent() C. fire() D. registerEvent() Answer: C Question: 74 Universal Containers has created a unique process for tracking container repairs. A custom field, status__c, has been created within the container__c custom object. A developer is tasked with sending notifications to multiple external systems every time the value of the status__picklist changes. Which two tools should the developer use to meet the business requirement and ensure low maintenance of the solution? Choose 2 answers A. Record-Triggered flow B. Apex trigger C. Apex callouts D. Platform event Answer: C, D Question: 75 An org tracks customer orders on an Order object and the items of an Order on the Line Item object. The Line Item object has a MasterDetail relationship to the order object. A developer has a requirement to calculate the order amount on an Order and the line amount on each Line item based on quantity and price. What is the correct implementation? A. Implement the line amount as a numeric formula field and the order amount as a roll-up summary field. B. Write a single before trigger on the Line Item that calculates the item amount and updates the order amount on the Order. C. Implement the Line amount as a currency field and the order amount as a SUM formula field. D. Write a process on the Line item that calculates the item amount and order amount and updates the filed on the Line Item and the order. Answer: C Question: 76 A developer must create an Apex class, contactcontroller, that a Lightning component can use to search for Contact records. User of the Lightning component should only be able to search Contact records to which they have access. Which two will restrict the records correctly? A. public class ContactController B. public with sharing class ContactController C. public without sharing class ContactController D. public inherited sharing class ContactController Answer: B, D Question: 77 A Licensed_Professional__c custom object exist in the system with two Master-Detail fields for the following objects: Certification__c and Contact. Users with the "Certification Representative" role can access the Certification records they own and view the related Licensed Professionals records, however users with the "Salesforce representative" role report they cannot view any Licensed professional records even though they own the associated Contact record. What are two likely causes of users in the "Sales Representative" role not being able to access the Licensed Professional records? Choose 2 answers A. The organization’s sharing rules for Licensed_Professional__c have not finished their recalculation process. B. The organization recently modified the Sales representative role to restrict Read/Write access to Licensed_Professional__c C. The organization has a private sharing model for Certification__c, and Contact is the primary relationship in the Licensed_Professional__c object D. The organization has a private sharing model for Certification__c, and Certification__c is the primary relationship in the Licensed_Professional__c object. Answer: A,D Question: 78 Universal Containers wants Opportunities to no longer be editable when reaching the Closed/Won stage. How should a developer accomplish this? A. Use a validation rule. B. Use the Process Automation settings. C. Use Flow Builder. D. Mark fields as read-only on the page layout. Answer: A Question: 79 A third-party vendor created an unmanaged Lightning web component. The Salesforce Administrator wishes to expose the component only on Record Page Layouts. Which two actions should the developer take to accomplish this business objective? Choose 2 answers A. Specify lightningCommunity_Page as a target in the XML file. B. Ensure isExposed is set to true on the XML file. C. Specify lightningCommunity_Page_Layout as a target in the XML file. D. Specify lightning_RecordPage as a target in the XML file. Answer: B,D Question: 80 A developer is debugging the following code to determinate why Accounts are not being created Account a = new Account(Name = ‘A’); Database.insert(a, false); How should the code be altered to help debug the issue? A. Add a System.debug() statement before the insert method B. Add a try/catch around the insert method C. Set the second insert method parameter to TRUE D. Collect the insert method return value a Saveresult variable Answer: B Question: 81 Which three statements are accurate about debug logs? Choose 3 answers A. Amount of information logged in the debug log can be controlled programmatically. B. Debug Log levels are cumulative, where FINE lop level includes all events logged at the DEBUG, INFO, WARN, and ERROR levels. C. Amount of information logged in the debug log can be controlled by the log levels. D. To View Debug Logs, "Manager Users" or "View All Data" permission is needed. E. To View Debug Logs, "Manager Users" or "Modify All Data" permission is needed. Answer: A, C Question: 82 A developer receives an error when trying to call a global server-side method using the ©remoteAction decorator. How can the developer resolve the error? A. Change the function signature to be private static. B. Add static to the server-side method signature. C. A Decorate the server-side method with (static=true). D. Decorate the server-side method with (static=false). Answer: B Question: 83 A developer creates a Lightning web component that imports a method within an Apex class. When a Validate button is pressed, the method runs to execute complex validations. In this implementation scenario, which artifact is part of the Controller according to the MVC architecture? A. HTML file B. JavaScript file C. XML file D. Apex class Answer: D Question: 84 A developer must build application that tracks which Accounts have purchase specific pieces of equal products. Each Account could purchase many pieces of equipment. How should the developer track that an Account has purchased a piece of equipment. A. Use the Asset object. B. Use a Custom object. C. Use a Master-Detail on Product to Account D. Use a Lookup on Account to product. Answer: C 6$03/( 48(67,216 7KHVH TXHVWLRQV DUH IRU GHPR SXUSRVH RQO\ )XOO YHUVLRQ LV XS WR GDWH DQG FRQWDLQV DFWXDO TXHVWLRQV DQG DQVZHUV .LOOH[DPV FRP LV DQ RQOLQH SODWIRUP WKDW RIIHUV D ZLGH UDQJH RI VHUYLFHV UHODWHG WR FHUWLILFDWLRQ H[DP SUHSDUDWLRQ 7KH SODWIRUP SURYLGHV DFWXDO TXHVWLRQV H[DP GXPSV DQG SUDFWLFH WHVWV WR KHOS LQGLYLGXDOV SUHSDUH IRU YDULRXV FHUWLILFDWLRQ H[DPV ZLWK FRQILGHQFH +HUH DUH VRPH NH\ IHDWXUHV DQG VHUYLFHV RIIHUHG E\ .LOOH[DPV FRP $FWXDO ([DP 4XHVWLRQV .LOOH[DPV FRP SURYLGHV DFWXDO H[DP TXHVWLRQV WKDW DUH H[SHULHQFHG LQ WHVW FHQWHUV 7KHVH TXHVWLRQV DUH XSGDWHG UHJXODUO\ WR HQVXUH WKH\ DUH XS WR GDWH DQG UHOHYDQW WR WKH ODWHVW H[DP V\OODEXV %\ VWXG\LQJ WKHVH DFWXDO TXHVWLRQV FDQGLGDWHV FDQ IDPLOLDUL]H WKHPVHOYHV ZLWK WKH FRQWHQW DQG IRUPDW RI WKH UHDO H[DP ([DP 'XPSV .LOOH[DPV FRP RIIHUV H[DP GXPSV LQ 3') IRUPDW 7KHVH GXPSV FRQWDLQ D FRPSUHKHQVLYH FROOHFWLRQ RI TXHVWLRQV DQG DQVZHUV WKDW FRYHU WKH H[DP WRSLFV %\ XVLQJ WKHVH GXPSV FDQGLGDWHV FDQ HQKDQFH WKHLU NQRZOHGJH DQG LPSURYH WKHLU FKDQFHV RI VXFFHVV LQ WKH FHUWLILFDWLRQ H[DP 3UDFWLFH 7HVWV .LOOH[DPV FRP SURYLGHV SUDFWLFH WHVWV WKURXJK WKHLU GHVNWRS 9&( H[DP VLPXODWRU DQG RQOLQH WHVW HQJLQH 7KHVH SUDFWLFH WHVWV VLPXODWH WKH UHDO H[DP HQYLURQPHQW DQG KHOS FDQGLGDWHV DVVHVV WKHLU UHDGLQHVV IRU WKH DFWXDO H[DP 7KH SUDFWLFH WHVWV FRYHU D ZLGH UDQJH RI TXHVWLRQV DQG HQDEOH FDQGLGDWHV WR LGHQWLI\ WKHLU VWUHQJWKV DQG ZHDNQHVVHV *XDUDQWHHG 6XFFHVV .LOOH[DPV FRP RIIHUV D VXFFHVV JXDUDQWHH ZLWK WKHLU H[DP GXPSV 7KH\ FODLP WKDW E\ XVLQJ WKHLU PDWHULDOV FDQGLGDWHV ZLOO SDVV WKHLU H[DPV RQ WKH ILUVW DWWHPSW RU WKH\ ZLOO UHIXQG WKH SXUFKDVH SULFH 7KLV JXDUDQWHH SURYLGHV DVVXUDQFH DQG FRQILGHQFH WR LQGLYLGXDOV SUHSDULQJ IRU FHUWLILFDWLRQ H[DPV 8SGDWHG &RQWHQW .LOOH[DPV FRP UHJXODUO\ XSGDWHV LWV TXHVWLRQ EDQN DQG H[DP GXPSV WR HQVXUH WKDW WKH\ DUH FXUUHQW DQG UHIOHFW WKH ODWHVW FKDQJHV LQ WKH H[DP V\OODEXV 7KLV KHOSV FDQGLGDWHV VWD\ XS WR GDWH ZLWK WKH H[DP FRQWHQW DQG LQFUHDVHV WKHLU FKDQFHV RI VXFFHVV 7HFKQLFDO 6XSSRUW .LOOH[DPV FRP SURYLGHV IUHH [ WHFKQLFDO VXSSRUW WR DVVLVW FDQGLGDWHV ZLWK DQ\ TXHULHV RU LVVXHV WKH\ PD\ HQFRXQWHU ZKLOH XVLQJ WKHLU VHUYLFHV 7KHLU FHUWLILHG H[SHUWV DUH DYDLODEOH WR SURYLGH JXLGDQFH DQG KHOS FDQGLGDWHV WKURXJKRXW WKHLU H[DP SUHSDUDWLRQ MRXUQH\ 'PS .PSF FYBNT WJTJU IUUQT LJMMFYBNT DPN WFOEPST FYBN MJTU .LOO \RXU H[DP DW )LUVW $WWHPSW *XDUDQWHHG