Certification Practice Test | PDF Questions | Actual Questions | Test Engine | Pass4Sure
PDI : Platform Developer I Exam

Salesforce PDI Questions & Answers
Full Version: 354 Q&A
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?
1. 2
2. 1
3. 3
4. 4
Answer: D
Question: 73
Since Aura application events follow the traditional publish-subscribe model, which method is used to fire an event?
1. ernit()
2. fireEvent()
3. fire()
4. 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
1. Record-Triggered flow
2. Apex trigger
3. Apex callouts
4. 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?
1. Implement the line amount as a numeric formula field and the order amount as a roll-up summary field.
2. Write a single before trigger on the Line Item that calculates the item amount and updates the order amount on the Order.
3. Implement the Line amount as a currency field and the order amount as a SUM formula field.
4. 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?
1. public class ContactController
2. public with sharing class ContactController
3. public without sharing class ContactController
4. 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
1. The organization’s sharing rules for Licensed_Professional c have not finished their recalculation process.
2. The organization recently modified the Sales representative role to restrict Read/Write access to Licensed_Professional c
3. The organization has a private sharing model for Certification c, and Contact is the primary relationship in the Licensed_Professional c object
4. 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?
1. Use a validation rule.
2. Use the Process Automation settings.
3. Use Flow Builder.
4. 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
1. Specify lightningCommunity_Page as a target in the XML file.
2. Ensure isExposed is set to true on the XML file.
3. Specify lightningCommunity_Page_Layout as a target in the XML file.
4. 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?
1. Add a System.debug() statement before the insert method
2. Add a try/catch around the insert method
3. Set the second insert method parameter to TRUE
4. Collect the insert method return value a Saveresult variable
Answer: B
Question: 81
Which three statements are accurate about debug logs? Choose 3 answers
1. Amount of information logged in the debug log can be controlled programmatically.
2. Debug Log levels are cumulative, where FINE lop level includes all events logged at the DEBUG, INFO, WARN, and ERROR levels.
3. Amount of information logged in the debug log can be controlled by the log levels.
4. To View Debug Logs, "Manager Users" or "View All Data" permission is needed.
5. 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?
1. Change the function signature to be private static.
2. Add static to the server-side method signature.
3. A Decorate the server-side method with (static=true).
4. 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?
1. HTML file
2. JavaScript file
3. XML file
4. 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.
1. Use the Asset object.
2. Use a Custom object.
3. Use a Master-Detail on Product to Account
4. Use a Lookup on Account to product.
Answer: C
User: Sidney*****![]() ![]() ![]() ![]() ![]() As I was not getting enough time for the preparation of the PDI exam, it was tough for me. Finding no way out, I took help from the practice test and the Official Certification Guide. The practice test was amazing, and it dealt with all the topics in an easy and friendly manner. I could get through most of them with little effort. I answered all the questions in just 81 minutes and got 97% marks. I felt satisfied and grateful to killexams.com for their priceless guidance. |
User: Pearl*****![]() ![]() ![]() ![]() ![]() I not only passed the PDI exam, but I achieved a remarkable score of 89%, which I am proud to share with everyone. I studied with the help of Killexams.com and their incredible PDI study materials. |
User: Doreen*****![]() ![]() ![]() ![]() ![]() I practiced for a week and passed the exam with 89% marks. The right exam preparation needs to be much like killexams.com for everyone. Their excellent collection of questions and exam simulator is precisely accurate, and their material is top-notch. The questions are valid, and the exam simulator works best. I suggest killexams.com to everyone. |
User: Yaroslav*****![]() ![]() ![]() ![]() ![]() After consecutive failures in my PDI exam, I felt devastated and considered changing my area of study. Someone recommended giving one final attempt with killexams.com for the PDI exam. I decided to try it and was pleasantly surprised to pass the exam. killexams.com did not disappoint me, and their website gave me the motivation to continue my studies and pursue my original discipline. |
User: Luda*****![]() ![]() ![]() ![]() ![]() I am excited to share that I passed my pdi exam with 88% marks thanks to killexams.com Questions and Answers and Exam Simulator. The exam was tough, but killexams.com made it easier. Their exam simulator is a gift, and I loved the questions and-Answers organization and various practice tests as they helped me memorize better. |
Features of iPass4sure PDI Exam
- Files: PDF / Test Engine
- Premium Access
- Online Test Engine
- Instant download Access
- Comprehensive Q&A
- Success Rate
- Real Questions
- Updated Regularly
- Portable Files
- Unlimited Download
- 100% Secured
- Confidentiality: 100%
- Success Guarantee: 100%
- Any Hidden Cost: $0.00
- Auto Recharge: No
- Updates Intimation: by Email
- Technical Support: Free
- PDF Compatibility: Windows, Android, iOS, Linux
- Test Engine Compatibility: Mac / Windows / Android / iOS / Linux
Premium PDF with 354 Q&A
Get Full VersionAll Salesforce Exams
Salesforce ExamsCertification and Entry Test Exams
Complete exam list