Which is the optimal method to implement this in Salesforce?

A company has a native iOS app for placing orders that needs to connect to Salesforce to retrieve consolidated information from many different objects in a JSON format. Which is the optimal method to implement this in Salesforce?A . Apex REST Web ServiceB . Apex SOAP Web ServiceC . Apex...

June 3, 2020 No Comments READ MORE +

What should the developer do to ensure a more meaningful message?

A user receives the generic "An internal server error has occurred" while interacting with a custom Lightning Component. What should the developer do to ensure a more meaningful message?A . Add an onerror event handler to the tag.B . Add an error-view component to the markup.C . Use an AuraHandledException...

June 3, 2020 No Comments READ MORE +

What should be used?

A developer built a Component to be used at the front desk for quests to self-register upon arrival at a kiosk. The developer is now asked to create a Component for the Utility Tray to alert Users whenever a guest has arrived at the front desk. What should be used?A...

June 3, 2020 No Comments READ MORE +

What is the optimal way to automate this?

A company has a custom object, Sales Demo Request, that has a lookup to an Opportunity. It is required that a Sales Demo Request record be created when an Opportunity’s Probability is greater than 50%. What is the optimal way to automate this?A . Use an Apex Trigger on Opportunity.B...

June 3, 2020 1 Comment READ MORE +

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...

June 2, 2020 No Comments READ MORE +

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...

June 2, 2020 No Comments READ MORE +

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...

June 2, 2020 No Comments READ MORE +

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...

June 2, 2020 No Comments READ MORE +

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

June 2, 2020 No Comments READ MORE +

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...

June 2, 2020 No Comments READ MORE +