ExamGecko
Home Home / Salesforce / Certified B2B Commerce Administrator

Salesforce Certified B2B Commerce Administrator Practice Test - Questions Answers

Question list
Search
Search

List of questions

Search

A new B2B Commerce deployment has been pushed to productionand is lacking basic reports like Orders by Date and Total Orders. What is the fastest way for an Administrator to provide immediate Value?

A.
Download two new templates from Salesforce Labs.
A.
Download two new templates from Salesforce Labs.
Answers
B.
Make two new reports using the report builder.
B.
Make two new reports using the report builder.
Answers
C.
Install the commerce reports under Commerce Setup.
C.
Install the commerce reports under Commerce Setup.
Answers
D.
Download two new templates from AppExchange
D.
Download two new templates from AppExchange
Answers
Suggested answer: C

Explanation:

According to the [Commerce Reports] page, commerce reports are a set of reports and dashboards that provide insights into your B2B Commerce performance and metrics. Commerce reports include standard reports like orders by date and total orders. If a new B2B Commerce deployment has been pushed to production and is lacking basic reports like orders by date and total orders, the fastest way for an administrator to provide immediate value is to install the commerce reports under Commerce Setup. Commerce Setup is a tool that allows you to install commerce reports and other components for your B2B Commerce site. To install commerce reports under Commerce Setup, you need to do the following steps:

Navigate to Commerce Setup in CC Admin.

Click on Install Reports in the Components section.

Confirm that you want to install commerce reports and wait for the process to complete. Therefore, option C is correct. Options A, B, and D are false because downloading two new templates from Salesforce Labs or AppExchange or making two new reports using the report builder are not the fastest ways to provide immediate value for basic reports like orders by date and total orders. They are alternative ways that require more time and effort than installing commerce reports under Commerce Setup.Reference:[Commerce Reports], Commerce Reports Overview; [Commerce Setup], Commerce Setup Overview

Which two places can the administrator go to set up variation products using the B2B commerce apps navigation menu?

A.
Products
A.
Products
Answers
B.
Commerce setup
B.
Commerce setup
Answers
C.
Entitlement Policies
C.
Entitlement Policies
Answers
D.
Product Workspace
D.
Product Workspace
Answers
E.
Catalogs.
E.
Catalogs.
Answers
Suggested answer: A, D

Explanation:

According to theProduct Variations and Attributespage, product variations and attributes are features that allow you to create and manage products that have different versions or options, such as size, color, style, etc. Product variations and attributes can be set up using the B2B Commerce app navigation menu in two places: Products and Product Workspace. Products option allows you to access the product list view, where you can create, edit, delete, clone, or import/export products. Product Workspace option allows you to access the product workspace, where you can view and edit product details, such as name, description, status, visibility, category, image, etc. You can also add product variations and attributes in the product workspace by using the Variation Grouping tab or the Guided Setup tab. Therefore, options A and D are correct. Options B, C, and E are false because Commerce Setup, Entitlement Policies, and Catalogs are not places where you can set up product variations and attributes using the B2B Commerce app navigation menu. Commerce Setup option allows you to install components for your B2B Commerce site, such as reports, dashboards, sample data, etc. Entitlement Policies option allows you to manage entitlement policies for your B2B Commerce site, such as minimum order quantity, maximum order quantity, reorder frequency, etc. Catalogs option allows you to manage catalogs and catalog assignments for your B2B Commerce site. Catalogs are collections of products that are available for a store or a reorder portal.Reference:Product Variations and Attributes, Product Variations and Attributes Overview

In which context does a checkout flow need to run?

A.
System Context Without Sharing- Enforces record Level Access
A.
System Context Without Sharing- Enforces record Level Access
Answers
B.
System Context With Sharing- Enforces RecordLevel Access
B.
System Context With Sharing- Enforces RecordLevel Access
Answers
C.
System Context Without Sharing- Access All Data
C.
System Context Without Sharing- Access All Data
Answers
D.
User or System Context- Depends on How Flow is Launched
D.
User or System Context- Depends on How Flow is Launched
Answers
Suggested answer: B

Explanation:

According to theCheckout Flowpage, checkout flow is a feature that allows you to customize the steps and actions that occur when a user places an order on your B2B Commerce site. Checkout flow is a type of flow that runs in the system context with sharing-enforces record level access. System context with sharing-enforces record level access means that the flow runs with the permissions of the Salesforce system user but respects the sharing rules of your org. This ensures that the flow can access all the necessary data and functionality for checkout but also respects the security and visibility settings of your org. Therefore, option B is correct. Options A, C, and D are false because they are not the context in which a checkout flow needs to run. System context without sharing-enforces record level access means that the flow runs with the permissions of the Salesforce system user but ignores the sharing rules of your org. This could result in data leakage or unauthorized access during checkout. System context without sharing-access all data means that the flow runs with the permissions of the Salesforce system user and has access to all data in your org regardless of sharing rules or field-level security. This could result in data leakage or unauthorized access during checkout. User or system context-depends on how flow is launched means that the flow runs with either the permissions of the user who launched it or the permissions of the Salesforce system user depending on how it was triggered. This could result in inconsistent or unpredictable behavior during checkout.Reference:Checkout Flow, Checkout Flow Overview

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

