Free Platform-Developer-I Exam Braindumps

Pass your Platform Developer I exam with these free Questions and Answers

Page 8 of 34
QUESTION 31

As part of a data cleanup strategy, AW Computing wants to proactively delete associated opportunity records when the related Account is deleted.
Which automation tool should be used to meet this business requirement?

  1. A. Workflow Rules
  2. B. Scheduled job
  3. C. Record-Triggered Flow
  4. D. Process Builder

Correct Answer: C

QUESTION 32

Which two statements are true about using the @testSetup annotation in an Apex test class? Choose 2 answers

  1. A. Records created in the test setup method cannot be updated in individual test methods.
  2. B. Qo The @testSetup annotation is not supported when the GisTest(SeeAllData=True) annotation is used.
  3. C. Test data is inserted once for all test methods in a class.
  4. D. A method defined with the @testSetup annotation executes once for each test method in the test class and counts towards system limits.

Correct Answer: BD

QUESTION 33

A developer is debugging the following code to determinate why Accounts are not being created Account a = new Account(Name = 'A'); Database.insert(a, false); How should the code be altered to help debug the issue?

  1. A. Add a System.debug() statement before the insert method
  2. B. Add a try/catch around the insert method
  3. C. Set the second insert method parameter to TRUE
  4. D. Collect the insert method return value a Saveresult variable

Correct Answer: B

QUESTION 34

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

  1. A. Reuse the event logic in a component bundle, by putting the logic in the helper.
  2. B. Use component events to communicate actions that should be handled at the application level.
  3. C. Handle low-level events in the event handler and re-fire them as higher-level events.
  4. D. Try to use application events as opposed to component events.

Correct Answer: AC

QUESTION 35

What should be used to create scratch orgs?

  1. A. Developer Console
  2. B. Salesforce CLI
  3. C. Workbench
  4. D. Sandbox refresh

Correct Answer: B

Page 8 of 34

Post your Comments and Discuss Salesforce Platform-Developer-I exam with other Community members: