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

Salesforce PDI Online Access

Page: 17 / 18
Total 235 questions

Platform Developer I (SP23) Questions and Answers

Question 65

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.

Force.com Toolkit

B.

Salesforce CLI

C.

Visual Studio Code

D.

Developer Console

Question 66

Which two are best practices when it comes to component and application event handling? (Choose two.)

Options:

A.

Reuse the event logic in a component bundle, by putting the logic in the helper.

B.

Use component events to communicate actions that should be handled at the application level.

C.

Handle low-level events in the event handler and re-fire them as higher-level events.

D.

Try to use application events as opposed to component events.

Question 67

A developer creates a new Apex trigger with a helper class, and writes a test class that only exercises 95% coverage of new Apex helper class. Change Set deployment to production fails with the test coverage warning: "Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required" What should the developer do to successfully deploy the new Apex trigger and helper class?

Options:

A.

Create a test class and methods to cover the Apex trigger

B.

Run the tests using the 'Run All Tests' method.

C.

Remove the falling test methods from the est class.

D.

Increase the test class coverage on the helper class

Question 68

Which two events need to happen when deploying to a production org? Choose 2 answers

Options:

A.

All triggers must have at least 1% test coverage.

B.

All Apex code must have at least 75% test coverage.

C.

All triggers must have at least 75% test coverage.

D.

All test and triggers must have at least 75% test coverage combined

Page: 17 / 18
Total 235 questions