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

Online PDI Questions Video

Page: 11 / 12
Question 44

A developer created a child Lightning web component nested inside a parent Lightning web component. The 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 public property to pass the data to the child component.

B.

The parent component can invoke a public method in the child component.

C.

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

D.

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

Question 45

Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own.

What should the developer use to enforce sharing permissions for the currently logged in user while using the custom search tool?

Options:

A.

Use the schema describe calls to determine if the logged-in user has access to the Account object,

B.

Use the with sharing keyword on the class declaration.

C.

Use the without sharing keyword on the class declaration.

D.

Use the UserInfo Apex class to filter all SOQL queries to returned records owned by the logged-in user.

Question 46

A developer must create a Lightning component that allows users to input Contact record information to create a Contact record, including a Salary__c custom field.

What should the developer use, along with a lightning-record-edit-form, so that salarv < field functions as a currency Input and is only viewable and editable by users that have the correct field level permissions on salary _c?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 47

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.

An approval process on the Opportunity object

B.

A record trigger flow on the Opportunity object

C.

An Apex trigger on the Opportunity object

D.

An error condition formula on a validation rule on Opportunity

Page: 11 / 12
Exam Code: PDI
Exam Name: Salesforce Certified Platform Developer I (SU24)
Last Update: Nov 21, 2024
Questions: 174
PDI pdf

PDI PDF

$28  $80
PDI Engine

PDI Testing Engine

$33.25  $95
PDI PDF + Engine

PDI PDF + Testing Engine

$45.5  $130