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

Salesforce Developers CRT-450 New Questions

Page: 10 / 13
Total 174 questions

Salesforce Certified Platform Developer I (SU24) Questions and Answers

Question 37

Universal Containers decides to use exclusively declarative development to build out a new Salesforce application.

Which three options should be used to build out the database layer for the application?

Choose 3 answers

Options:

A.

Roll-up summaries

B.

Flows

C.

Custom objects and fields

D.

Relationships

E.

Triggers

Question 38

Which scenario is valid for execution by unit tests?

Options:

A.

Load data from a remote site with a callout.

B.

Execute anonymous Apex as a different user,

C.

Generate a Visualforce PDF with getContentASPDF

D.

Set the created date of a record using a system method.

Question 39

The following Apex method is part of the Contactservice class that is called from a trigger:

How should the developer modify the code to ensure best practices are met?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 40

While working in a sandbox, an Apex test fails when run in the Test Runner. However, executing the Apex logic in the Execute Anonymous window succeeds with no exceptions or errors. Why did the method fail in the sandbox test framework but succeed in the Developer Console?

Options:

A.

The test method is calling an @future method.

B.

The test method relies on existing data in the sandbox.

C.

The test method has a syntax error in the code.

D.

The test method does not use Sysetem.runas= to execute as a specific user.

Page: 10 / 13
Total 174 questions