Free TVB-450 Exam Braindumps (page: 13)

Page 13 of 38

Which two are best practices when it comes to component and application event handling? (Choose two.)

  1. Reuse the event logic in a component bundle, by putting the logic in the helper.
  2. Use component events to communicate actions that should be handled at the application level.
  3. Handle low-level events in the event handler and re-fire them as higher-level events.
  4. Try to use application events as opposed to component events.

Answer(s): A,C



A developer wrote Apex code that calls out to an external system. How should a developer write the test to provide test coverage?

  1. Write a class that extends HTTPCalloutMock.
  2. Write a class that implements the HTTPCalloutMock interface.
  3. Write a class that implements the WebserviceMock interface.
  4. Write a class that extends WebserviceMock

Answer(s): B



Universal Containers recently transitioned from Classic to Lighting Experience. One of its business processes requires certain value from the opportunity object to be sent via HTTP REST callout to its external order management system based on a user-initiated action on the opportunity page.
Example values are as follow
Name
Amount
Account
Which two methods should the developer implement to fulfill the business requirement? (Choose 2 answers)

  1. Create a Lightning component that performs the HTTP REST callout, and use a Lightning Action to expose the component on the Opportunity detail page.
  2. Create a Process Builder on the Opportunity object that executes an Apex immediate action to perform the HTTP REST callout whenever the Opportunity is updated.
  3. Create an after update trigger on the Opportunity object that calls a helper method using @Future(Callout=true) to perform the HTTP REST callout.
  4. Create a Visualforce page that performs the HTTP REST callout, and use a Visualforce quick action to expose the component on the Opportunity detail page.

Answer(s): A,C



A developer wants to invoke on outbound message when a record meets a specific criteria.
Which three features satisfy this use case?
Choose 3 answer

  1. Approval Process has the capacity to check the record criteria and send an outbound message without Apex Code
  2. Process builder can be used to check the record criteria and send an outbound message with Apex Code.
  3. workflows can be used to check the record criteria and send an outbound message.
  4. Process builder can be used to check the record criteria and send an outbound messagewithout Apex Code.
  5. Visual Workflow can be used to check the record criteria and send an outbound message without Apex Code.

Answer(s): A,B,C



Page 13 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