What is the optimal way to update the Accounts from the external system?
A company uses an external system to manage its custom account territory assignments. Every quarter, millions of Accounts may be updated in Salesforce with new Owners when the territory assignments are completed in the external system. What is the optimal way to update the Accounts from the external system?A ....
Which API can b|e used to execute unit tests? (Choose three.)
Which API can b|e used to execute unit tests? (Choose three.)A . Streaming APB . Test APIC . Tooling APID . SOAP APIE . Metadata APIView AnswerAnswer: C,D,E
What are the ways a developer can create test data of Contacts? (Choose two.)
What are the ways a developer can create test data of Contacts? (Choose two.)A . Test.createTestData ()B . myDataFactory.createContacts(10)C . Test.loadData(Contact.sObjectType, 'staticResource')D . Test.loadTestRecords(Contact.sObjectType, 'staticResource')View AnswerAnswer: B,C
How can a developer insert an Employee_c record linked to Company_c with a Company_ld_c of '999'?
Employee_c is a Child object of Company_c. The Company_c object has an external Id field Company_ld_c. How can a developer insert an Employee_c record linked to Company_c with a Company_ld_c of '999'?A . Employee_c emp = new Employee_c(Name=fDeveloperf); emp.Company_r = f999f insert emp;B . Employee_c emp = new Employee_c(Name=fDeveloperf); emp.Company_c...
Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?
A developer created a new trigger that inserts a Task when a new Lead is created. After deploying to production, an outside integration is periodically reporting errors. Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?A . Use a Try/Catch...
Which type of controller is best suited when you want all of the basic DML functions from an object's normal new/edit page and want to include multiple records?
Which type of controller is best suited when you want all of the basic DML functions from an object's normal new/edit page and want to include multiple records?A . Standard ControllerB . Standard List/Set ControllerC . Controller ExtensionsD . Custom ControllerView AnswerAnswer: B
The REST API___________.
The REST API___________.A . Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAII, insert, update, upsert, or delete many records asynchronously by submitting batchesB . Provides a powerful, convenient, and simple REST-based web services interface for...
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...
What is a valid request for the following REST method? (Choose two.)
What is a valid request for the following REST method? (Choose two.) @HttpPost global static void myPostMethod(String si, Integer il, Boolean bl, String 52)A . <request> <sl>my first string</sl> <ll>123</il> <32>my second string</32> <bl>false</bl> </request>B . <request> <sl>"my first string"</sl> <il>123</il> <sZ>!,my second string"</32> <bl>false</bl> </request>C . si" : "my...
What can a developer to do address the issue?
A company notices that their unit tests in a test class with many methods to create many records for prerequisite reference data are slow. What can a developer to do address the issue?A . Move the prerequisite reference data setup to a TestDataFactory and call that from each test method.B...