Which two strategies should a developer use to accomplish this?
Universal Containers wants Opportunities to be locked from editing when reaching the Closed/Won stage. Which two strategies should a developer use to accomplish this? (Choose two.)A . Use a Visual Workflow.B . Use a validation rule.C . Use the Process Automation Settings.D . Use a Trigger.View AnswerAnswer: B,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 make sure that a child record on a custom object, with a lookup to the Account object, has the same sharing access as its associated account?
How should a developer make sure that a child record on a custom object, with a lookup to the Account object, has the same sharing access as its associated account?A . Create a Sharing Rule comparing the custom object owner to the account owner.B . Create a validation rule on...
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
What is an important consideration when developing in a multi-tenant environment?
What is an important consideration when developing in a multi-tenant environment?A . Governor limits prevent tenants from impacting performance in multiple orgs on the same instance.B . Unique domain names take the place of namespaces for code developed for multiple orgs on multiple instances.C . Polyglot persistence provides support for...
When is an Apex Trigger required instead of a Process Builder Process?
When is an Apex Trigger required instead of a Process Builder Process?A . When a record needs to be createdB . When multiple records related to the triggering record need to be updatedC . When a post to Chatter needs to be createdD . When an action needs to be...
Which three options can be accomplished with formula fields? (Choose three.)
Which three options can be accomplished with formula fields? (Choose three.)A . Generate a link using the HYPERLINK function to a specific record.B . Display the previous value for a field using the PRIORVALUE function.C . Determine if a datetime field value has passed using the NOW function.D . Return...
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
What is the result of running this Apex?
An org has a single account named ‘NoContacts’ that has no related contacts. Given the query: List<Account> accounts = [Select ID, (Select ID, Name from Contacts) from Account where Name=‘NoContacts’]; What is the result of running this Apex?A . accounts[0].contacts is invalid Apex.B . accounts[0].contacts is an empty Apex.C ....
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