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?
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

User: Manya*****

Killexams.com materials are extraordinary, and their pdi exam practice tests pack is excellent. I was able to answer 89% of the questions using their materials, which helped me prepare for the exam. The Exam Simulator and Questions and Answers provided by Killexams.com were a massive help, and I guarantee that the pdi exam is harder than past exams.
User: Odessa*****

I feel very confident in my pdi certification, thanks to the preparation I did using the questions and answers provided by the Killexams.com team. This was my first time using their products, and I used the exam simulator software to prepare for the exam. The preparation was very thorough, and I did not omit any topics from the authentic syllabus. I passed the certification exam with ease, and I highly recommend the Killexams.com exam simulator.
User: Alice*****

I heard great reviews about Killexams, and after purchasing their practice tests, I can confirm that everything they promised was delivered. The exercises were precise, the exam simulator was user-friendly, and I passed the pdi exam with an impressive score of 96%. Killexams is the real deal, and I could not be more satisfied with their service.
User: Norvina*****

Although I faced some issues with the PDI practice tests material initially, killexams.com fixed the error quickly. They charged me for the exam simulator and practice tests file, but I did not receive the practice tests material due to a file error. However, once they fixed it, I prepared with the exam simulator, and it was helpful.
User: Zakhar*****

With less than two weeks to prepare for my pdi exam, I felt overwhelmed and unprepared due to insufficient training. However, thanks to the questions and answers provided by Killexams.com, I was able to overcome these obstacles and pass the exam with ease. The guide was detailed and precise, with clear and concise answers that made understanding the topics much easier. Additionally, the pdi dependable Cert guide was also helpful in my preparation.

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 Version

All Salesforce Exams

Salesforce Exams

Certification and Entry Test Exams

Complete exam list