Salesforce Trailhead Virtual Bootcamp for Platform Developer I - TVB-450 Exam Practice Test
A developer must create a CreditcardPayment class that provides an implementation of an existing Payment class. Public virtual class Payment { public virtual void makePayment(Decimal amount) { /*implementation*/ } } Which is the correct implementation?
Correct Answer: C
A developer needs to have records with specific field values in order to test a new Apex class.
What should the developer do to ensure the data is available to the test?
What should the developer do to ensure the data is available to the test?
Correct Answer: D
Which two statements are true about using the @testSetup annotation in an Apex test class?
Choose 2 answers
Choose 2 answers
Correct Answer: C,D
A developer must provide custom user interfaces when users edit a Contact in either Salesforce Classic or Lightning Experience.
What should the developer use to override the Contact's Edit button and provide this functionality?
What should the developer use to override the Contact's Edit button and provide this functionality?
Correct Answer: A
What are two ways for a developer to execute tests in an org?
Correct Answer: B,D
When importing and exporting data into Salesforce, which two statements are true?
Choose 2 answers
Choose 2 answers
Correct Answer: B,C
Universal Containers has implemented an order management application. Each Order can have one or more Order Line items. The Order Line object is related to the Order via a master-detail relationship. For each Order Line item, the total price is calculated by multiplying the Order Line item price with the quantity ordered.
What is the best practice to get the sum of all Order Line item totals on the Order record?
What is the best practice to get the sum of all Order Line item totals on the Order record?
Correct Answer: D
What does the Lightning Component framework provide to developers?
Correct Answer: C
A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple subjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL.
Which three statements are useful inside the unit test to effectively test the custom controller?
Choose 3 answers
Which three statements are useful inside the unit test to effectively test the custom controller?
Choose 3 answers
Correct Answer: C,D,E
The values 'High', 'Medium', and 'Low' are Identified as common values for multiple picklist across different object. What is an approach a developer can take to streamline maintenance of the picklist and their values, while also restricting the values to the ones mentioned above?
Correct Answer: B
A developer Is Integrating with a legacy on-premise SQL database.
What should the developer use to ensure the data being Integrated is matched to the right records in Salesforce?
What should the developer use to ensure the data being Integrated is matched to the right records in Salesforce?
Correct Answer: C
Which salesforce org has a complete duplicate copy of the production org including data and configuration?
Correct Answer: C
A developer wants to import 500 Opportunity records into a sandbox. Why should the developer choose to use data Loader instead of Data Import Wizard?
Correct Answer: B