Summer Sale - Special Discounts Limited Time 55% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 63r59951

PDI Platform Developer I (WI24) Questions and Answers

Questions 4

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?

Options:

A.

AppExchange

B.

Salesforce CLI

C.

Visual Studio Core IDE

D.

Developer Console

Buy Now
Questions 5

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 6

What should a developer use to script the deployment and unit test execution as part of continuous integration?

Options:

A.

Developer Console

B.

Execute Anonymous

C.

Salesforce CLI

D.

VS Code

Buy Now
Questions 7

What should a developer use to obtain the Id and Name of all the Leads. Accounts, and Contacts that hove the company name "Universal Containers"?

Options:

A.

FIND 'Universal Containers' IN Name Fields RETURNING leadjid, name), accounted, name), contacted, name)

B.

FIND Universal Containers' IN CompanyName Fietds RETURNING lead{ld. name), accounted, name), contacted, name)

C.

SELECT lead(id, name). accountOd, name), contacted, name) FROM Lead, Account, Contact WHERE Name = "universal Containers'

D.

SELECT Lead.id. Lead.Name, Account.Id, AccountName, Contacted, Contact.Name FROM Lead, Account, Contact WHERE CompanvName * Universal Containers'

Buy Now
Questions 8

A developer is designing a new application on the Salesforce platform and wants to ensure it can support multiple tenants effectively.

Which design framework should the developer consider to ensure scalability and maintainability?

Options:

A.

Flux (view, action, dispatcher, and store)

B.

Waterfall Model

C.

Agile Development

D.

Model-View-Controller (MVC)

Buy Now
Questions 9

What should be used to create scratch orgs?

Options:

A.

Developer Console

B.

Salesforce CLI

C.

Workbench

D.

Sandbox refresh

Buy Now
Questions 10

A software company uses the following objects and relationships:

• Case: to handle customer support issues

• Defect_c: a custom object to represent known issues with the company's software

• case_Defect__c: a junction object between Case and Defector to represent that a defect Is a

customer issue

What should be done to share a specific Case-Defect_c record with a user?

Options:

A.

Share the Case_Defect_c record.

B.

Share the parent Case record.

C.

Share the parent Defect_c record.

D.

Share the parent Case and Defect_c records.

Buy Now
Questions 11

A developer created this Apex trigger that calls MyClass,myStartmethod:

PDI Question 11

The developer creates a test method that calls MyClase,myStartmethod directly, resulting in 81% overall code coverage.

What happens wtier the developer tries to deploy the ... and two classes to production, assuming no other code exists?

Options:

A.

The deployment fails because the Apr- MgQM has no code coverage.

B.

The deployment tails because no assertions mett made in the lest method.

C.

The deployment passes became the Apex code has the requited 75% code coverage.

D.

The deployment passes because both classes and the trigger were included ki the deployment.

Buy Now
Questions 12

Which statement generates a list of Leads and Contacts that have a field with the phrase 'ACME'?

Options:

A.

List> searchList = [SELECT Name, ID FROM Contact, Lead WHERE Name like "tACME3"];

B.

