Which action will allow the developer to relate records in the data model without knowing the Salesforce ID?

A developer needs to join data received from an integration with an external system with parent records in Salesforce. The data set does not contain the Salesforce IDs of the parent records, but it does have a foreign key attribute that can be used to identify the parent. Which action...

September 22, 2020 No Comments READ MORE +

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

September 22, 2020 No Comments READ MORE +

What is the data type returned by the following SOSL search?

What is the data type returned by the following SOSL search? [FIND ‘Acme*’ IN NAME FIELDS RETURNING Account, Opportunity];A . List<List<Account>, List<Opportunity>>B . Map<sObject, sObject>C . List<List<sObject>>D . Map<Id, sObject>View AnswerAnswer: C

September 22, 2020 No Comments READ MORE +

Which type of exception will this trigger cause?

A lead object has a custom field Prior_Email_c. The following trigger is intended to copy the current Email into the Prior_Email_c field any time the Email field is changed: Which type of exception will this trigger cause?A . A null reference exceptionB . A compile time exceptionC . A DML...

September 22, 2020 No Comments READ MORE +

Which two environments meet the requirements for testing?

A developer needs to test an Invoicing system integration. After reviewing the number of transactions required for the test, the developer estimates that the test data will total about 2 GB of data storage. Production data is not required for the integration testing. Which two environments meet the requirements for...

September 21, 2020 No Comments READ MORE +

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

September 21, 2020 No Comments READ MORE +

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

September 21, 2020 No Comments READ MORE +

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: BCD

September 21, 2020 No Comments READ MORE +

Which two strategies should a developer use to avoid hitting governor limits when developing in a multi-tenant environment? (Choose two.)

Which two strategies should a developer use to avoid hitting governor limits when developing in a multi-tenant environment? (Choose two.)A . Use collections to store all fields from a related object and not just minimally required fields.B . Use methods from the “Limits” class to monitor governor limits.C . Use...

September 21, 2020 No Comments READ MORE +

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

September 21, 2020 No Comments READ MORE +