How long is field history retained?
A. 18 MonthsA company has a custom object, Sales Demo Request, that has a lookup to an Opportunity. It is required that a Sales Demo Request record be created when an Opportunity's Probability is greater than 50%.
What is the optimal way to automate this?
A. Build a Flow on Opportunity.A company has a Lightning Page with many Lightning Components, some that cache reference data. It is reported that the page does not always show the most current reference data.
What can a developer use to analyze and diagnose the problem in the Lightning Page?
A. Salesforce Lightning Inspector Storage TabA Visualforce page needs to make a callout to get billing information and tax information from two different REST endpoints. The information needs to be displayed to the user at the same time and the return value of the billing information contains the input for the tax information callout. Each endpoint might take up to two minutes to process.
How should a developer implement the callouts?
A. A Continuation for both the billing callout and the tax calloutA developer wants to use an Aura Component with a Custom Action. What should be considered in order to do this?
A. A default value must be provided for each component attribute marked as required.A developer has a Batch Apex process, Batch_Account_Sales, that updates the sales amount for 10,000 Accounts on a nightly basis. The Batch Apex works as designed In the sandbox. However, the developer cannot get code coverage on the Batch Apex class.
The test class is below:
@IsTest private class Batch_Account_Update_Test {
@IsTest static void UnitTest() { Account a = new Account( Name = 'test', Type = 'Customer', Sales_Amount__c = 0 );
insert a;
Batch_Account_Sales bas = new Batch_Account_Sales();
Id jobId = Database.executeBatch(bas);
}
}
What is causing the code coverage problem?
A. The batch process will not recognize new accounts created in the same session.UC Loans is a small company with a part time Salesforce administrator. UC Loans wants to create a Loan__c record whenever an Opportunity is won. What is the optimal solution for UC Loans to accomplish this?
A. Quick ActionA developer is asked to replace the standard Case creation screen with a custom screen that takes users through a wizard before creating the Case. The org only has users running Lightning Experience.
What should the developer override the Case New Action with to satisfy the requirements?
A. Lightning Record PageIn an organization that has multi-currency enabled, a developer is tasked with building a Lighting Component that displays the top ten Opportunities most recently access by the logged in user. The developer must ensure the Amount and LastModifiedDate field values are displayed according to the user's locale.
What is the most effective approach to ensure values displayed respect the users locale settings?
A. Use the FOR VIEW clause in the SOQL Query.A Visualforce Page throws an Attempt to dereference a null object error for a Contact. What change In the controller will fix the error?
A. Declare a static final Contact at the top of the controller.Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PDII exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.