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...
What can be used when developing a custom screen to ensure an Account is not created if the creation of the Contact fails?
Business rules require a Contact to always be created when a new Account is created. What can be used when developing a custom screen to ensure an Account is not created if the creation of the Contact fails?A . Use the Database.Delete method if the Contact insertion fails.B . Use...
Given a list of Opportunity records named opportunityList, which code snippet is best for querying all Contacts of the Opportunity’s Account?
Given a list of Opportunity records named opportunityList, which code snippet is best for querying all Contacts of the Opportunity’s Account?A . List <Contact> contactList = new List <Contact>(); for(Opportunity o : opportunityList){ Account a = [SELECT Id, (SELECT Id FROM Contacts) FROM Account WHERE Id = :o.AccountId] contactList.addAll(a.Contacts); )B...
Which method should be used to convert a Date to a String in the current user’s locale?
Which method should be used to convert a Date to a String in the current user’s locale?A . Date.formatB . String formatC . String.valueOfD . Date.parseView AnswerAnswer: A
What change should be applied to the component?
A Lightning Component functions in preview mode and needs to be used inside a Lightning App Builder page, but it is not available. What change should be applied to the component?A . Expose it in the markup using the implements and access attributes.B . Delete the component, metadata, and Apex...
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 two statements are true regarding these issues and resolution?
A large company uses Salesforce across several departments. Each department has its own Salesforce Administrator. It was agreed that each Administrator would have their own sandbox in which to test changes. Recently, users notice that fields that were recently added for one department suddenly disappear without warning. Also, Workflows that...
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...
Which is the optimal method to implement this in Salesforce?
A company has a native iOS app for placing orders that needs to connect to Salesforce to retrieve consolidated information from many different objects in a JSON format. Which is the optimal method to implement this in Salesforce?A . Apex REST Web ServiceB . Apex SOAP Web ServiceC . 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...