Labour Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: cramtreat

PDI Platform Developer I (SP23) Questions and Answers

Questions 4

A developer created a Visualforce page and custom controller to display the account type field as shown below.

Custom controller code:

Visualforce page snippet:

The value of the account type field is not being displayed correctly on the page. Assuming the custom controller is properly referenced on the Visualforce page, what should the developer do to correct the problem?

Options:

A.

Convert theAcccunt, type to a String.

B.

Change theAccount attribute to public.

C.

Add with sharing to the custom controller.

D.

Add a getter method for the actType attribute.

Buy Now
Questions 5

AW Computing tracks order information in custom objects called order__c and order_Line_ c - Currently, all shipping information is stored in the order__c object.

The company wants to expand Its order application to support split shipments so that any number of order_Line__c records on a single order__c can be shipped to different locations.

What should a developer add to fulfill this requirement?

Options:

A.

Order_shipment_Group_c object and master-detail field on order_Line_c

B.

Order_shipment_Group_c object and master-detail field on order_c

C.

Order_shipment_Group_c object and master-detail field to order_c and Order Line_c

D.

Order_shipment_Group_c object and master-detail field on order_shipment_Group_c

Buy Now
Questions 6

A developer must write anApex method that will be called from a lightning component. The method may delete an Account stored in the accountRec variable.

Which method should a developer use to ensure only users that should be able to delete Accounts can successfully perform deletion?

Options:

A.

accountRec., isDeletable()

B.

Account, isDeletable ()

C.

AccountRec, ObjecType, ieDeletable ()

D.

Schena, sobjectType, Account, isDeletetable ()

Buy Now
Questions 7

Universal Containers wants to automatically assign new cases to the appropriate support representative based on the case origin. They have created a custom field on the Case object to store the support representative name.

What is the best solution to assign the case to the appropriate support representative?

Options:

A.

Use a trigger an the Case object.

B.

Use a formula field on the case object.

C.

Use a validation rule on the Case object.

D.

Use an Assignment Flow element.

Buy Now
Questions 8

How can a developer check the test coverage of active Process Builder and Flows deploying them in a Changing Set?

Options:

A.

Use the Flow properties page.

B.

Use the code Coverage Setup page

C.

Use the Apex testresult class

D.

Use SOQL and the Tooling API

Buy Now
Questions 9

Universal Containers has an order system that uses an Order Number to identify an order for customers and service agents. Order records will be imported into Salesforce.

How should the Order Number field be defined in Salesforce?

Options:

A.

Direct Lookup

B.

External ID and Unique

C.

Lookup

D.

Indirect Lookup

Buy Now
Questions 10

A developer wants to invoke on outbound message when a record meets a specific criteria.

Which three features satisfy this use case?

Choose 3 answer

Options:

A.

Approval Process has the capacity to check the record criteria and send an outbound message without Apex Code

B.

Process builder can be used to check the record criteria and send an outbound message with Apex Code.

C.

workflows can be used to check the record criteria and send an outbound message.

D.

Process builder can be used to check the record criteria and send an outbound messagewithout Apex Code.

E.

Visual Workflow can be used to check the record criteria and send an outbound message without Apex Code.

Buy Now
Questions 11

A developer needs to have records with specific field values in order to test a new Apex class.

What should the developer do to ensure the data is available to the test?

Options:

A.

Use Anonymous Apex to create the required data.

B.

Use Test.loadData < > and reference a CSV file in a static resource.

C.

Use SOQL to query the org for the required data.

D.

Use Test.loadData and reference a JSON file in Documents.

Buy Now
Questions 12

A developer Is asked to create a Visualforce page that lists the contacts owned by the current user. This component will be embedded In a Lightning page.

Without writing unnecessary code, which controller should be used for this purpose?

Options:

A.

Standard list controller

B.

Standard controller

C.

Lightning controller

D.

Custom controller

Buy Now
Questions 13

