最新の2023年03月06日試験エンジン練習問題B2C-Commerce-Developer最新の有効問題集を提供中です [Q55-Q79]

Share

最新の2023年03月06日試験エンジン練習問題B2C-Commerce-Developer最新の有効問題集を提供中です

試験解答はB2C-Commerce-Developer最新版テストエンジンをタダで提供します


Salesforce B2C-Commerce-Developer 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • Given A Performance Issue And Sample Code, Determine The Faulty Cache Configuration And Identify The Cause
トピック 2
  • Given A Specification And A Sandbox Instance, Configure OCAPI Permissions For Data And Shop Apis
トピック 3
  • Given A Sandbox Instance And Eclipse IDE, Install UX Studio And Upload Code To The Sandbox Environment
トピック 4
  • Persistent Object Attributes To Ensure That Localized Pages Are Displayed As Expected
  • Identify The Issues And Modify The Code To Conform To Best Practices Including Performance & Scalability
トピック 5
  • Given A Requirement And A Simple Service Specification, Integrate And Deploy Using Service Framework
  • Use OCAPI Shop And Data Apis To Enable Interoperability With An External System
トピック 6
  • Implement And Enhance Templates, Form Definitions, Static Files, Properties Files
  • Extend Functionality With A Hook That Is Not Previously Defined In Hooks
トピック 7
  • Troubleshoot File Synchronization Issues Between UX Studio And The Sandbox Environment
  • Given A Sandbox Instance And UX Studio Connection
トピック 8
  • Given A Sandbox Instance And Data Import Files, Import Files Using Business Manager Import
  • Export Modules
トピック 9
  • Given Business Requirements, Pass Data To A Downstream System; Extend The Storefront To Expose A New Attribute On An Existing System Object Type
トピック 10
  • Given The Code For A Storefront Site, Add The Correct Sequence Of Cartridge Names To The Provided Cartridge Path
トピック 11
  • Given A Business Manager Task, Work With The Product Data Model To Manage Products, Their Categorization, And Associated Inventory
トピック 12
  • Create ISML Templates That Use The Following ISML Functionality: Local Include, Remote Include, Modules, And Components
トピック 13
  • Given Business Requirements, Create A Custom Object Type To Store A Custom Data Type

 

質問 55
A merchant has reported that customers are seeing low stock items at the top of their search results, giving them a subpar customer experience and impacting conversion.
How might this issue be resolved to ensure a better customer journey?

  • A. In Business Manager, set an availability low ranking threshold in Search Preferences.
  • B. In Business Manager, select Show Orderable Products Only at the root level to hide any products that are currently out of stock.
  • C. In Business Manager, enter a higher boost factor for availability in Searchable Attributes.
  • D. Create a job that sets all unavailable products to be hidden. Schedule the job to run hourly to clean up the catalog on a regular basis.

正解: D

 

質問 56
A merchant has a new requirement to accept American Express credit cards on its Storefront. A credit card payment method already exists.
Which step must a developer take in Business Manager to achieve this?

  • A. In Payment Processor, create American Express as a payment type.
  • B. In Payment Methods, enable American Express as a credit card type.
  • C. Add American Express as a Payment Preference in Site Preferences.
  • D. Add American Express into the Order settings in Site Preferences.

正解: B

 

質問 57
A developer needs to show only car accessories when shoppers use the search term car accessories and exclude technology accessories and household accessories.
Given the above requirement, what is the recommended approach using the Search Dictionaries Dashboard?

  • A. Create a Synonym Dictionary entry: car accessories, household, technology.
    Use search mode First Word.
  • B. Create a Common Phrase Dictionary entry: car accessories.
    Use search mode Exact Match.
  • C. Create a Common Phrase Dictionary entry: car accessories, NOT household, NOT technology.
    Use search mode Exact Match.
  • D. Create a Synonym Dictionary entry: car accessories, household, technology.
    Use search mode Exact Match

正解: B

 

質問 58
Which line of code creates a content slot that can be included on homepage.isml to display on the home page?

  • A. <isslot id="my_banner " description="for home page" context="global" context-object="${pdict.CurrentHomePage}"/>
  • B. <isslot id="my_banner " description="for home page" type="global" context="homepage"/>
  • C. <isslot id="my_banner " description="for home page" type="global" context="content" context-object="${pdict.ContentSearchResult.content}"/>
  • D. <isslot id="my_banner " description="for home page" context="global">

正解: D

 

質問 59
An instance has custom logging enabled. The log reaches the file size limit.
What happens in this situation?

  • A. The log file Rolls over and the oldest log messages are overwritten
  • B. Logging is suspended for the day
  • C. The current log file is archived and a new log file is created.
  • D. The log file is deleted and a new log file is created.

正解: B

 

質問 60

Given the above OCAPI definitions, which permission or permissions apply?

  • A. Allows external applications to update coupons
  • B. Allow external applications to create, update, and delete both coupons and coupon codes
  • C. Allows external applications to create coupons
  • D. Allows external applications to create, update, and delete coupons

