[Jan 27, 2022] B2C-Commerce-Developer Exam Dumps PDF Updated Dump from Free4Dump Guaranteed Success [Q59-Q84]

Share

[Jan 27, 2022] B2C-Commerce-Developer Exam Dumps PDF Updated Dump from Free4Dump Guaranteed Success

Pass Your Salesforce Exam with B2C-Commerce-Developer Exam Dumps

NEW QUESTION 59
Given a template rendered by a controller with caching and a remote include without caching, which situation applies?

  • A. The page is cached only for returning customers because of the remote include
  • B. The remote include portion is not cached, but the rest of the page is cached
  • C. The page is not cached because the remote include introduces an uncached portion
  • D. Both the remote include portion and the rest of the page are cached

Answer: B

 

NEW QUESTION 60
A business user wants to add a link to a content page from within the body of another content asset. The target content asset ID is: terms-and-conditions.
Which link function generates the correct link?

  • A. $url('Page-Show', 'cid', 'terms-and-conditions')$
  • B. $include('Page-Include', 'cid', 'terms-and-conditions')$
  • C. $httpUrl('Content-Show', 'cid', 'terms-and-conditions')$
  • D. $http('Content-Page', 'cid', 'terms-and-conditions')$

Answer: C

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

 

NEW QUESTION 61
Given the requirements:
* To integrate with an external web service using HTTP requests.
* To create a service for this purpose with the Service framework using the LocalServiceRegistry class.
* To test the service before the external service provider makes the API available.
Which solution allows the developer to satisfy the requirements?

  • A. Create a service and a Sitepreference that induce the service to respond with a mock response using a conditional.
  • B. Create a service and implement the mockFull callback and set the service mode to mock.
  • C. Create two services, one mock and the real one, and a Sitepreference that enable the mock or the real one.
  • D. Create a service and implement the mockFull callback and a sitepreference to enable or disable the mock response.

Answer: D

 

NEW QUESTION 62
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 Storefront catalog is offline
  • B. The category is not sorted
  • C. The category is offline.
  • D. The category does not contain available products

Answer: C,D

 

NEW QUESTION 63
A Digital Developer has a site export file on their computer that needs to be imported into their sandbox.
How should the developer update their sandbox with the data in this file?

  • A. Upload and import the file using the local option within the Site Import & Export Business Manager module.
  • B. Upload the file to the Impex WebDAV directory and import using the Site Import tool within UX Studio.
  • C. Upload the file to the Static WebDAV directory and import using the Import & Export Business Manager module.
  • D. Connect and import the file using the remote option within the Site Import & Export Business Manager module.

Answer: A

 

NEW QUESTION 64
A Digital Developer is working in a sandbox on a site named test-siteusing 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://www.test.com/dw/shop/v18_3/products/M1355?client_id=aaa...
  • B. https://www.test.com/s/test-site/sfc/shop/products/M1355?client_id=aaa...
  • C. https://test.demandware.com/dw/shop/products/M1355?client_id=aaa...
  • D. https://test.demandware.net/s/test-site/dw/shop/v18_3/products/M1355?client_id=aaa...

Answer: D

Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC3/index.jsp?topic=%
2Fcom.demandware.dochelp%2FOCAPI%2Fcurrent%2Fusage%2FAPIExplorer.html

 

NEW QUESTION 65
What happens if the log file size limit is reached in custom logging?

  • A. Logging is suspended for the day.
  • B. The log file rolls over and the last used log is overwritten.
  • C. Logging is suspended for two hours.
  • D. The log file is deleted and recreated from scratch.

Answer: D

 

