What could be the cause of this issue?
A developer writes the following Apex trigger so that when a Case is closed, a single Survey record is created for that Case. The issue is that multiple Survey_c records are being created per Case. What could be the cause of this issue?A . A user is creating the record...
What are two limitations to the data being returned by the Controller?
A developer wants to call an Apex Server-side Controller from a Lightning Aura Component . What are two limitations to the data being returned by the Controller? Choose 2 answersA . A Lists of Custom Apex Classes cannot be returned by Apex Controllers called by Lightning Aura Components.B . Basic...
What is the best approach to ensure the assigned reviewer obtains Read/Write access to the record?
Universal Containers implements a private sharing model for the Convention_Attendence_c custom object. As part of a new quality assurance effort, the company created an Event___Reviewer__c user lookup field on the object. Management wants the event reviewer to automatically gain Read/write access to every record they are assigned to. What is...
What should a developer do to fix the problem?
A developer wrote a test class that successfully asserts a trigger on Account. It fires and updates data correctly in a sandbox environment. A salesforce admin with a custom profile attempts to deploy this trigger via a change set into the production environment, but the test class fails with an...
What can the developer use to provide test data to the test methods?
A developer needs test data for Apex test classes. What can the developer use to provide test data to the test methods? (Choose two.)A . List<sObject> Is = Test.loadData (Lead.sObjectType, fmyTestLeads f);B . myDataFactory.createTestRecords (10)C . Database.createTestRecords (10)D . List<sObject> Is = Test.loadDat (Lead.sObjectType, $Resource + 'myTestLeads f);View AnswerAnswer: A,B
During the Visualforce Page execution, what step follows immediately after "Evaluate constructors on controller and extensions"?
During the Visualforce Page execution, what step follows immediately after "Evaluate constructors on controller and extensions"?A . Create the view stateB . Evaluate constructors, extensions, and expression on attribute definitions on any custom components presentC . Evaluate expressions, <apex:page> attribute actions, and other method calls (getters/setters) on main pageD ....
What is the transaction limit for the number of records for SOSL?
What is the transaction limit for the number of records for SOSL?A . 20B . 2,000C . 100 (synchronous), 200 (async)D . 200 (synchronous), 100 (async)E . There is no limitView AnswerAnswer: B
What are three actions to enable this functionality?
A developer is creating unit tests for code that makes SOAP web service callouts. The developer needs to insert some test data as a part of the unit tests setup. What are three actions to enable this functionality? (Choose three.)A . Surround the callout with TeststartTest(), Test.stopTest()B . Surround the...
After a Platform Event is defined in a Salesforce org, events can be published via which two mechanisms? Choose 2 answers
After a Platform Event is defined in a Salesforce org, events can be published via which two mechanisms? Choose 2 answersA . internal Apps can use Outbound MessagesB . Internal Apps can use Process Builder.C . External Apps require a custom Apex web service.D . External Apps can use the...
What will happen when a user clicks the command button?
A developer has a page with two extensions overriding the Standard controller for Case. What will happen when a user clicks the command button?A . All of the three Save methods will be executedB . Save from Case Standard Controller will be executedC . Save from CaseExtensionTwo will be executedD...