A fully updated 2021 B2C-Commerce-Developer Exam Dumps exam guide from training expert TrainingDump [Q40-Q60]

Share

A fully updated 2021 B2C-Commerce-Developer Exam Dumps exam guide from training expert TrainingDump

Provides complete coverage of every objective on exam and exam preparation B2C-Commerce-Developer

NEW QUESTION 40
Universal Containers created a site export file from staging in the global export directory. How should the Digital Developer update their sandbox using this staging site export file?

  • A. Use the Site Development > Site Import & Export Business Manager module.
  • B. Use the Site Development > Import & Export Business Manager module.
  • C. Perform a data replication from staging.
  • D. Download the site export file and use UX Studio to transfer the data to the sandbox.

Answer: A

 

NEW QUESTION 41
A Digital Developer wants pass control to an ISML template from a JavaScript Controller and load product on the pipeline dictionary with the name myProduct.
Which code sample will achieve this?

  • A. ISML.renderTemlpate ( "helloworld.isml", { myProduct: product });
  • B. ISML.renderTemlpate ( "helloworld.isml", { "myProduct": "product" });
  • C. ISML.renderTemlpate ( "helloworld.isml", { product: myProduct });
  • D. ISML.renderTemlpate ( "helloworld.isml", { "product": myProduct });

Answer: B

 

NEW QUESTION 42
Business Manager has the configuration:
* Active Log category is "root"
* Log level of WARN
The code below is executing:
var log = Logger.getLogger("products");
Using this information, which two logs will be written? (Choose two.)

  • A. log.error("This is an error message");
  • B. log.info("This is an info message");
  • C. log.warn("This is a warn message");
  • D. log.debug("This is a debug message");

Answer: B,C

 

NEW QUESTION 43
A developer wants to create in Business Manager extension with the cartridge named plugin_vm_extension.
Which two steps should the developer take for the extension option to show up in Business Manager?Choose 2 answers:

  • A. Add plugin_bm_extension to the cartridge path under Storefront cartridge site path.
  • B. Activate a new code version for the Business Manager Site.
  • C. Add plugin_bm_extension to the cartridge path under business manager cartridge site
  • D. Add the appropiate roles and permission to the user to view the business manager extension.

Answer: B,C

Explanation:

 

NEW QUESTION 44
A Digital Developer noticed that cartridges in their workspace are NOT executing. The Developer confirms that the cartridges are uploaded to the B2C Commerce server connection's target version directory.
Which action potentially solves this problem?

  • A. Set the server connection's target version directory to the active code version.
  • B. Set the active code version to use the latest compatibility mode.
  • C. Remove invalid characters from the code version's name.
  • D. Remove invalid characters from cartridge file and folder names.

Answer: A

Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC3/index.jsp?topic=%
2Fcom.demandware.dochelp%2FSiteDevelopment%2FCodeDeployment.html

 

NEW QUESTION 45
The developer created a new Storefront category in storefront-catalog-m-en, but when viewing the Storefront site, the category is not visible.
What are two possible reasons?

  • A. The category is not sorted
  • B. The category is offline.
  • C. The Storefront catalog is offline
  • D. The category does not contain available products

Answer: B,D

 

NEW QUESTION 46
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: test.demandware.com/dw/shop products \I1355?client_id=aaa...
  • B. http: ''www.test.com/s/test-site/sfc/shop products M1355?client_id=aaa...
  • C. http: test.demandware.netstest-sitedwshop v!8_3 productsM1355?client_id=aaa...
  • D. https:7www.test.com/dw/shop. vl8_3. products M1355?client_id=aaa...

Answer: C

 

NEW QUESTION 47
A Digital Developer must resolve a performance issue with product tiles. The Developer determines that the product tiles are NOT being cached for a long enough period.
Which two methods can the Developer use to verify the cache settings for the product tiles? (Choose two.)

  • A. View the product list page cache settings provided in the Administration > Manage Sites Business Manager module.
  • B. View the cache information provided by the Merchant Tools > Technical Reports Business Manager module.
  • C. Enable cache information in the storefront toolkit and view the cache information for the product tile.
  • D. Enable the template debugger to verify the cache times for the producttile.isml template.

Answer: A,C

 

NEW QUESTION 48
A Digital Developer adds the following line of code to a script.

The code executes without error; however, the log file on disk does NOT contain the log message.
Which two actions should be completed to write the log message to disk? (Choose two.)

  • A. Ensure that the debug log level is enabled to write to file in the Custom Log Settings Business Manager module.
  • B. Ensure that the debug log level has been added to the custom log level types in the Global Preferences business manager module.
  • C. Archive old log files to make room in the log directory.
  • D. Ensure that the "login" category is added to the Custom Log Filters in the Log Settings Business Manager module.

Answer: B,C

 

NEW QUESTION 49
A digital instance has one site, with one master product catalog separate from the site catalog. Some, but NOT all, products in the master catalog are assigned to categories of the site catalog.

  • A. Use the Catalog Export module to export the site catalog.
  • B. Use the Site Import & Export module to export the master catalog, filtered by site catalog categories to export specific products.
  • C. Use the Catalog Export module to export the master catalog, with a category-assignment search to export specific products.
  • D. Using Business Manager, how can a Digital Developer create a catalog export file that contains only the products assigned to the site catalog?
  • E. Use the Site Import & Export module to export both the site catalog and the master catalog in a single archive.

