ExamGecko
Home Home / Salesforce / Certified B2B Commerce Developer

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

Question list
Search
Search

Which two user permissions in addition to View Setup and Configuration are required to bulk create Product data translations via Data Loader?

A.
Import Custom Objects
A.
Import Custom Objects
Answers
B.
B2B Commerce Super User
B.
B2B Commerce Super User
Answers
C.
Create and set up Experiences
C.
Create and set up Experiences
Answers
D.
Manage Translations
D.
Manage Translations
Answers
Suggested answer: A, D

Explanation:

To bulk create product data translations via Data Loader, permissions beyond View Setup and Configuration are necessary. 'Import Custom Objects' permission is required to import bulk data into Salesforce, including translations for custom objects. 'Manage Translations' permission is essential for managing translation workbench settings and importing/exporting translation files, which is crucial for handling product data translations.

Which of these is a key pattern leveraged when building Lightning Web Components? 39m 36s

A.
Composition
A.
Composition
Answers
B.
Inventory
B.
Inventory
Answers
C.
Juggling
C.
Juggling
Answers
D.
Normalization
D.
Normalization
Answers
Suggested answer: A

Explanation:

Composition is a key pattern in building Lightning Web Components (LWCs). This approach involves creating small, reusable components that can be assembled to form more complex interfaces. This pattern promotes modularity, reusability, and maintainability in the development of web components, aligning with web standards and best practices.

What does the developer need to implement to override Shipping in Checkout? 38m 04s

A.
sfdc_commerce.CartShippingCharges
A.
sfdc_commerce.CartShippingCharges
Answers
B.
sfdc_commerce ShippingCharges
B.
sfdc_commerce ShippingCharges
Answers
C.
sfdc_checkout.ShippingCharges
C.
sfdc_checkout.ShippingCharges
Answers
D.
sfdc_checkout.CartShippingCharges
D.
sfdc_checkout.CartShippingCharges
Answers
Suggested answer: D

Explanation:

To override shipping charges during the checkout process, the developer needs to implement a specific interface, likely sfdc_checkout.CartShippingCharges. This interface would allow for custom logic to calculate and apply shipping charges based on the cart's contents and other criteria, ensuring flexibility and accuracy in handling shipping costs within the checkout flow.

How can a developer bring in a checkout flow step to another sequence order?

A.
drag and drop checkout Screens in main checkout flow
A.
drag and drop checkout Screens in main checkout flow
Answers
B.
drag and drop subflows in main checkout flow
B.
drag and drop subflows in main checkout flow
Answers
C.
Adjust next-state in previous subflow configuration
C.
Adjust next-state in previous subflow configuration
Answers
D.
Reorder step in checkoutSteps.xml
D.
Reorder step in checkoutSteps.xml
Answers
Suggested answer: C

Explanation:

In Salesforce B2B Commerce, to reorder a checkout flow step within a sequence, a developer must adjust the 'next-state' attribute in the configuration of the preceding subflow. This approach allows for dynamic control over the sequence of checkout steps without needing to modify the structure of the main checkout flow itself. The Salesforce B2B Commerce documentation outlines how checkout flows are constructed and how subflows can be managed and resequenced through configuration adjustments, providing a flexible and maintainable way to customize the checkout experience.

Which three considerations should a developer keep in mind when creating a tax provider?

A.
What events to fire in the Lightning Web Component
A.
What events to fire in the Lightning Web Component
Answers
B.
Whether to use JSON or XML
B.
Whether to use JSON or XML
Answers
C.
Success criteria
C.
Success criteria
Answers
D.
Whether an AppExchange package already exists
D.
Whether an AppExchange package already exists
Answers
E.
How to handle errors
E.
How to handle errors
Answers
Suggested answer: B, C, E

Explanation:

When creating a tax provider in Salesforce B2B Commerce, developers should consider the data format (JSON or XML) for interoperability with the tax service, define clear success criteria to ensure accurate tax calculations, and implement robust error handling to manage exceptions and failures gracefully. Salesforce B2B Commerce documentation emphasizes the importance of these considerations for integrating external services, ensuring reliability and consistency in tax calculations across different jurisdictions and scenarios.

Which technique is used by Lightning Web Components to provide areas of swappable, customizable content?

