B2B-Commerce-Developerリアルな試験問題B2B-Commerce-Developer練習問題集 [Q16-Q33]

Share

B2B-Commerce-Developerリアルな試験問題B2B-Commerce-Developer練習問題集

厳密検証されたB2B-Commerce-Developer試験問題集と解答で無料提供のB2B-Commerce-Developer問題と正解付き


Salesforce B2B-Commerce-Developer 試験は、Salesforce認定B2Bコマース開発者になりたい個人のスキルと知識をテストするために設計されています。この認定は、個人がSalesforce B2Bコマースプラットフォームを使用してB2B eコマースソリューションを設計、開発、実装するために必要な基本的なスキルと専門知識を持っていることを検証します。この試験では、データモデリング、サイト設計と開発、統合、セキュリティなど、幅広いトピックがカバーされます。

 

質問 # 16
Which out of the box Salesforce B2B Commerce page can give instructions to web crawlers from accessing specific Salesforce B2B Commerce pages?

  • A. CCSiteIndex
  • B. CCCat?SiteMap
  • C. cc_RobotsTxT
  • D. CCPage

正解:C

解説:
The out of the box Salesforce B2B Commerce page that can give instructions to web crawlers from accessing specific Salesforce B2B Commerce pages is cc_RobotsTxt. This is a Visualforce page that generates a robots.txt file, which is a text file that tells web crawlers which pages or files they can or can't request from a site. The page uses the configuration settings CO.RobotsTxtAllow and CO.RobotsTxtDisallow to specify which paths are allowed or disallowed for web crawlers. For example, User-agent: * Disallow: /CCCart will instruct web crawlers to not access the CCCart page. Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Robots.txt File


質問 # 17
Where is the API-based record creation generally handled in Salesforce B2B Commerce?

  • A. In the methods available in extension hooks
  • B. Logic classes that implement the businesslogic for create operations
  • C. The service-layer responsible for the entity
  • D. Data creation is not allowed

正解:C

解説:
The API-based record creation is generally handled in the service-layer responsible for the entity in Salesforce B2B Commerce. The service-layer is a set of classes that provide methods for interacting with the data layer and performing business logic. Each entity, such as product, cart, or order, has a corresponding service class that handles the create, read, update, and delete operations for that entity. For example, ccrz.ccServiceProduct provides methods for creating and retrieving products. Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Service Classes


質問 # 18
What is a valid way of referencing the global cc_api_CartExtentsion apex class via subscriber code?

  • A. ccrz.cc_api_CartExtension
  • B. c__cc_api_CartExtension
  • C. ccrz__cc_api_CartExtension
  • D. cloudcraze.cc_api_CartExtension

正解:A


質問 # 19
How is a price group dynamically set?

  • A. By extending the ccApiPriceList API
  • B. By extending the cc_hk_priceing hook
  • C. By overriding the ccLogicProductPrice class
  • D. By using contract pricing

正解:B

解説:
A price group can be dynamically set by extending the cc_hk_pricing hook. This hook allows modifying the price group based on various factors, such as the user, cart, product, or storefront. For example, the hook can apply a different price group for a specific product category or for a specific user segment.


質問 # 20
Numerous flags, when set, have a direct impact on the result set provided by the Global API's.
What is the default Global API DataSizing convention flag that is used by the API's unless otherwise specified?

  • A. CCRZ.ccPAI.SZ_S
  • B. CCRZ.ccPAI.SZ_M
  • C. CCRZ.ccPAI.SZ_XL
  • D. CCRZ.ccPAI.SZ_L

正解:D


質問 # 21
The ccUtil apex class in Salesforce B2B Commerce provides numerous utility functions that can be leveraged in subscriber classes. Which command will return the value in the given Map if found or a default value in the event that the Map is null, empty, or an object is not found for that key?

  • A. ccrz.ccUtil.defaultValue(Map<String.Object> mp, String key , Object ob)
  • B. ccrz.ccUtil.... (Map<String.Object> mp, String key, Object ob)
  • C. ccrz.ccUtil.defv (Map<String.Object> mp, String key , Object ob)
  • D. ccrz.ccUtil.defVal (Map<String.Object> mp, String key, Object ob)

正解:C


質問 # 22
What are the templating, Javascript, and CSS frameworks what the cloudcraze managed package leverages?

  • A. Bootstrap, Backbonejs, and handlebarsjs
  • B. Angularjs, react.js, and handlebarsjs
  • C. Angularjs, Backbonejs, and handlebarsjs
  • D. Bootstrap, Angularjs, and Backbonejs

正解:A

解説:
The templating, JavaScript, and CSS frameworks that the cloudcraze managed package leverages are Bootstrap, Backbone.js, and Handlebars.js. Bootstrap is a CSS framework that provides responsive design and layout components. Backbone.js is a JavaScript framework that provides models, views, collections, and events for building single-page applications. Handlebars.js is a templating engine that allows generating HTML from JSON data. Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Front-End Development


