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
What is a benefit of using an after insert trigger over using a before insert trigger?
What is a benefit of using an after insert trigger over using a before insert trigger?A . An after insert trigger allows a developer to bypass validation rules when updating fields on the new record.B . An after insert trigger allows a developer to insert other objects that reference the...
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...
In which two ways can the developer retrieve the available fields if the variable myObject represents the name of the object?
A developer needs to display all of the available fields for an object. In which two ways can the developer retrieve the available fields if the variable myObject represents the name of the object? (Choose two.)A . Use myObject.sObjectType.getDescribe().fieldSet() to return a set of fields.B . Use mySObject.myObject.fields.getMap() to return...
Where would a developer build a managed package?
Where would a developer build a managed package?A . Developer SandboxB . Unlimited EditionC . Partial Copy SandboxD . Developer EditionView AnswerAnswer: D
Which three tools can deploy metadata to production? (Choose three.)
Which three tools can deploy metadata to production? (Choose three.)A . Change Set from Developer OrgB . Force.com IDEC . Data LoaderD . Change Set from SandboxE . Metadata APIView AnswerAnswer: A,D,E
Which two number expressions evaluate correctly? (Choose two.)
Which two number expressions evaluate correctly? (Choose two.)A . Double d = 3.14159;B . Integer I = 3.14159;C . Decimal d = 3.14159;D . Long l = 3.14159;View AnswerAnswer: A,C
The Visualforce page should include which <apex:page> attribute(s) to correctly implement controller functionality?
A Visualforce page is required for displaying and editing Case records that includes both standard and custom functionality defined in an Apex class called myControllerExtension. The Visualforce page should include which <apex:page> attribute(s) to correctly implement controller functionality?A . controller=“Case” and extensions=“myControllerExtension”B . extensions=“myControllerExtension”C . controller=“myControllerExtension”D . standardController=“Case” and extensions=“myControllerExtension”View...
What is a benefit of the lightning component framework?
What is a benefit of the lightning component framework?A . Better integration with Force.com sitesB . Better performance for custom Salesforce1 Mobile AppsC . More Centralized control via server-side logicD . More pre-built components to replicate the salesforce look and feelView AnswerAnswer: D
Which approach should the developer use to accomplish this declaratively?
A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-Detail relationship to a timecard. Which approach should the developer use to accomplish this declaratively?A . A Visualforce page that calculates the total number of...