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 . Remove the Apex...
What is the correct way to automate this using an Apex trigger?
A company's support process dictates that any time a Case is closed with a Status of 'Could not fix', an Engineering Review custom object record should be created and populated with information from the Case, the Contact, and any of the Products associated with the Case. What is the correct...
Which two relationship queries use the proper syntax? (Choose two.)
Which two relationship queries use the proper syntax? (Choose two.)A . SELECT Id, Name, Account__r.Name FROM Contact WHERE Account__r.Industry ='Media'B . SELECT Name, (SELECT LastName FROM Contacts__r) FROM AccountC . SELECT Name, (SELECT LastName FROM Contacts) FROM AccountD . SELECT Id, Name, Account.Name FROM Contact WHERE Account.Industry = 'Media'View AnswerAnswer:...
What is the optimal way to implement this?
A company represents their customers as Accounts in Salesforce. All customers have a unique Customer_Number__c that is unique across all of the company’s systems. They also have a custom Invoice__c object, with a Lookup to Account, to represent invoices that are sent out from their external system. This company wants...
What are three benefits of using declarative customizations over code? (Choose three.)
What are three benefits of using declarative customizations over code? (Choose three.)A . Declarative customizations cannot generate run time errors.B . Declarative customizations will automatically update with each Salesforce release.C . Declarative customizations do not require user testing.D . Declarative customizations are not subject to governor limits.E . Declarative customizations...
Which statement should be used to perform the DML necessary to insert new records and update existing records in a List of Order__c records?
A company has a custom object, Order__c, that has a required, unique, external ID field called Order_Number__c. Which statement should be used to perform the DML necessary to insert new records and update existing records in a List of Order__c records?A . upsert orders;B . upsert orders Order_Number__c;C . merge...
What is wrong with it?
Consider the Apex controller above, that is called from a Lightning Aura Component. What is wrong with it?A . Line 1: class must be globalB . Lines 1 and 6: class and method must be globalC . Line 6: method must be staticD . Line 8: method must first serialize...
Which feature of Apex code is required to facilitate this solution?
A developer is writing a Visualforce page that queries accounts in the system and presents a data table with the results. The users want to be able to filter the results based on up to five fields. However, the users want to pick the five fields to use as filter...
What is the optimal way for a developer to fix the issue?
A company has many different unit test methods that create Account records as part of their data setup. A new required field was added to the Account and now all of the unit tests fail. What is the optimal way for a developer to fix the issue?A . Add a...
Which use case can only be performed by using asynchronous Apex?
Which use case can only be performed by using asynchronous Apex?A . Scheduling a batch process to complete in the futureB . Processing high volumes of recordsC . Updating a record after the completion of an insertD . Calling a web service from an Apex triggerView AnswerAnswer: D