Which command allows the developer to accomplish this task?

A.
sfdx commerce:store:quickstart:create -templatename 'b2c-lite-storefront'
A.
sfdx commerce:store:quickstart:create -templatename 'b2c-lite-storefront'
Answers
B.
sfdx commerce:store:quickstart:setup ---definitionfile store-scratch-def json
B.
sfdx commerce:store:quickstart:setup ---definitionfile store-scratch-def json
Answers
C.
sfdx commerce:store:create ---store-name test-store
C.
sfdx commerce:store:create ---store-name test-store
Answers
D.
sfdx commerce:store:open ---store-name test-store
D.
sfdx commerce:store:open ---store-name test-store
Answers
Suggested answer: B

Explanation:

To set up a storefront from scratch, the developer can use the sfdx commerce:store:quickstart:setup command, which performs all the necessary steps to create a storefront, push store sources, create buyer users, import products, and create and search index. The command requires a definition file that specifies the store name, template name, and other parameters. For example, a store-scratch-def.json file could look like this:

{ ''storeName'': ''test-store'', ''templateName'': ''b2c-lite-storefront'', ''orgName'': ''Test Org'', ''edition'': ''Developer'', ''features'': [''Communities'', ''B2BCommerce''], ''settings'': { ''communitiesSettings'': { ''enableNetworksEnabled'': true } } }

The developer can then run the command as follows:

sfdx commerce:store:quickstart:setup ---definitionfile store-scratch-def.json

This will create a test-store storefront using the b2c-lite-storefront template in a scratch org named Test Org with Developer edition and B2B Commerce features enabled. The other options are not correct because:

sfdx commerce:store:quickstart:create -templatename 'b2c-lite-storefront' is an invalid command. There is no quickstart:create command in sfdx commerce:store.

sfdx commerce:store:create ---store-name test-store is a valid command, but it only creates a storefront with a default template. It does not push store sources, create buyer users, import products, or create and search index.

sfdx commerce:store:open ---store-name test-store is a valid command, but it only opens an existing storefront in a web browser. It does not set up a storefront from scratch

Northern Trail Outfitters (NTO) exports Order Summary data from its org. A developer launches Data Loader, selects Order Summary, clicks the Select All Fields button, and clicks

Finish. Custom fields are defined in the Cart and Order Summary objects and successfully mapped from Cart to Order Summary during checkout. However, all three custom fields in the Order Summary are empty in the export file.

What is the most likely cause?

A.
There was a misspelling in one of the custom fields.
A.
There was a misspelling in one of the custom fields.
Answers
B.
The developer does not have access to the fields.
B.
The developer does not have access to the fields.
Answers
C.
The Cart to Order action does not support the mapping of custom fields.
C.
The Cart to Order action does not support the mapping of custom fields.
Answers
D.
The developer can export Order Summary records only by using Data Export Service.
D.
The developer can export Order Summary records only by using Data Export Service.
Answers
Suggested answer: B

Explanation:

One possible reason for the custom fields in the Order Summary to be empty in the export file is that the developer does not have access to the fields. Data Loader respects the sharing and security settings of Salesforce objects and fields. Therefore, if the developer does not have access to view or edit the custom fields in the Cart and Order Summary objects based on their profile or role permissions, the fields will not be included in the export file. The other options are not likely causes because:

A misspelling in one of the custom fields would not affect the mapping from Cart to Order Summary or the export of Order Summary data. It would only affect the display of the field label or API name.

The Cart to Order action does support the mapping of custom fields as long as certain patterns are followed.To be automatically mapped, the custom field needs to exist in the Cart, Order and OrderSummary objects and have the same API name, supported data type and field configuration1.

The developer can export Order Summary records by using Data Loader or Data Export Service. Data Loader is a client application that can export data for one or more standard or custom objects. Data Export Service is a web-based tool that can export data for all objects in an org on a weekly or monthly basis.

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?

A.
Big Objects
A.
Big Objects
Answers
B.
Lightning Out
B.
Lightning Out
Answers
C.
External Objects
C.
External Objects
Answers
D.
External SOQL queries in Apex code
D.
External SOQL queries in Apex code
Answers
Suggested answer: C

Explanation:

