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

Complete PDI Salesforce Materials

Page: 12 / 18
Total 235 questions

Platform Developer I (SP23) Questions and Answers

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 permission 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 users has access to the Account object.

B.

Use the without sharing keyword on the class declaration.

C.

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

D.

Use the with sharing keyword on the class declaration.

Question 46

Which Lightning Web Component custom event property settings enable the event to bubble up the containment hierarchy and cross the Shadow DOM boundary?

Options:

A.

bubbles: tnje, composed: false

B.

bubbles: true, composed: true

C.

bubbles: false, composed: false

D.

bubbles: false, composed: true

Question 47

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

Options:

A.

B.

C.

D.

Question 48

Which three resources in an Azure Component can contain JavaScript functions?

Options:

A.

Controllers

B.

helper

C.

Design

D.

Style

E.

Renderer

Page: 12 / 18
Total 235 questions