Verified CCM-101 dumps Q&As 100% Pass in First Attempt Guaranteed Updated Dump from RealVCE
Pass B2C Commerce Developer CCM-101 Exam With 208 Questions
NEW QUESTION # 119
The Client has just acquired a new brand and wants to Integrate the new brand s current ecommerce site into a current realm as a new site. The acquisition has its own Enterprise Resource Planning (ERP) system for product data and inventory. The new site will use the existing realm's Order Management System (OHS) and Customer Relationship Management (CRM) system.
What two requirements does the Architect need to keep in mind when creating the technical specification document?
Choose 2 answers
- A. A new customer export Job must be created to export customers.
- B. A new product Import Job must be created to manage products.
- C. A new inventory Import Job must be created to manage inventory.
- D. A new order export job must be created to export orders.
Answer: B,C
NEW QUESTION # 120
A developer is asked to create a new service instance that will call a remote web service.
Which method should the developer use to create the service instance?
A)
B)
C)
- A. Option C
- B. Option A
- C. Option B
Answer: B
NEW QUESTION # 121
The following promotions are configured with no exclusivity (can be combined with any other promotion) in a -1month campaign:
* Free correct- in -store shipping
* 20% accessories products discount, applies for all customers
* $5 off coupon based discount, sent to a selected group of customers
The combination of above promotions allows customers to get 16 socks for free in store. This was unintended, and the Client If considering disabling the coupon. The Client is concerned about a potential spike in the number of Call Center calls from customers who had the coupon code added to their baskets before it was disabled. As basket lifetime is set to 30 days for all customers, this can continue for the full length of the campaign.
What solution should the Architect suggest to keep the Call Center calls to a minimum?
- A. Disable the coupon code. Restart the production instance from control Center to dear existing baskets.
- B. Disable the coupon code. Clear the production cache from the Business Manager to clear existing baskets.
- C. Disable the coupon code. Reduce the basket lifetime in Business Manager to expire some of the existing baskets
- D. Disable the coupon code. Email all the customers to not use the coupon code in their baskets.
Answer: C
NEW QUESTION # 122
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.warn('Unexpected service response')
- B. Logger.info('Unexpected service response')
- C. Logger.debug('Unexpected service response')
- D. Logger.error('Unexpected service response')
Answer: A
NEW QUESTION # 123
During code review, the Architect found that there is a service call on every visit of the product detail woe (PDP).
What best practices should the Architect ensure are followed for the service configuration?
Choose 2 answers
- A. Service timeout is set.
- B. Service logging is disabled.
- C. Circuit breaker is enabled.
- D. Service mock up call is configured.
Answer: A,C
NEW QUESTION # 124
Given the following snippet:
Server.append( 'Show' , function (req, res, next) )
According to SFRA, which two options shows a correct way to complete the code above in order to provide data to the response using a controller?
Choose 2 answers
- A. res.setViewData ({
data: myDataObject
});
res.render('/content/myPage');
next();
}); - B. res.render('/content/myPage',{
data: myDataObject
});
next();
}); - C. res.render('/content/myPage');
next();
}).append{(
Data:myDataObject
}); - D. res.viewData = {
data: myDataObject
};
res.render('/content/myPage');
next();
});
Answer: B
NEW QUESTION # 125
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."
Answer: C
NEW QUESTION # 126
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 set-of-string type custom attribute to the system object type Product to save all the customer email addresses for back-in-stock notification.
- B. 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.
- C. 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.
- D. 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.
Answer: A
NEW QUESTION # 127
The Client has implemented a different category/search layout for mobile and desktop. The code uses a session attribute called deviceType to choose the corresponding layout. This attribute it populated from the browser user agent. After this implementation they have run into these problems:
* Sometimes desktop pages are being served to both desktop and mobile customers.
* Sometimes mobile pages ate being served to both desktop and mobile customers.
The page has caching implemented that depends; on promotions. SEC is very important and the site traffic is high.
Which solution should the Architect select to resolve the issue without impacting the existing requirements?
- A. Change the URL structure to include desktop and mobile as URL parameters to ensure different cached versions of the page
- B. Create customer groups for desktop and mobile users and uh remote includes based on these groups to render the mobile and desktop pages
- C. Disable caching for these pages to ensure that the correct template is used to render the mobile and desktop pages.
- D. Create customer groups for desktop and mobile users and empty promotions linked to these groups to ensure different cached versions of the page.
Answer: B
NEW QUESTION # 128
A new version of the Page Show controller is required for implementation of Page Deserter specific look. It requires implementation of a specific, cache period for Page Designer pages, which b not currently available in the base Storefront Reference Architecture (SFRA) cache.js module What two steps should the Architect instruct the developer to implement?
Choose 2 answers
- A. Create new Page,js controller in client's cartridge. Extend the code from base and prepend the new cache middleware function to Page-Show route.
- B. Create new ceche,js client's cartridge. Copy cache,js from app_storefront_base and add a function for the Page Designer caching.
- C. Create new Page.js controller in client s cartridge. Copy code from base and modify the Page-Show route to include the new cache middleware function.
- D. Create new cache,js in client's cartridge. Extend cache,js from app_storefront_base and add a function for the Page Designer caching.
Answer: A,D
NEW QUESTION # 129
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 2 answers.
- A. Embed partial files using ISML expressions
- B. Use local template includes
- C. Implement template decorators paired with replace tags
- D. Require and render templates with <isscript> tags
Answer: B,C
NEW QUESTION # 130
In order to build the SFRA code to a developer sandbox for the first time, which build steps should the developer perform for the site to appear and function as designed?
- A. npm run compile:js, npm run compile:scss, npm run compile:fonts
- B. npm run compile:js, npm run compile:html, npm run clean
- C. npm run compile:scss, npm run compile:html, npm run clean
- D. npm run compile:js, npm run compile: scss, npm run compile:html
Answer: A
NEW QUESTION # 131
An ecommerce site has dynamic shipping cost calculation. it allows the customers to see their potential shipping costs on the Product Detail Page before adding an item to the cart.
For this feature, shipping touts are calculated using the following logic:
* Set the shipping method on the Basket
* Add the item to the basket, calculate the basket total and get the shipping cost for this method
* Remove the item from the Basket to restore the original state
* The above process is repeated for each shipping method
During the testing it was discovered that the above code violates the spi.basket.addResolveInSameResquest quota.
What should the Architect do to resolve this issue and maintain the business requirement?
- A. Omit the calculation of shipping cost until the customer is ready to check out and has chosen the shipping method they want to
- B. Wrap the adding of product and shipping cost calculation in a transaction which Is then rolled back to restore the original state
- C. Wrap each Individual step of the process its own transaction Instead of using one transaction for all steps.
- D. Omit the removal of the Item and speed up the process for the customer by adding the product to the basket for them.
Answer: A
NEW QUESTION # 132
A developer has the following files in template/resources:
account.proierties
weight.unit=kilos
account_en.propierties
weight.unit=stones
account_en_US.propierties
weight.unit= pounds
Using the default locale configuration, what is the current outcome of the page that renders the account.isml template snippet below when visiting the Sofrefront with the English for Canada(en_CA) locale= Your parcel weighs 10 ${Resource.msg('weight.unit','account')}
- A. Your parcel weighs 10 kilos
- B. Your parcel weighs 10 undefined.
- C. Your parcel weighs 10 stones.
- D. Your parcel weighs 10 pounds.
Answer: C
NEW QUESTION # 133
In the SFRA Page controller, the following route exists:
The result of navigating to the address below is an error page.
What is the correct way to use this controller route in an ISML template?
A)
B)
C)
- A. Option C
- B. Option A
- C. Option B
Answer: A
NEW QUESTION # 134
Universal Containers wants to change a content slot that is currently configured to display a content asset. Now they want the slot to display the top five selling boxes for the week.
Which two changes need to be made for this to occur? (Choose two.)
- A. Change the slot's configuration content type to "products."
- B. Change the slot's configuration template to the appropriate rendering template.
- C. Change the slot's configuration content type to "recommendations."
- D. Delete the existing content asset.
Answer: B,C
NEW QUESTION # 135
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. Keystore Password
- C. Business Manager Username
- D. Instance Version
- E. Instance Hostname
Answer: B,D,E
NEW QUESTION # 136
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. return res;C. res.next();
- B. next();
- C. req.next();
Answer: B
NEW QUESTION # 137
A merchant wants customers to be able to order gift vouchers via their site. Since they can issue an unlimited number of these digital vouchers, this item should be available to sell at all items.
How can a developer use Business Manager to ensure that the gift vouchers are always available?
- A. Manually set the inventory to a high number.
- B. Check the perpetual flag in the product inventory record
- C. Set StockLevel = maxAllocation for the producto.
- D. Check the Available to Sell (ATS) flag dor the producto set
Answer: B
NEW QUESTION # 138
A developer plans to use the /search_suggestion (Shop API) in a Storefront application and the following property must be set to do so suggestion.product.image:view_type What consideration should the developer in keep in mind to ensure that image data is returned correctly as part of search suggestions?
- A. If the view_type is not set or if the view_type is unknown, the image properties are not part of the response.
- B. If the view_type is not set or if the view_type is unknown, the image size of 'large' is used by default
- C. If the view_type is not set or if the view_type is unknown, the image size of 'small' is used by default
Answer: A
NEW QUESTION # 139
Universal Containers needs to have Apple Pay disabled for the country of Spain.
Which Business Manager module should the Developer use to meet this requirement?
- A. Merchant Tools > Site Preferences > Payment Types
- B. Merchant Tools > Ordering > Payment Methods
- C. Merchant Tools > Site Preferences > Apple Pay
- D. Merchant Tools > Ordering > Payment Processors
Answer: B
NEW QUESTION # 140
A developer working on a multi country site is asked to store country specific data that drives the creation of a country selector. Examples of the data stored are:
* Pricebook to be used
* Image URL for country flag
The data used in staging also applies in production, but only for this site.
Which approach should the developer take to implement these requirements?
- A. Create a replicable, site-specific Custom Object with the custom data for each country.
- B. Extend the Locale System Object to contain the custom data for each country.
- C. Create site-specific content assets to store the data for each country.
Answer: A
NEW QUESTION # 141
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();
- B. addressForm.invalidateFormElement(addressForm.addressid);
- C. addressForm.addresssid.invalidateFormElement = true;
- D. addressForm.invalidateFormElement("addressid");
Answer: A
NEW QUESTION # 142
......
Ultimate Guide to Prepare Free CCM-101 Exam Questions and Answer: https://drive.google.com/open?id=1r4eam4kNslIfCMc8qrg3kLozXIZZpHHq
Pass CCM-101 Tests Engine pdf - All Free Dumps: https://www.realvce.com/CCM-101_free-dumps.html