正解: A

 

質問 61
A developer has these requirements for out-of-stock products:
Save the SKUs of the out-of-stock products that the customer is interested in Save the customer email regardless if the customer is a guest or registered Email the customer when the product is back-in-stock Which step should the developer perform as part of the solution to achieve the requirements?

  • A. Create a new system object type that has a set-of-string type custom attribute for the SKUs and a string for the email field.
  • B. Create a new custom object type that has a set-of-string type custom attribute for the SKUs and a string for the email field.
  • C. Create a new set-of-string type custom attribute to the system object type Profile to save all the SKUs and use the existing email field for the email.
  • D. Create a new set-of-string type custom attribute to the system object type Product to save all the customer email addresses for back-in-stock notification.

正解: D

 

質問 62
Which line of code creates a content slot that can be included on homepage.isml to display on the home page?

  • A. <isslot id="my_banner " description="for home page" context="global" context-object="${pdict.CurrentHomePage}"/>
  • B. <isslot id="my_banner " description="for home page" type="global" context="homepage"/>
  • C. <isslot id="my_banner " description="for home page" type="global" context="content" context-object="${pdict.ContentSearchResult.content}"/>
  • D. <isslot id="my_banner " description="for home page" context="global">

正解: D

解説:
References:

 

質問 63
Given the file structure below, which ISML method call renders the customLandingPage template?

  • A. ISML('content/custom/customLandingPage');
  • B. ISML.renderTemplate('content/custom/customLandingPage');
  • C. ISML.renderTamplate('cartridge/templates/default/content/custom/customLandingPage');
  • D. ISML.render('content/custom/customLandingPage');

正解: B

解説:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC4/index.jsp?topic=%
2Fcom.demandware.dochelp%2FDWAPI%2Fscriptapi%2Fhtml%2Fapi%2Fclass_dw_template_ISML.html

 

質問 64
A Digital Developer is working in a sandbox on a site named -est-site using the domain test.demandware.net.
The Developer needs to compile a url to make an Open Commerce API (OCAPI) request that returns product information.
By default, which URL format is a proper Open Commerce API for Sandbox?

  • A. https:7www.test.com/dw/shop. vl8_3. products M1355?client_id=aaa...
  • B. http: test.demandware.netstest-sitedwshop v!8_3 productsM1355?client_id=aaa...
  • C. http: ''www.test.com/s/test-site/sfc/shop products M1355?client_id=aaa...
  • D. https: test.demandware.com/dw/shop products \I1355?client_id=aaa...

正解: B

 

質問 65
A Digital Developer is working on a project to convert a pipeline to a JavaScript controller. UX Studio has a functioning pipeline debugger configured for the site. Assume the Developer will add a breakpoint to the controller when it is written.
What must be done in order to use the debugger with the new controller when it is written?

  • A. Modify the debugger configuration and use the existing pipeline debugger.
  • B. Create and use a new script debug configuration.
  • C. Create and use a new controller debug configuration.
  • D. Use the existing pipeline debugger.

正解: A

 

質問 66
A NewsletterSubscription custom object exists that has a key attribute named email of type String and the following script code.

However, the NewsletterSubscription custom object is not persisted.
What is a possible reason?

  • A. The code shown is the wrong syntax. The correct syntax is:
  • B. The code shown need to be wrapped in a transaction.
  • C. The code shown needs to be wrapped in a try/catch block.

正解: B

 

質問 67
A Digital Developer has identified that the code segment below is causing performance problems.

What should the Developer do to improve the code?

  • A. Avoid using an Iterator and use a Collection instead.
  • B. Avoid post-processing and use the isOnSaleFlag attribute as a search refinement.
  • C. Breaks the process into separate loops.
  • D. Use a system attribute instead of the isOnSaleFlag custom attribute.

正解: C

 

質問 68
A job executes a pipeline that makes calls to an external system.
Which two actions prevent performance issues in this situation? Choose 2 answers

  • A. Configure a timeout for the script pipelet.
  • B. Use synchronous import or export jobs
  • C. Use asynchronous import or export jobs.
  • D. Disable multi-threading.

正解: A,C

 

質問 69
A developer is asked to improve the maintainability of a page by reducing its code repetition.
What are two techniques the developer should implement to achieve this? (Choose two.)

  • A. Embed partial files using ISML expressions
  • B. Implement template decorators paired with replace tags
  • C. Require and render templates with <isscript> tags
  • D. Use local template includes

正解: A,C

 

質問 70
Which line of code creates a content slot that can be included on homepage.isml to display on the home page?

  • A. <isslot id="my_banner" description = "for home page" context="global" context- object="${pdict.CurrentHomePage}"/>
  • B. <isslot id="my_banner" description = "for home page" context="global">
  • C. <isslot id="my_banner" description = "for home page" type="global" context="content" context- object="${pdict.ContentSearchResult.content>"/>
  • D. <isslot id="my_banner" description = "for home page" type="global" context="homepage"/>

