PDI Exam Questions

Total 236 Questions

Last Updated Exam : 22-Oct-2024

If apex code executes inside the execute() method of an Apex class when implementing the Batchable interface, which statement are true regarding governor limits? Choose 2 answers


A. The Apex governor limits might be higher due to the asynchronous nature of the transaction.


B. The apex governor limits are reset for each iteration of the execute() method.


C. The Apex governor limits are relaxed while calling the constructor of the Apex class.


D. The Apex governor limits cannot be exceeded due to the asynchronous nature of the transaction,





B.
  The apex governor limits are reset for each iteration of the execute() method.

C.
  The Apex governor limits are relaxed while calling the constructor of the Apex class.

A developer created these three Rollup Summary fields in the custom object, Project_ct,

The developer is asked to create a new field that shows the ratio between rejected and approved timesheets for a given project. Which should the developer use to Implement the business requirement in order to minimize maintenance overhead?


A. Record-triggered Flow


B. Formula field


C. Apex Trigger


D. Process Builder





B.
  Formula field

A developer must create a DrawList class that provides capabilities defined in the Sortable and Drawable interfaces. public interface Sortable { void sort(); } public interface Drawable { void draw(); } Which is the correct implementation?


A. Public class DrawList implements Sortable, Implements Drawable { public void sort() { /*implementation*/} public void draw() { /*implementation*/} ]


B. Public class DrawList extends Sortable, Drawable { public void sort() { /*implementation*/} public void draw() { /*implementation*/} }


C. Public class DrawList implements Sortable, Drawable { public void sort() { /*implementation*/} public void draw() { /*implementation*/} }


D. Public class DrawList extends Sortable, extends Sortable, extends Drawable { public void sort() { /*implementation*/ } public void draw() { /* implementation */}





C.
  Public class DrawList implements Sortable, Drawable { public void sort() { /*implementation*/} public void draw() { /*implementation*/} }

Universal Containers needs to create a custom user interface component that allows users to enter information about their accounts. The component should be able to validate the user input before saving the information to the database. What is the best technology to create this component?


A. Flow


B. Lightning Web Components


C. Visualforce


D. VUE JavaScript framework





B.
  Lightning Web Components

A developer created these three Rollup Summary fields in the custom object, Project_______c:


The developer is asked to create a new field that shows the ratio between rejected and approved timesheets for a given project. Which should the developer use to implement the business requirement in order to minimize maintenance overhead?


A. Record-triggered flow


B. Formula field


C. Apex trigger


D. Field Update actions





B.
  Formula field

A custom Visualforce controller calls the ApexPages,addMessage () method, but no messages are rendering on the page. Which component should be added to the Visualforce page to display the message?


A.


B.


C.


D.





A.
  

A development team wants to use a deployment script to automatically deploy to a sandbox during their development cycles. Which two tools can they use to run a script that deploys to a sandbox? Choose 2 answers


A. VSCode


B. Change Sets


C. SFDX CLI


D. Developer Console





A.
  VSCode

C.
  SFDX CLI

As part of a data cleanup strategy, AW Computing wants to proactively delete associated opportunity records when the related Account is deleted. Which automation tool should be used to meet this business requirement?


A. Workflow Rules


B. Scheduled job


C. Record-Triggered Flow


D. Process Builder





C.
  Record-Triggered Flow

which statement is true regarding execution order when triggers are associated to the same object and event?


A. Trigger execution order cannot be guaranteed.


B. executed In the order they are modified.


C. Triggers are executed alphabetically by trigger name.


D. Triggers are executed in the order they are created.





A.
  Trigger execution order cannot be guaranteed.

A software company is using Salesforce to track the companies they sell their software to in the Account object. They also use Salesforce to track bugs in their software with a custom object, Bug c. As part of a process improvement initiative, they want to be able to report on which companies have reported which bugs. Each company should be able t report multiple bugs and bugs can also be reported by multiple companies. What is needed to allow this reporting?


A. Roll-up summary field of Bug c on Account


B. Junction object between Bug c and Account


C. Lookup field on Bug c to Account


D. Master-detail field on Bug c to Account





B.
  Junction object between Bug c and Account


Page 3 out of 24 Pages
Previous