A.
<slot> elements
A.
<slot> elements
Answers
B.
JQuery templates
B.
JQuery templates
Answers
C.
MutationObservers
C.
MutationObservers
Answers
D.
CSS classes
D.
CSS classes
Answers
Suggested answer: A

Explanation:

Lightning Web Components (LWC) use <slot> elements to define areas within the component's template where content can be inserted dynamically. This feature, part of the Web Components standard, allows for the creation of customizable and reusable components. Salesforce developer documentation on LWC outlines the use of slots to build flexible component interfaces, enabling developers to design components that can adapt to various content structures and layouts.

What is one requirement to keep in mind when including additional JavaScript 1h files in a Lightning Web Component?

A.
The files must be ES6 modules and must have names that are unique within the component's folder.
A.
The files must be ES6 modules and must have names that are unique within the component's folder.
Answers
B.
Only five of the files can be used with an import statement
B.
Only five of the files can be used with an import statement
Answers
C.
All the files must be imported to a singleton.js file and the singleton.js file can be used with an import statement
C.
All the files must be imported to a singleton.js file and the singleton.js file can be used with an import statement
Answers
D.
Only one of the files can be used with an import statement
D.
Only one of the files can be used with an import statement
Answers
Suggested answer: A

Explanation:

When including additional JavaScript files in a Lightning Web Component, it is required that these files are ECMAScript 6 (ES6) modules and have unique names within the component's folder. This ensures proper module resolution and avoids namespace conflicts. Salesforce LWC documentation provides guidelines on organizing component resources, including JavaScript modules, to ensure they are correctly recognized and utilized within the LWC framework.

Which tool is used to retrieve and manipulate Salesforce data in a Lightning Web Component?

A.
Aura requests
A.
Aura requests
Answers
B.
Wire adapters
B.
Wire adapters
Answers
C.
Proxy adapters
C.
Proxy adapters
Answers
D.
XHR requests
D.
XHR requests
Answers
Suggested answer: B

Explanation:

In Lightning Web Components, wire adapters are used to retrieve and manipulate Salesforce data. Wire adapters abstract the underlying data access mechanism, providing a declarative way to access Salesforce data and metadata. Salesforce documentation on LWC and the @wire decorator details how wire adapters can be used to connect components to Salesforce data sources, including standard and custom objects, facilitating reactive data binding and efficient data retrieval.

How can a developer make an integration available for selection?

A.
Modify the StoreIntegrated Service to map to an Apex class id usingworkbench
A.
Modify the StoreIntegrated Service to map to an Apex class id usingworkbench
Answers
B.
Enter the integration class name and version in Store Administration
B.
Enter the integration class name and version in Store Administration
Answers
C.
Create a RegisteredExternalService record using Workbench
C.
Create a RegisteredExternalService record using Workbench
Answers
D.
The integration is available once it is uploaded
D.
The integration is available once it is uploaded
Answers
Suggested answer: C

Explanation:

To make an integration available for selection in Salesforce B2B Commerce, a developer must create a RegisteredExternalService record. This can be accomplished using tools like Workbench, which allow for direct interaction with Salesforce's backend database. By registering the external service, the integration becomes selectable within the B2B Commerce setup, allowing it to be associated with specific stores or contexts. Salesforce documentation on integrating external services with B2B Commerce provides step-by-step instructions on registering these services to enable seamless integration and functionality within the platform.


Which three statements are accurate?

A.
An Aura component can contain another Aura component
A.
An Aura component can contain another Aura component
Answers
B.
An Aura component can contain a Lightning Web Component
B.
An Aura component can contain a Lightning Web Component
Answers
C.
A Lightning Web Component can contain an Aura component
C.
A Lightning Web Component can contain an Aura component
Answers
D.
A Lightning Web Component cannot contain an Aura component
D.
A Lightning Web Component cannot contain an Aura component
Answers
Suggested answer: A, B, D

Explanation:

Salesforce documentation clarifies the interoperability between Aura and Lightning Web Components (LWCs). An Aura component can indeed contain another Aura component, as well as a LWC, allowing for a mix of component technologies in a single application. However, due to the architectural and design principles of LWCs, a LWC cannot contain an Aura component. This is because LWCs are designed to be lightweight and leverage web standards, which makes them not fully compatible with the older Aura component framework in terms of containment.

Total 221 questions
Go to page: of 23