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...
What does the query return if there is no Contact with the last name 'Smith'?
A developer has the following query: Contact c = [SELECT id, firstname, lastname, email FROM Contact WHERE lastname = 'Smith']; What does the query return if there is no Contact with the last name 'Smith'?A . A contact initialized to null.B . An error that no rows are found.C ....
Which SOQL query successfully returns the Accounts grouped by name?
Which SOQL query successfully returns the Accounts grouped by name?A . SELECT Type, Max(CreatedDate) FROM Account GROUP BY NameB . SELECT Name, Max(CreatedDate) FROM Account GROUP BY NameC . SELECT Id, Type, Max(CreatedDate) FROM Account GROUP BY NameD . SELECT Type, Name, Max(CreatedDate) FROM Account GROUP BY Name LIMIT 5View...