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. Add American Express as a Payment Preference in Site Preferences
B. Add American Express into the Order settings in Site Preferences
C. In Payment Methods, enable American Express as a credit card type
D. In Payment Processor, create American Express as a payment type
Business Manager has the configuration:
1.
Active Log category is "root"
2.
Log level of INFO
The code below executes.
var log = Logger.getLogger("products", "export");
log.info("This is important information");
Using this information, what is the beginning of the filename in which the log will be written?
A. custom-products
B. products
C. custom-export
D. info-export
A developer needs to display a products list of their "Women Dresses" category in a new web application, independent of their main B2C Commerce site. This custom listing page needs to be styled differently from the existing one, as per marketing requirements.
Which B2C Commerce tool should the developer use to collect the necessary information?
A. The existing category's endpoint to perform a REST call
B. The ProductSearch resource of the Shop OCAPI
C. The iframe of the existing category page
D. The Search-Show Controller URL to perform a web crawl
Given a B2C Commerce client with these specifics:
1.
Sells in two different countries: US and IN
2.
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_en_IN.xml
B. cartridge/forms/profile_in.xml
C. cartridge/forms/in/profile.xml
D. cartridge/forms/en_IN/profile.xml
A developer needs to check for product inventory in all inventory lists using the Open Commerce API.
An example request URL is:
http://refarch.demandware.net/dw/data/v18_3/inventory_lists/ecom-inventory/ product_inventory_records/00883408601
Which property should the developer check in the OCAPI settings to confirm the appropriate resource is enabled?
A. client_id
B. resource_id
C. methods
D. ecom-inventory
Given the sandbox with:
1.
Service configured and assigned to its profile and credential
2.
A code version that uses that service
And given the requirement to limit the number of success or error calls the code can perform to a restricted number of calls per second.
Which configuration should the developer perform?
A. Set the service as limited and change the services profile site preferences with the required values
B. Set a new quota limit for the service profile with the required values
C. Set the rate limiter in the service profile and configure its values with the ones required
D. Set a new quota limit for the service profile and assign the service to it
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
var logger = Logger.getLogger("loggerFile", "category1.eu" ); logger.warn("This is a log message");
What is the result?
A. Logs will be written to the log file with a prefix 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 custom-loggerFile.
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. Copy the code from the original route to a new controller route, and change it.
B. Override the route with new functionality.
C. Extend the route with new functionality.
D. Change the controller route with new functionality.
A developer receives a product image that needs to be uploaded to the catalog. What should the developer use to upload this image?
A. Products and Catalogs module of Business Manager
B. Sites/Impex WebDAV Directory
C. Content Image Import module of Business Manager
D. Site Development Import and Export module of Business Manager
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 times. 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 Available to Sell (ATS) flag for the product set.
C. Check the perpetual flag in the product inventory record.
D. Set StockLevel = maxAllocation for the product.