Einstein Next Best Action Is configured at Universal Containers to display recommendations to internal users on the Account detail page.

If the recommendation is approved, a new opportunity record and task should be generated. If the recommendation is rejected, an Apex method must be executed to perform a callout to an external system.

Which three factors should a developer keep Hi mind when implementing the Apex method?

Choose 3 answers

Options:

A.

The method must use the @AuraEnabled annotation.

B.

The method must use the @Future annotation.

C.

The method must use the @invocableMethod annotation.

D.

The method must be defined as static.

E.

The method must be defined as public.

Buy Now
Questions 14

The values 'High', 'Medium', and 'Low' are Identified as common values for multiple picklist across different object. What is an approach a developer can take to streamline maintenance of the picklist and their values, while also restricting the values to the ones mentioned above?

Options:

A.

Create the Picklist on each object and use a Global Picklist Value Set containing the Values.

B.

Create the Picklist on each object as a required field and select "Display values alphabeticaly, not in the order entered".

C.

Create the Picklist on each object and select "Restrict picklist to the values defined in the value set".

D.

Create the Picklist on each and add a validation rule to ensure data integrity.

Buy Now
Questions 15

Universal Containers hires a developer to build a custom search page to help user- find the Accounts they want. Users will be able to search on Name, Description, and a custom comments field.

Which consideration should the developer be aware of when deciding between SOQL and SOSL?

Choose 2 answers

Options:

A.

SOSL is able to return more records.

B.

SOQL is faster for text searches.

C.

SOSL is faster for tent searches.

D.

SOQL is able to return more records.

Buy Now
Questions 16

Given the following Anonymous Block:

Which one do you like?

What should a developer consider for an environment that has over 10,000 Case records?

Options:

A.

The transaction will fail due to exceeding the governor limit.

B.

The try/catch block will handle any DML exceptions thrown.

C.

The transaction will succeed and changes will be committed.

D.

The try/catch block will handle exceptions thrown by governor limits.

Buy Now
Questions 17

What is an example of a polymorphic lookup field in Salesforce?

Options:

A.

The Parentid field on the standard Account object

B.

The LeadId and ContactId fields on the standard Campaign Member object

C.

A custom field, Link__c, on the standard Contact object that looks up to an Account or a Campaign

D.

The Whatld field on the standard Event object

Buy Now
Questions 18

What are two ways a developer can get the status of an enquered job for a class that queueable interface? Choose 2 answers

Options:

A.

View the apex status Page

B.

View the apex flex Queue

C.

View the apex Jobs page

D.

Query the AsyncApexJobe object

Buy Now
Questions 19

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

Options:

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.

Buy Now
Questions 20

A developer is asked to write helper methods that create test data for unit tests.

What should be changed in the Testvtils class so that its methods are only usable by unit test methods?

Options:

A.

Change public to private on line 01.

B.

Add @IsTest above line 03,

C.

Add @IsTest above line 01.

D.

Remove static from line 03.

Buy Now
Questions 21

Universal Container uses Service Cloud with a custom field, stage_c, on the Case object.

Management wants to send a follow-up email reminder 6 hours after the stage_c field is set to ‘’;Waiting on customer’’ The …. Administrator wants to ensure the solution used is bulk safe.

Which two automation tools should a developer recommend to meet these business requirements?

Choose 2 answers

Options:

A.

Scheduled Flow

B.

Einstein Next Best Action

C.

Record_Triggered Flow

D.

Process Builder

Buy Now
Questions 22

For which three items can 2 trace flag be configured?

Choose 3 answers

Options:

A.

Flow

B.

Apex Class

C.

User

D.

Apex Trager

E.

Visualforce

Buy Now
Questions 23

In the Lightning UI, where should a developer look to find information about a Paused Flow Interview?

Options:

A.

On the Paused Row Interviews related List for a given record

B.

In the Paused Interviews section of the Apex Flex Queue

C.

In the system debug log by Altering on Paused Row Interview

D.

On the Paused Row Interviews component on the Home page

