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

Free Access Salesforce PDII New Release

Page: 5 / 13
Total 193 questions

Salesforce Certified Platform Developer II (SU24) Questions and Answers

Question 17

When the code is executed, the callout is unsuccessful and the following error appears within the Developer Console:

System.CalloutException: Unauthorized endpoint

Which recommended approach should the developer implement

to resolve the callout exception?

Options:

A.

Annotate the getkRFCatalogContents method with @Future (Callout-true),

B.

Change the access modifier for ERPCatalog from public to global.

C.

Use the SetHeader() method to specify Basic Authentication,

D.

Create a remote site setting configuration that includes the endpoint.

Question 18

Refer to the Lightning component below:

The Lightning Component allows users to click a button to save their changes and then redirects them to a different page.

Currently when the user hits the Save button, the records are getting saved, but they are not redirected.

Which three techniques can a developer use to debug the JavaScript?

Choose 3 answers

Options:

A.

Use console.log () messages in the JavaScript.

B.

Use the browser's dev tools to debug the JavaScript.

C.

Enable Debug Mode for Lightning components for the user.

D.

Use Developer Console to view checkpoints.

E.

Use Developer Console to view the debug log.

Question 19

A developer is tasked with creating a Lightning web component that is responsive on various devices,

Which two components should help accomplish this goal?

Choose 2 answers

Options:

A.

lightning-navigation

B.

Lightning-input-location

C.

Lightning-layout

D.

lightning-layout—-item

Question 20

A company's support process dictates that any time a case is closed with a status of "Could net fix," an Engineering Review custom object record should be created and populated with information from the case, the contact, and any of the products associated with the case.

What Is the correct way to automate this using an Apex trigger?

Options:

A.

An after update trigger on Case that creates the Engineering Review record and inserts it

B.

An after upset trigger on Case that creates the Engineering Review record and inserts It .

C.

A before update trigger on Case that creates the Engineering Review record and Inserts It

D.

A before upset trigger on Case that creates the Engineering Review record and Inserts it

Page: 5 / 13
Total 193 questions