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

June 8, 2021 No Comments READ MORE +

What are two uses for External IDs? (Choose two.)

What are two uses for External IDs? (Choose two.)A . To create relationships between records imported from an external system.B . To create a record in a development environment with the same Salesforce ID as in another environmentC . To identify the sObject type in SalesforceD . To prevent an...

June 7, 2021 No Comments READ MORE +

Which two exceptions may occur when it executes?

A developer executes the following query in Apex to retrieve a list of contacts for each account: List<account> accounts = [Select ID, Name, (Select ID, Name from Contacts) from Account] ; Which two exceptions may occur when it executes? (Choose two.)A . CPU limit exception due to the complexity of...

June 7, 2021 No Comments READ MORE +

How should a developer create a new custom exception class?

How should a developer create a new custom exception class?A . public class CustomException extends Exception{}B . CustomException ex = new (CustomException)Exception();C . public class CustomException implements Exception{}D . (Exception)CustomException ex = new Exception();View AnswerAnswer: A

June 6, 2021 No Comments READ MORE +

What should a developer do to meet these requirements?

The operation manager at a construction company uses a custom object called Machinery to manage the usage and maintenance of its cranes and other machinery. The manager wants to be able to assign machinery to different constructions jobs, and track the dates and costs associated with each job. More than...

June 6, 2021 No Comments READ MORE +

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 whenthe @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 cannot...

June 6, 2021 No Comments READ MORE +

Which two methods should a developer use to createthis 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 createthis case? (Choose two.)A . Process BuilderB . Apex TriggerC . Custom ButtonD . Workflow RuleView AnswerAnswer: A,B

June 5, 2021 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...

June 5, 2021 No Comments READ MORE +

How should the developer implement this request?

A developer is asked to set a picklist field to ‘Monitor’ on any new Leads owned by a subnet of Users. How should the developer implement this request?A . Create an after insertLead trigger.B . Create a before insert Lead trigger.C . Create a Lead Workflow Rule Field Update.D ....

June 5, 2021 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 currentEmail 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 exceptionD...

June 5, 2021 No Comments READ MORE +