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...
What are two limitations to the data being returned by the Controller?
A developer wants to call an Apex Server-side Controller from a Lightning Aura Component. What are two limitations to the data being returned by the Controller? (Choose two.)A . A custom Apex Class can be returned, but only the values of public instance properties and methods annotated with @AuraEnabled are...
Which two changes should a developer make in this trigger to adhere to best practices?
Consider the above trigger intended to assign the Account to the manager of the Account’s region. trigger AssignOwnerByRegion on Account ( before insert, before update ) { List<Account> accountList = new List<Account>(); for( Account anAccount : trigger.new ) { Region__c theRegion = [ SELECT Id, Name, Region_Manager__c FROM Region__c WHERE...
Which SOQL query is valid on the Customer_Transaction__b Big Object?
Universal Containers uses Big Objects to store almost a billion customer transactions called Customer_Transaction__b. These are the fields on Customer_Transaction__b: Account__c Program__c Points_Earned__c Location__c Transaction_Date__c The following fields have been identified as Index Fields for the Customer_Transaction__b object: Account__c, Program__c, and Transaction_Date__c. Which SOQL query is valid on the Customer_Transaction__b...
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
What would allow Universal Containers to switch vendors without updating the code to handle authentication?
Universal Containers wants to use an external Web Service provided by a third-party vendor to validate that shipping and billing addresses are correct. The current vendor uses basic password authentication, but Universal Containers might switch to a different vendor who uses OAuth. What would allow Universal Containers to switch vendors...
What should be done to address the problem?
A company has code to update a Request and Request Lines and make a callout to their external ERP system's REST endpoint with the updated records. The CalloutUtil.makeRestCallout fails with a 'You have uncommitted work pending. Please commit or rollback before calling out' error. What should be done to address...
Which option has the correct component changes to display correctly on desktops and tablets?
Refer to the component code above. The information displays as expected (in three rows) on a mobile device. However, the information is not displaying as desired (in a single row) on a desktop or tablet. Which option has the correct component changes to display correctly on desktops and tablets?A ....
Which code snippet will assert that the remote action returned the correct Account?
Consider the Apex class above that defines a RemoteAction used on a Visualforce search page. global with sharing class MyRemoter { public String accountName { get; set; } public static Account account { get; set; } public AccountRemoter() {} @RemoteAction global static Account getAccount(String accountName) { account = [SELECT Id,...
Which solution solves these requirements?
Universal Containers wants to use a Customer Community with Customer Community Plus licenses so their customers can track how many containers they are renting and when they are due back. Many of their customers are global companies with complex Account hierarchies, representing various departments within the same organization. One of...