質問 # 23
In which three ways should useful debugging information in Salesforce B2B Commerce implementation be garnered? (3 answers) A) Enabling the logging token via

  • A. Enabling debugging options for the current user and visually inspecting the Salesforce debug logs.
  • B. Admin andsubsequently inspecting the logs via the browser console.
  • C. Placing a System.debug() statement anywhere in the class being debugged.
  • D. Logging a case with Salesforce support to enable advanced debugging options.
  • E. Logging into the community as a system administrator to identify any potential permissions or Visualforce exceptions.

正解:A、B、E

解説:
Useful debugging information in Salesforce B2B Commerce implementation can be garnered in three ways:
Enabling the logging token via Admin and subsequently inspecting the logs via the browser console. This will enable logging messages and errors to the browser console, which can be viewed by opening the Developer Tools in the browser. The logging token can be enabled by setting the value of CO.logToken to true in CCAdmin.
Enabling debugging options for the current user and visually inspecting the Salesforce debug logs. This will enable logging messages and errors to the Salesforce debug logs, which can be viewed by opening the Debug Logs page in Salesforce Setup. The debugging options can be enabled by creating a Debug Level and a Trace Flag for the current user in Salesforce Setup.
Logging into the community as a system administrator to identify any potential permissions or Visualforce exceptions. This will allow viewing any errors or warnings that may occur on the community pages due to insufficient permissions or Visualforce issues. The system administrator can also access CCAdmin and other tools from within the community. Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Logging, Debug Your Code


質問 # 24
What interface must a developer implement to override Tax in Checkout?

  • A. sfdc.commerce.TaxCalculations
  • B. sfdc_checkout.TaxCalculations
  • C. sfdc.checkout.CartTaxCalculations
  • D. sfdc_commerce.CartTaxCalculations
  • E. sfdc.commerce.CheckoutTaxCalculations

正解:B

解説:
To override tax in checkout, a developer must implement the sfdc_checkout.TaxCalculations interface. The sfdc_checkout.TaxCalculations interface is an Apex interface that provides methods for customizing the tax calculation logic for a cart or an order. The interface allows the developer to define how to retrieve tax rates and rules, how to apply tax amounts and adjustments, and how to handle tax errors and exceptions. The developer can use the sfdc_checkout.TaxCalculations interface to integrate with a third-party tax service provider or to implement their own tax calculation logic. The other interfaces do not exist or are not related to tax calculation. Salesforce Reference: B2B Commerce Developer Guide: Tax Integration, B2B Commerce Developer Guide: Tax Calculations Interface


質問 # 25
A developer needs to implement specific styling for a standard component on a single page of the B2B Commerce store using an Aura template. The component should use the default style on all other pages How should the developer implement the required changes over multiple instances?

  • A. Create a Custom Content Layout Lightning web component that imports the custom CSS file. Set up the page to use this Content Layout.
  • B. Create a Custom Theme Layout Aura component that imports the custom CSS file. Set up the page to use this Theme Layout.
  • C. Use a Custom CSS file in a static resource and add the import using the Edit Head Markup Editor in the Experience Builder.
  • D. Use the Override CSR Editor in the Experience Builder and add the desired CSS to change the styles.

正解:B

解説:
To implement specific styling for a standard component on a single page of the B2B Commerce store using an Aura template, a developer should create a custom theme layout Aura component that imports the custom CSS file and set up the page to use this theme layout. A theme layout is a type of Aura component that defines the header and footer of a page in the storefront. A theme layout can also import custom CSS files from static resources and apply them to the page. A developer can create a custom theme layout Aura component that imports the custom CSS file that contains the specific styling for the standard component and assign it to the page that needs the custom styling. This way, the custom styling will only affect the standard component on that page and not on other pages that use a different theme layout. Using a custom CSS file in a static resource and adding the import using the Edit Head Markup Editor in the Experience Builder is not a valid way to implement specific styling for a standard component on a single page, as it will affect all pages that use the same template. Creating a custom content layout Lightning web component that imports the custom CSS file and setting up the page to use this content layout is not a valid way either, as it will not affect the standard component that is outside of the content layout. Using the Override CSR Editor in the Experience Builder and adding the desired CSS to change the styles is not a valid way either, as it will affect all pages that use the same template. Salesforce Reference: B2B Commerce Developer Guide: Theme Layout Component, B2B Commerce Developer Guide: Content Layout Component, B2B Commerce Developer Guide: Override CSR Editor


質問 # 26
For which two reasons is it preferable to extend the Salesforce B2B Commerce remote invocation object instead of using the standard Salesforce remote action invocation manager (2 answers)

  • A. A standard remote action will not have access to Salesforce B2B Commerce objects.
  • B. Salesforce B2B Commerce includes do not support standard SalesForce remote actions.
  • C. The APEX method called by the remote action will be passed as a Salesforce B2B Commerce context object.
  • D. The Salesforce B2B Commerce logger cannot be utilized in standard remote actions

正解:C、D


質問 # 27
What are three ways to test the value of Page Label on any Salesforce B2B Commerce Community Page? (3 answers)

  • A. Execute (('PAGE_LABEL_NAME')) in the JavaScript console
  • B. Execute CCRZ.pagevars.pageLabels['PAGE_LABEL_NAME') in the JavaScript console.
  • C. Enable the 'display page label names' in cc admin.
  • D. Execute CCRZ.processPageLabelMap('PAGE_LABEL_NAME') in the JavaScript console.
  • E. Access the source HTML for the page via the browser developer tools.

