Free Platform-Developer-II Exam Braindumps

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

Page 5 of 35
QUESTION 16

- (Exam Topic 3)
As part of a new integration, a developer is asked to implement a new custom search functionality that is capable of performing unrestricted queries and can account for all values within a custom picklist field, type z, on the Opportunity object. The search feature must also account for NULL values.
The organization-wide default for the Opportunity object is set to Public Read-Only, and a new custom index has.
been created for the Type__c field. There are more than 5 million Opportunity records within the environment. and a considerable amount of the existing records have NULL values for the picklist
Which technique should the developer implement to maximize performance when querying NULL values?

  1. A. Create a formula field that substitutes NULL values for a string of text, create an index for the formula field, then use the formula within the WHERE clause.
  2. B. Perform two SOQL queries; one to query Opportunities where Type__c - NULL, and another to query where Type_: - HBLL, then join the result set using Apex.
  3. C. Use a SOSL query to return ALL opportunities that have a value of NULL in any field.
  4. D. Use the OS operator to combine WHERE clauses to strictly search for each value within the picklist, including Type__c ‘ NULL.

Correct Answer: B

QUESTION 17

- (Exam Topic 3)
A lead developer for a Salesforce organization needs to develop a page-centric application that allows the user to interact with multiple objects related to a Contact The application needs to implement a third-party JavaScript framework such as Angular, and must be made available in both Classic and Lightning Experience.
Given these requirements, what is the recommended solution to develop the application?

  1. A. Aura Components
  2. B. Lightning Web Components
  3. C. Visualforce
  4. D. Lightning Experience Builder

Correct Answer: C

QUESTION 18

- (Exam Topic 1)
Recently a Salesforce org's integration failed because it exceeded the number of allowed API calls in a
24- hour period. The integration handles a near real-time, complex insertion of data into Salesforce. The flow of data is as follows: The integration looks up Contact records with a given email address and, if found, the integration adds a Task to the first matching Contact it finds. If a match is not found, the integration looks up Lead records with a given email address and, if found, the integration adds a Task to the first matching Lead it
finds. If a match is not found, the integration will create a Lead and a Task for that newly created Lead. What is one way in which the integration can stay near real-time, but not exceed the number of allowed API calls in a 24-hour period?

  1. A. Use the REST API as well as the SOAP API to effectively double the API calls allowed in a 24-hour period.
  2. B. write a custom Apex web service that, given an email address, does all of the logic the integration code was doing.
  3. C. Create several Apex InboundEmailHandlers to accept calls from the third-party system, thus bypassing the API limits.
  4. D. Create an Inbound Message that, using Flow, can do all of the logic the integration code was doing.

Correct Answer: C

QUESTION 19

- (Exam Topic 1)
A Visualforce page contains an industry select list and displays a table of Accounts that have a matching value in their Industry field.
Platform-Developer-II dumps exhibit
When a user changes the value in the industry select list, the table of Accounts should be automatically updated to show the Accounts associated with the selected industry.
What is the optimal way to implement this?

  1. A. Add an <apex: actionFunction> within the <apex : selectOptions>.
  2. B. Add an within the .
  3. C. Add an within the .
  4. D. Add an within the .

Correct Answer: B

QUESTION 20

- (Exam Topic 1)
A developer has created a Visualforce page that uses a third-party JavaScript framework. The developer has decided to supply data to the JavaScript functions using JavaScript Remoting for Apex Controllers.
What is the correct syntax to declare a remote method in Apex? (Choose two.)

  1. A. @RemoteAction global static String getTable()
  2. B. @RemoteAction global String getTable()
  3. C. @RemoteAction public static String getTable()
  4. D. @RemoteObject global static String getTableQ

Correct Answer: AC

Page 5 of 35

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