SFCC Developer Certification Cartes - Quizlet
SFCC Developer Certification Cartes - Quizlet
SFCC Developer Certification Cartes - Quizlet
Définition
Terme 12 / 68
A developer wants to add a link to the My Account page. What is the correct code to
accomplish this?
B) <a href="${URLUtils.url('Account-Show')}">
A) <a href="${URLUtils('Account-Show')}">
${Resource.msg('myaccount','account',null)}</a>
ResourceMgr.getProperties ('myaccount','account',null) </a>
C) <a href="${url('Account-Show')}">${Resource.msg('myaccount')}</a>
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 1/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer Certification
is importing edits A) Search Settings
Étudier
for a two different sites into D) Promotions
the same sandbox, and is
provided with four different
files.
A) Search Settings
B) Site Jobs
C) System type extensions
D) Promotions
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 2/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer is given a taskCertification
to C) Add component_type_exclusions in the Étudier
layout
implement a new Page json configuration.
Designer layout component
that doesn't accept certain
asset components. How
should the developer achieve
the above task?
A) Add layout_type_exclusion
in the other asset
components json
configuration.
B) Add layout_type_inclusion
in the target components json
configurations.
C) Add
component_type_exclusions
in the layout json
configuration.
D) Add
component_type_inclusion in
the layout json configuration.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 3/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
a form Developer
definition snippet fromCertification
the A) server.forms.getForm('newsletter') Étudier
er.xml file
rsion="1.0"?>
p://www.demandware.com/xml/form/2008-
r.forms.getForm('newsletter')
.forms.getForm('dwfrm_newsletter')
r.form.getForm('newsletter')
r.form.getForm('dwfrm_newsletter')
A) POST form
B) SOAP form
C) HTTP form
D) HTML form
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 4/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
Which two items are Certification
B) Payment gateway service response code
Étudier
appropriate content of C) Order failure information
custom logs implement
checkout? Choose 2 answers
A) Customer's password at
post-checkout sing up
A)
Logger.debug('Unexpected
service response.')
B) Logger.warn('Unexpected
service response.')
C) Logger.info('Unexpected
service response.')
D) Logger.error('Unexpected
service response.')
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 5/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A merchant requires that anCertification
C) Only content slot configurations can beÉtudier
tied to
existing section of the Site campaigns.
becomes editable from the
Business Manager, so that
they can modify it. 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?
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 6/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
Which three configurationsCertification
B) The product is online and searchable.
Étudier
does a developer need to D) The search index is built.
ensure to have a new product E) The Storefront catalog that contains the
visible in the StoreFront? product is assigned to a site.
Choose 3 answers
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 7/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
he SFCC
customerDeveloper
basket describedCertification
below:
C) Étudier
omer has an existing basket that consists of``dw.ocapi.shop.basket.shipment.beforePATCH``
e items.
D)
f the items is identified as a gift item by an ``dw.ocapi.shop.basket.shipment.beforePOST``
e at the product line item.
ocapi.shop.basket.modifyGETResponse``
w.ocapi.shop.basket.validateBasket``
capi.shop.basket.shipment.afterDELETE``
capi.shop.basket.shipment.beforeDELETE``
capi.shop.basket.shipment.beforePATCH``
capi.shop.basket.shipment.beforePOST``
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 8/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
are Developer
three logging categories:Certification
D) Logs will not be written. Étudier
ory1, category1.eu, and category1.us. In
ess Manager, category1 is enabled for
N level and no other categories are
gured. All custom log targets are
ed. The code segment below executes.
gger =
er.getLogger("loggerFile","category1.eu");
is the result?
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 9/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer implements anCertification
C) Change the ``"methods" ``value to: ``"["get",
Étudier
Open Commerce API call to "post"]``.
add products to a basket.
Given the following resource
configuration:
json
"resource_id":"/baskets/**",
"methods":["get"],
"read_attributes":"(**)",
"write_attributes":"(**)"
A) Change the
``"write_attributes"`` value
to: ``("items")``.
D) Change the
``"write_attributes"`` value
to: ``("+items")``.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 10/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
perSFCC
wants to Developer Certification
add a link to the My Account B) <a href="${URLUtils.url('Account-Show')}">
Étudier
at is the correct code to accomplish this?
${Resource.msg('myaccount','account',null)}</a>
="${URLUtils('Account-Show')}">
Mgr.getProperties ('myaccount','account',null)
"${URLUtils.url('Account-Show')}">
e.msg('myaccount','account',null)}</a>
="${url('Account-
{Resource.msg('myaccount')}</a>
="${URLUtils.get('Account-Show')}">
e.msg('myaccount','account',request.locale())}
When inspecting the weekly A) Increase the web service time out.
service status report for a C) Update the service to have a faster response
critical internally hosted web time.
service used in the
application, a developer
notices that there are too
many instances of
unavailability. Which two
solutions can reduce the
unavailability of the service?
Choose 2 answers
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 11/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A client sell its product in Certification
D) Add a Boolean custom attribute to the Store
Étudier
single-brand stores as well as system object.
in multi-brand stores. When
shown in the store locator list,
the client wants single-brand
store to have a particular
background colour to
highlight them. Which
Business Manager action
should be completed to allow
the developer to apply
different styling to the single-
brand stores?
A) Create a new
SingleBrandStore custom
object configuration.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 12/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
A Developer
developer Certification
is asked to write a B) Logger.warn('The current product is {0} with
Étudier
log containing the ID and name {1},myProduct.getID(),
name of the product with a myProduct.getName());
variable named myProduct.
Which snippet of code should
be use?
A) Logger.warn('The current
product is %s with name
%s').context(myProduct.getID(),
myProduct.getName());
B) Logger.warn('The current
product is {0} with name
{1},myProduct.getID(),
myProduct.getName());
C) Logger.warn('The current
product is {0} with name
{1}').context(myProduct.getID(),
myProduct.getName());
D) Logger.warn('The current
product is
${myProduct.getID()} with
name
${myProduct.getName()}');
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 13/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A client uses tax tables in Certification
B) Tax Jurisdiction is missing. Étudier
Business Manager to
calculate tax. They recently
started shipping to a new
country, Italy, and the tax is
not being calculated
correctly on the Storefront.
What is the likely problem?
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 14/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCCcontains
Controller Developer Certification
the following route:
C) The Custom Object creation is not wrapped in
Étudier
a Transaction.
ubscribe', function(req, res, next){
rForm = server.forms.getForm('newsletter');
bjectMgr =
bject/CustomObjectMgr');
orm.valid){
bject =
tMgr.createCustomObject('NesletterSubscription',
m.email.value);
bjectMgr.custom.firstName =
m.fname.value;
bjectMgr.custom.lastName =
m.lname.value;
ewsletter/newslettersuccess');
here
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 15/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
e = require('dw/system/Site');
geMetaHelper =
cartridge/scripts/helpers/pageMetaHelper');
aHelper.setPageMetaTags(req.pageMetaData,
nt);
der('/home/homePage');
MetaData.computedPageMetaData);
res;
t();
t();
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 16/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer is working on Certification
a C) Create a new sub-folder in the forms folder.
Étudier
new site for the U.S. based on Name it en_US. Copy existing "address.xml" file in
an existing Canadian Site. the new folder.
One of the requirements is a
change to the address form.
The current Canadian form
has an <options> list with the
correct two-letter
abbreviation for the
provinces, The U.S.
requirements are to:
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 17/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
file to "address_en_US.xml"
D) <isdecorate> ...
</isdecorate>
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 18/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer needs to showCertification
A) Create a Common Phrase Dictionary entry: "car
Étudier
only "car accessories" when accessories". Use search mode "Exact Match".
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?
C) Create a Synonym
Dictionary entry: "car
accessories, household,
technology". Use search
mode "First Word".
D) Create a Synonym
Dictionary entry: "car
accessories, !household,
!technology". Use search
mode "Exact Match".
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 19/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer is asked to Certification
C) Use local templates includes.
Étudier
improve the maintainability of D) Implement template decorators paired with
a page by reducing its code replace tags.
repletion.
D) Implement template
decorators paired with
replace tags.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 20/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
d code here
_headline = content.text_headline;
text_subline) {
_subline = content.text_subline;
_alignment=content.text_alignment=='Left' ?
er';
related code
experience/components/assests/categorytile').
del).text;
nder = render;
exports.render = render;
exports = server.exports();
exports = render;
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 21/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer Certification
must configure A) client_id
Étudier
permissions for an Open B) resource_id
Commerce API resource on a
sandbox instance that
currently does not have any
permissions configured.
Which two configurations
properties are required to
enable access to the
resource? Choose 2 answers
A) client_id
B) resource_id
C) read_attributes
D) version_range
In order to build the SFRA A) npm run compile:js, npm run compile:scss, npm
code to a developer sandbox run compile:fonts
for the first time, which build
steps should the developer
perform for the site to appear
and function as designed?
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 22/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer Certification
has the following A) Your parcel weighs 10 stones. Étudier
files in "template/resources":
account.properties
weight.unit=kilos
account_en.properties
weight.unit=stones
account_en_US.properties
weight.unit=pounds
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 23/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer Certification
wants to create a A) Add plugin_bm_extension to the cartridge path
Étudier
Business Manager extension under business manager cartridge site path
with the cartridge name B) Add the appropriate roles and permission to
"plugin_bm_extension". Which the user to view the business manager extension.
two steps should the
developer take for the
extension option to show up
in Business Manager? Choose
2 answers.
A) Add plugin_bm_extension
to the cartridge path under
business manager cartridge
site path
C) Add plugin_bm_extension
to the cartridge path under
Storefront cartridge site path.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 24/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer Certification
wants to use an D) A POST request to the Stores Data OCAPI
Étudier
external application to
manage their stores
information (such as opening
hour, and so on) changes in
their B2C Commerce Staging
instance as soon as they are
saved. What is the
appropriate technique the
developer should perform to
allow the merchant to create
a new store in this scenario?
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 25/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
Consider Developer
the following Certification
C) The Search Refinement definition is not Étudier
set up
information:
for the Root category.
· A merchant has this three-tier
category structure setup in
the Storefront catalog.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 26/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A client has two B2C Certification
D) Add a Site-specific custom attribute to the
Étudier
Commerce site in the same Product system object type.
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 product details page,
depending on the customer's
location?
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 27/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
Recent code changes to anCertification
C) Check that the correct code version is Étudier
existing cartridge do not selected.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 28/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
Given a file Developer Certification
in a plug-in cartridge D) A middleware script Étudier
with the following code:
js
'use strict';
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.export.applyCustomCache
= applyCustomCache;
A) A controller
B) A model
C) A decorator
D) A middleware script
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 29/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A client has Certification
a custom object C) Create the custom object definition in staging
Étudier
definition and the as Replicable.
requirement that occasional
data changes in staging also
need to exist in production.
Which task should the
developer perform to meet
this requirement when setting
up the custom object?
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 30/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
lient Developer
wants to Certification
differentiate their D) Pass the "Store" system object to the template,
Étudier
nobrand stores with a especial icon so that custom properties are available.
en shown in the store locator. The
ormation is saved in a true/false
tom attribute for each Store object in
rchant Tools. How should the
veloper follow SFRA best practices to
pose this data for rendering?
A) Slot Configuration
B) Page Template
D) Rendering Template
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 31/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
Which three operations Certification
A) Use the script API to generate data for the
Étudier
should be done in a view.
A) Code Profiler
B) Pipeline Profiler
C) Storefront Toolkit
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 32/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A client that Certification
sells to multiple A) Apple Pay Étudier
countries in Europe needs to
disable Apple Pay for
Denmark. Which Business
Manager module is used to
achieve this requirement?
A) Apple Pay
B) Locale Payments
C) Payment Processors
D) Payment Methods
js
val log =
Logger.getLogger("products",
"export");
log.info("This is important
information");
A) custom-products
B) info-export
C) products
D) custom-export
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 33/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
Given theDeveloper
requirements:
Certification
B) Create a custom attribute on the product
Étudier
· To show the washing system object and set it as localizable.
instructions for a clothing
product on a dedicated
section on the detail page
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 34/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer Certification
set up a new site C) Create a new site with Taxation set to Gross,
Étudier
with Taxation: Net. However, then delete the old site.
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?
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 35/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer cannot createCertification
a D) Create an Attribute Group with the desired
Étudier
custom object in Business attributes in it.
Manager because the
attributes do not show. The
developer can view the
object but not the attributes.
Which action should the
developer take to resolve the
problem?
A merchant asks a developer D) Administration > Sites > Manage Site > Site >
to create a Cache Partition for Cache
the home page, so that when
the home page is edited, only
the home page cache is
cleaned. Given the above
requirement, where should
the developer create that
partition in Business
Manager?
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 36/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
Which three Certification
object types can C) Images and other static assets
Étudier
a developer import using the D) Folders
A) Content Slots
B) Products
D) Folders
E) Content assets
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 37/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer is writing a Certification
B) Use the Session class, and its additional Étudier
class
server side script that needs references and attributes, in the B2C Commerce
to maintain state across call. API.
The persistent information
needed include these items:
A) Use a non-replicable
Custom Object to store the
information temporarily.
B) Use the Session class, and
its additional class references
and attributes, in the B2C
Commerce API.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 38/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
re SFRA bestDeveloper Certification
practices and protect againstB) In the middleware chain on the controller post
Étudier
forgery, the developer introduce CSRF route.
eneration in the customer to the address
action="submit">
{dw.web.CSRFProtection.getTokenName()}"
{dw.web.CSRFProtection.generateToken()}">
eRequest
eAjaxRequest
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 39/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
Given a job Certification
step configured in D) var Status = require('dw/system/Status');
Étudier
the steptype.json that calls a return new Status(Status.OK, 'NO_FILES_FOUND');
script module, a developer
needs to add a custom status
code "NO_FILES_FOUND" in
the script. The status does not
represent an error condition.
Which code snippet will
complete the requirement?
A) this.status =
'NO_FILES_FOUND';
return this;
return status;
C) return 'NO_FILES_FOUND';
D) var Status =
require('dw/system/Status');
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 40/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A merchant Certification
wants customers A) Check the perpetual flag in the productÉtudier
to be able to order gift inventory record.
vouchers via their site. Since
they can issue an unlimited
number of these digital
vouchers, this item should be
available to sell at all time.
How can a developer use
Business Manager to unsure
that the gift vouchers are
always available?
C) Set StockLevel =
maxAllocation for the
product.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 41/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
Given Developer
the following ISML Certification
D) products Étudier
example, how should a
developer reference the product
object in the current iteration of
the basket?
js
<isloop
items="${pdict.Basket.products}"
var="products"
status="loopstatus">
...
</isloop>
A)
pdict.Basket.products[loopstatus]
B) loopstatus.product
C) pdict.product
D) products
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 42/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A merchant Certification
has a requirement B) Create a unique product called "Our TopÉtudier
to sell a combination of four Combo" and add the four products into the
existing products with a Product Bundles tab.
unique product ID. This
collection will be know as
"Our Top Combo" and is
based on the merchant's
trading information that
shows this combination to be
in high demand.
D) Create a recommendation
rule associating the four
products as a
recommendation group.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 43/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
A Developer
developer Certification
needs to update B) { "hooks": "./cartridge/scripts/hooks.json"Étudier
}
the package.json file that it
points to the hook file for a
cartridge, using the hooks
keyword. Which snippets work
correctly when added to the
file?
A) { hooks:
./cartridge/scripts/hooks.json
}
B) { "hooks":
"./cartridge/scripts/hooks.json"
}
C) { "hooks":
"./scripts/hooks.json" }
D) { hooks:
./scripts/hooks.json }
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 44/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
Given theDeveloper
following Certification
D) Task B, then A, then C Étudier
conditions:
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 45/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
An instance has custom Certification
A) Logging is suspended for the day. Étudier
logging enabled. The log
reaches the file size limit.
What happens in this
situation?
=
jectMgr.createCustomObject('NewsletterSubscription',
m.email.value);
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 46/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer has a sandboxCertification
B) Use the service credential URL field. Étudier
configured with a service and
its profile and credential. Now
there is a requirement to
allow changes to the service
URL manually from the
sandbox. Which B2C feature
should the developer use to
achieve the request?
C) Use a Sitepreference
dedicated for the service
URL.
D) Use a Globalpreference
dedicated for the service
URL.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 47/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A merchant Certification
has a content slot C) Change the content type for the slot Étudier
on a page that currently configuration.
displays products based on
the top sellers for the current
week. They wish to change
this functionality and, instead,
have the slot render a specific
content assets so that the
content experience is more
personalized to the visitors.
Which two actions are
necessary to make this
change? Choose 2 answers
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 48/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
Given theDeveloper Certification
following snippet:
B) js
Étudier
js
res.render('/content/myPage ', {
next();
answers.
res.render('/content/myPage ');
next();
A) js
});
res.render('/content/myPage
');
next();
}).append({
data: myDataObject
});
B) js
res.render('/content/myPage ',
{
data: myDataObject
});
next();
});
C) js
res.setViewData({
data: myDataObject
});
res.render('/content/myPage
');
next();
});
D) js
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 49/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
res.viewData = {
};
res.render('/content/myPage
');
next();
});
A developer has custom A) In Custom Log Setting, check the DEBUG box
debug statements in a script, for Select Log Levels Written to Files.
but the messages are not
showing up in the StoreFront
Toolkit Request Log. Which
step needs to be completed
to get the messages to
appear in the Request Log?
D) In Global Preferences,
check the box for Enable
custom logging in Request
Log.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 50/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
The developer Certification
created a new B) The category is offline.
Étudier
Storefront category in D) The category does not contain available
storefront-catalog-m-en, but products.
when viewing the Storefront
site, the category is not
visible. What are two possible
reasons? Choose 2 answers
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 51/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
Given theDeveloper
requirements:
Certification
D) Create a service and implement the mockFull
Étudier
· To integrate with an external callback and set the service mode to mock.
web service using HTTP
requests.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 52/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
method Developer
is efficient Certification
and scalable because D) ProductSearchModel().getProductSearchHits()
Étudier
the product search index rather than
ng the database?
ductAvailabilityModel.isOrderable()
ductVariationModel.getVariants()
tIndexModel.getOrderableProductsOnly()
ductSearchModel().getProductSearchHits()
{
A) Allows external application to update coupons.
"resource_id":
"/sites//coupons/",
"methods": [
"put"
],
"read_attributes": "(**)",
"write_attributes": "(**)"
B) Allows external
applications to create,
update, and delete coupons.
C) Allows external
applications to create
coupons
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 53/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
edsSFCC
to checkDeveloper Certification
for product inventory in all inventory
B) resource_id Étudier
pen Commerce API. An example request URL is:
emandware.net/dw/data/v18_3/inventory_lists/ecom-
ct_invntory_records/00883408601
ory
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 54/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer working on a Certification
B) Create a replicable, site-specific CustomÉtudier
multi-country site is asked to Object with the custom data for each country.
store country-specific data
that drives the creation of a
country selector. Examples of
the data stored are:
· Pricebook to be used.
C) Create a replicable,
organization scope Custom
Object with the custom data
for each country.
D) Create site-specific
content assets to store the
data for each country.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 55/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC
stomer Developer
environment Certification
configured with only the
A) Étudier
le and the following new requirements:
/cartridge/templates/resources/address_fr_CA.pr
new locale for fr_CA
operties
e the address form with the new locale
on"1.0"?>
p://www.demandware.com/xml/form/2008-
d="country" label="label.input.country"
g" mandatory="true"/>
templates/resources/address_fr_CA.properties
e/templates/resources/forms_fr.properties
ge/forms/resources/address_fr.properties
ge/templates/resources/fr/forms.properties
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 56/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Manager
Business Developer
has the Certification
A) log.warn("This is a warn message");
Étudier
configuration:
B) log.error("This is a error message");
· Active Log category is "root"
var log =
Logger.getLogger("products");
A) log.warn("This is a warn
message");
B) log.error("This is a error
message");
C) log.info("This is an info
message");
log.debug("This is a debug
message");
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 57/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer Certification
customized the C) Replace the Cart-Show controller routeÉtudier
in
Cart-Show controller route client cartridge and add dataLayer object to the
with a LINK cartridge that viewData variable. Ensure that the client cartridge
adds social media data. There is on the left of the LINK cartridge in cartridge
is a new requirement to add a path.
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?
D) Append Cart-Show
controller route in the client
cartridge and add dataLayer
object to the viewData
variable.
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 58/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
SFCC Developer
A developer configures theCertification
A) Username/Password
Étudier
dw.json file and needs to fill in B) Code Version
A) Username/Password
B) Code Version
C) Site ID
D) CSRF Token
E) Hostname
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 59/60
13/09/2022 12:09 SFCC Developer Certification Cartes | Quizlet
https://quizlet.com/mx/659256103/sfcc-developer-certification-flash-cards/ 60/60