PDI Exam Questions

Total 236 Questions

Last Updated Exam : 22-Oct-2024

Uniersal Containers (UC) is developing a process for their sales teams that requires all sales reps to go through a set of scripted steps with each new customer they create. In the first steps of collecting information, UC’s ERP system must be checked via as a REST endpoint to see if the customerexists. If the customer exists, the data must be presented to the sales rep in Salesforce. Which two should a developer implement to satisfy the requirements? Choose2 answer


A. Flow


B. Future method


C. Trigger


D. Invocable method





B.
  Future method

D.
  Invocable method

What are two ways for a developer to execute tests in an org?


A. Tooling API


B. Developer console


C. Bulk API


D. Matadata API





A.
  Tooling API

B.
  Developer console

What can be easily developed using the Lightning Component framework?


A. Customized JavaScript buttons


B. Salesforce Classic user Interface pages


C. Lightning Pages


D. Salesforce integrations





C.
  Lightning Pages

As part of new feature development, a developer is asked to build a responsive application capable of responding to touch events, that will be executed on stateful clients. Which two technologies are built on a framework that fully supports the business requirement? Choose 2 answers


A. Aura Components


B. Vlsualforce Components


C. Lightning Web Components


D. Visualforce Pages





A.
  Aura Components

B.
  Vlsualforce Components

D.
  Visualforce Pages

A developer is creating a page that allows users to create multiple Opportunities. The developer is asked to verify the current user's default } |
Opportunity record type, and set certain default values based on the record type before inserting the record.
How can the developer find the current user's default record type? ns


A. Query the Profile where the ID equals userInfo.getProfileID() and then use the profile.Opportunity.getDefaultRecordType() | |method. ] |


B. Use Opportunity. SObjectType.getDescribe().getRecordTypelnfos() to get a list of record types, and iterate through them until [ J isDefaultRecordTypeMapping() is true. Pencil & Paper |


C. Use the Schema.userlnfo.Opportunity.getDefaultRecordType() method. < Create the opportunity and check the opportunity.recordType before inserting, which will have the record ID of the current Dal user's default record type.





B.
  Use Opportunity. SObjectType.getDescribe().getRecordTypelnfos() to get a list of record types, and iterate through them until [ J isDefaultRecordTypeMapping() is true. Pencil & Paper |

A developer needs to prevent the creation of Request c records when certain coVraitions exist in the system. A RequeatLogic class exists that checks the conditions. What is the correct implementation?


A. Option A


B. Option B


C. Option C


D. Option D





B.
  Option B

A developer must troubleshoot to pinpoint the causes of performance issues when a custom page loads in their org. Which tool should the developer use to troubleshoot?


A. AppExchange


B. Salesforce CLI


C. Visual Studio Core IDE


D. Developer Console





D.
  Developer Console

In the following example, which starting context will mymethod execute it is invoked?


A. Sharig rules will be inherited from the calling context.


B. Sharig rules will be enforced for the running user.


C. Sharig rules will be enforced by the instartiating class.


D. Sharig rules will not be enforced for the running user.





A.
  Sharig rules will be inherited from the calling context.

Which salesforce org has a complete duplicate copy of the production org including data and configuration?


A. Developer Pro Sandbox


B. Partial Copy Sandbox


C. Production


D. Full Sandbox





D.
  Full Sandbox

Cloud kicks has a muli-screen flow its call center agents use when handling inbound service desk calls. At one of the steps in the flow, the agents should be presented with a list of order number and dates that are retrieved from an external odrer management system in real time and displayed on the screen. What shuold a developer use to satisfy this requirement?


A. An invocae method


B. An apex REST class


C. An outbound message


D. An Apex Controller





B.
  An apex REST class


Page 10 out of 24 Pages
Previous