What are two characteristics of declarative development over programmatic customization?

Universal Containers wants to assess the advantages of declarative development versus programmatic customization for specific use cases in its Salesforce implementation. What are two characteristics of declarative development over programmatic customization? Choose 2 answersA . Declarative development has higher design limits and query limits.B . Declarative development can be done...

March 20, 2022 No Comments READ MORE +

Which is the correct implementation?

A developer must create a DrawList class that provides capabilities defined in the Sortable and Drawable interfaces. public interface Sortable { void sort(); } public interface Drawable { void draw(); } Which is the correct implementation?A . Public class DrawList implements Sortable, Implements Drawable { public void sort() { /*implementation*/}...

March 20, 2022 No Comments READ MORE +

How should a developer write unit tests for a private method in an Apex class?

How should a developer write unit tests for a private method in an Apex class?A . Use the SeeAllData annotation.B . Add a test method in the Apex class.C . Use the TestVisible annotation.D . Mark the Apex class as global.View AnswerAnswer: C

March 20, 2022 No Comments READ MORE +

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 column in the list view on the Apex Classes page.B . View the Class Test Percentage tab on the Apex Class fist view m Salesforce Setup.C . View...

March 20, 2022 No Comments READ MORE +

Which two trigger types should the developer create?

A developer needs to update an unrelated object when a record gets saved. Which two trigger types should the developer create?A . After insertB . After updateC . Before updateD . Before insertView AnswerAnswer: C,D

March 20, 2022 No Comments READ MORE +

Which two techniques should the developer implement as a best practice to ensure transaction control and avoid exceeding governor limits?

A developer has to identify a method in en Apex class that performs resource intensive actions in memory by iterating over the result set of a SOQL statement on the account. The method also performs a SOQL statement to save the changes to the database. Which two techniques should the...

March 20, 2022 No Comments READ MORE +

What occurs when more than one Account is returned by the SOQL query?

Given the following Apex statement: Account myAccount = [SELECT Id, Name FROM Account]; What occurs when more than one Account is returned by the SOQL query?A . The variable, myAccount, is automatically cast to the List data type.B . The first Account returned is assigned to myAccount.C . The query...

March 19, 2022 No Comments READ MORE +

How can the developer resolve the error?

A developer receives an error when trying to call a global server-side method using the ©remoteAction decorator. How can the developer resolve the error?A . Change the function signature to be private static.B . Add static to the server-side method signature.C . A Decorate the server-side method with (static=true).D ....

March 19, 2022 No Comments READ MORE +

How many times will the trigger fire if a new Account is inserted, assuming no other automation logic is implemented on the Account?

A developer writes a single trigger on the Account object on the after insert and after update events. A workflow rule modifies a field every time an Account is created or updated. How many times will the trigger fire if a new Account is inserted, assuming no other automation logic...

March 19, 2022 No Comments READ MORE +

What should the developer use to override the Contact's Edit button and provide this functionality?

A developer must provide custom user interfaces when users edit a Contact in either Salesforce Classic or Lightning Experience. What should the developer use to override the Contact's Edit button and provide this functionality?A . A Visualforce page in Salesforce Classic and a Lightning component in Lightning ExperienceB . A...

March 19, 2022 No Comments READ MORE +