Salesforce Certified Platform Developer 1 (SP25) CRT-450 Question # 13 Topic 2 Discussion

Salesforce Certified Platform Developer 1 (SP25) CRT-450 Question # 13 Topic 2 Discussion

CRT-450 Exam Topic 2 Question 13 Discussion:
Question #: 13
Topic #: 2

A developer needs to have records with specific field values in order to test a new Apex class.

What should the developer do to ensure the data is available to the test?


A.

Use SOQL to query the org for the required data.


B.

Use Test.loadData() and reference a CSV file in a static resource.


C.

Use Anonymous Apex to create the required data.


D.

Use Test. loadData() and reference a JSON file in Documents.


Get Premium CRT-450 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.