Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: geek65

PDI Platform Developer I (SP24) Questions and Answers

Questions 4

How does the Lightning Component framework help developers implement solutions faster?

Options:

A.

By providing an Agile process with default steps

B.

By providing code review standards and processes

C.

By providing device-awareness for mobile and desktops

D.

By providing change history and version control

Buy Now
Questions 5

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 6

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

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 7

Which two are best practices when it comes to component and application event handling? (Choose two.)

Options:

A.

Reuse the event logic in a component bundle, by putting the logic in the helper.

B.

Use component events to communicate actions that should be handled at the application level.

C.

Handle low-level events in the event handler and re-fire them as higher-level events.

D.

Try to use application events as opposed to component events.

Buy Now
Questions 8

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 9

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 10

Given the following code snippet, that is part of a custom controller for a Visualforce page:

In which two ways can the try/catch be enclosed to enforce object and field-level permissions and prevent the DML statement from being executed if the current logged-in user does not have the appropriate level of access? Choose 2 answers

Options:

A.

Use if (Schema, sobjectType, Contact, isUpdatable ( ) )

B.

Use if (Schema , sobjectType. Contact. Field, Is_Active_c. is Updateable ( ) )

C.

Use if (Schema.sObjectType.Contact.isAccessible ( ) )

D.

Use if (thisContact.Owner = = UserInfo.getuserId ( ) )

Buy Now
Questions 11

Which three statements are true regarding custom exceptions in Apex? (Choose three.)

Options:

A.

A custom exception class must extend the system Exception class.

B.

A custom exception class can implement one or many interfaces.

C.

A custom exception class cannot contain member variables or methods.

D.

A custom exception class name must end with “Exception”.

E.

A custom exception class can extend other classes besides the Exception class.

Buy Now
Questions 12

Which action may cause triggers to fire?

Options:

A.

Updates to Feed Items

B.

Renaming or replacing a picklist entry

C.

Changing a user's default division when the transfer division option is checked

D.

Cascading delete operations

Buy Now
Questions 13

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 14

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 15

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 16

A Salesforce Administrator used Flow Builder to create a flow named ‘’accountOnboarding’’. The flow must be used inside an Aura component.

Which tag should a developer use to display the flow in the component?

Options:

A.

Lightning-flow

B.

Aura:flow

C.

Lightning:flow

D.

Aura:flow

Buy Now
Questions 17

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 18

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 19

Which three data types can a SOQL query return?

Choose 3 answers

Options:

A.

List

B.

Long

C.

Integer

D.

sObJect

E.

Double

Buy Now
Questions 20

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 21

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 22

A developer is asked to prevent anyone other than a user with Sales Manager profile from changing the Opportunity Status to Closed Lost if the lost reason is blank.

Which automation allows the developer to satisfy this requirement in the most efficient manner?

Options:

A.

A record trigger flow on the Opportunity object

B.

An Apex trigger on the Opportunity object

C.

approval process on the Opportunity object

D.

An error condition formula on a validation rule on Opportunity

Buy Now
Questions 23

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 24

A developer must create a CreditcardPayment class that provides an implementation of an existing Payment class. Public virtual class Payment { public virtual void makePayment(Decimal amount) { /*implementation*/ } } Which is the correct implementation?

Options:

A.

Public class CreditcardPayment extends Payment {

public override void makePayment(Decimal amount) { /*implementation*/ }

}

B.

Public class CreditCardPayment implements Payment {

public virtual void makePayment(Decimal amount) { /*implementation*/ }

}

C.

Public class CreditCardPayment extends Payment {

public virtual void makePayment(Decimal amount) { /*implementation*/ }

}

D.

Public class CreditCardPayment implements Payment {

public override void makePayment(Decimal amount) { /*Implementation*/ }

}

Buy Now
Questions 25

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.

B.

C.

D.

Buy Now
Questions 26

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 27

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 28

What should be used to create scratch orgs?

Options:

A.

Developer Console

B.

Salesforce CLI

C.

Workbench

D.

Sandbox refresh

Buy Now
Questions 29

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

When the code execution, which two events occur as a result of the Apex transaction?

When the code executes, which two events occur as a result of the Apex transaction?

Choose 2 answers

Options:

A.

If executed in an asynchronous context, the apex transaction is likely to fall by exceeding the DML governor limit

B.

The Apex transaction succeeds regardless of any uncaught exception and all processed accounts are updated.

C.

The Apex transaction fails with the following message. "SObject row was retrieved via SOQL without querying the requested field Account.Is.Tech__c''.

D.

If executed In a synchronous context, the apex transaction is likely to fall by exceeding the DHL governor limit.

Buy Now
Questions 30

A developer Is Integrating with a legacy on-premise SQL database.

What should the developer use to ensure the data being Integrated is matched to the right records in Salesforce?

Options:

A.

Lookup field

B.

External ID field

C.

Formula field

D.

External Object

Buy Now
Questions 31

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 32

Which annotation should a developer use on an Apex method to make it available to be wired to a property in a Lightning web component?

Options:

A.

@RemoteAction

B.

@AureEnabled

C.

@AureEnabled (cacheable=true)

D.

@RemoteAction(|cacheable=true)

Buy Now
Questions 33

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 34

