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...
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...
Which set of roll-up types are available when creating a roll-up summary field?
Which set of roll-up types are available when creating a roll-up summary field?A . COUNT, SUM, MIN, MAXB . AVERAGE, SUM, MIN, MAXC . SUM, MIN, MAXD . AVRAGE, COUNT, SUM, MIN, MAXView AnswerAnswer: A
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
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
How can the developer create the page to enforce Field Level Security and keep future maintenance to a minimum?
A developer needs to create a Visualforce page that displays Case data. The page will be used by both support reps and support managers. The Support Rep profile does not allow visibility of the Customer_Satisfaction__c field, but the Support Manager profile does. How can the developer create the page to...
How can a developer determine, from the DescribeSObjectResult, if the current user will be able to create records for an object in Apex?
How can a developer determine, from the DescribeSObjectResult, if the current user will be able to create records for an object in Apex?A . By using the isInsertable() method.B . By using the isCreatable() method.C . By using the hasAccess() method.D . By using the canCreate() method.View AnswerAnswer: B
What should the developer consider when working with triggers?
A newly hired developer discovers that there are multiple triggers on the case object. What should the developer consider when working with triggers?A . Developers must dictate the order of trigger execution.B . Trigger execution order is based on creation date and time.C . Unit tests must specify the trigger...
Which two statements are true about using the @testSetup annotation in an Apex test class? (Choose two.)
Which two statements are true about using the @testSetup annotation in an Apex test class? (Choose two.)A . The @testSetup annotation cannot be used when the @isTest(SeeAllData=True) annotation is used.B . Test data is inserted once for all test methods in a class.C . Records created in the @testSetup method...