Buy Now
Questions 24

What are three considerations when using the @InvocableMethod annotation in Apex?

Choose 3 answers

Options:

A.

A method using the @InvocableMethod annotation must define a return value.

B.

A method using the @InvocableMethod annotation can have multiple input parameters.

C.

A method using the @InvocableMethod annotation must be declared as static

D.

A method using the @InvocableMethod annotation can be declared as Public or Global.

E.

Only one method using the @InvocableMethod annotqation can be defined per Apex class.

Buy Now
Questions 25

Refer to the code snippet below:

When a Lightning web component is rendered, a list of apportunities that match certain criteria shopuld be retrievved from the database and displayed to the end user.

Which three Considerations must the developer implement to make the method available within the Lightning web component?

Choose 3 answer

Options:

A.

The method must specify the (cacheable-trun) attribute

B.

The method must specify the (continuation-true) attribute

C.

The method must be annotaled with true Invocablemethod annolation

D.

The method cannot mutate the result set retrieved from the database.

E.

The method must be annotated with the AureEnabled annolation

Buy Now
Questions 26

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

Options:

A.

Aura Components

B.

Vlsualforce Components

C.

Lightning Web Components

D.

Visualforce Pages

Buy Now
Questions 27

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

Options:

A.

Developer Pro Sandbox

B.

Partial Copy Sandbox

C.

Production

D.

Full Sandbox

Buy Now
Questions 28

For which three items can a trace flag be configured?

Choose 3 answers

Options:

A.

Process Builder

B.

Visualforce

C.

Apex Class

D.

Apex Trigger

E.

User

Buy Now
Questions 29

Which two events need to happen when deploying to a production org? Choose 2 answers

Options:

A.

All triggers must have at least 1% test coverage.

B.

All Apex code must have at least 75% test coverage.

C.

All triggers must have at least 75% test coverage.

D.

All test and triggers must have at least 75% test coverage combined

Buy Now
Questions 30

Universal Containers decided to transition from Classic to Lightning Experience. They asked a developer to replace a JavaScript button that was being used to create records with prepopulated values.

What can the developer use to accomplish this?

Options:

A.

Record triggered flows

B.

Apex triggers

C.

Validation rules

D.

Quick Actions

Buy Now
Questions 31

Cloud Kicks Fitness, an ISV Salesforce partner, is developing a managed package application. One of the application modules allows the user to calculate body fat using the Apex class, BodyFat, and its method, calculateBodyFat(). The product owner wants to ensure this method is accessible by the consumer of the application when developing customizations outside the ISV’s package namespace.

Which approach should a developer take to ensure calculateBodyFat() is accessible outside the package namespace?

Options:

A.

Declare the class and method using the public access modifier.

B.

Declare the class as global and use the public access modifier on the method.

C.

Declare the class as public and use the global access modifier on the method.

D.

Declare the class and method using the global access modifier.

Buy Now
Questions 32

A developer creates a custom exception as shown below:

public class ParityException extends Exception {}

What are two ways the developer can fire the exception in Apex?

Choose 2 answers

Options:

A.

new ParityException();:

B.

throw new ParityException("parity does not match");

C.

new ParityException('parity does not match');

D.

throw new ParityException();

Buy Now
Questions 33

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)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 34

A developer must perform a complex SOQL query that joins two objects in a Lightning component. How can the Lightning component execute the query?

Options:

A.

Create a flow to execjte the query and invoke from the Lightning component

B.

Write the query in a custom Lightning web component wrapper ana invoke from the Lightning component,

C.

Invoke an Apex class with the method annotated as &AuraEnabled to perform the query.

D.

Use the Salesforce Streaming API to perform the SOQL query.

Buy Now
Questions 35

Universal Containers wants to assess the advantages of declarative development versus programmatic customization for specific use cases in its Salesforce implementation.

What are two characteristics of declarative development over programmatic customization? Choose 2 answers

Options:

A.

