ExamGecko
Ask Question

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

List of questions

Question 141

Report
Export
Collapse

A developer needs to implement a custom Lightning web component (LWC) for the storefront.

The LWC contains language-specific text values.

How should the developer translate the text values?

Import static resources for the text values and add them into the LWC.
Import static resources for the text values and add them into the LWC.
Use a CustomLabel xml file in the LWC to add the text values there.
Use a CustomLabel xml file in the LWC to add the text values there.
Create custom labels for the text values and import them in the LWC.
Create custom labels for the text values and import them in the LWC.
Create a custom Metadata object for the text values and query it in the LWC. Answer: C
Create a custom Metadata object for the text values and query it in the LWC. Answer: C
Suggested answer: C

Explanation:

Use Custom Labels in Lightning Web Components

Custom Labels

Internationalizing Your Lightning Web Component (LWC)

asked 23/09/2024
Hassan Shafi
29 questions

Question 142

Report
Export
Collapse

An administrator has just provided a developer with a new org and username. Which two sets of steps can the developer use to authorize the org and begin deploying Lightning web components?

What should a developer do to expose a public property in a Lightning web component?

Decorate the field with @property
Decorate the field with @property
Decorate the field with @track
Decorate the field with @track
Decorate the field with @public
Decorate the field with @public
Decorate the field with @api
Decorate the field with @api
Suggested answer: D
asked 23/09/2024
Alfredo Gonzalez
34 questions

Question 143

Report
Export
Collapse

A developer has just deployed a new Lightning web component called myNewLwcComp to an authorized org. The developer tries to find the component in the Lighting Page Builder, but it does not come up in searches. Which two steps should the developer take next?

Ensure that the metadata isExposed property is set properly in source code
Ensure that the metadata isExposed property is set properly in source code
Redeploy the component
Redeploy the component
Close the browser and reopen the page
Close the browser and reopen the page
Ensure it has a target of lightning__FlowScreen
Ensure it has a target of lightning__FlowScreen
Suggested answer: A, D
asked 23/09/2024
Najim Abdelmoula
46 questions

Question 144

Report
Export
Collapse

Universal Containers (UC) needs to wrap a Lightning Web Component they have created called 'lwcContainerComponent'' inside an Aura component. Which set of tags is the correct approach?

A)

Salesforce Certified B2B Commerce Developer image Question 144 59621 09232024001811000000

B)

Salesforce Certified B2B Commerce Developer image Question 144 59621 09232024001811000000

C)

Salesforce Certified B2B Commerce Developer image Question 144 59621 09232024001811000000

D)

Salesforce Certified B2B Commerce Developer image Question 144 59621 09232024001811000000

Option A
Option A
Option B
Option B
Option C
Option C
Option D
Option D
Suggested answer: C
asked 23/09/2024
Mikael Klingebrant
30 questions

Question 145

Report
Export
Collapse

How should a developer get the grand total amount, including shipping and tax, for items in the cart and in the currency of the cart, when developing a new Lightning web component for an

Aura storefront cart page?

{!Cart.Details.grandTotal}
{!Cart.Details.grandTotal}
{ICart.Totals.grand Total}
{ICart.Totals.grand Total}
{ICart.Details.Fields.grandTotal}
{ICart.Details.Fields.grandTotal}
{!Cart.Fields.grandTotal}
{!Cart.Fields.grandTotal}
Suggested answer: C
asked 23/09/2024
Ryan Edwards
38 questions

Question 146

Report
Export
Collapse

Which two blocks of code are needed to implement a custom getter in a Lightning web component?

A)

Salesforce Certified B2B Commerce Developer image Question 146 59623 09232024001811000000

B)

Salesforce Certified B2B Commerce Developer image Question 146 59623 09232024001811000000

C)

Salesforce Certified B2B Commerce Developer image Question 146 59623 09232024001811000000

D)

Salesforce Certified B2B Commerce Developer image Question 146 59623 09232024001811000000

Option A
Option A
Option B
Option B
Option C
Option C
Option D
Option D
Suggested answer: A, D
asked 23/09/2024
Scott McNeill
32 questions

Question 147

Report
Export
Collapse

A Northern Trail Qutfitters (NTO) developer made a tile component. To expose a click event and react to user input using the markup below, what should replace <CLICK_EVENT>?

Salesforce Certified B2B Commerce Developer image Question 147 59624 09232024001811000000

tileClick()
tileClick()
{event:tileClick}
{event:tileClick}
javascript:avoid(0);tileClick();
javascript:avoid(0);tileClick();
{tileClick}
{tileClick}
Suggested answer: A
asked 23/09/2024
Rene Claassen
38 questions

Question 148

Report
Export
Collapse

A developer needs to create a scheduled job in another system to move data into the B2B Commerce org. How can the developer do this without additional third party tools?

Install a minimal set of dev tools on a machine such as the Command Line Interface (CLI) and create appropriate scripts to import files containing the data
Install a minimal set of dev tools on a machine such as the Command Line Interface (CLI) and create appropriate scripts to import files containing the data
Set up an SFTP server as a waystation, drop the files there using the off-platform job and schedule a job in-platform to process the file
Set up an SFTP server as a waystation, drop the files there using the off-platform job and schedule a job in-platform to process the file
Set up WebDAV with SFTP as a waystation, drop the files there using the off-platform job and schedule a job in-platform to process the file
Set up WebDAV with SFTP as a waystation, drop the files there using the off-platform job and schedule a job in-platform to process the file
Create a job in the org (on-platform) to drop a file of existing data, Use the off-platform machine to generate a file and identify the details between the two, Push the changes to the org's 'Import' directory
Create a job in the org (on-platform) to drop a file of existing data, Use the off-platform machine to generate a file and identify the details between the two, Push the changes to the org's 'Import' directory
Suggested answer: B
asked 23/09/2024
Thomaz Stepheson
44 questions

Question 149

Report
Export
Collapse

A developer is setting up a storefront from scratch. They need to create a storefront, push store sources, create buyer users, import products, and create and search index.

Which command allows the developer to accomplish this task?

sfdx commerce:store:quickstart:create -templatename 'b2c-lite-storefront'
sfdx commerce:store:quickstart:create -templatename 'b2c-lite-storefront'
sfdx commerce:store:quickstart:setup ---definitionfile store-scratch-def json
sfdx commerce:store:quickstart:setup ---definitionfile store-scratch-def json
sfdx commerce:store:create ---store-name test-store
sfdx commerce:store:create ---store-name test-store
sfdx commerce:store:open ---store-name test-store Answer: B
sfdx commerce:store:open ---store-name test-store Answer: B
Suggested answer: B

Explanation:

store Commands

Build a B2B and B2B2C Commerce Store

asked 23/09/2024
Mark Theeuwes
41 questions

Question 150

Report
Export
Collapse

Northern Trail Outfitters (NTO) wants to be able to reference historical data in another system from the Salesforce user experience as read-only, but does not want to import the data into the org or incur storage costs. What is one product feature that could accomplish this?

Big Objects
Big Objects
Lightning Out
Lightning Out
External Objects
External Objects
External SOQL queries in Apex code
External SOQL queries in Apex code
Suggested answer: C
asked 23/09/2024
C/1094 WOLOGUEDE COTONOU – BENIN STEVE
32 questions
Total 221 questions
Go to page: of 23
Search

Related questions