What are three ways for 2 developer to execute tests in an org? Choose 3 answers
What are three ways for 2 developer to execute tests in an org? Choose 3 answersA . Metadata APT B. Bulk API C. Setup Menu D. SalesforceDX E. Tooling APIView AnswerAnswer: C,D,E
How should the developer declare maxAttempts to meet these requirements?
A developer has an integer variable called maxAttempts. The developer meeds to ensure that once maxAttempts is initialized, it preserves its value for the lenght of the Apex transaction; while being able to share the variable's state between trigger executions. How should the developer declare maxAttempts to meet these requirements?A...
What should the developer use to enforce sharing permission for the currently logged-in user while using the custom search tool?
Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own. What should...
Which method annotation should be used to create records for every method in the test class?
A developer is creating a test coverage for a class and needs to insert records to validate functionality. Which method annotation should be used to create records for every method in the test class?A . @BeforeTest B. @isTest(SeeAllData=True) C. @TestSetup D. @PreTestView AnswerAnswer: C
When the code execution, which two events occur as a result of the Apex transaction?
Refer to the following code snippet for an environment has more than 200 Accounts belonging to the Technology' industry: When the code execution, which two events occur as a result of the Apex transaction? When the code executes, which two events occur as a result of the Apex transaction? Choose...
Which action causes a before trigger to fire by default for Accounts?
Which action causes a before trigger to fire by default for Accounts?A . Renaming or replacing picklist B. Importing data using the Data Loader and the Bulk API C. Converting Leads to Contact accounts D. Updating addresses using the Mass Address update toolView AnswerAnswer: B
How should a developer write the test to provide test coverage?
A developer wrote Apex code that calls out to an external system. How should a developer write the test to provide test coverage?A . Write a class that extends HTTPCalloutMock. B. Write a class that implements the HTTPCalloutMock interface. C. Write a class that implements the WebserviceMock interface. D. Write...
Which two are best practices when it comes to component and application event handling? (Choose two.)
Which two are best practices when it comes to component and application event handling? (Choose two.)A . Reuse the event logic in a component bundle, by putting the logic in the helper. B. Use component events to communicate actions that should be handled at the application level. C. Handle low-level...
What is the value of the count field if an Account is inserted with an initial value of zero, assuming no other automation logic is implemented on the Account?
A developer writes a trigger on the Account object on the before update event that increments a count field. A workflow rule also increments the count field every time that an Account is created or updated. The field update in the workflow rule is configured to not re-evaluate workflow rules....
What should a developer do to check the code coverage of a class after running all tests?
What should a developer do to check the code coverage of a class after running all tests?A . View the code coverage percentage or the class using the Overalll code Coverage panel in the Developer Console Test tab. B. View the Code Coverage column in the list on the Apex...