Free Platform-Developer-II Exam Braindumps

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

Page 8 of 35
QUESTION 31

- (Exam Topic 3)
As part of their quoting and ordering process, a company needs to send PDFs to their document storage system’s REST endpoint that supports OAuth 2.0. Each Salesforce user must be individually authenticated with the document storage system to send the PDF.
What is the optimal way for a developer to implement the authentication to the REST endpoint?

  1. A. Named Credential with an OAuth Authentication Provider
  2. B. Hierarchy Custom Setting with a password custom field
  3. C. Named Credential with Password Authentication
  4. D. Hierarchy Custom Setting with an OAuth token custom field

Correct Answer: A

QUESTION 32

- (Exam Topic 2)
Just prior to a new deployment, the Salesforce Administrator who configured a new order fulfillment process in a developer sandbox suddenly left the company. The users had fully tested all of the changes in the sandbox and signed off on them.
Unfortunately, although a Change Set was started, it was not complete. A developer is brought in to help finish the deployment.
What should the developer do to identify the configuration changes that need to be moved into production?

  1. A. Leverage the Setup Audit Trail to review the changes made by the departed Administrator and identify which changes should be added to the Change Set.
  2. B. Use the Metadata API and a supported development IDE to push all of the configuration from the sandbox into production to ensure no changes are lost.
  3. C. Set up Continuous Integration and a Git repository to automatically merge all changes from the sandbox metadata with the production metadata.
  4. D. In Salesforce setup, look at the last modified date for every object to determine which should be added to the Change Set.

Correct Answer: A

QUESTION 33

- (Exam Topic 1)
A user receives the generic "An internal server error has occurred" while interacting with a custom Lightning Component. What should the developer do to ensure a more meaningful message?

  1. A. Use an AuraHandledException in a try/catch block.
  2. B. Use ProcessBuilder to catch the error.
  3. C. Add an onerror event handler to the tag.
  4. D. Add an error-view component to the markup.

Correct Answer: A

QUESTION 34

- (Exam Topic 1)
A company wants to build a custom Lightning Component that will display a specified Account Field Set and that can only be added to the Account record page. Which design resource configuration should be used?
Option A
Platform-Developer-II dumps exhibit
Option B
Platform-Developer-II dumps exhibit
Option C
Platform-Developer-II dumps exhibit
Option 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 35

- (Exam Topic 3)
Universal Containers (UC) currently does not development in its full copy sandbox.
Recently, UC has projects that require multiple developers to develop concurrently. UC is running into issues with developers making changes that cause errors In work done by other developers.
Additionally, when they are ready to deploy, many unit tests fail which prevents the deployment. which three types of orgs should be recommended to UC to eliminate these problems?
Choose 3 answers

  1. A. Data Migration org
  2. B. Development org
  3. C. Staging org
  4. D. Systems Integration org
  5. E. Continuous Integration (CI) Org

Correct Answer: ACE

Page 8 of 35

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