Declarative code logic does not require maintenance or review.

B.

Declarative development has higher design limits and query limits.

C.

Declarative development can be done using the setup menu.

D.

Declarative development does not require Apex test classes.

Buy Now
Questions 36

n org has an existing flow that creates an Opportunity with an Update Records element. A developer must update the flow to aiso create a ‘Contact and store the created Contact's 1D on the Opportunity.

Which update must the developer make in the flow?

Options:

A.

Add a new Get Records element.

B.

Add a new Create Records element.

C.

Add a new Update Records element.

D.

Add a new Roll back Records element

Buy Now
Questions 37

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?

Options:

A.

An invocae method

B.

An apex REST class

C.

An outbound message

D.

An Apex Controller

Buy Now
Questions 38

A developer is alerted to an issue with a custom Apex trigger that is causing records to be duplicated.

What is the most appropriate debugging approach to troubleshoot the issue?

Options:

A.

Disable the trigger m production and test to see If the issue still occurs.

B.

Use the Apex Interactive Debugger to step through the code and Identify the issue.

C.

Review the Historical Event logs to Identify the source of the issue.

D.

Add system.debug statements to the code to track the execution flow and identify the issue.

Buy Now
Questions 39

Which two sfdx commands can be used to add testing data to a Developer sandbox?

Options:

A.

Forced: data:bulk:upsert

B.

Forced: data: object :upsert

C.

Forced: data: tree: upsert

D.

Forced: data:async:upsert

Buy Now
Questions 40

A developer deployed a trigger to update the status__c of Assets related to an Account when the Account’'s status changes and a nightly integration that updates Accounts in bulk has started to fail with limit failures.

What should the developer change about the code to address the failure while still having the code update all of the Assets correctly?

Options:

A.

Change the gerAssetsToUpdac= method to process all Accounts in one call and call it outside of the for loop that starts on line 03.

B.

Add a LIMIT clause to the SOQL query on line 16 to limit the number of Assets queried for an Account.

C.

Move all of the logic to a Queueable class that queries for and updates the Assets and call it from the trigger.

D.

Add List assets = [SELECT Id, Status__c FROM Asset WHERE AccountId = :acctId] to line 14 and iterate over the assets list in the for loop on line 15.

Buy Now
Questions 41

Since Aura application events follow the traditional publish-subscribe model, which method is used to fire an event?

Options:

A.

ernit()

B.

fireEvent()

C.

fire()

D.

registerEvent()

Buy Now
Questions 42

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?

Options:

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

Buy Now
Questions 43

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

Options:

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.

Buy Now
Questions 44

Which code displays the contents of a Visualforce page as a PDF?

Options:

A.

B.

C.

D.

Buy Now
Questions 45

A credit card company needs to implement the functionality for a service agent to process damaged or stolen credit cards. When the customers call in, the service agent must gather many pieces of information. A developer is tasked to implement this functionality.

What should the developer use to satisfy this requirement in the most efficient manner?

Options:

A.

Apex trigger

B.

Approval process

C.

Screen-based flow

D.

Lightning Component

Buy Now
Questions 46

Cloud kicks has a multi-screen flow that 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 numbers and dates that are retrieved from an external order management system in real time and displayed on the screen.

What should a developer use to satisfy this requirement?

Options:

A.

An Apex controller

B.

An Apex REST class

C.

An outbound message

D.

An invocable method

Buy Now
Questions 47

Universal Containers recently transitioned from Classic to Lighting Experience. One of its business processes requires certain value from the opportunity object to be sent via HTTP REST callout to its external order management system based on a user-initiated action on the opportunity page. Example values are as follow

  • Name
  • Amount
  • Account

Which two methods should the developer implement to fulfill the business requirement? (Choose 2 answers)

Options:

A.

Create a Lightning component that performs the HTTP REST callout, and use a Lightning Action to expose the component on the Opportunity detail page.

B.

