Exit CRT-450 Salesforce Certified Platform Developer I (CRT-450)
Question 1 of 5
0% complete
Q1 Single choice

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 Test.loadData() and reference a CSV file.

  • B

    Use SOQL to query the org for the required data.

  • C

    Use Test.loadData() and reference a static resource.

  • D

    Use Anonymous Apex to create the required data.

Previous Next