Which two methods should the developer use to avoid this error?

A developer encounters APEX heap limit errors in a trigger. Which two methods should the developer use to avoid this error? (Choose two.)A . Use the transient keyword when declaring variables.B . Query and store fields from the related object in a collection when updating related objects.C . Remove or...

October 23, 2021 No Comments READ MORE +

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

October 23, 2021 No Comments READ MORE +

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...

October 23, 2021 No Comments READ MORE +

When loading data into an operation, what can a developer do to match records to update existing records? (Choose 2)

When loading data into an operation, what can a developer do to match records to update existing records? (Choose 2)A . Match an auto-generated Number field to a column in the imported file.B . Match an external Id Text field to a column in the imported file.C . Match the...

October 23, 2021 No Comments READ MORE +

A developer wrote a workflow email alert on case creation so that an email is sent to the case owner manager when a case is created. When will the email be sent?

A developer wrote a workflow email alert on case creation so that an email is sent to the case owner manager when a case is created. When will the email be sent?A . After Committing to database.B . Before Trigger execution.C . After Trigger execution.D . Before Committing to database.View...

October 23, 2021 No Comments READ MORE +

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

October 23, 2021 No Comments READ MORE +

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

October 23, 2021 No Comments READ MORE +

How are the selected values represented in Apex?

In a single record, a user selects multiple values from a multi-select picklist. How are the selected values represented in Apex?A . As a List<String> with each value as an element in the listB . As a String with each value separated by a commaC . As a String with...

October 23, 2021 No Comments READ MORE +

Which two methods should a developer use to create this case?

When an Account’s custom picklist field called Customer Sentiment is changed to a value of “Confused”, a new related Case should automatically be created. Which two methods should a developer use to create this case? (Choose two.)A . Process BuilderB . Apex TriggerC . Custom ButtonD . Workflow RuleView AnswerAnswer:...

October 23, 2021 No Comments READ MORE +

Which trigger event allows a developer to update fields in the Trigger.new list without using an additional DML statement?Choose 2 answers

Which trigger event allows a developer to update fields in the Trigger.new list without using an additional DML statement?Choose 2 answersA . Before insertB . Before updateC . After updateD . After insertView AnswerAnswer: A, B

October 22, 2021 No Comments READ MORE +