Which governor limit will likely be exceeded within the Apex transaction?
The following code snippet is executed by a Lightning web component in an environment with more than 2,000 lead records: Which governor limit will likely be exceeded within the Apex transaction?A . Total number of DML statement issuedB . Total number of SOQL queries issuedC . Total number of records...
What are two ways the developer can fire the exception in Apex?
A developer creates a custom exception as shown below: What are two ways the developer can fire the exception in Apex? Choose 2 answersA . Throw new ParityException (parity does not match);B . New ParityException( );C . New ParityException (parity does not match);D . Throw new parityException ( );View AnswerAnswer:...
What is the appropriate publish/subscribe logic to meet these requirements?
Universal Containers (UC) decided it will not to send emails to support personnel directly from Salesforce in the event that an unhandled exception occurs. Instead, UC wants an external system be notified of the error. What is the appropriate publish/subscribe logic to meet these requirements?A . Publish the error event...
What are two ways that a controller and extension can be specified on a Visualforce page? Choose 2 answers
What are two ways that a controller and extension can be specified on a Visualforce page? Choose 2 answersA . a@pex:page=Account extends="myControllerExtension"B . Qo apex:page standardController="Account" extensions="myControllerExtension”C . apex:page controllers="Account, myControllerExtension”D . apex:page controller="Account” extensions="myControllerExtension"”View AnswerAnswer: B,D
Which statement should be used to allow some of the records in a list of records to be inserted rf others fail to be inserted?
Which statement should be used to allow some of the records in a list of records to be inserted rf others fail to be inserted?A . insert recordsB . Database.insert(records, true)C . insert (records, false)D . Database.insert(records, false)View AnswerAnswer: C
Which Apex solution will let the developer implement this requirement?
A developer uses a loop to check each Contact in a list. When a Contact with the Title of “Boss” is found, the Apex method should jump to the first line of code outside of the for loop. Which Apex solution will let the developer implement this requirement?A . break;B...
How should the Developer overcome this problem?
While writing a test class that covers an OpportunityLineItem trigger, a Developer is unable to create a standard PriceBook since one already exists in the org. How should the Developer overcome this problem?A . Use Test.getStandardPricebookId() to get the standard PriceBook IC . Use @IsTest(SeeAllData=true) and delete the existing standard...
Which three should be considered for building out the business logic layer of the application?
A developer of Universal Containers is tasked with implementing a new Salesforce application that must be able to by their company's Salesforce administrator. Which three should be considered for building out the business logic layer of the application? Choose 3 answersA . WorkflowsB . validation RulesC . Process BuilderD ....
Which type of org is best suited for this scenario?
A team of many developers work in their own individual orgs that have the same configuration at the production org. Which type of org is best suited for this scenario?A . Developer SandboxB . Developer EditionC . Full SandboxD . Partner Developer EditionView AnswerAnswer: A
Which tool should the developer use to troubleshoot?
A developer must troubleshoot to pinpoint the causes of performance issues when a custom page loads in their org. Which tool should the developer use to troubleshoot?A . AppExchangeB . Salesforce CLIC . Visual Studio Core IDED . Developer ConsoleView AnswerAnswer: D