What are two ways for a developer to execute tests in an org?

What are two ways for a developer to execute tests in an org?A . Tooling APIB . Developer consoleC . Bulk APID . Matadata APIView AnswerAnswer: A, B

September 9, 2024 No Comments READ MORE +

Which two statements are true about using the @testSetup annotation in an Apex test class? Choose 2 answers

Which two statements are true about using the @testSetup annotation in an Apex test class? Choose 2 answersA . Records created in the test setup method cannot be updated in individual test methods.B . Qo The @testSetup annotation is not supported when the GisTest(SeeAllData=True) annotation is used.C . Test data...

September 8, 2024 No Comments READ MORE +

Which two automation tools should a developer recommend to meet these business requirements?

Universal Container uses Service Cloud with a custom field, stage_c, on the Case object. Management wants to send a follow-up email reminder 6 hours after the stage_c field is set to ‘’; Waiting on customer’’ The …. Administrator wants to ensure the solution used is bulk safe. Which two automation...

September 8, 2024 No Comments READ MORE +

Which security consideration should the developer be aware of?

A developer is migrating a Visualforce page into a Lightning web component. The Visualforce page shows information about a single record. The developer decides to use Lightning Data Service to access record data. Which security consideration should the developer be aware of?A . Lightning Data Service handles sharing rules and...

September 8, 2024 No Comments READ MORE +

In which two ways can the developer declare the variables to ensure their value can only be assigned one time?

A developer is implementing an Apex class for a financial system. Within the class, the variables ‘creditAmount’ and ‘debtAmount’ should not be able to change once a value is assigned. In which two ways can the developer declare the variables to ensure their value can only be assigned one time?...

September 7, 2024 No Comments READ MORE +

What to do now?

A developer migrated functionality from JavaScript Remoting to a Lightning web component and wants to use the existing getOpportunities() method to provide data. What to do now?A . The method must be decorated with (cacheable=true).B . The method must be decorated with @AuraEnabled.C . The method must return a JSON...

September 7, 2024 No Comments READ MORE +

Which tag should a developer use to display the flow in the component?

A Salesforce Administrator used Flow Builder to create a flow named ‘’account Onboarding’’. The flow must be used inside an Aura component. Which tag should a developer use to display the flow in the component?A . Lightning-flowB . Aura:flowC . Lightning:flowD . Aura:flowView AnswerAnswer: C

September 6, 2024 No Comments READ MORE +

Which definition of the Apex method, to which the searchResults property is wired, should be used?

A Lightning component has a wired property, searchResults, that stores a list of Opportunities. Which definition of the Apex method, to which the searchResults property is wired, should be used?A . @AuraEnabled(cacheable=true) public static List<Opportunity> search(String term) { /* implementation*/ }B . @AuraEnabled(cacheable=true) public List<Opportunity> search(String term) { /*implementation*/ }C...

September 6, 2024 No Comments READ MORE +

What are two use cases for executing Anonymous Apex code? Choose 2 answers

What are two use cases for executing Anonymous Apex code? Choose 2 answersA . To delete 15,000 inactive Accounts In a single transaction after a deploymentB . To schedule an Apex class to run periodicallyC . To run a batch Apex class to update all ContactsD . To add unit...

September 6, 2024 No Comments READ MORE +

Which three statements are useful inside the unit test to effectively test the custom controller?

A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple subjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL. Which three statements are useful inside the unit test to...

September 6, 2024 No Comments READ MORE +