Create a Process Builder on the Opportunity object that executes an Apex immediate action to perform the HTTP REST callout whenever the Opportunity is updated.

C.

Create an after update trigger on the Opportunity object that calls a helper method using @Future(Callout=true) to perform the HTTP REST callout.

D.

Create a Visualforce page that performs the HTTP REST callout, and use a Visualforce quick action to expose the component on the Opportunity detail page.

Buy Now
Questions 48

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?

Options:

A.

force-input-field

B.

ui-input-field

C.

aura-input-field

D.

lightning-input-field

Buy Now
Questions 49

What are two considerations for running a flow in debug mode?

Choose 2 answers

Options:

A.

Callouts to external systems are not executed when debugging a flow.

B.

Clicking Pause or executing a Pause element closes the flow and ends debugging.

C.

Input variables of type record cannot be passed into the flow,

D.

DML operations will be rolled back when the debugging ends.

Buy Now
Questions 50

Which code in a Visualforce page and/or controller might present a security vulnerability?

Options:

A.

B.

C.

D.

Buy Now
Questions 51

A developer at Universal Containers is taked with implementing a new Salesforce application that bwill be maintained completely by their company’s Salesforce admiknistrator.

Which two options should be considered for buildig out the business logic layerof the application?

Chosse 2 answer

Options:

A.

Validation Rules

B.

Record-Triggered flows

C, Scheduled

C.

Unvocable Moorche2023-06-13T14:55:00.63

Actions

Buy Now
Questions 52

Which code statement includes an Apex method named updateaccounts in the Class AccountCont rolles for use in a Lightning web component?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 53

How should a developer write unit tests for a private method in an Apex class?

Options:

A.

Use the SeeAllData annotation.

B.

Add a test method in the Apex class.

C.

Use the TestVisible annotation.

D.

Mark the Apex class as global.

Buy Now
Questions 54

