Weekend Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Developers CRT-450 Passing Score

Page: 8 / 15
Total 204 questions

Salesforce Certified Platform Developer 1 (SP25) Questions and Answers

Question 29

(Full question statement)

A developer is tasked with building a custom Lightning Web Component (LWC) to collectContactinformation. The form will be shared among different types of users in the org. There are security requirements stating that only certain fields should beeditable and visibleto certain groups of users.

What should the developer use in their Lightning Web Component to support the security requirements?

Options:

A.

lightning-input-field

B.

force:inputField

C.

aura:input

D.

ui:inputField

Question 30

A developer created a trigger on the Account object and wants to test if the trigger is properly bulkified. The developer team decided that the trigger should be tested with 200 account records with unique names.

What two things should be done to create the test data within the unit test with the least amount of code?

Choose 2 answers

Options:

A.

Use the @isTest (seeAllData=true) annotation in the test class.

B.

Use the @isTest (isParallel=true) annotation in the test class.

C.

Create a static resource containing test data.

D.

Use Test, loadData to populate data in your test methods.

Question 31

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.

aura-input-failed

B.

force-input-failed

C.

ui-input-failed

D.

lightning-input-failed

Question 32

A custom Visualforce controller calls the ApexPages.addMessage() method, but no messages are rendering on the page.

Which component should be added to the Visualforce page to display the message?

Options:

A.

B.

<apex:pageMessages />

C.

<apex:pageMessage severity="info’’ />

D.

<apex:facet name="messages” />

Page: 8 / 15
Total 204 questions