List> searchList = [FIND '*ACME*" IN ALL FIELDS RETURNING Contact, Lead];

C.

Map searchList = [FIND '*ACME*' IN ALL FIELDS RETURNING Contact, Lead];

D.

List searchList = [FIND '*ACME*' IN ALL FIELDS RETURNING Contact, Lead];

Buy Now
Questions 13

A company decides to implement a new process where every time an Opportunity is created, a follow up Task should be created and assigned to the Opportunity Owner.

What is the most efficient way for a developer to implement this?

Options:

A.

Auto-launched flow on Task

B.

Apex trigger on Task

C.

Task actions

D.

Record-trigger flow on Opportunity

Buy Now
Questions 14

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 15

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.

PDI Question 15 Option 1

B.

15

C.

15

D.

15

Buy Now
Questions 16

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 17

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 18

What are two use cases for executing Anonymous Apex code? Choose 2 answers

Options:

A.

To delete 15,000 inactive Accounts In a single transaction after a deployment

B.

To schedule an Apex class to run periodically

C.

To run a batch Apex class to update all Contacts

D.

To add unit test code coverage to an org

Buy Now
Questions 19

Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?

Options:

A.

Database.insert (records, false)

B.

insert records

C.

insert (records, false)

D.

Database.insert (records, true)

Buy Now
Questions 20

PDI Question 20

When the code executes, a DML exception is thrown.

How should a developer modify the code to ensure exceptions are handled gracefully?

Options:

A.

Implement the upsert DML statement.

B.

Implement Change Data Capture.

C.

Implement a try/catch block for the DML.

D.

Remove null items from the list of Accounts.

Buy Now
Questions 21

A custom picklist field, Food_Preference__c, exist on a custom object. The picklist contains the following options: 'Vegan','Kosher','No Preference'. The developer must ensure a value is populated every time a record is created or updated. What is the most efficient way to ensure a value is selected every time a record is saved?

Options:

A.

Set "Use the first value in the list as the default value" as True.

B.

Set a validation rule to enforce a value is selected.

C.

Mark the field as Required on the field definition.

D.

Mark the field as Required on the object's page layout.

Buy Now
Questions 22

A developer is creating a test coverage for a class and needs to insert records to validate functionality. Which method annotation should be used to create records for every method in the test class?

Options:

A.

@BeforeTest

B.

@isTest(SeeAllData=True)

C.

@TestSetup

D.

@PreTest

Buy Now
Questions 23

Which three code lines are required to create a Lightning component on a Visualforce page? Choose 3 answers

Options:

A.

$Lightning.createComponent

B.

C.

$Lightning.useComponent

D.

$Lightning.use

E.

Buy Now
Questions 24

The sales management team at Universal Container requires that the Lead Source field of the Lead record be populated when a.. converted.

What should be done to ensure that a user populates the Lead Source field prior to converting a Lead?

Options:

A.

Use a formula field.

B.

Use a validation rule.

C.

Use Lead Conversation field mapping.

D.

Create an after trigger on Lead.

Buy Now
Questions 25

Which Lightning code segment should be written to declare dependencies on a Lightning component, c:accountList, that is used in a Visualforce page?

A)

PDI Question 25

B)

PDI Question 25

C)

PDI Question 25

D)

PDI Question 25

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 26

A business has a proprietary Order Management System (OMS) that creates orders from their website and fulfills the orders. When the order is created in the OMS, an integration also creates an order record in Salesforce and relates it to the contact as identified by the email on the order. As the order goes through different stages in the OMS, the integration also updates It in Salesforce. It is noticed that each update from the OMS creates a new order record in Salesforce.

Which two actions will prevent the duplicate order records from being created in Salesforce?

Choose 2 answers

Options:

A.

Ensure that the order number in the OMS is unique.

B.

Use the order number from the OMS as an external ID.

C.

Use the email on the contact record as an external ID.

D.

Write a before trigger on the order object to delete any duplicates.

Buy Now
Questions 27

Which aspect of Apex programming is limited due to multitenancy?

Options:

A.

The number of active Apex classes

B.

The number of methods in an Apex Class

C.

The number of records processed in a loop

D.

The number of records returned from database queries

Buy Now
Questions 28

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

Options:

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,

Buy Now
Questions 29

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
Questions 30

Universal Hiring uses Salesforce to capture job applications. A salesforce administrator created two custom objects; Job__c acting as the maste object, Job _Application__c acting as the detail.

Within the Job ___c object, a custom multi-select picklist, preferred Locations __c, contains a list of approved states for the position. Each

Job_Application__c record relates to a Contact within the system through a master-detail relationship.

Recruiters have requested the ability to view whether the Contact's Mailing State value matches a value selected on the Preferred_Locations__c field,

within the Job_Application__c record. Recruiters would like this value to be kept in sync if changes occur to the Contact's Mailing State.

What is the recommended tool a developer should use to meet the business requirement?

Options:

A.

