Salesforce Certified Platform Developer II Practice Test - Questions Answers, Page 39

List of questions
Question 381

Which annotation should a developer use on an Apex method to make it available to be wired to a property In a Lightning web component?
Question 382

Users upload .csv files in an external system to create account and contact records in Salesforce. Up to 200 records can be created at a time. The users need to wait for a response from Salesforce in the external system, but the data does not need to synchronize between the two systems.
Based on these requirements, which method should a developer use to create the records in Salesforce?
Question 383

Consider the following code snippet:
Choose 2 answers
Question 384

A business currently has a process to manually upload orders from its external Order Management System (OMS) into Salesforce.
This is a labor intensive process since accounts must be exported out of Salesforce to get the IDs. The upload file must be updated with the correct account IDs to relate the orders to the corresponding accounts.
Which two recommendations should make this process more efficient?
Choose 2 answers
Question 385

A developer wrote an Apex method that makes an HTTP callout to an external system to getspecialized data when a button is clicked from a custom Lightning web component on the Accountrecord page.
Recently, users have complained that it takes longer than desired for the data to appear on the page after clicking the button.
What should the developer use to troubleshoot this issue?
Question 386

Which two best practices should the developer Implement to optimize this code?
Choose 2 answers
Question 387

A developer is creating a Lightning web component that displays a list of records in a lightning-datatable. After saving a new record to the database, the list is not updating.
What should the developer change in the code above for this to happen?
Question 388

A developer wishes to improve runtime performance of Apex calls by caching results on the client.
What is the most efficient way to Implement this?
Question 389

A developer wrote the following method to find all the test accounts in the org:
What should be used to fix this falling test?
Question 390

Consider the following code snippet:
Which two steps should the developer take to add flexibility to change the endpolnt and credentials without needing to modify code?
Choose 2 answers
Question