One product feature that could allow NTO to reference historical data in another system from the Salesforce user experience as read-only, without importing the data into the org or incurring storage costs, is External Objects. External Objects are similar to custom objects, except that they map to data that's stored outside your Salesforce org. External Objects let you access data from external sources in real time via web service callouts. You can use External Objects to integrate Salesforce with other systems and create relationships with other Salesforce objects. You can also use standard Salesforce features such as global search, lookup relationships, reports, and dashboards with External Objects. The other options are not correct because:

Big Objects are a type of custom object that can store and manage massive amounts of data on the Salesforce platform. Big Objects do not reference external data sources, but rather store data within the org. Big Objects also incur storage costs based on the number of records and fields.

Lightning Out is a feature that lets you run Lightning components outside of a Lightning Experience container. Lightning Out does not reference external data sources, but rather embeds Lightning components into other web pages or apps.

External SOQL queries in Apex code are a way to query external data sources using SOQL syntax. External SOQL queries do not reference historical data from another system, but rather current data from a connected app. External SOQL queries also require importing data into the org via Apex code.

Northern Trail Outfitters (NTO) has a requirement to schedule a reusable data import across 05m 06s 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?

A.
Dataloader.io
A.
Dataloader.io
Answers
B.
Bulk Import Using Command Line Interface
B.
Bulk Import Using Command Line Interface
Answers
C.
Commerce Product Data Import
C.
Commerce Product Data Import
Answers
D.
Data Import Wizard
D.
Data Import Wizard
Answers
Suggested answer: C

Explanation:

Commerce Product Data Import is a tool that allows developers to import product data from a CSV file into the B2B Commerce Cloud platform. It supports importing data for related objects, such as ProductCatalog, ProductCategory, Product2, and ProductCategoryProduct, while preserving their relationships. It also supports scheduling the import process to run at a specified time or frequency, which can be useful for demo purposes. Commerce Product Data Import does not require any additional licenses or third-party tools to use.Reference:

Import Products

Commerce Product Data Import

Which two scoped modules should a developer import in Lightning web components to check 04m 595

user permissions?

A.
@salesforce/customPermission
A.
@salesforce/customPermission
Answers
B.
@salesforce/userPermission
B.
@salesforce/userPermission
Answers
C.
@salesforce/hasPermission
C.
@salesforce/hasPermission
Answers
D.
@salesforce/permission
D.
@salesforce/permission
Answers
Suggested answer: A, C

Explanation:

To check user permissions in Lightning web components, a developer can import two scoped modules: @salesforce/customPermission and @salesforce/hasPermission. The @salesforce/customPermission module allows the developer to access the custom permissions assigned to the current user. The @salesforce/hasPermission module allows the developer to check if the current user has a specific permission, such as View Setup or Customize Application. These modules can be used to conditionally render or enable components based on the user's permissions.Reference:

[Check User Permissions in Lightning Web Components]

[Custom Permissions]

[User Permissions and Access]

A developer needs to create an event listener on a parent component 04m 49s programmatically. With the script below, what should replace the text

<EVENT_LISTENER_LINE>?

A.
this.template.addEventListener(this.handleNotification);
A.
this.template.addEventListener(this.handleNotification);
Answers
B.
this.template.addEventListener('notification', this.handleNotification);
B.
this.template.addEventListener('notification', this.handleNotification);
Answers
C.
this.template.addEventListener(handleNotification);
C.
this.template.addEventListener(handleNotification);
Answers
D.
addEventListener('notification, this.handleNotification);
D.
addEventListener('notification, this.handleNotification);
Answers
Suggested answer: B

Explanation:

The correct answer is B. this.template.addEventListener('notification', this.handleNotification); because the event listener needs to be created on the parent component programmatically. The event listener should be added to the template of the parent component, and the event type should be 'notification'. The event listener should also have a callback function, which is handleNotification in this case.Reference: [Create a Lightning Web Component]

What is the purpose of connectedCallback in a Lightning web component? ''04m 385.

A.
It performs actions when a network request is made.
A.
It performs actions when a network request is made.
Answers
B.
It perform actions when a component makes a call to a Connect APL.
B.
It perform actions when a component makes a call to a Connect APL.
Answers
C.
It performs actions when a component is removed from the DOM.
C.
It performs actions when a component is removed from the DOM.
Answers
D.
It performs actions when a component is added to the DOM.
D.
It performs actions when a component is added to the DOM.
Answers
Suggested answer: D

Explanation:

The connectedCallback is a lifecycle hook in Lightning web component. It fires when a component is inserted into the DOM. It runs once when the component is inserted. connectedCallback in Lightning Web Component flows from parent to child.It can be used to perform actions such as initializing variables, fetching data, or setting event listeners1.Reference:connectedCallback() and disconnectedCallback(),connectedCallback() in Lightning Web Component,What is connectedCallback in LWC?

Total 256 questions
Go to page: of 26