Free Platform-Developer-II Exam Dumps

Question 16

- (Exam Topic 1)
A developer needs to send Account records to an external system for backup purposes. The process must take a snapshot of Accounts as they are saved and then make a callout to a RESTful web service. The web service can only receive, at most, one record per call. Which feature should be used to implement these requirements?

Correct Answer:D

Question 17

- (Exam Topic 3)
A developer is building a Lightning web component to get data from an Apex method called getData that takes a parameter, name. The data should be retrieved when the user clicks the Load Data button.
Exhibit.
Platform-Developer-II dumps exhibit
What must be added to get the data?

Correct Answer:C

Question 18

- (Exam Topic 1)
A Visualforce Page throws an Attempt to dereference a null object error for a Contact. What change In the controller will fix the error?

Correct Answer:C

Question 19

- (Exam Topic 1)
Global with sharing class MyRemoter { public String accountName { get; set; } public static Account account
{ get; set; } public AccountRemoter(} {} @RemoteAction global static Account getAccount (String acccuntName) { account = [SELECT Id, Name, NumberOfEmployees FROM Account WHERE Name =
:accountName]; return account; } } Consider the Apex class above that defines a RemoteAction used on a
Visualforce search page. Which code snippet will assert that the remote action returned the correct Account?

Correct Answer:B

Question 20

- (Exam Topic 1)
A developer has been asked to create code that will meet the following requirements: Receives input of: Map
Performs a potentially long-running callout to an outside web service Provides a way to confirm that the process executed successfully Which asynchronous feature should be used?

Correct Answer:D