Free TVB-450 Exam Braindumps (page: 6)

Page 6 of 38

A developer created a child Lightning web component nested inside a parent Lightning web component, parent component needs to pass a string value to the child component.
In which two ways can this be accomplished?
Choose 2 answers

  1. The parent component can use a custom event to pass the data to the child component,
  2. The parent component can use the Apex controller class to send data to the child component.
  3. The parent component can invoke a method in the child component
  4. The parent component can use a public property to pass the data to the child component.

Answer(s): A,D



What should a developer do to check the code coverage of a class after running all tests?

  1. View the Code Coverage column in the list view on the Apex Classes page.
  2. View the Class Test Percentage tab on the Apex Class fist view m Salesforce Setup.
  3. View Use cede coverage percentage for the class using the Overall Code Coverage panel in the Developer Console Tests tab.
  4. Select and run the class on the Apex Test Execution page in the Developer Console.

Answer(s): B



How should a developer write unit tests for a private method in an Apex class?

  1. Use the SeeAllData annotation.
  2. Add a test method in the Apex class.
  3. Use the TestVisible annotation.
  4. Mark the Apex class as global.

Answer(s): C



What are three capabilities of the <ltng : require> tag when loading JavaScript resources in Aura components?
Choose 3 answers

  1. Loading files from Documents
  2. One-time loading for duplicate scripts
  3. Specifying loading order
  4. Loading scripts In parallel
  5. Loading externally hosted scripts

Answer(s): B,C,D



Page 6 of 38



Post your Comments and Discuss Salesforce TVB-450 exam with other Community members:

ahmad hassan commented on September 06, 2023
pd1 with great experience
Anonymous
upvote

Parvez commented on August 10, 2023
pd1 with great experience
Anonymous
upvote