What is the optimal method for a developer to troubleshoot this?
An Apex trigger creates an Order__c record every time an Opportunity is won by a Sales Rep. Recently the trigger is creating two orders. What is the optimal method for a developer to troubleshoot this?A . Set up debug logging for every Sales Rep, then monitor the logs for errors...
What will happen when the mass update occurs?
An environment has two Apex Triggers: an after-update trigger on Account and an after-update trigger on Contact. The Account after-update trigger fires whenever an Account’s address is updated, and it updates every associated Contact with that address. The Contact after-update trigger fires on every edit, and it updates every Campaign...
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...
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 is the best way to implement this?
A developer wishes to improve runtime performance of Apex calls by caching results on the client. What is the best way to implement this?A . Decorate the server-side method with @AuraEnabled(cacheable=true).B . Set a cookie in the browser for use upon return to the page.C . Call the setStorable() method...
What is the optimal way for a developer to fix the issue?
A company has many different unit test methods that create Account records as part of their data setup. A new required field was added to the Account and now all of the unit tests fail. What is the optimal way for a developer to fix the issue?A . Add a...
What is the optimal way to implement this?
A company represents their customers as Accounts in Salesforce. All customers have a unique Customer_Number__c that is unique across all of the company’s systems. They also have a custom Invoice__c object, with a Lookup to Account, to represent invoices that are sent out from their external system. This company wants...
What is one way in which the integration can stay near real-time, but not exceed the number of allowed API calls in a 24-hour period?
Recently a Salesforce org's integration failed because it exceeded the number of allowed API calls in a 24-hour period. The integration handles a near real-time, complex insertion of data into Salesforce. The flow of data is as follows: - The integration looks up Contact records with a given email address...
What is the optimal solution?
Sometimes events on Salesforce need to be handled by an external system due to the scale or type of process being executed. Consider the use case of a user in Salesforce needing to get pricing for an order they are building in Salesforce while on the phone with a customer....
Which two relationship queries use the proper syntax? (Choose two.)
Which two relationship queries use the proper syntax? (Choose two.)A . SELECT Id, Name, Account__r.Name FROM Contact WHERE Account__r.Industry ='Media'B . SELECT Name, (SELECT LastName FROM Contacts__r) FROM AccountC . SELECT Name, (SELECT LastName FROM Contacts) FROM AccountD . SELECT Id, Name, Account.Name FROM Contact WHERE Account.Industry = 'Media'View AnswerAnswer:...