Free Platform-Developer-I Exam Braindumps

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

Page 2 of 34
QUESTION 1

What are two ways for a developer to execute tests in an org?

  1. A. Tooling API
  2. B. Developer console
  3. C. Bulk API
  4. D. Matadata API

Correct Answer: AB

QUESTION 2

A developer created a custom order management app that uses an Apex class. The order is represented by an Order object and an Orderltem object that has a master-detail relationship to Order. During order processing, an order may be split into multiple orders.
What should a developer do to allow their code to move some existing Orderltem records to a new Order record?

  1. A. Change the master-detail relationship to an external lookup relationship.
  2. B. Add without sharing to the Apex class declaration.
  3. C. Create a junction object between Orderltem and Order.
  4. D. Select the Allow reparenting option on the master-detail relationship.

Correct Answer: D

QUESTION 3

When a user edits the Postal Code on an Account, a custom Account text field named ''Timezone'' must be updated based on the values in a postalCodeToTimezone_c custom object.
What should be built to implement this feature?

  1. A. Account custom trigger
  2. B. Account approval process
  3. C. Account assignment rule
  4. D. Account workflow rule

Correct Answer: A

QUESTION 4

Which three resources in an Azure Component can contain JavaScript functions?

  1. A. Controllers
  2. B. helper
  3. C. Design
  4. D. Style
  5. E. Renderer

Correct Answer: ABE

QUESTION 5

A developer is implementing an Apex class for a financial system. Within the class, the variables ‘creditAmount’ and ‘debtAmount’ should not be able to change once a value is assigned. In which two ways can the developer declare the variables to ensure their value can only be assigned one time? Choose 2 answers

  1. A. Use the static keyword and assign its value in the class constructor.
  2. B. Use the final keyword and assign its value in the class constructor.
  3. C. Use the static keyword and assign its value in a static initializer.
  4. D. Use the final keyword and assign its value when declaring the variable.

Correct Answer: BD

Page 2 of 34

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