Free Platform-Developer-I Exam Braindumps

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

Page 3 of 34
QUESTION 6

Management asked for opportunities to be automatically created for accounts with annual revenue greater than $1,000,000. A developer created the following trigger on the Account object to satisfy this requirement.
Platform-Developer-I dumps exhibit
Users are able to update the account records via the UI and can see an opportunity created for high annual revenue accounts. However, when the administrator tries to upload a list of 179 accounts using Data Loader, It fails with system. Exception errors.
Which two actions should the developer take to fix the code segment shown above? Choose 2 answers

  1. A. Check if all the required fields for Opportunity are being added on creation.
  2. B. Use Database.query to query the opportunities.
  3. C. Move the DML that saves opportunities outside the for loop.
  4. D. Query for existing opportunities outside the for loop.

Correct Answer: CD

QUESTION 7

A Salesforce Administrator used Flow Builder to create a flow named ‘’accountOnboarding’’. The flow must be used inside an Aura component.
Which tag should a developer use to display the flow in the component?

  1. A. Lightning-flow
  2. B. Aura:flow
  3. C. Lightning:flow
  4. D. Aura:flow

Correct Answer: C

QUESTION 8

Since Aura application events follow the traditional publish-subscribe model, which method is used to fire an event?

  1. A. ernit()
  2. B. fireEvent()
  3. C. fire()
  4. D. registerEvent()

Correct Answer: C

QUESTION 9

How should a developer write unit tests for a private method in an Apex class?

  1. A. Use the SeeAllData annotation.
  2. B. Add a test method in the Apex class.
  3. C. Use the TestVisible annotation.
  4. D. Mark the Apex class as global.

Correct Answer: C

QUESTION 10

Universal Containers hires a developer to build a custom search page to help user- find the Accounts they want. Users will be able to search on Name, Description, and a custom comments field.
Which consideration should the developer be aware of when deciding between SOQL and SOSL? Choose 2 answers

  1. A. SOSL is able to return more records.
  2. B. SOQL is faster for text searches.
  3. C. SOSL is faster for tent searches.
  4. D. SOQL is able to return more records.

Correct Answer: CD

Page 3 of 34

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