What can a developer to do address the issue?
A company notices that their unit tests in a test class with many methods to create many records for prerequisite reference data are slow. What can a developer to do address the issue?A . Move the prerequisite reference data setup to a TestDataFactory and call that from each test method.B...
What is the most extendable way to update the Apex Trigger to accomplish this?
An Apex Trigger creates a Contract record every time an Opportunity record is marked as Closed and Won. This trigger is working great, except (due to a recent acquisition) historical Opportunity records need to be loaded into the Salesforce instance. When a test batch of records is loaded, the Apex...
Which statement should be used to perform the DML necessary to insert new records and update existing records in a List of Order__c records?
A company has a custom object, Order__c, that has a required, unique, external ID field called Order_Number__c. Which statement should be used to perform the DML necessary to insert new records and update existing records in a List of Order__c records?A . upsert orders;B . upsert orders Order_Number__c;C . merge...
Which two statements are true regarding these issues and resolution?
A large company uses Salesforce across several departments. Each department has its own Salesforce Administrator. It was agreed that each Administrator would have their own sandbox in which to test changes. Recently, users notice that fields that were recently added for one department suddenly disappear without warning. Also, Workflows that...
Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?
Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?A . insert (records, false)B . Database.insert(records, false)C . Database.insert(records, true)D . insert recordsView AnswerAnswer: B
Which method of integration is optimal?
A company has a web page that needs to get Account record information, given its Salesforce record ID, from JavaScript on the page and then display it. Which method of integration is optimal?A . REST APIB . Apex SOAP Web ServiceC . Soap APID . Apex REST Web ServiceView AnswerAnswer:...
What is the optimal solution for UC Loans to accomplish this?
UC Loans is a small company with a part time Salesforce administrator. UC Loans wants to create a Loan__c record whenever an Opportunity is won. What is the optimal solution for UC Loans to accomplish this?A . Process BuilderB . Quick ActionC . Workflow RuleD . Apex TriggerView AnswerAnswer: A
Which are relevant practices while analyzing the timeline of different types of transactions in the execution overview panel? (Choose two.)
Which are relevant practices while analyzing the timeline of different types of transactions in the execution overview panel? (Choose two.)A . Log lines in the execution log panel can be analyzed for details about specific eventsB . The performance tree should be use to analyze events further starting from the...
Which component should be added to the Visualforce page to display the message?
A custom Visualforce controller calls the ApexPages.addMessage() method, but no messages are rendering on the page. Which component should be added to the Visualforce page to display the message?A . <apex:message for="info"/>B . <apex:facet name="messages" />C . <apex:pageMessage severity="info" />D . <apex:pageMessages />View AnswerAnswer: D
What can a developer use to analyze and diagnose the problem in the Lightning Page?
A company has a Lightning Page with many Lightning Components, some that cache reference data. It is reported that the page does not always show the most current reference data. What can a developer use to analyze and diagnose the problem in the Lightning Page?A . Salesforce Lightning Inspector Actions...