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

PDI Exam Dumps - Salesforce Certified Platform Developer 1 (WI25)

Go to page:
Question # 49

An org has an existing flow that edits an Opportunity with an Update Records element. A developer must update the flow to also create a Contact and store the created Contact’s ID on the Opportunity.

Which update must the developer make in the flow?

A.

Add a new Update Records element.

B.

Add a new Roll Back Records element.

C.

Add a new Create Records element.

D.

Add a new Get Records element.

Full Access
Question # 50

What are two use cases for executing Anonymous Apex code?

Choose 2 answers

A.

schedule an Apex class to run periodically

B.

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

C.

To run a batch Apex class to update all Contacts

D.

To add unit test code coverage to an org

Full Access
Question # 51

A developer needs to confirm that a Contact trigger works correctly without changing the organization's data.

What should the developer do to test the Contact trigger?

A.

Use Deploy from the VSCode IDE co deploy an 'insert Contact' Apex class.

B.

Use the New button on the Salesforce Contacts Tab to create a new Contact record.

C.

Use the Test menu on the Developer Console to run oil test classes for the Contact trigger.

D.

Use the Open Execute Anonymous feature on the Developer Console to run an "insert Contact' DML statement.

Full Access
Question # 52

The following code snippet is executed by a Lightning web component in an environment with more than 2,000 lead records:

Which governor limit will likely be exceeded within the Apex transaction?

A.

Total number of SOOL quires issued

B.

Total number of DML statements issued

C.

Total number of records processed as a result of DML statements

Full Access
Question # 53

Universal Containers recently transitioned from Classic to Lightning Experience.

One of its business processes requires certain values from the Opportunity object to be sent via an HTTP REST callout to its external order management system when the user presses a custom button on the Opportunity detail page. Example values are as follows:

* Name

*Amount

* Account

Which two methods should the developer implement to fulfill the business requirement?

Choose 2 answers

A.

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

B.

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

C.

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

D.

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

Full Access
Question # 54

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

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 55

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

A.

fire()

B.

SegdetesEvent (}

C.

FireEvent()

D.

emit()

Full Access
Question # 56

Refer to the component code 9f\d requirements below:

Requirements

* For mobile devices. the information should display in three rows.

* For desktops and tablets, the information should display in a single row.

Requirement 2 is not displaying as desired.

Which option has the correct component code to meet the requirements for desktops end and tablets?

A)

B)

C)

A.

Option A

B.

Option B

C.

Option C

Full Access
Go to page: