PDI Exam Questions

Total 236 Questions

Last Updated Exam : 22-Oct-2024

A developer needs to allow users to complete a form on an Account record that will create a record for a custom object. The form needs to display different fields depending on the user's job role. The functionality should only be available to a small group of users. Which three things should the developer do to satisfy these requirements? Choose 3 answers


A. Create a Dynamic Form,


B. Add a Dynamic Action to the Account Record Page.


C. Create a Custom Permission for the users.


D. Add a Dynamic Action to the Users' assigned Page Layouts.


E. Create a Lightning wet> component.





A.
  Create a Dynamic Form,

B.
  Add a Dynamic Action to the Account Record Page.

C.
  Create a Custom Permission for the users.

A developer needs to implement a custom SOAP Web Service that is used by an external Web Application. The developer chooses to Include helper methods that are not used by the Web Application In the Implementation of the Web Service Class. Which code segment shows the correct declaration of the class and methods?


A. Option A


B. Option B


C. Option C


D. Option D





C.
  Option C

Universal Container* decides to use purely declarative development to build out a new Salesforce application. Which two options can be used to build out the business logic layer for this application? Choose 2 answer


A. Validation Rules


B. Remote Actions


C. Record- Triggered flow


D. Batch Jobs





A.
  Validation Rules

C.
  Record- Triggered flow

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?


A. Use Lazy loading and a transient List variable.


B. Use JavaScript remoting with SOQL Offset.


C. Implement pagination with an OffsetController.


D. Implement pagination with a StandardSetController,





D.
  Implement pagination with a StandardSetController,

Developers at Universal Containers (UC) use version control to share their code changes, but they notice that when they deploy their code to different environments they often have failures. They decide to set up Continuous Integration (CI). What should the UC development team use to automatically run tests as part of their CI process?


A. Force.com Toolkit


B. Salesforce CLI


C. Visual Studio Code


D. Developer Console





A.
  Force.com Toolkit

When a user edits the postal Code on an Account, a custom Account text field named. Timezone‘ must be updated based on the values in a PostalCodeToTimezone_c custom ogject. Which two automationtools can be used to implement this feature? Choose 2 answers


A. Approval process


B. Fast field Updates record-triggered flow


C. Quick actions


D. Account trigger





B.
  Fast field Updates record-triggered flow

D.
  Account trigger

Refer to the following code snippet for an environment that has more than 200 Accounts belonging to the Technology' industry:


which three statements are accurate about debug logs? Choose 3 answers


A. Debug log levels are cumulative, where FINE log level includes all events logged at the DEBUG, INFO, WARN, and ERROR levels.


B. The maximum size of a debug log is 5 MB.


C. Only the 20 most recent debug logs for a user are kept.


D. Debug logs can be set for specific users, classes, and triggers.


E. System debug logs are retained for 24 hours.





C.
  Only the 20 most recent debug logs for a user are kept.

D.
  Debug logs can be set for specific users, classes, and triggers.

E.
  System debug logs are retained for 24 hours.

Which three Salesforce resources can be accessed from a Lightning web component? Choose 3 answers


A. SVG resources


B. Third-party web components


C. Content asset files


D. Static resources


E. All external libraries





A.
  SVG resources

D.
  Static resources

E.
  All external libraries

A developer is tasked with building a custom Lightning web component to collect Contact information. The form will be shared among many different types of users in the org. There are security requirements that only certain fields should be edited and viewed by certain groups of users. What should the developer use in their Lightning Web Component to support the security requirements?


A. force-input-field


B. ui-input-field


C. aura-input-field


D. lightning-input-field





A.
  force-input-field

Consider the following code snippet:


Given the multi-tenant architecture of the Salesforce platform, what Is a best practice a developer should Implement and ensure successful execution of the method?


A. Avoid executing queries without a limit clause.


B. Avoid returning an empty List of records.


C. Avoid using variables as query filters.


D. Avoid performing queries inside for loops.





D.
  Avoid performing queries inside for loops.


Page 4 out of 24 Pages
Previous