Answer: B

 

NEW QUESTION 50
A Digital Developer has created a new PaymentForm controller that requires communication with the server and must be made using the HTTPS protocol.
Which code sample should the Developer use to make sure that HTTPS is used?

  • A. exports.PaymentForm = guard.ensure(['http\ 'post', 'loggedln'], handlePaymentForm);
  • B. exports.PaymentForm = guard.expose(['post', 'loggedln'], handlePaymentForm);
  • C. exports.PaymentForm = guard.ensure(['https', 'post', 'loggedln'], handlePaymentForm);
  • D. exports.PaymentForm = guard.httpsPost(handlePaymentForm);

Answer: C

 

NEW QUESTION 51
Which code sample is required to use a custom tag provided in SiteGenesis in an ISML template?

  • A. Option D
  • B. Option B
  • C. Option A
  • D. Option C

Answer: B

 

NEW QUESTION 52
Given the following ISML example, how should a developer reference the product object in the current iteration of the basket?
<isloop items ="${pdict.Basket.products}" var="product" status= "loopstatus">
...
</isloop>

  • A. product
  • B. pdict.product
  • C. pdict.Basket.products{loopstatus}
  • D. loopstatus.product

Answer: A

 

NEW QUESTION 53
A Digital Developer selects "Show Orderable Products Only" in the Search > Search Preferences Business Manager module.
Which business goal does this accomplish?

  • A. Block displaying the product detail page if Available to Sell (ATS) = 0.
  • B. Exclude pre-order products from search results.
  • C. Exclude back-ordered products from showing on the website.
  • D. Exclude products from search results if Available to Sell (ATS) = 0.

Answer: D

 

NEW QUESTION 54
A developer is implementing new Page Designer content on a merchant's Storefront and adds the line below to the setupContentSearchfunction in the searchHelpers.jsfile.
apiContentSearchModel.setFilteredByFolder(false);
What does this achieve?

  • A. Allows filtering Page Designer pages by folder
  • B. Prevents filtering Page Designer pages by folder
  • C. Prevents Page Designer pages from being searchable
  • D. Allows Page Designer pages to be searchable

Answer: A

 

NEW QUESTION 55
Given a B2C Commerce client with these specifics:
* Sells in two different countries: US and IN
* Uses only the English language
A developer has a requirement to add a new field to the IN registration form that must not appear in the US one.
Which path should be created to accomplish this requirement?

  • A. cartridge/forms/profile_in.xml
  • B. cartridge/forms/en_IN/profile.xml
  • C. cartridge/forms/profile_en_IN.xml
  • D. cartridge/forms/in/profile.xml

Answer: B

 

NEW QUESTION 56
A Digital Developer selects "Show Orderable Products Only" in the Search > Search Preferences Business Manager module.
Which business goal does this accomplish?

  • A. Block displaying the product detail page if Available to Sell (ATS) = 0.
  • B. Exclude pre-order products from search results.
  • C. Exclude back-ordered products from showing on the website.
  • D. Exclude products from search results if Available to Sell (ATS) = 0.

Answer: D

Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=%
2Fcom.demandware.dochelp%2FSearchandNavigation%
2FExcludeUnavailableProductsfromSearchResults.html

 

NEW QUESTION 57
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. Create and use a new controller debug configuration.
  • B. Modify the debugger configuration and use the existing pipeline debugger.
  • C. Create and use a new script debug configuration.
  • D. Use the existing pipeline debugger.

Answer: B

 

NEW QUESTION 58
A Digital Developer is working on a multi-site realm. A new site requires a different layout for the account landing page. The business logic and data model remain the same. The existing code is in AccountControl.js and accountlanding.isml in the app_storefront cartridge. The app_storefront cartridge contains code for all other business functions. The cartridge path for the new site is currently int_cybersource:int_paypal:app_storefront.
The Developer creates a new cartridge named app_newsite that contains only the accountlanding.isml template for the new site.
Which modification should be made to the new cartridge path?

  • A. Set the cartridge path so that app_newsite is after app_storefront.
  • B. Set the cartridge path so that app_storefront is before int_cybersource.
  • C. Set the cartridge path so that app_newsite is before app_storefront.
  • D. Set the cartridge path to include only app_newsite.

Answer: B

 

NEW QUESTION 59
The following code ensures that an address ID CANNOT be used if it is already in use by another address in the customer's address book. There is a problem with the code. The error message for an invalid address ID is never shown to the user on the form field.

How should the Digital Developer resolve this issue so that the error message is displayed on the address ID form field?

  • A. addressForm.addresssid.invalidateFormElement = true;
  • B. addressForm.invalidateFormElement("addressid");
  • C. addressForm.invalidateFormElement(addressForm.addressid);
  • D. addressForm.addresssid.invalidateFormElement();

Answer: C

 

NEW QUESTION 60
......

Tested Material Used To B2C-Commerce-Developer: https://www.trainingdump.com/Salesforce/B2C-Commerce-Developer-practice-exam-dumps.html

Steps Necessary To Pass The B2C-Commerce-Developer Exam: https://drive.google.com/open?id=1-y4P-f89YKdG68TLpqDRT35GbbB5GH01

 

0
0
0
0