正解: B

 

質問 71
A merchant has a content slot on a page that currently displays products based on the top sellers for the current week. The merchant wants to change this functionality. They want to have the slot render a specific content asset so that the content experience is more personalized to the visitors.
Which two actions are necessary to make this change?

  • A. Change the default setting AND the rendering template in the slot configuration.
  • B. Change the rendering template in the slot configuration AND delete the existing content slot to create a new one.
  • C. Change the content type AND the rendering template in the slot configuration.

正解: C

 

質問 72
A developer working on a simple web service integration is asked to add appropriate logging to allow future troubleshooting.
According to logging best practices, which code should the developer write to log when an operation succeeds, but has an unexpected outcome that may produce side effects?

  • A. Logger.error('Unexpected service response')
  • B. Logger.debug('Unexpected service response')
  • C. Logger.info('Unexpected service response')
  • D. Logger.warn('Unexpected service response')

正解: D

 

質問 73
The developer has been given the following business requirement:
The shipping method, Free Standard Ground Shipping' has an exclusion for products *lth category equals or is child of electronics-televisions.' The marketing department has scheduled a sale offering a "Free Standard Ground Shipping" method for brand XyzTv televisions for the next 3 months.
What method accomplishes this while following best practices?

  • A. Extend the code in cartridge/models/shipping/shippingMethod.js using module, super Module and add an exception for the specified brand.
  • B. Extend the CheckoutShippingservices controller using module.superModule and add an exception for the specified brand
  • C. Create an allow list for the existing shipping method by adding a product exclusion for 'brand equals XyzTV" to the exclusion list for "Free Standard Ground Shipping."

正解: C

 

質問 74
A developer wants to embed a link to a content page from within the body of another content asset. the target content asset ID is: about-us Which option represents the correct format to use?

  • A. $url('Content_Show', 'about-us')$
  • B. $url(''page-Show,''cid'', about-us')$
  • C. $url('Content-Page', cid 'about-us;)$

正解: B

 

質問 75
Given the customer basket described below:
* A customer has an existing basket that consists of multiple items.
* One of the items is identified as a gift ítem by an attribute at the product line ítem.
The developer needs to write custom code to fetch the customer basket and then modify the basket based upon the items in the cart. If the basket contains any gift items, modify the basket and create a separate shipment for the gift item.
Four hooks are required to make the modification, beginning with modifyGETRespone and ending with validatebasket.
* Dw.ocapi.shop.basket.modifyGETResponse
* -- missing hook -
* -- missing hook --
* dw.ocapi.shop.basket.validateBasket
What are the two missing hooks in the middle?

  • A. dw.ocapi.shop.basket.shipment.afterDELETE
  • B. dw.ocapi.shop.baskep.shopment.beforePOST
  • C. dw.ocapi.shop.basket.shipment.beforePATCH
  • D. dw.ocapi.shop.basket.shipment.beforeDELETE

正解: B,C

解説:
Estos indican antes de actualizar y antes de introducir

 

質問 76
The following sample code is NOT providing the desired results. The Digital Developer needs to add an entry to the logs to debug the problem.

Which statement correctly adds a log entry?

  • A. Logger.exception('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
  • B. Logger.getErrorLog().log('Unable to find Apple Pay payment instrument fororder.'+paymentInstruments);
  • C. Logger.fault('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
  • D. Logger.error('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);

正解: A

 

質問 77
A Digital Developer added a file named MyBusinessController.js in the cartridge named app_project. The project design calls for this new file to override MyBusinessController.js in client_project. The client_project cartridge contains other necessary functionality. Additional functionality is also included in the storefront_core and storefront_controllers cartridges.
Which cartridge path meets the project requirements?

  • A. app_project:client_project:storefront_controllers:storefront_core
  • B. app_project:storefront_controllers:storefront_core
  • C. client_project:app_project:storefront_controllers:storefront_core
  • D. storefront_core:storefront_controllers:client_project:app_project

正解: A

 

質問 78
Server.get('Show', consentTracking.consent, cache.applyDefaultCache, function (req,res,next){ Var Site = require('dw/system/Syte"); Var pageMetaHelpter = require('*/cartridge/scripts/helpers/pageMetaHelper'); pageMetaHelpter.setPageMetaTags(req.pageMetaData, Site.current); res.render('/home/homePage'); Missing code here
}, pageMetadata.computedPageMetadata);
The controller endpoint code snippet above does not work.
Which line of code should the developer use to replace line 6 and correct the problem?

  • A. req.next();
  • B. return res;C. res.next();
  • C. next();

正解: C

 

質問 79
......

B2C-Commerce-Developer試験問題集で無料サンプルは365日更新されます:https://www.goshiken.com/Salesforce/B2C-Commerce-Developer-mondaishu.html