A developer is tasked to perform a security review of the ContactSearch Apex class that exists in the system. Whithin the class, the developer identifies the following method as a security threat: List performSearch(String lastName){ return Database.query('Select Id, FirstName, LastName FROM Contact WHERE LastName Like %'+lastName+'%); } What are two ways the developer can update the method to prevent a SOQL injection attack? Choose 2 answers

Options:

A.

Use variable binding and replace the dynamic query with a static SOQL.

B.

Use the escapeSingleQuote method to sanitize the parameter before its use.

C.

Use a regular expression on the parameter to remove special characters.

D.

Use the @Readonly annotation and the with sharing keyword on the class.

Buy Now
Questions 55

A develop completed modification to a customized feature that is comprised of two elements:

Apex trigger

Trigger handler Apex class

What are two factors that the developer must take into account to properly deploy the modification to the production environment?

Options:

A.

Apex classes must have at least 75% code coverage org-wide.

B.

At least one line of code must be executed for the Apex trigger.

C.

All methods in the test classes must use @isTest.

D.

Test methods must be declared with the testMethod keyword.

Buy Now
Questions 56

Given the following Apex statement:

What occurs when more than one Account is returned by the SOQL query?

Options:

A.

The query falls and an error Is written to the debug log.

B.

The variable, nvAccount, Is automatically cast to the List data type.

C.

The first Account returned Is assigned to myAccour.t.

D.

An unhandled exception is thrown and the code terminates.

Buy Now
Questions 57

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?

Options:

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 */}

Buy Now
Questions 58

A company has a custom object, Order__c, that has a required, unique external ID field called OrderNumber__c.

Which statement should be used to perform the DML necessary to insert new records and update existing records in a list of order__c records

using the external ID field?

Options:

A.

B.

C.

D.

Buy Now
Questions 59

Universal Containers has a Visualforce page that displays a table of every Container__c being rented by a given Account. Recently this

page is failing 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?

Options:

A.

Use JavaScript remotlng with SOQL Offset.

B.

Implement pagination with a StandardSetController.

C.

Implement pagination with an OffaetController.

D.

Use lazy loading and a transient List variable.

Buy Now
Questions 60

What are two considerations for deploying from a sandbox to production?

Choose 2 answers

Options:

A.

Should deploy during business hours to ensure feedback can be Quickly addressed

B.

All triggers must have at least one line of test coverage.

C.

At least 75% of Aptx code must be covered by unit tests.

D.

Unit tests must have calls to the System.assert method.

Buy Now
Questions 61

Which exception type cannot be caught?

Options:

A.

B.

C.

D.

Buy Now
Questions 62

What does the Lightning Component framework provide to developers?

Options:

A.

Extended governor limits for applications

B.

Prebuilt component that can be reused.

C.

Templates to create custom components.

D.

Support for Classic and Lightning UIS.

Buy Now
Questions 63

When a user edits the Postal Code on an Account, a custom Account text field named ''Timezone'' must be updated based on the values another custom object object called.

What is the optimal way to Implement this feature?

Options:

A.

Build a flow with flow Builder.

B.

Build an account assignment rule.

C.

Create a formula field.

D.

Create an account approval process.

Buy Now
Questions 64

A Developer Edition org has five existing accounts. A developer wants to add 10 more accounts for testing purposes.

The following code is executed in the Developer Console using the Execute Anonymous window:

How many total accounts will be in the org after this code is executed?

Options:

A.

5

B.

6

C.

10

D.

15

Buy Now
Questions 65

What can be easily developed using the Lightning Component framework?

Options:

A.

Customized JavaScript buttons

B.

Salesforce Classic user Interface pages

C.

Lightning Pages

D.

Salesforce integrations

Buy Now
Questions 66

A team of many developers work in their own individual orgs that have the same configuration as the production org.

Which type of org is best suited for this scenario?

Options:

A.

Full Sandbox

B.

Developer Edition

C.

Partner Developer Edition

D.

Developer Sandbox

Buy Now
Questions 67

A developer observes that an Apex test method fails in the Sandbox. To identify the issue, the developer copies the code inside the test method and executes it via the Execute Anonymous tool in the Developer Console. The code then executes with no exceptions or errors. Why did the test method fail in the sandbox and pass in the Developer Console?

Options:

A.

The test method has a syntax error in the code.

B.

The test method relies on existing data in the sandbox.

C.

The test method is calling an @future method.

D.

The test method does not use System.runAs to execute as a specific user.

Buy Now
Questions 68

A developer is creating an app that contains multiple Lightning web components.

One of the child components is used for navigation purposes. When a user click a button called.. component, the parent component must be alerted so it can navigate to the next page.

How should this be accomplished?

Options:

A.

Fire a notification.

B.

Update a property on the parent.

C.

Call a method in the Apex controller.

D.

Create a custom event.

Buy Now
Questions 69

Universal Containers stores the availability date on each Line Item of an Order and Orders are only shipped when all of the Line Items are available. Which method should be used to calculate the estimated ship date for an Order?

Options:

A.

Use a CEILING formula on each of the Latest availability date fields.

B.

Use a DAYS formula on each of the availability date fields and a COUNT Roll-Up Summary field on the Order.

C.

Use a LATEST formula on each of the latest availability date fields.

D.

Use a Max Roll-Up Summary field on the Latest availability date fields.

Buy Now
Questions 70

A developer created a new trigger that inserts a Task when a new Lead is created. After deploying to production, an outside integration chat reads task records is periodically reporting errors.

Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?

Options:

A.

Deactivate the trigger before the integration runs.

B.

Use a try-catch block after the insert statement.

C.

Remove the Apex class from the integration user's profile.

D.

Use the Database method with all or None set to false

Buy Now
Exam Code: PDI
Exam Name: Platform Developer I (SP23)
Last Update: Apr 28, 2024
Questions: 235
PDI pdf

PDI PDF

$28  $80
PDI Engine

PDI Testing Engine

$33.25  $95
PDI PDF + Engine

PDI PDF + Testing Engine

$45.5  $130