NEW QUESTION 66
A client has two B2C Commerce sites in the same instance: one for the U.S market, the other for the European market. The products they make are sold with different safety certificates based-on the world location.
For example, they sell a smartphone with certificate A in the U.S and certificate B in Europe, a hairdryer with certificate C in the U.S and certificate D in Europe, and more.
How should a developer allow the merchant to display the appropriate certification logo in the produce to details page, depending on the customer's location?

  • A. Add a Site-specific custom attribute to the Product system object type.
  • B. Ad and Image custom preference to the Sitepreference system object type
  • C. Add a Localizable custom attribute to the Certificate system object type.
  • D. Add a Localizable custom preference to the SitePreference system object type.

Answer: A

Explanation:

 

NEW QUESTION 67
A Digital Developer is tasked with setting up a new Digital Server Connection using UX Studio in their sandbox.
Which three items are required to accomplish this task? (Choose three.)

  • A. Business Manager Password
  • B. Instance Hostname
  • C. Business Manager Username
  • D. Instance Version
  • E. Keystore Password

Answer: A,B,E

Explanation:
Explanation/Reference: https://medium.com/@fsjohnny/lets-develop-with-salesforce-commerce-cloud-part-1-setting-up- your-development-environment-b16044708d09

 

NEW QUESTION 68
A developer customized the Cart-Show controller route with a LINK cartridge that adds social media data.
There is a new requirement to add a dataLayer object to the Cart-Show controller route.
How should the developer achieve this to ensure that no code change will be needed if the client decides to remove the LINK cartridge?

  • A. Append Cart-Show controller route in the client cartridge and add dataLayer object to the viewData variable
  • B. Replace the existing viewData variable with the dataLayer object in the Cart-Show controller route
  • C. Replace the Cart-Show controller route in client cartridge and add dataLayer object to the viewData variable
  • D. Replace the Cart-Show controller route in client cartridge and add dataLayer object to the viewData variable. Ensure that the client cartridge is on the left of the LINK cartridge in cartridge path

Answer: D

 

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

Answer: D

 

NEW QUESTION 70
A Digital Developer has a new requirement to disable the "Discover" credit card type for all checkouts.
What does the Developer need to change in Business Manager to fulfill this requirement?

  • A. Credit card exclusion rules in the CreditCardType.json configuration file.
  • B. Credit cards in the Merchant Tools > Ordering > Payment Methods module.
  • C. Credit card exclusion rules in the Merchant Tools > Site Preferences > Payment Preferences module.
  • D. Checkout exclusion rules in the Merchant Tools > Site Preferences > Checkout Preferences module.

Answer: B

 

NEW QUESTION 71
A Digital Developer is requesting product information for an external integration. The following Open Commerce API (OCAPI) request is NOT functioning correctly:

How should the Developer change the request?

  • A. Change the HTTP method to GET.
  • B. Change the URI to /dw/shop/v18_3/products/creative-zen-v.
  • C. Change the HTTP method to PUT.
  • D. Include an authentication token in the request.

Answer: A

 

NEW QUESTION 72
Assume the code below is executing:

Business Manager has the configuration:
* Active Log category is "root" with log level of "info."
Given this information, what is the beginning of the filename in which the log will be written?

  • A. xyz
  • B. custom-export
  • C. custominfo-blade
  • D. custom-xyz

Answer: D

 

NEW QUESTION 73
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 has been added to the custom log level types in the Global Preferences business manager module.
  • B. Archive old log files to make room in the log directory.
  • C. Ensure that the debug log level is enabled to write to file in the Custom Log Settings Business Manager module.
  • D. Ensure that the "login" category is added to the Custom Log Filters in the Log Settings Business Manager module.

Answer: A,B

 

