What is the optimal way to achieve this?

A company wants to incorporate a third-party web service to set the Address fields when an Account is inserted, if they have not already been set. What is the optimal way to achieve this?A . Create a Process, call an Apex @future(callout=true) method from it, and make the callout from...

February 27, 2021 No Comments READ MORE +

Which strategy can a developer use to improve the performance?

A Visualforce page loads slowly due to the large amount of data it displays. Which strategy can a developer use to improve the performance?A . Use Javascript to move data processing to the browser instead of the controller.B . Use the transient keywords for the List variables used in the...

February 26, 2021 No Comments READ MORE +

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...

February 26, 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 Trigger.B . The callouts will be made in an Apex Test class.C . The callout...

February 26, 2021 No Comments READ MORE +

Which SOQL query is valid on the Customer_Transaction__b Big Object?

Universal Containers uses Big Objects to store almost a billion customer transactions called Customer_Transaction__b. These are the fields on Customer_Transaction__b: Account__c Program__c Points_Earned__c Location__c Transaction_Date__c The following fields have been identified as Index Fields for the Customer_Transaction__b object: Account__c, Program__c, and Transaction_Date__c. Which SOQL query is valid on the Customer_Transaction__b...

February 26, 2021 No Comments READ MORE +

What are three benefits of using static resources in Visualforce and Lightning Components? (Choose three.)

What are three benefits of using static resources in Visualforce and Lightning Components? (Choose three.)A . Static resource files are automatically minified.B . Static resource files can be referenced by using the $Resource global variable instead of hardcoded IDs.C . Static resource files can be packaged into a collection of...

February 26, 2021 No Comments READ MORE +

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...

February 25, 2021 No Comments READ MORE +

What is one way in which the integration can stay near real-time, but not exceed the number of allowed API calls in a 24-hour period?

Recently a Salesforce org's integration failed because it exceeded the number of allowed API calls in a 24-hour period. The integration handles a near real-time, complex insertion of data into Salesforce. The flow of data is as follows: - The integration looks up Contact records with a given email address...

February 25, 2021 No Comments READ MORE +

Which are relevant practices while analyzing the timeline of different types of transactions in the execution overview panel? (Choose two.)

Which are relevant practices while analyzing the timeline of different types of transactions in the execution overview panel? (Choose two.)A . Log lines in the execution log panel can be analyzed for details about specific eventsB . The performance tree should be use to analyze events further starting from the...

February 25, 2021 No Comments READ MORE +

Which code block will accurately meet the business requirements?

A developer is asked to update data in an org based on new business rules. The new rules state that Accounts with the type set to 'Customer' should have a status of 'Active', and Accounts with the type set to 'Prospect' should have a status of 'Pending'. No other changes...

February 25, 2021 No Comments READ MORE +