Which standard field is required when creating a new contact record?

Which standard field is required when creating a new contact record?A . LastNameB . NameC . AccountIdD . FirstNameView AnswerAnswer: A

January 13, 2021 No Comments READ MORE +

Which technique should be implemented to avoid reaching the governor limit?

A developer must modify the following code snippet to prevent the number of SOQL queries issued from exceeding the platform governor limit. public class without sharing OpportunityService( public static List<OpportunityLineItem> getOpportunityProducts(Set<Id> opportunityIds){ List<OpportunitylineItem> oppLineItems = new List<OpportunityLineItem>(); for(Id thisOppId : opportunityIds){ oppLineItems.addAll([Select Id FROM OpportunityLineItems WHERE OpportunityId = :thisOppId)]; }...

January 13, 2021 No Comments READ MORE +

Which three data types can a SOQL query return? Choose 3 answers

Which three data types can a SOQL query return? Choose 3 answersA . ListB . LongC . IntegerD . sObjectView AnswerAnswer: A,C,D

January 12, 2021 No Comments READ MORE +

What is the value of the count field if an Account is inserted with an initial value of zero, assuming no other automation logic is implemented on the Account?

A developer writes a trigger on the Account object on the before update event that increments a count field. A workflow rule also increments the count field every time that an Account is created or update. The field update in the workflow rule is configured to not re-evaluate workflow rules....

January 12, 2021 1 Comment READ MORE +

Which three per-transaction limits have higher governor limits in asynchronous Apex transactions?

Which three per-transaction limits have higher governor limits in asynchronous Apex transactions?A . Maximum CPU timeB . Maximum heap sizeC . Total SOQL queriesD . Maximum execution timeE . Records returned by SOQLView AnswerAnswer: A,C,E

January 12, 2021 1 Comment READ MORE +

Which method annotation should be used to create records for every method in the test class?

A developer is creating a test coverage for a class and needs to insert records to validate functionality. Which method annotation should be used to create records for every method in the test class?A . @BeforeTestB . @isTest(SeeAllData=True)C . @TestSetupD . @PreTestView AnswerAnswer: C

January 12, 2021 No Comments READ MORE +

Which Salesforce feature allows a developer to see when a user last logged in to Salesforce if real-time notification is not required?

Which Salesforce feature allows a developer to see when a user last logged in to Salesforce if real-time notification is not required?A . Asynchronous Data Capture EventsB . Developer LogC . Event Monitoring LogD . Calendar EventsView AnswerAnswer: C

January 12, 2021 No Comments READ MORE +

Universal Containers wants a list button to display a Visualforce page that allows users to edit multiple records. which Visualforce feature supports this requirement?

Universal Containers wants a list button to display a Visualforce page that allows users to edit multiple records. which Visualforce feature supports this requirement?A . <apex:listButton> tagB . Custom controllerC . RecordSetVar page attributeD . Controller extensionView AnswerAnswer: C

January 12, 2021 No Comments READ MORE +

Which two SOQL queries performed are safe from SOQL injections?

Assuming that ‘name; is a String obtained by an <apex:inputText> tag on a Visualforce page. Which two SOQL queries performed are safe from SOQL injections? Choose 2 answersA . String query = 'SELECT Id FROM Account WHERE Name LIKE ''%' + name.noQuotes() + '%''; List<Account> results = Database.query(query);B . String...

January 11, 2021 No Comments READ MORE +

When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?

When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?A . ProductionB . Dev HubC . Environment HubD . SandboxView AnswerAnswer: B Explanation: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs.htm

January 11, 2021 No Comments READ MORE +