NEW QUESTION 74
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.fault('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
  • B. Logger.error('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
  • C. Logger.getErrorLog().log('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
  • D. Logger.exception('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);

Answer: D

 

NEW QUESTION 75
Which two methods are efficient and scalable? (Choose two.)

  • A. ProductMgr.queryAllSiteProducts()
  • B. ProductSearchModel.getProductSearchHits()
  • C. Category.getProducts()
  • D. ProductSearchHit.getRepresentedProducts()

Answer: B,C

 

NEW QUESTION 76
Given a customer environment configured with only the en_CA locale and the following new requirements:
* To add a new locale for fr_CA
* To localize the address form with the new locale
* To make the localization usable even for new possible French locales, such as fr_FR And given the portion of form XML definition contained in the form file cartridge/forms/default/ address.xml:

What is the right place to add the fr_CA translation for the country field label?

  • A. /cartridge/templates/resources/fr/forms.properties
  • B. /cartridge/forms/resources/address_fr.properties
  • C. /cartridge/templates/resources/forms_fr.properties
  • D. /cartridge/templates/resources/address_fr_CA.properties

Answer: D

Explanation:
Explanation/Reference:

 

NEW QUESTION 77
What happens if the log file size limit is reached in custom logging?

  • A. Logging is suspended for the day.
  • B. The log file rolls over and the last used log is overwritten.
  • C. Logging is suspended for two hours.
  • D. The log file is deleted and recreated from scratch.

Answer: D

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

 

NEW QUESTION 78
A Digital Developer has been given a requirement to add fault tolerance to an existing web service integration that uses Service Framework. Administrators at Universal Containers need to be able to configure the timeout and rate limiting.
Which approach should the Developer use to implement the requirement?

  • A. Use the setTimeoutmethod to execute fallback code if the request has NOT completed.
  • B. Implement a condition that checks to see if the response was empty and execute fallback code if true.
  • C. Create a site preference to store timeout settings and implement an IOExceptionhandler to execute fallback code.
  • D. Implement a ServiceUnavailableExceptionexception handler to execute fallback code.

Answer: D

Explanation:
Explanation

 

NEW QUESTION 79
Why should a Digital Developer use ProductSearchModel.getProducts() instead of Category.getOnlineProducts()to access products?

  • A. It has fewer lines of code.
  • B. It uses the search index.
  • C. It is more readable code.
  • D. It reduces accesses to the application server.

Answer: D

Explanation:
Explanation/Reference:

 

NEW QUESTION 80
Universal Containers has expanded its implementation to support German with a locale code of de. The current resource bundle is checkout.properties.
To which file should the developer add German string values?

  • A. checkout_de.properties in resources folder
  • B. checkout.properties in the de locale folder
  • C. de_checkout. properties in resources folder
  • D. checkout.properties in the default locale folder

Answer: A

 

NEW QUESTION 81
A Digital Developer wants to selectively retrieve products and process them from an iPhone.
Which action should the Developer take, given that JavaScript controllers CANNOT be used?

  • A. Use OCAPI and invoke it in native language.
  • B. Create a webservice to retrieve products.
  • C. Use WebDAV Client to retrieve products.
  • D. Use import/export in Business Manager.

Answer: C

 

NEW QUESTION 82
A developer wants to add a link to the My Account Page.
What is the correct code to accomplish this?

  • A. <a
    href="${URLUtils.get('Account-Show')}>${Resource.msg('myaccount','account',request.locale())}</a>
  • B. <a href="${URLUtils
    ('Account-Show')}>${ResourceMgr.getPropierties('myaccount','account',null)}</a>
  • C. <a href="${URLUtils.url('Account-Show')}>${Resource.msg('myaccount','account',null)}</a>
  • D. <a href="${url.get('Account-Show')}>${Resource.message('myaccount')}</a>

Answer: C

 

NEW QUESTION 83
A Digital Developer is requesting product information for an external integration. The following Open Commerce API (OCAPI) request is NOT functioning correctly:

How should the Developer change the request?

  • A. Change the HTTP method to GET.
  • B. Change the URI to /dw/shop/v18_3/products/creative-zen-v.
  • C. Change the HTTP method to PUT.
  • D. Include an authentication token in the request.

Answer: A

Explanation:
Explanation

 

NEW QUESTION 84
......

New Real B2C-Commerce-Developer Exam Dumps Questions: https://www.free4dump.com/B2C-Commerce-Developer-braindumps-torrent.html