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 panel B . Execution Tree tab under Stack Tree panel C . Timeline tab under Execution Overview panel D . Save Order tab under Execution Overview panel
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);
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 SOQL for loops to iterate data retrieved from queries that return a high number of rows. D . Use variables within Apex classes to store large amounts of data.
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 reference in the test class is changed. C . The API name of the field is changed, and a warning is issued to update the class. D . The API name of the field and the reference in the test class is updated.
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 allow the developer to relate records in the data model without knowing the Salesforce ID? A . Create and populate a custom field on the parent object marked as Unique. B . Create a custom field on the child object of typeExternal Relationship. C . Create and populate a custom field on the parent object marked as an External I E . Create a custom field on the child object of type Foreign Key.
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 that logs code actions into a custom object. D . Set up a trace flag for the user, and define a logging level and time period for the trace.
Which approach should a developer use to add pagination to a Visualforce page? A . A StandardController B . The Action attribute for a page C . The extensions attribute for a page D . A StandardSetController
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 functionality C . To leverage built-in functionality of a standard controller D . To enforce user sharing settings and permissions
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 record must be instantiated in a controller or extension.