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