Universal Containers has developed custom Apex code and Lightning Components in a Sandbox environment. They need to deploy the code and associated configurations to the Production environment.

What is the recommended process for deploying the code and configurations to Production?

Options:

A.

Use a change set to deploy the Apex code and Lightning Components.

B.

Use the Force.com IDE to deploy the Apex code and Lightning Components.

C.

Use the Ant Migration Tool to deploy the Apex code and Lightning Components.

D.

Use Salesforce CLI to deploy the Apex code and Lightning Components.

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

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 37

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

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 40

A developer has a Visualforce page and custom controller to save Account records. The developer wants to display any validation rule violation to the user. How can the developer make sure that validation rule violations are displayed?

Options:

A.

Add cuatom controller attributes to display the message.

B.

Include on the Visualforce page.

C.

Use a try/catch with a custom exception class.

D.

Perform the DML using the Database.upsert() method.

Buy Now
Questions 41

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 42

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 43

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 44

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 45

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 46

A company wants to implement a new call center process for handling customer service calls. It requires service reps to ask for the caller’s account number before proceeding with the rest of their call script.

Following best practices, what is the optimal approach to satisfy this requirmrnt?

Options:

A.

Flow Builder

B.

Approvals

C.

Apex trigger

D.

Einstein Next Best Action

Buy Now
Questions 47

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

A developer has identified a method in an Apex class that performs resource intensive actions in memory by iterating over the result set of a SOQL statement on the account. The method also performs a DML statement to save the changes to the datadase.

Which two techniques should the developer implement as a best practice to ensure transaction control and avoid exceeding governor limits?

Choose 2 answers

Options:

A.

Use partial DML statements to ensure only valid data is committed.

B.

Use the System,Limit classto monitor the current CPU governor limit consumption.

C.

Use the Database,Savepoint method to enforce database integrity.

D.

D. Use the Reedonly annotation to bypass the number of rows returned by a SOQL.

Buy Now
Questions 50

Universal Containers wants to ensure that all new leads created in the system have a valid email address. They have already created a validation rule to enforce this requirement, but want to add an additional layer of validation using automation.

What would be the best solution for this requirement?

Options:

A.

Submit a REST API Callojt with a JSON payload and validate the f elds on a third patty system

B.

Use an Approval Process to enforce tne completion of a valid email address using an outbound message action.

C.

Use a before-save Apex trigger on the Lead object to validate the email address and display an error message If it Is invalid

D.

Use a custom Lightning web component to make a callout to validate the fields on a third party system.

Buy Now
Questions 51

A developer writes a trigger on the Account object on the before update event that increments a count field. A workflow rule also increments the count field every time that an Account is created or updated. The field update in the workflow rule is configured to not re-evaluate workflow rules.

What is the value of the count field if an Account is inserted with an initial value of zero, assuming no other automation logic is implemented on the Account?

Options:

A.

1

B.

3

C.

4

D.

2

Buy Now
Questions 52

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 53

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?

Options:

A.

Record-triggered Flow

B.

Formula field

C.

Apex Trigger

D.

Process Builder

Buy Now
Questions 54

A developer has an integer variable called maxAttempts. The developer meeds to ensure that once maxAttempts is initialized, it preserves its value for the lenght of the Apex transaction; while being able to share the variable's state between trigger executions. How should the developer declare maxAttempts to meet these requirements?

Options:

A.

Declare maxattempts as a member variable on the trigger definition.

B.

Declare maxattempts as a private static variable on a helper class

C.

Declare maxattempts as a constant using the static and final keywords

D.

Declare maxattempts as a variable on a helper class

Buy Now
Questions 55

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 56

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

Options:

A.

View the code coverage percentage or the class using the Overalll code Coverage panel in the Developer Console Test tab.

B.

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

C.

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

D.

View the Class test Percentage tab on the Apex Class list view in Salesforce Setup.

Buy Now
Questions 57

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 58

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 59

A developer wrote an Apex method to update a list of Contacts and wants to make it available for use by Lightning web components.

Which annotation should the developer add to the Apex method to achieve this?

A)

B)

C)

D)

Options:

A.

Option

B.

Option

C.

Option

D.

Option

Buy Now
Questions 60

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 61

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 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 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 64

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

Choose 3 answers

Options:

A.

SVG resources

B.

Third-party web components

C.

Content asset files

D.

Static resources

E.

All external libraries

Buy Now
Questions 65

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 66

In the following example, which sharing context will myMethod execute when it is invoked?

Options:

A.

Sharing rules will not be enforced for the running user.

B.

Sharing rules will be Inherited from the calling context.

C.

Sharing rules will be enforced by the instantiating class.

D.

Sharing rules will be enforced for the running user.

Buy Now
Questions 67

How is a controller and extension specified for a custom object named "Notice" on a Visualforce page?

Options:

A.

B.

C.

D.

Buy Now
Questions 68

Which three steps allow a custom SVG to be included in a Lightning web component? Choose 3 answers

Options:

A.

Upload the SVG as a static resource.

B.

Import the static resource and provide a getter for it in JavaScript.

C.

Reference the getter in the HTML template.

D.

Reference the import in the HTML template.

E.

Import the SVG as a content asset file.

Buy Now
Questions 69

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 70

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
Exam Code: PDI
Exam Name: Platform Developer I (SP24)
Last Update: Jul 26, 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