Roll-up summary field

B.

Apex trigger

C.

Formula field

D.

Record-triggered flow

Buy Now
Questions 31

When importing and exporting data into Salesforce, which two statements are true?

Choose 2 answers

Options:

A.

Bulk API can be used to import large data volumes in development environments without bypassing the storage limits.

B.

Bulk API can be used to bypass the storage limits when importing large data volumes in development environments.

C.

Developer and Developer Pro sandboxes have different storage limits.

D.

Data import wizard is a client application provided by Salesforce.

Buy Now
Questions 32

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 33

Which two settings must be defined in order to update a record of a junction object? Choose 2 answers

Options:

A.

Read access on the primary relationship

B.

Read/Write access on the secondary relationship

C.

Read/Write access on the primary relationship

D.

Read/Write access on the junction object

Buy Now
Questions 34

What writing an Apex class, a developer warts to make sure thai all functionality being developed Is handled as specified by the requirements.

Which approach should the developer use to be sure that the Apex class is working according tospecification?

Options:

A.

Create a test class to execute the business logic and run the test in the Developer Console.

B.

Include a savepoint and Database,rollback.

C.

Include a try/catch block to the Apex class.

D.

Run the code in an Execute Anonymous block n the Deceloper Consider.

Buy Now
Questions 35

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?

Options:

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,

Buy Now
Questions 36

While developing an Apex class with custom search functionality that will be launched from a Lightning Web Component, how can the developer ensure only records accessible to the currently logged in user are displayed?

Options:

A.

PDI Question 36 Option 1

B.

36

C.

36

D.

36

Buy Now
Questions 37

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 38

The Account object in an organization has a master detail relationship to a child object called Branch. The following automations exist:

• Rollup summary fields

• Custom validation rules

• Duplicate rules

A developer created a trigger on the Account object.

What two things should the developer consider while testing the trigger code?

Choose 2 answers

Options:

A.

Rollup summary fields can cause the parent record to go through Save.

B.

The trigger may fire multiple times during a transaction.

C.

Duplicate rules are executed once all DML operations commit to the database.

D.

The validation rules will cause the trigger to fire again.

Buy Now
Questions 39

A developer creates a batch Apex job to update a large number of records, and receives reports of the job timing out and not completing.

What is the first step towards troubleshooting the issue?

Options:

A.

Check the asynchronous job monitoring page to view the job status and logs.

B.

Check the debug logs for the batch job.

C.

Decrease the batch size to reduce the load on the system.

D.

Disable the batch job and recreate it with a smaller number of records.

Buy Now
Questions 40

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 41

An org has an existing Flow that creates an Opportunity with an Update Records element. A developer update the Flow to also create a Contact and store the created Contact's ID on the Opportunity.

Which update should the developer make in the Flow?

Options:

A.

Add a new Get Records element.

B.

Add a new Update Records element.

C.

Add a new Quick Action element(of type Create).

D.

Add a new Create Records element.

Buy Now
Questions 42

What are three ways for 2 developer to execute tests in an org? Choose 3 answers

Options:

A.

Metadata APT

B.

Bulk API

C.

Setup Menu

D.

SalesforceDX

E.

Tooling API

Buy Now
Questions 43

A developer created a child Lightning web component nested inside a parent Lightning web component, parent component needs to pass a string value to the child component.

In which two ways can this be accomplished?

Choose 2 answers

Options:

A.

The parent component can use a custom event to pass the data to the child component,

B.

The parent component can use the Apex controller class to send data to the child component.

C.

The parent component can invoke a method in the child component

D.

The parent component can use a public property to pass the data to the child component.

Buy Now
Questions 44

While working in a sandbox, an Apex test fails when run in the Test Runner. However, executing the Apex logic in the Execute Anonymous window succeeds with no exceptions or errors.

Why did the method fail in the sandbox test framework but succeed in the Developer Console?

Options:

A.

The test method has a syntax error In the code.

B.

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

C.

The test method Is calling an future method.

D.

The test method relies on existing data in the sandbox.

