Which of the follow be used together in DML operations (transaction)? (Choose two.)

Which of the follow be used together in DML operations (transaction)? (Choose two.)A . Acco u nt - Acco u ntS ha reB . Case - CaseCommentC . Opportunity - UserD . Account - OrderView AnswerAnswer: B,D

March 22, 2021 No Comments READ MORE +

What is the optimal way to fix this?

The test method above calls a web service that updates an external system with Account information and sets the Account's Integration_Updated__c checkbox to True when it completes. @isTest static void testAccountUpdate() { Account acct = new Account({Name = 'Test'); acct.Integration Updated_c = false; insert acct; CalloutUtil.sendAccountUpdate (acct.Id); Account acctAfter =...

March 22, 2021 No Comments READ MORE +

How can the developer generate the code coverage?

An Apex class does not achieve expected code coverage. The testSetup method explicitly calls a method in the Apex class. How can the developer generate the code coverage?A . Add @testVisible to the method in the class the developer is testing.B . Use system.assert() in testSetup to verify the values...

March 22, 2021 No Comments READ MORE +

Which scenario necessitates that the callout be made in an @future method?

A developer is writing code that requires making callouts to an external web service. Which scenario necessitates that the callout be made in an @future method?A . The callouts will be made in an Apex Test class.B . The callouts will be made in an Apex Trigger.C . The callout...

March 22, 2021 No Comments READ MORE +

Which change in the Apex code will fix the problem?

An Apex trigger and Apex class increment a counter, Edit_Count_c, any time that the Case is changed. A new process on the case object was just created in production for when a Case is created or updated< since the process was created, they are reports that the Count is being...

March 21, 2021 No Comments READ MORE +

Which option is the preferred optimized method to achieve this for the Account named ‘Ozene Electronics’?

A developer has requirement to query three fields (id, name, Type) from an Account and first and last names for all Contacts associated with the Account. Which option is the preferred optimized method to achieve this for the Account named ‘Ozene Electronics’?A . Account a = (SELECT ID, Name, Type...

March 21, 2021 No Comments READ MORE +

Which SOQL query wrii return a unique list of all the Contact records that have no Fulfilled Orders?

A company has a custom object. Order__c, that has a custom picklist field. Status__c, with values of New, In Progress," or Fulfilled and a lookup field, Contact_c, to Contact. Which SOQL query wrii return a unique list of all the Contact records that have no Fulfilled Orders?A . SELECT Contact_c...

March 21, 2021 No Comments READ MORE +

Which of the following standard fields are indexed? (Choose three.)

Which of the following standard fields are indexed? (Choose three.)A . NameB . CreatedByC . SystemModStampD . LastModifedDdateE . RecordTypeView AnswerAnswer: A,B,C

March 21, 2021 No Comments READ MORE +

How many Territories can an instance of salesforce have?

How many Territories can an instance of salesforce have?A . 400B . 200C . 1000D . 100E . 500View AnswerAnswer: E

March 21, 2021 No Comments READ MORE +

What is the optimal way to automate this?

A company has a custom object, Sales Demo Request, that has a lookup to an Opportunity. It is required that a Sales Demo Request record be created when an Opportunity's Probability is greater than 50%. What is the optimal way to automate this?A . Build a Flow on Opportunity.B ....

March 21, 2021 No Comments READ MORE +