Which object type can a developer import using the Merchant Tools > Import $ Export module in Business Manager?
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, what will be written to the log?
A Digital Developer wants to selectivelyretrieve products and process them from an iPhone.
Which action should the Developer take, given that JavaScript controllers CANNOT be used?
A developer is configuring Payment Methods on astorefront. Which of the following considerations should be kept in rmnd while configuring payment methods,
A Storefront is designed so that multiple pages share a common header and footer layout.
Which ISML tag should a developer use on the templates for these pages to avoid code repetition in the most effective way?
Given the requirements:
To show the washing Instructions for a clothing product on a dedicated section the detail page
Washing instructions come from the product Information manager (PIM)
To have this attribute available to localize in the Storefront
Which action must these requirements?
The developer is asked to enhance the functionality of an existing controller route by adding information to the response's viewData.
How should thedeveloper approach this task while following SFRA best practices?
A Digital Developer has detected storefront pages being rendered with an error message. After inspecting the log files, the Developer discovered that an enforced quota is being exceeded.
What action should the Developer take to stop the quota violation?
Below is a form definition snippet from the newsletter.xml file:
Which line of code creates a JSON object to contain the form data?
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 merchant has asked their development team to add a new site.
Which two tasks are essential for correct site configuration prior to launch?
Choose 2 answers
A developer is implementing new Page Designer content on a merchant's Storefront and adds the line below to
What does this achieve?
Universal Containers specifies a new category hierarchy for navigating thedigital commerce storefront. A Digital Developer uses Business Manager to manually create a catalog with the specified category hierarchy, then uses the Products & Catalogs > Import & Export module to export the catalog as a file.
How can other Developerswith sandboxes on the same realm create the same catalog in their own sandboxes?
Given the requirements:
• To show the washing instructions for a clothing product on a dedicated section the detail page
• Washing instructionscome from the product information manager(PIM)
• To have this attribute available to localize in the Storefront.
Which action meets these requirements?
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 Digital Developer needs to store information temporarily and decides to create a custom object.
Which code creates a custom object?
A client that sells sport shows wants to allow its customers to filer products based on the intended activity (such as tennis, jogging, basketball, etc.) but this particular information is not present in the current catalog.
Which two actions does a developer need to perform in a B2C Commerce instance to allow this two happen?
A developer has a requirement to display a banner in two different category pages.
Which snippet of code should the developeradd to a template to allow the merchant to configure each independently?
A)
B)
C)
A Digital Developer is working on a projectto 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 developer uses hooks for an extension point. Which n true for running multiple hooks for an extension point?
A retailer notices that the Account Addresses page is showing the wrong shopper’s address.
Which tool should the developerstart with to identify the issue?
A developer is tasked with implementing the necessary code for a new Page Designer component.
What are the two purposes of the JSON metadata definition file that the developer creates7
Choose 2 answers
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 client has a requirement to allow users on the Storefront to filter by a newly created attribute.
After creating the search refinement, what else is necessary to achieve this?
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 storedare:
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?
An instance has custom logging enabled. The log reaches the file size limit.
What happens in this situation?
A developer is given a task to implement a new Page Designer layout component that doesn’t accept
certain asset components.
How should the developer achieve the above task?
A developer wants to use an external application to manage their stores information (such as opening
hours, and so on), and see their changes in their B2C Commerce Staging instance aas son as they are
saved.
What is the appropriatetechnique the developer should perform to allow the merchant to create a new
store in this scenario?
A developer needs to show only car accessories when shoppers use the search term car accessories and
exclude technology accessories and household accessories.
Given the above requirement, what is the recommended approach using the Search Dictionaries
Dashboard?
A developer is writing a server side script that needs to maintain state across calls. The persistent
information needed includes these items.
• The current customer
• Whether or not the customer is authenticated
• The privacy attributes (such as tracking consent or cookie policy)
Which technique should the developer use to maintain state in an efficient and scalable manner that
follows best practice?
Given the following conditions:
Site export file with a copy of the Storefront data for a custom site
Sandbox with the custom site code, but no Storefront data
Requirement for a working copy of SFRA for development reference
A developer is assigned the following Business manager tasks:
A) Import the custom Site using Site Import/Export
B) Import the SFRA Demo Sites using Site Import/Export
C) Rebuild the custom Site search indexes
In what sequence should the developer perform the tasks, so that the custom Site displays the products as intended?
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.)
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 beginningof the filename in which the log will be written?
A Digital Developer is inspecting the weekly service status report for a critical internally-hosted web service used inthe application and notices that there are too many instances of unavailability.
Which two solutions are possible options to reduce the unavailability of the service? (Choose two.)
A developer working on a simple web service integration is asked toadd 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 retailer notices that the Account Addresses page is showing the wrong shopper's address.
Which toolshould the developer start with to identify the issue?
In order to implement site custom functionality, a developer creates a new cartridge.
Which step should the developer take to ensure their cartridge changes take effect?
A client uses tax tables in Business Manager to calculate tax. They recently started shipping to a new
country, Italy, and the taxi s not being calculated correctly on the Storefront
What is the likely problem?
A developer is is configuring Shipping Methods on a storefront. Which of the following considerations must be kept in mind while configuring shipping methods.
To ensure SFRA best practices and protect against request forgery, the developer introduced CSRF token
generation in the customer address form:
To implement CSRF protection when the form is submitted, the developer needs to introduce the CSRF
validation using one or both of these methods as applicable:
validateRequest
validateAjaxRequest
Where in the code does the developer need to add this CSRF validation check?
A developeris importing edits for two different sites into the same sandbox, and is provided with four different files.
Which two XML files should the developer import using the site-specific Merchant Tools import modules,
instead of the Administration section import modules?
Choose 2 answers.
Given the sandbox with:
Service configured and assigned to its profile and credential
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 ofcalls per second.
Which configuration should the developer perform?
A Digital Developer is asked to optimize controller performance by lazy loading scripts as needed instead of loading all scripts at the start of the code execution.
Which statement should the Developer use to lazy loadscripts?
A developer cannot create a custom object in Business Manager because the attributes do not show. The developer can view the object but not the attributes.
Whichaction should the developer take to resolve the problem?
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?
Universal Containers calls thefollowing 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 stepin Business Manager to create “The Basics” as a combination?
A developer is working on a new site for the U.S based on an existing Canadian site. One of the
requirements is a change to the address form. The current Canadian form has an
correct two-letter abbreviation for the provinces.
The U.S. requirements are to:
Have an
province field.
Set the U.S site locale.
Add the options list field definition to the XML file.
How should the developer set up the files before making the required edits?
A Digital Developer adds the following line of code to a script.
The code executes without error; however, the log file on disk does NOTcontain the log message.
Which two actions should be completed to write the log message to disk? (Choose two.)
A merchant asks a developer to create a CachePartition for the home page, so that when the home page
is edited, only the home page is cleaned.
Given the above requirement, where should the developer create that partition in Business Manager?
A developer has a requirement to adda new field to the IN registration from that must not appear in the US one.
Which path should be created to accomplish this requirement?
A new product has been added to the Storefront catalog that 15 assigned to a site
Which configuration does a developer need to ensure to have a new product visible in the Storefror
Which of these situations is anappropriate use of the B2C Commerce OCAPIs?
A merchant has reported that customers are seeing low stock items at the top of their search results, giving them a subpar customer experience and impacting conversion.
How might this issue be resolved to ensure a better customer journey?
A developer set up a newsite with Taxation: Net. However, the business requirements changed and the
site now needs to be Taxation:Gross. The Business Manager interface does not give this option.
Which sequence of steps is necessary to change the site to gross taxation?
Reference the following code snippets that allow a form to function correctly.
Which code should a developer insert at the EXPRESSION placeholder m the ISML template snippet above to have the form work as expected?
A Newsletter controller contains the following route:
Server.post(‘Subscribe’, function (req,res,next){
var newsletterForm = server.forms.getForm(‘newsletter’);var CustomObjectMgr = require(‘dw/object/CustomObjectMgr’);
if(newsletterForm.valid){
try{
var CustomObject =
CustomObjectMgr.createCustomObejct(‘NewsletterSubscription’, newsletterform.email.value);
CustomObject.custom.firstName = newsletterForm.fname.value;
CustomObject.custom.lastName = newsletterForm.lname.value;-
} catch(e){
//Catch error here
}
}
next();
});
Assuming the Custom Object metadata exists, why does this route fail to render the newsletter template
when the subscription form is correctly submitted?
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 2 answers
A Digital Developer has been given a specification to integrate with aREST API for retrieving weather conditions. The service expects parameters to be form encoded.
Which service type should the Developer register?
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 developer wants to add a link to the My Account Page.
Whatis the correct code to accomplish this?