Try Before You Buy

Download a free sample of any of our exam questions and answers

  • 24/7 customer support, Secure shopping site
  • Free One year updates to match real exam scenarios
  • If you failed your exam after buying our products we will refund the full amount back to you.

The Most In-Demand Salesforce Comm-Dev-101 Pass Guaranteed Quiz [Q22-Q39]

Share

The Most In-Demand Salesforce Comm-Dev-101 Pass Guaranteed Quiz

New Version Comm-Dev-101 Certificate & Helpful Exam Dumps is Online

NEW QUESTION # 22
A merchant requires that an existing section of the Site become editable from the Business Manager, so that they can modify it independently of the developer.
Which of these is an important factor for a developer to consider when choosing the appropriate solution between a content slot and a Page Designer component?

  • A. Only content slot configurations can ve localized for different languages.
  • B. Only Page Designer Components can be localized for different languages.
  • C. Only content slot configurations can be tied to campaigns.
  • D. Only page Designer components can ve tied to campaigns.

Answer: B


NEW QUESTION # 23
A developer has a B2C site and a merchant requirement to add a new locale to it.
What are the steps to enable the locale in the Storefront?

  • A. Create, configure, and activate the locale under Global Preferences section.
  • B. Create and configure the locale under Global Preferences section and activate it in Site Preferences.
  • C. Add an alias for the new locale and then create and configure the locale itself under Global Preferences section.

Answer: B


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

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

Answer: A,C


NEW QUESTION # 25
A client has custom object definition and requirement that occasional data changes in staging also need to exist in production, Which task should the developer perform to meet these requirements when setting up the custom object?

  • A. Create the custom object definition in staging as Replicable
  • B. Create the custom object definition in staging as Shared
  • C. Create two copies of the custom object in staging and set Sharing = True.
  • D. Create the custom object definition in production as Replicable

Answer: A


NEW QUESTION # 26
Universal Containers calls the following combination of products "The Basics" and sells the combination as a unique product ID:
One Model 103 container
Five Model 611 container
Tree Model 201 container
The Developer created these three products in the catalog.
What is the next step in Business Manager to create "The Basics" as a combination?

  • A. In the Products module, create a product named "The Basics" and add the products to the Product Sets tab.
  • B. In the Products module, create a product named "The Basics" and add the products to the Product Bundles tab.
  • C. In the Product Bundles module, create a bundle named "The Basics".
  • D. In the Product Sets module, create a product set named "The Basics".

Answer: B


NEW QUESTION # 27
The developer has been given the following business requirement:
The shipping method, "Free Standard Ground Shipping" has an exclusion for products with '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. Create a new shipping method and label it "Free Standard Ground Shipping". Give it the qualifier 'brand equals XyzTv', and add it to the checkout options.
  • B. Extend the code in cartridge/models/shipping/shippingMethod.js using module.superModule and add an exception for the specified brand.
  • C. Extend the CheckoutShippingServices controller using module.superModule and add an exception for the specified brand.
  • D. Create an allow list for the existing shipping method by adding a product exclusion for 'brand equals XyzTv' to the exclusion list fo<" "Free Standard Ground Shipping."

Answer: C


NEW QUESTION # 28
A developer is given the requirement to add a step to the existing business logic of the registration process. How should the developer modify the route that handles the customer registration?

  • A. Extend the route with new functionality.
  • B. Copy the code from the original route to a new controller route, and change it.
  • C. Change the controller route with new functionality.
  • D. Override the route with new functionality.

Answer: A


NEW QUESTION # 29
A merchant has a requirement to sell a combination of four existing products with a unique product ID.
This collection will be known as 'Our Top Combo', and is base don the merchant's trading information that shows this combination to be in high demand.
What does the developer need to do next to fulfill this requirement?

  • A. Create a Product Set called 'Our Top Combo' and add the products into the set.
  • B. Create a unique produce to called 'Our Top Combo' and add the four products into the Product Bundles
  • C. Create a Content Slot with Content Type = Product and add the four component products into that slot.
  • D. Create a recommendation rule associating the four products as a recommendation group.

Answer: B


NEW QUESTION # 30
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. Ensure that the debug log level is enabled to write to file in the Custom Log Settings 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: A,C


NEW QUESTION # 31
Given a file in a plug-in cartridge with the following code:
'use strict':
Var base = module.superModule;
Function applyCustomCache (req,res,next){
res.CachePeriod = 6; //eslint-disable-line no-param-reassign
res.cachePeriodUnit = 'hours') //eslint-disable-line no-param-reassign
next();
}
Module.exports = base;
Module.exports.applyCustomCache = applyCustomCache;
What does this code extend?

  • A. A controller
  • B. A decorator
  • C. A model
  • D. A middleware script

Answer: A


NEW QUESTION # 32
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. Create a webservice to retrieve products.
  • B. Use import/export in Business Manager.
  • C. Use OCAPI and invoke it in native language.
  • D. Use WebDAV Client to retrieve products.

Answer: D


NEW QUESTION # 33
When exporting a price book from an external system, which file format or formats should a developer use so it can be imported into a B2C Commerce site?

  • A. JSON only
  • B. CSV only
  • C. XML only
  • D. XML and CSV

Answer: A


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

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

Answer: C


NEW QUESTION # 35
A Digital Developer needs to add logging to the following code:

Which statement logs the HTTP status code to a debug-level custom log file?

  • A. logger.getLogger('profile').debug("Error retrieving profile email, Status Code: ", http.statusCode);
  • B. logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
  • C. Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
  • D. Logger.getLogger('profile').debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);

Answer: B


NEW QUESTION # 36
There are three logging categories: category1, category1.eu, and category1.us.
In Business Manager, category1 is enabled for WARN level and no other categories are configured. All custom log targets are enabled.
The code segment below executes.

What is the result'

  • A. Logs will be written to the log file with a prefix custom-loggerFile.
  • B. Logs will not be written.
  • C. Logs will be written to the log file with a prefix customwarn.
  • D. Logs will be written to the log file with a prefix loggerFile.

Answer: A


NEW QUESTION # 37
A retailer notices that the Account Addresses page is showing the wrong shopper's address.
Which tool should the developer start with to identify the issue?

  • A. Reports and Dashboards Module
  • B. Pipeline profiler
  • C. Code Profiler
  • D. Storefront Toolkit

Answer: D


NEW QUESTION # 38
When looking at Custom Object instances for a site, a merchant notices that the creation date is not showing up on the instances in Business Manager.
Where should the developer add this attribute to the Custom Object so it is visible for the merchant to see in Business Manager?

  • A. Assign the current date/time to a new custom attribute, creationDate, via code.
  • B. Mark the existing creation date attribute as visible.
  • C. Add the creation date to the attribute group for the Custom Object.
  • D. Add the creation date to the attributes of the Custom Object.

Answer: D


NEW QUESTION # 39
......

Comm-Dev-101 Free Certification Exam Material with 210 Q&As : https://www.validexam.com/Comm-Dev-101-latest-dumps.html

UPDATED Comm-Dev-101 Exam Questions Certification Test Engine to PDF: https://drive.google.com/open?id=1PrRrjN3XrSF7gdUG7q1SMGcwOqbJCRZ3