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...
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 . To increase 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...
Which tool allows a developer to send requests to the Salesforce REST APIs and view the responses?
Which tool allows a developer to send requests to the Salesforce REST APIs and view the responses?A . REST resource path URLB . Workbench REST ExplorerC . Developer Console REST tabD . Force.com IDE REST Explorer tabView AnswerAnswer: B
What should the developer do to determine which object type (Account, Lead, or Contact, for example) to cast each sObject?
A method is passed a list of generic sObjects as a parameter. What should the developer do to determine which object type (Account, Lead, or Contact, for example) to cast each sObject?A . Use the first three characters of the sObject ID to determine the sObject type.B . Use the...
What should a developer use to implement an automatic Approval Process submission for Cases?
What should a developer use to implement an automatic Approval Process submission for Cases?A . An Assignment RuleB . Scheduled ApexC . Process BuilderD . A Workflow RuleView AnswerAnswer: C
Which type of exception will this trigger cause?
A lead object has a custom field Prior_Email__c. The following trigger is intended to copy the current Email into the Prior_Email__c field any time the Email field is changed: Which type of exception will this trigger cause?A . A null reference exceptionB . A compile time exceptionC . A DML...
How should the developer implement this request?
A developer is asked to set a picklist field to ‘Monitor’ on any new Leads owned by a subnet of Users. How should the developer implement this request?A . Create an after insert Lead trigger.B . Create a before insert Lead trigger.C . Create a Lead Workflow Rule Field Update.D...
What are two benefits of the Lightning Component framework? (Choose two.)
What are two benefits of the Lightning Component framework? (Choose two.)A . It simplifies complexity when building pages, but not applications.B . It provides an event-driven architecture for better decoupling between components.C . It promotes faster development using out-of-box components that are suitable for desktop and mobile devices.D . It...
Which two exceptions may occur when it executes?
A developer executes the following query in Apex to retrieve a list of contacts for each account: List<account> accounts = [Select ID, Name, (Select ID, Name from Contacts) from Account] ; Which two exceptions may occur when it executes? (Choose two.)A . CPU limit exception due to the complexity of...
Which statement would a developer use when creating test data for products and pricebooks?
Which statement would a developer use when creating test data for products and pricebooks?A . Id pricebookId = Test.getStandardPricebookId();B . Pricebook pb = new Pricebook();C . IsTest(SeeAllData = false);D . List objList = Test.loadData(Account.sObjectType, 'myResource');View AnswerAnswer: A