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...
What are three characteristics of static methods? (Choose three.)
What are three characteristics of static methods? (Choose three.)A . Initialized only when a class is loadedB . A static variable outside of the scope of an Apex transactionC . Allowed only in outer classesD . Allowed only in inner classesE . Excluded from the view state for a Visualforce...
What is the requirement for a class to be used as a custom Visualforce controller?
What is the requirement for a class to be used as a custom Visualforce controller?A . Any top-level Apex class that has a constructor that returns a PageReferenceB . Any top-level Apex class that extends a PageReferenceC . Any top-level Apex class that has a default, no-argument constructorD . Any...
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 SOQL query successfully returns the Accounts grouped by name?
Topic 1, Exam Pool A 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...
What is a capability of the <ltng:require> tag that is used for loading external Javascript libraries in Lightning Component? (Choose three.)
What is a capability of the <ltng:require> tag that is used for loading external Javascript libraries in Lightning Component? (Choose three.)A . Loading files from Documents.B . One-time loading for duplicate scripts.C . Specifying loading order.D . Loading scripts in parallel.E . Loading externally hosted scripts.View AnswerAnswer: B,C,D
Which statement results in an Apex compiler error?
Which statement results in an Apex compiler error?A . Map<Id,Leas>lmap = new Map<Id,Lead>([Select ID from Lead Limit 8]);B . Date d1 = Date.Today(), d2 = Date.ValueOf(‘2018-01-01’);C . Integer a=5, b=6, c, d = 7;D . List<string> s = List<string>{‘a’,‘b’,‘c’);View AnswerAnswer: D
Which approach should a developer take to automatically add a “Maintenance Plan” to each Opportunity that includes an “Annual Subscription” when an opportunity is closed?
Which approach should a developer take to automatically add a “Maintenance Plan” to each Opportunity that includes an “Annual Subscription” when an opportunity is closed?A . Build a OpportunityLineItem trigger that adds a PriceBookEntry record.B . Build an OpportunityLineItem trigger to add an OpportunityLineItem record.C . Build an Opportunity trigger...
How should a developer avoidhitting the governor limits in test methods?
How should a developer avoidhitting the governor limits in test methods?A . Use @TestVisible on methods that create records.B . Use Test.loadData() to load data from a static resource.C . Use @IsTest (SeeAllData=true) to use existing data.D . Use Test.startTest() to reset governor limits.View AnswerAnswer: D
Which three attributes need to be defined with values in the <apex:page> tag to accomplish this?
A platform developer at Universal Containers needs to create a custom button for the Account object that, when clicked, will perform a series of calculations and redirect the user to a custom Visualforce page. Which three attributes need to be defined with values in the <apex:page> tag to accomplish this?...