Free Platform-Developer-II Exam Braindumps

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

Page 3 of 35
QUESTION 6

- (Exam Topic 2)
A developer needs to store variables to control the style and behavior of a Lightning Web Component. Which feature should be used to ensure that the variables are testable in both Production and all Sandboxes?

  1. A. Custom Metadata
  2. B. Custom Object
  3. C. Custom Setting
  4. D. Custom Variable

Correct Answer: A

QUESTION 7

- (Exam Topic 1)
An Apex trigger creates an Order____c record every time an Opportunity is won by a Sales Rep. Recently the trigger is creating two orders. What is the optimal method for a developer to troubleshoot this?

  1. A. Run the Apex Test Classes for the Apex trigger to ensure the code still has sufficient code coverage.
  2. B. Turn off all Workflow Rules, then turn them on one at time to see which one causes the error.
  3. C. add system.debug() statements to the code and use the Developer Console logs to trace the code.
  4. D. Set up debug logging for every Sales Rep, then monitor the logs for errors and exceptions.

Correct Answer: C

QUESTION 8

- (Exam Topic 1)
.A developer is asked to update data in an org based on new business rules. The new rules state that Accounts with the type set to 'Customer' should have a status of 'Active,' and Accounts with the type set to 'Prospect' should have a status of 'Pending.' No other changes to data should be made. Which code block will accurately meet the business requirements?
A)
Platform-Developer-II dumps exhibit
B)
Platform-Developer-II dumps exhibit
C)
Platform-Developer-II dumps exhibit
D)
Platform-Developer-II dumps exhibit

  1. A. Option A
  2. B. Option B
  3. C. Option C
  4. D. Option D

Correct Answer: D

QUESTION 9

- (Exam Topic 1)
A developer has built a multi-page wizard using a single Custom Controller to query and update data. Users are complaining that the pages are loading slowly.
What will improve performance? (Choose three.)

  1. A. Reducing the view state
  2. B. Using actionRegion and rerender
  3. C. Turning off the standard stylesheet
  4. D. Setting the Apex Page attribute cache=true
  5. E. Using selective queries

Correct Answer: ADE

QUESTION 10

- (Exam Topic 3)
Consider the following code snippet:
Platform-Developer-II dumps exhibit
Which governor limit is likely to be exceeded when the trigger runs when a scope of 200 newly inserted accounts?

  1. A. Total number of DML statements issued
  2. B. Total number of records processed as a result of DML
  3. C. Total number of SOQL queries issued
  4. D. Total number of SOQL queries issued

Correct Answer: A

Page 3 of 35

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