Salesforce CRT-450 Prepare for your Platform Developer I Certification Exam Practice Test

Page: 1 / 14
Total 237 questions
Question 1

When the code executes, a DML exception is thrown.

How should a developer modify the code to ensure exceptions are handled gracefully?



Answer : C


Question 2

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?



Answer : A


Question 3

A developer at AW Computing is tasked to create the supporting test class for a programmatic customization that leverages records stored within the custom object,

Pricing Structure c. AW Computing has a complex pricing structure for each item on the store, spanning more than 500 records.

hich two approaches can the developer use to ensure Pricing _Structure__c records are available when the test class is executed?

Choose 2 answers



Answer : A, C


Question 4

Universal Containers has an order system that uses an Order Number to identify an order for customers and service agents. Order records will be imported into Salesforce.

How should the Order Number field be defined in Salesforce?



Answer : B


Question 5

What is the value of the Trigger.old context variable in a before insert trigger?



Answer : D


Question 6

A company has a custom object, Order__c, that has a required, unique external ID field called OrderNumber__c.

Which statement should be used to perform the DML necessary to insert new records and update existing records in a list of order__c records

using the external ID field?

A.

B.

C.

D.



Answer : B


Question 7

Which annotation exposes an Apex class as a RESTful web service?

A.

B.

C.

D.



Answer : C


Page:    1 / 14   
Total 237 questions