11.11 Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Developers CRT-450 Reddit Questions

Page: 5 / 13
Total 174 questions

Salesforce Certified Platform Developer I (SU24) Questions and Answers

Question 17

Developers at Universal Containers (UC) use version control to share their code changes, but they notice that when they deploy their code to different environments they often have failures. They decide to set up Continuous Integration (CI).

What should the UC development team use to automatically run tests as part of their CI process?

Options:

A.

Developer Console

B.

Visual Studio Code

C.

Salesforce CLI

D.

Force.com Toolkit

Question 18

A developer created a trigger on the Account object and wants to test if the trigger is properly bulkified. The developer team decided that the trigger should be tested with 200 account records with unique names.

What two things should be done to create the test data within the unit test with the least amount of code?

Choose 2 answers

Options:

A.

Use Test.loadData to populate data in your test methods.

B.

Create a static resource containing test data.

C.

Use the @isTest (isParallel=true) annotation in the test class.

D.

Use the @isTest (seeAllData=true) annotation in the test class.

Question 19

A developer creates a batch Apex job to update a large number of records, and receives reports of the job timing out and not completing.

What is the first step towards troubleshooting the issue?

Options:

A.

Disable the batch job and recreate it with a smaller number of records.

B.

Check the debug logs for the batch job.

C.

Decrease the batch size to reduce the load on the system.

D.

Check the asynchronous job monitoring page to view the job status and logs.

Question 20

A custom Visualforce controller calls the apexPages.addMessage () method, but no messages are rendering on the page.

Which component should be added to the Visualforce page to display the message?

Options:

A.

B.

C.

D.

Page: 5 / 13
Total 174 questions