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

Ace Your CRT-450 Developers Exam

Page: 8 / 17
Question 32

Universal Containers has a Visualforce page that displays a table of every Container_c. being ……. Is falling with a view state limit because some of the customers rent over 10,000 containers.

What should a developer change about the Visualforce page to help with the page load errors?

Options:

A.

Use Lazy loading and a transient List variable.

B.

Use JavaScript remoting with SOQL Offset.

C.

Implement pagination with an OffsetController.

D.

Implement pagination with a StandardSetController,

Question 33

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

Options:

A.

Use a Test Date Factory class.

B.

Use the @raTeat (seeAllData=true) annotation.

C.

Use the Test. leadtear{} method,

D.

Use without shering on the class declaration.

Question 34

Which two statements are true about using the @testSetup annotation in an Apex test class?

Choose 2 answers

Options:

A.

Records created in the test setup method cannot be updated in individual test methods.

B.

Qo The @testSetup annotation is not supported when the GisTest(SeeAllData=True) annotation is used.

C.

Test data is inserted once for all test methods in a class.

D.

A method defined with the @testSetup annotation executes once for each test method in the test class and counts towards system limits.

Question 35

What is the result of the following code snippet?

Options:

A.

Accounts are inserted.

B.

Account Is inserted.

C.

200 Accounts are inserted.

D.

201 Accounts are Inserted.

Page: 8 / 17
Exam Code: CRT-450
Exam Name: Salesforce Certified Platform Developer I (SP23)
Last Update: May 7, 2024
Questions: 235
CRT-450 pdf

CRT-450 PDF

$28  $80
CRT-450 Engine

CRT-450 Testing Engine

$33.25  $95
CRT-450 PDF + Engine

CRT-450 PDF + Testing Engine

$45.5  $130