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

Developers CRT-450 Passing Score

Page: 8 / 18
Total 235 questions

Salesforce Certified Platform Developer I (SP23) Questions and Answers

Question 29

What should a developer do to check the code coverage of a class after running all tests?

Options:

A.

View the Code Coverage column in the list view on the Apex Classes page.

B.

View the Class Test Percentage tab on the Apex Class fist view m Salesforce Setup.

C.

View Use cede coverage percentage for the class using the Overall Code Coverage panel in the Developer Console Tests tab.

D.

Select and run the class on the Apex Test Execution page in the Developer Console.

Question 30

A developer creates a custom exception as shown below:

public class ParityException extends Exception {}

What are two ways the developer can fire the exception in Apex?

Choose 2 answers

Options:

A.

new ParityException();:

B.

throw new ParityException("parity does not match");

C.

new ParityException('parity does not match');

D.

throw new ParityException();

Question 31

An Opportunity needs to have an amount rolled up from a custom object that is not in a master-detail relationship.

How can this be achieved?

Options:

A.

Write a trigger on the child object and use a red-black tree sorting to sum the amount for all related child objects under the Opportunity.

B.

Write a Process Builder that links the custom object to the Opportunity.

C.

Write a trigger on the child object and use an aggregate function to sum the amount for all related child objects under the Opportunity

D.

Use the Streaming API to create real-time roll-up summaries.

Question 32

A team of many developers work in their own individual orgs that have the same configuration as the production org.

Which type of org is best suited for this scenario?

Options:

A.

Full Sandbox

B.

Developer Edition

C.

Partner Developer Edition

D.

Developer Sandbox

Page: 8 / 18
Total 235 questions