ExamGecko
Ask Question

Salesforce Certified B2B Commerce Developer Practice Test - Questions Answers, Page 16

List of questions

Question 151

Report
Export
Collapse

Northern Trail Outfitters (NTO) has a requirement to schedule a reusable data import across multiple orgs for customer demo purposes. NTO also has a requirement to seed data of related objects---ProductCatalog, ProductCategory, Product2, and ProductCategoryProduct--- while preserving its relationships and without purchasing additional licenses or using thirdparty tools.

What is the recommended tool a developer should select to address the requirement?

Dataloader.io
Dataloader.io
Bulk Import Using Command Line Interface
Bulk Import Using Command Line Interface
Commerce Product Data Import
Commerce Product Data Import
Data Import Wizard
Data Import Wizard
Suggested answer: C
asked 23/09/2024
Diego Beltran
39 questions

Question 152

Report
Export
Collapse

What is the purpose of connectedCallback in a Lightning web component?

It performs actions when a network request is made.
It performs actions when a network request is made.
It perform actions when a component makes a call to a Connect APL.
It perform actions when a component makes a call to a Connect APL.
It performs actions when a component is removed from the DOM.
It performs actions when a component is removed from the DOM.
It performs actions when a component is added to the DOM.
It performs actions when a component is added to the DOM.
Suggested answer: D
asked 23/09/2024
Olusola Adebayo
44 questions

Question 153

Report
Export
Collapse

Which technique can be used with Lightning web components to expose them outside of an org in another web container?

Slot elements
Slot elements
Heroku
Heroku
Lightning Out
Lightning Out
Lightning Canvas According to theLightning
Lightning Canvas According to theLightning
Suggested answer: C
asked 23/09/2024
Carlos Cabezas
49 questions

Question 154

Report
Export
Collapse

A developer needs to make a call to a long running web service which is critical to finalizing their checkout process. Which three items should the developer consider in their implementation?

A new CORS entry may need to be created in Setup
A new CORS entry may need to be created in Setup
A new Named Credential may need to be created in Setup
A new Named Credential may need to be created in Setup
An Apex method returning a Continuation will need to be created
An Apex method returning a Continuation will need to be created
Requests to the service should be brokered to prevent limit exceptions
Requests to the service should be brokered to prevent limit exceptions
A new Remote Site may need to be created in Setup
A new Remote Site may need to be created in Setup
Suggested answer: A, B, C
asked 23/09/2024
Felix Maroto Roman
46 questions

Question 155

Report
Export
Collapse

Which Lightning web component path allows a developer to view or edit a record while maintaining control over specifying its layout and set of fields?

lightning-record-edit-form
lightning-record-edit-form
lightning-record-imperative
lightning-record-imperative
lightning-record-view-form
lightning-record-view-form
lightning-record-form
lightning-record-form
Suggested answer: A
asked 23/09/2024
gregory damon
39 questions

Question 156

Report
Export
Collapse

A developer has created a custom Lightning web component for the Cart page that needs to react to changes to cart items from the standard cart component.

How should the developer implement the custom component so changes to cart items and quantities are reflected?

Subscribe to events on the lightning_commerce_cartChanged channel using the Lightning Message Service.
Subscribe to events on the lightning_commerce_cartChanged channel using the Lightning Message Service.
Add a listener for the cartltemUpdate Lightning event.
Add a listener for the cartltemUpdate Lightning event.
Listen for events on the lightning_commerce_cartChanged channel with the Lightning Event ''Listener component.
Listen for events on the lightning_commerce_cartChanged channel with the Lightning Event ''Listener component.
Add an event listener for the cartchanged DOM (Document Object Model) event.
Add an event listener for the cartchanged DOM (Document Object Model) event.
Suggested answer: A
asked 23/09/2024
Richard lavery
38 questions

Question 157

Report
Export
Collapse

Which two methods should a developer implement in a Lightning web component to successfully handle the subscription lifecycle of a Message Channel?

Subscribe()
Subscribe()
stopListener()
stopListener()
startListener()
startListener()
unsubscribe() Answer: A, D
unsubscribe() Answer: A, D
Suggested answer: A, D

Explanation:

Subscribe and Unsubscribe from a Message Channel

Lifecycle Hooks

Use message channel in both direction

asked 23/09/2024
FL Ferdous Attaie
36 questions

Question 158

Report
Export
Collapse

Which practice is allowed when it comes to naming a Lightning web component's folder and associated files?

Including whitespace
Including whitespace
Using a single underscore
Using a single underscore
Using consecutive underscores
Using consecutive underscores
Using a single hyphen (dash)
Using a single hyphen (dash)
Suggested answer: D
asked 23/09/2024
Charles Brono
45 questions

Question 159

Report
Export
Collapse

Which element can be used to pass HTML from a parent component to a child component? 03m 19s

<html></html>
<html></html>
<template></template>
<template></template>
<slot></slot>
<slot></slot>
Suggested answer: D
asked 23/09/2024
asdf asdf
38 questions

Question 160

Report
Export
Collapse

A developer is building a custom component in Lightning web components (LWC) that has a grandchild component that needs to pass information to the grandparent component. What is the correct way to demonstrate the passing of a message from the grandchild component to the grandparent component?

A)

Salesforce Certified B2B Commerce Developer image Question 160 59637 09232024001811000000

B)

Salesforce Certified B2B Commerce Developer image Question 160 59637 09232024001811000000

C)

Salesforce Certified B2B Commerce Developer image Question 160 59637 09232024001811000000

D)

Salesforce Certified B2B Commerce Developer image Question 160 59637 09232024001811000000

Option A
Option A
Option B
Option B
Option C
Option C
Option D
Option D
Suggested answer: B
asked 23/09/2024
owais mansoor
46 questions
Total 221 questions
Go to page: of 23
Search

Related questions