Buy Now
Questions 45

A Next Best Action strategy uses an Enhance element that invokes an Apex method to determine a discount level for a Contact, based on a

number of factors.

What is the correct definition of the Apex method?

Options:

A.

PDI Question 45 Option 1

B.

45

C.

45

D.

45

Buy Now
Questions 46

A company has been adding data to Salesforce and has not done a good Job of limiting the creation of duplicate Lead records. The developer is considering writing an Apex process to identify duplicates and merge the records together.

Which two statements are valid considerations when using merged?

Choose 2 answers

Options:

A.

The field values on the master record are overwritten by the records being merged.

B.

Merge is supported with accounts, contacts, cases, and leads.

C.

External ID fields can be used with the merge method.

D.

The merge method allows up to three records, including the master and two additional records with the same sObject type, to be merged into the master record.

Buy Now
Questions 47

What should a developer do to check the code coverage of a class after running all tests?

Options:

A.

View the Code Coverage column in the list view on the Apex Classes page.

B.

View the Class Test Percentage tab on the Apex Class fist view m Salesforce Setup.

C.

View Use cede coverage percentage for the class using the Overall Code Coverage panel in the Developer Console Tests tab.

D.

Select and run the class on the Apex Test Execution page in the Developer Console.

Buy Now
Questions 48

A developer wants to improve runtime performance of Apex calls by caching result on the client.

What is the most efficient way to implement this and follow best practices?

Options:

A.

Decorate the server-side method with @AuraEnabled (total-true).

B.

Call the setStoeable () method on the action in the javaScript client-sidecode.

C.