正解:B、C、D


質問 # 28
The ccUtil apex class in Salesforce B2B Commerce provides numerous utility functions that can be leveraged in subscriber classes.
What are two ways to check the input or return data of the Global API's? (2 answers)

  • A. ccrz.ccUtil.isEmpty(Map<String, Object>) and ccrz.ccUtil.isEmpty(List<Object>)
  • B. ccrz.ccUtil.isNotValid(Map<String, Object>) andccrz.ccUtil.isNotValid(List<Object>)
  • C. ccrz.ccUtil.isValid(Map<String, Object>) and ccrz.ccUtil.isValid(List<Object>)
  • D. ccrz.ccUtil.isNotEmpty(Map<String, Object>) andccrz.ccUtil.isNotEmpty(List<Object>)

正解:A、D

解説:
The ccUtil apex class provides two methods to check the input or return data of the Global API's: ccrz.ccUtil.isNotEmpty(Map<String, Object>) and ccrz.ccUtil.isEmpty(Map<String, Object>). These methods return true if the map is not null and contains at least one entry, or if the map is null or empty, respectively. Similarly, ccrz.ccUtil.isNotEmpty(List<Object>) and ccrz.ccUtil.isEmpty(List<Object>) return true if the list is not null and contains at least one element, or if the list is null or empty, respectively. These methods are useful for validating the input parameters or the output results of the Global API's.


質問 # 29
A user wants to have a customized experience for adding items to the cart. The user also wants the mini cart module to reflect changes to the state of the cart afterwords. How should this requirement be fulfilled?

  • A. Trigger the global ;cartChange" event after the Add to Cart Action on the custom button.
  • B. Trigger the global ;cartChange" event and then trigger ;changeMiniCart" event after the Add to Cart Action on the custom button.
  • C. Write a custom Remote Action to refresh the Mini Cart and refresh the Cart Line item count on the Cart Link in the header.
  • D. Leverage the Addto Cart Global API which add items to the cart and also refreshes the page with the new data.

正解:A

解説:
To have a customized experience for adding items to the cart and also update the mini cart module, the requirement can be fulfilled by triggering the global "cartChange" event after the Add to Cart Action on the custom button. This event will notify all the components that are listening to it that the cart has changed and they should refresh their data accordingly. The mini cart module is one of these components, so it will update its state based on the new cart data. Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Events


質問 # 30
Which event is triggered within Salesforce B2B Commerce whenever a cart's statechanges?

  • A. cartChange
  • B. pageMessage
  • C. cart
  • D. cartState

正解:A

解説:
The event that is triggered within Salesforce B2B Commerce whenever a cart's state changes is cartChange. This event is triggered by the updateCart method of the CCRZ.Cart class, which is responsible for updating the cart data and performing any actions that depend on the cart state, such as applying discounts, taxes, or shipping charges. The event can be used to notify all the components that are listening to it that the cart has changed and they should refresh their data accordingly. Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Events, Cart Class


質問 # 31
Which method needs to be implemented when rendering a Salesforce B2B
Commerce view in order to have it called after rendering has finished?

  • A. postRender()
  • B. There are no methods called on the view after rendering has finished
  • C. afterRender()
  • D. onRender()

正解:A

解説:
The method that needs to be implemented when rendering a Salesforce B2B Commerce view in order to have it called after rendering has finished is postRender. This method is an optional hook that can be defined by the user to perform any actions or logic that depend on the view being rendered, such as initializing widgets, binding events, or updating the user interface. The method will be called by the render method of the CCRZ.View class, which is the base class for all views in the framework. Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, View Class


質問 # 32
Which cookie stores the effective account ID when effective account is enabled?

  • A. apex__currCartId
  • B. apex__cc_anonymous_Country
  • C. apex__cclgtkn
  • D. apex__effacc

正解:D

解説:
The cookie that stores the effective account ID when effective account is enabled is apex__effacc. This cookie is set by the cc_hk_EffectiveAccount hook when a user switches to another account that they have access to. The cookie value is the ID of the effective account, which is used to determine the pricing, availability, and visibility of products and categories for that account. Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Effective Account


質問 # 33
......


Salesforce B2B Commerce Developer認定を取得することにより、個人がB2B Commerceソリューションを設計、開発、実装するために必要なスキルと知識を持っていることが証明されます。この認定はまた、Salesforce Commerce Cloudを使用してビジネスプロセスを実装し、カスタムコンポーネントの作成、デバッグ、テスト、および統合などのタスクを実行する能力を個人の能力を検証します。結論として、Salesforce B2B Commerce Developer認定プログラムは、個人がB2B Commerceの開発と実装のスキルを証明し、業界の専門家として認知される素晴らしい機会です。

 

無料でゲット!高評価Salesforce B2B-Commerce-Developer試験問題集を今すぐダウンロード!:https://jp.fast2test.com/B2B-Commerce-Developer-premium-file.html


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어