Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?

Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?A . Performance Tree tab under Stack Tree panelB . Execution Tree tab under Stack Tree panelC . Timeline tab under Execution Overview panelD . Save Order tab under Execution Overview panelView...

June 10, 2021 No Comments READ MORE +

Which code block will run successfully in an execute anonymous window?

A developer has the controller class below. Which code block will run successfully in an execute anonymous window?A . myFooController m = new myFooController();System.assert(m.prop !=null);B . myFooController m = new myFooController();System.assert(m.prop ==0);C . myFooController m = new myFooController();System.assert(m.prop ==null);D . myFooController m = new myFooController();System.assert(m.prop ==1);View AnswerAnswer: C

June 10, 2021 No Comments READ MORE +

Which two strategies should a developer use to avoid hitting governor limits when developing in a multi-tenant environment? (Choose two.)

Which two strategies should a developer use to avoid hitting governor limits when developing in a multi-tenant environment? (Choose two.)A . Use collections to store all fields from a related object and not just minimally required fields.B . Use methods from the “Limits” class to monitor governor limits.C . Use...

June 10, 2021 No Comments READ MORE +

What is the end result?

Using the Schema Builder, a developer tries to change the API name of a field that is referenced in an Apex test class. What is the end result?A . The API name is not changed and there are no other impacts.B . The API name of the field and the...

June 9, 2021 No Comments READ MORE +

Which action will allow the developer to relate records in the data model without knowing the Salesforce ID?

Adeveloper needs to join data received from an integration with an external system with parent records in Salesforce. The data set does not contain the Salesforce IDs of the parent records, but it does have a foreign key attribute that can be used to identify the parent. Which action will...

June 9, 2021 1 Comment READ MORE +

How can a developer set up a debug log on a specific user?

How can a developer set up a debug log on a specific user?A . It is not possible to setup debug logs for users other than yourself.B . Ask the user for access to their account credentials, log in as the user and debug the issue.C . Create Apex code...

June 9, 2021 No Comments READ MORE +

Which approach should a developer use to add pagination to a Visualforce page?

Which approach should a developer use to add pagination to a Visualforce page?A . A StandardControllerB . The Action attribute for a pageC . The extensions attribute for a pageD . A StandardSetControllerView AnswerAnswer: D

June 9, 2021 No Comments READ MORE +

How should a developer prevent a recursive trigger?

How should a developer prevent a recursive trigger?A . Use a “one trigger per object” pattern.B . Use a static Boolean variable.C . Use a trigger handler.D . Use a private Boolean variable.View AnswerAnswer: D

June 8, 2021 1 Comment READ MORE +

Why would a developer consider using a custom controller over a controller extension?

Why would a developer consider using a custom controller over a controller extension?A . Toincrease the SOQL query governor limits.B . To implement all of the logic for a page and bypass default Salesforce functionalityC . To leverage built-in functionality of a standard controllerD . To enforce user sharing settings...

June 8, 2021 No Comments READ MORE +

What is the requirement?

A developer wants to override a button using Visualforce on an object. What is the requirement?A . The controller or extension must have a PageReference method.B . The standardController attribute must be set to the object.C . The action attribute must be set to a controller method.D . The object...

June 8, 2021 No Comments READ MORE +