Decorate the server-side method with @AuraEnabled (cacheable-true.

D.

Set a ciikie in the browser for use upon return to the page.

Buy Now
Questions 49

In terms of the MVC paradigm, what are two advantages of implementing the view layer of a Salesforce application using Lightning Web Component-based development over Visualforce?

Choose 2 answers

Options:

A.

Log capturing via the Debug Logs Setup page

B.

Built-in standard and custom set controllers

C.

Self-contained and reusable units of an application

D.

Rich component ecosystem

Buy Now
Questions 50

Universal Container wants Opportunities to no longer be editable when itreaches the Closed/Won stage. Which two strategies can a developer use to accomplish this?

Choose2 answer

Options:

A.

Use a validation

B.

Use a trigger

C.

Use an after-save flow.

D.

Use the Process Automation settings.

Buy Now
Questions 51

A developer is writing tests for a class and needs to insert records to validate functionality.

Which annotation method should be used to create record for every method in the test class?

Options:

A.

@isTest (SeeAllData-true)

B.

@FreTest

C.

@TestSetup

D.

@StartTest

Buy Now
Questions 52

A developer is migrating a Visualforce page into a Lightning web component.

The Visualforce page shows information about a single record. The developer decides to use Lightning Data Service to access record data.

Which security consideration should the developer be aware of?

Options:

A.

Lightning Data Service handles sharing rules and field-level security.

B.

Lightning Data Service ignores field-level security.

C.

The with sharing keyword must be used to enforce sharing rules.

D.

The isAccessible ( ) method must be used for field-level access checks

Buy Now
Questions 53

When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?

Options:

A.

Production

B.

Dev Hub

C.

Environment Hub

D.

Sandbox

Buy Now
Questions 54

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 55

A lead developer creates an Apex interface called "Laptop". Consider the following code snippet:

PDI Question 55

How can a developer use the Laptop Interface within the Silvertaptop class?

Options:

A.

@Extends(class=Laptop'')

public class SilverLaptop

B.

public calss SilverLaptop extends Laptop

C.

@Interface (class=''Laptop'')

public class SilverLaptop

D.

public class Silverlaptop implements Laptop

Buy Now
Questions 56

niversal Containers (UC) processes orders in Salesforce in a custom object, Crder_c. They also allow sales reps to upload CSV files with

of orders at a time.

A developer is tasked with integrating orders placed in Salesforce with UC's enterprise resource planning (ERP) system.

‘After the status for an Craer__c is first set to "Placed’, the order information must be sent to a REST endpoint in the ERP system that can

process ne order at a time.

What should the developer implement to accomplish this?

Options:

A.

Callout from an §urare method called from a trigger

B.

Callout from a Sarchabie class called from a scheduled job

C.

Flow with 2 callout from an invocable method

D.

Callout from a queseatie class called from a trigger

Buy Now
Questions 57

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

Options:

A.

B.

C.

D.

Buy Now
Questions 58

A developer is implementing an Apex class for a financial system. Within the class, the

variables ‘creditAmount’ and ‘debtAmount’ should not be able to change once a value is

assigned. In which two ways can the developer declare the variables to ensure their value

can only be assigned one time? Choose 2 answers

Options:

A.

Use the static keyword and assign its value in the class constructor.

B.

Use the final keyword and assign its value in the class constructor.

C.

Use the static keyword and assign its value in a static initializer.

D.

Use the final keyword and assign its value when declaring the variable.

Buy Now
Questions 59

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 60

A developer must provide custom user interfaces when users edit a Contact in either Salesforce Classic or Lightning Experience.

What should the developer use to override the Contact's Edit button and provide this functionality?

Options:

A.

A Visualforce page in Salesforce Classic and a Lightning component in Lightning Experience

B.

A Lightning component in 5alesforce Classic and a Lightning component in lightning Experience

C.

A Visualforce page in Salesforce Classic and a Lightning page in Lightning Experience

D.

A Lightning page in Salesforce Classic and a Visualforce page in Lightning Experience

Buy Now
Questions 61

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

Options:

A.

Validation Rules

B.

Remote Actions

C.

Record- Triggered flow

D.

Batch Jobs

Buy Now
Questions 62

A developer created a trigger on the Account object and wants to test if the trigger is properly bulklfield. The developer team decided that the trigger should be tested with 200 account records with unique names.

What two things should be done to create the test data within the unit test with the least amount of code? Choose 2 answers

A developer created a trigger on the Account object and wants to test if the trigger is properly bulklfield. The developer team decided that the trigger should be tested with 200 account records with unique names.

What two things should be done to create the test data within the unit test with the least amount of code?

Choose 2 answers

Options:

A.

Use the @isTest(isParallel=true) annotation in the test class.

B.

Use Test.loadData to populate data in your test methods.

C.

Use the @isTest(seeAllData=true) annotation in the test class.

D.

Create a static resource containing test data.

Buy Now
Questions 63

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 64

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 65

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 66

What is the value of the Trigger.old context variable in a before insert trigger?

Options:

A.

A list of newly created sObjects without IDs

B.

null

C.

Undefined

D.

An empty list of sObjects

Buy Now
Questions 67

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

Custom controller code:

PDI Question 67

Visualforce page snippet:

PDI Question 67

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 68

A developer wants to import 500 Opportunity records into a sandbox. Why should the developer choose to use data Loader instead of Data Import Wizard?

Options:

A.

Data Loader runs from the developer's browser.

B.

Data Import Wizard does not support Opportunities.

C.

Data Loader automatically relates Opportunities to Accounts.

D.

Data Import Wizard cannot import all 500 records.

Buy Now
Questions 69

Which statement describes the execution order when trigger are associated to the same object and event?

Options:

A.

Triggers are executed in the order they are created..

B.

Trigger execution order cannot be guaranteed.

C.

Triggers are executed in the order they are modified

D.

Triggers are executed alphabetically by trigger name.

Buy Now
Questions 70

How many Accounts will be inserted by the following block of code?

PDI Question 70

Options:

A.

100

B.

150

C.

0

D.

500

Buy Now
Exam Code: PDI
Exam Name: Platform Developer I (WI24)
Last Update: Apr 18, 2024
Questions: 235

PDF + Testing Engine

$74.7  $165.99

Testing Engine

$51.75  $114.99
buy now PDI testing engine

PDF (Q&A)

$47.25  $104.99
buy now PDI pdf