[go: up one dir, main page]

0% found this document useful (0 votes)
485 views22 pages

B2C Commerce Developer Exam

This document contains a practice exam for the Salesforce Certified B2C Commerce Developer certification. It includes 16 multiple choice questions about topics like using the Open Commerce API, debugging with UX Studio, internationalization, and inventory management in B2C Commerce. Correct answers are provided for each question. The questions cover topics like filtering product search results, checking product inventory, internationalizing content, using different data stores, and ensuring perpetual availability of gift cards.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
485 views22 pages

B2C Commerce Developer Exam

This document contains a practice exam for the Salesforce Certified B2C Commerce Developer certification. It includes 16 multiple choice questions about topics like using the Open Commerce API, debugging with UX Studio, internationalization, and inventory management in B2C Commerce. Correct answers are provided for each question. The questions cover topics like filtering product search results, checking product inventory, internationalizing content, using different data stores, and ensuring perpetual availability of gift cards.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Page No |

Salesforce
B2C-Commerce-Developer EXAM
Salesforce Certified B2C Commerce Developer

Product: Full File

For More Information:


https://www.dumpsplanet.com/B2C-Commerce-Developer-dumps

https://www.dumpsplanet.com Page 1
Questions and Answers PDF 2/23

Product Questions: 60
Version: 8.0
Question:1

A Digital Developer selects "Show Orderable Products Only" in the Search > Search Preferences
Business Manager module.
Which business goal does this accomplish?

A. Exclude pre-order products from search results.


B. Exclude products from search results if Available to Sell (ATS) = 0.
C. Exclude back-ordered products from showing on the website.
D. Block displaying the product detail page if Available to Sell (ATS) = 0.

Answer: B

Question:2

A Digital Developer needs to check for product inventory in a specific inventory list using the Open
Commerce API.
An example request URL is:

Which rescurce_id value enables the appropriate resource?

A. /products/*
B. /inventory_lists/**
C. /inventory-lists/*
D. /inventory_list_search

Answer: B

Question:3
A Digital Developer is working on a project to 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. Modify the debugger configuration and use the existing pipeline debugger.

https://www.dumpsplanet.com Page 2
Questions and Answers PDF 3/23

B. Create and use a new controller debug configuration.


C. Create and use a new script debug configuration.
D. Use the existing pipeline debugger.

Answer: C
Question:4
Given the file structure below, which ISML method call renders the customLandingPage template?

A. ISML.renderTemplate('content/custom/customLandingPage');
B. ISML.renderTernplate('cartridge/ternplates/default/content/custom/customLandingPage');
C. ISML('content/custom/customLandingPage');
D. ISML.render('content/custom/customLandingPage');

Answer: A

Question:5

A Digital Developer noticed that cartridges in their workspace are NOT executing. The Developer
confirms that the cartridges are uploaded to the B2C Commerce server connection's target version
directory.
Which action potentially solves this problem?

A. Set the active code version to use the latest compatibility mode.
B. Remove invalid characters from cartridge file and folder names.
C. Set the server connection's target version directory to the active code version.
D. Remove invalid characters from the code version's name.

Answer: C

Question:6

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.

https://www.dumpsplanet.com Page 3
Questions and Answers PDF 4/23

How shouldthe Digital Developerresolve this issuesothat theerrormessage is displayed on the


address ID form field?

A. addressForm.invalidateFormElement(addressForm.addressid);
B. addressForm.addressid.invalidateFormElement();
C. addressForm.addressid.invalidateFormElement = true;
D. addressForm.invalidateFormElement("addressid");

Answer: D

Question:7
A Digital Developer is adding support for an additional language other than the default. The locale
code for the new language is de.
In which folder should the developer place resource bundles?

A. templates/resources
B. templates/default/resources
C. templates/de
D. templates/default

Answer: A

Question:8
A Digital Developer adds the following line of code to a script.
dw.system.Logger.getLogger{'login').debug{"Login API has succeeded");
Thecode executes withouterror; however, the log file ondisk does NOTcontainthelog message.
Whichtwoactions should becompletedtowritethe logmessagetodisk?Choose2answers

A. Ensure that the debug log level has been added to the custom log level types in the Global
Preferences business manager module.
B. Ensurethat the"login" category is added tothe Custom Log Filters in the Log Settings Business
Manager module.
C. Archive old log files to make room in the log directory.
D. Ensure that the debug log level is enabled to write to file in the Custom Log Settings Business
Manager module.

Answer: B,D

https://www.dumpsplanet.com Page 4
Questions and Answers PDF 5/23

Question:9

ADigital Developerisrequesting productinformation foranexternal integration. Thefollowing Open


Commerce API (OCAPI) request is NOT functioning correctly:

How should the Developer change the request?

A. Change the HTTP method to GET.


B. Change the HTTP methodto PUT.
C. Change the URI to/dw/shop/vl8_3/products/creative-zen-v.
D. Include an authentication token in the request.

Answer: A

Question: 10

Which two methods are efficient and scalable? Choose 2 answers

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

Answer: B

Question: 11

Why Should a Digital Developer use ProductSearchModel.getProducts() instead Of


Category.getOnlineProduccs
() to access products?

A. It is more readablecode.
B. It has fewer lines ofcode.
C. It uses the searchindex.
D. It reduces accesses to the application server.

Answer: C

Question: 12

A business user wants to add a link to a content page from within the body of another content asset.
The target
content asset ID is: terms-and-conditions.
Whichlinkfunctiongenerates thecorrectlink?

https://www.dumpsplanet.com Page 5
Questions and Answers PDF 6/23

A. $include('Page-Include', 'cid', 'terms-and-conditions')$


B. $url(*Page-Show', 'cid', 'terms-and-conditions')s
C. $http('Content-Page', 'cid', 'terms-and-conditions^S
D. $httpUrl('Content-Show\ 'cid', ,terms-and-conditions')$

Answer: B
Question: 13
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 > Ordering > Payment Processors


B. Merchant Tools > Ordering > Payment Methods
C. Merchant Tools > Site Preferences > Payment Types
D. Merchant Tools > Site Preferences > Apple Pay

Answer: D

Question: 14
A Digital Developer must give users the ability to choose an occasion (holiday, birthday, anniversary,
etc.) forwhichgifts are currently being selected. Thedata needs to be persistent throughout the
current shopping experience.
Which data store variable is appropriate, assuming there is no need to store the selection in any
system or custom objects?

A. Request scope variable


B. Session scope variable
C. Page scope variable
D. Content slot variable

Answer: B

Question: 15
Universal Containers sells physical gift cards for the holidays.
What needs to occur to guarantee the cards will always be available?

A. Create a perpetual inventoryrecord.


B. Create an inventory record with Backorder Handling enabled.
C. Create an inventory record with an extremely high Allocation value (i.e., 1 billion certificates).
D. Create an inventory record with an unlimited Allocation value.

Answer: A

https://www.dumpsplanet.com Page 6
Questions and Answers PDF 7/23

Question: 16

A Digital Developer needs to add a new form to the shopping cart page to allow customers to enter
their rewards pass ID. There is already an existing cart.js controller that handles processing of the
othercart forms. In addition, aform fieldnode is in theform XML and the necessary form input is
present in the ISMLtemplate.
The code below is the submit button for the ISML markup.

Whatadditional steps must occur before the Digital Developer can begin writing the processing code
for this request?
A.
• Add an <action /> node to the form definition XML with the attribute formid=’’addRewardFaas"
• Addthekey addRewardPass, withaprocessing functionasavalue, totheobject passed tothe
Form.handleActionO method in the Cart .j* controller
B.
• Add the attribute addtl-fonn-action^'addRewardPaas"1 to the ISML form
• Addthekey addRewardPass, withaprocessing functionasavalue, totheobject passed tothe
Form.handleActionO method in the cart.3s controller
C.
• Add a <submit /> node to the form definition XML with the attribute formid=’’addRewardPas3"
• Addthekey addRewardPasa, withaprocessing functionasavalue, totheobject passed tothe
Form.handleActionO method in the Cart.ja controller
D.
• Add an action /> node to the form definition XML with the attribute formid="addRewardFa3s"
• No change to cart.3a controller required
Answer: A

Question: 17
A Digital Developer has been given a requirement to add fault tolerance to an existing web service
integration that uses Service Framework. Administrators at Universal Containers need to be able to
configure the timeout and rate limiting.
Which approach should the Developer use to implement the requirement?

A. Implement a serviceUnavaiiableException exception handler to execute fallback code.


B. Use the setTimeout method to execute fallback code if the request has NOT completed.
C. Create a site preference to store timeout settings and implement an IOException handler to
execute fallback code.
D. Implement a condition that checks to see if the response was empty and execute fallback code if
true.

Answer: A

https://www.dumpsplanet.com Page 7
Questions and Answers PDF 8/23

Question: 18

A Digital Developer creates a B2C Commerce server connection in their UX Studio workspace. The
Developer adds new cartridges to the workspace, but the cartridges do NOT execute as the
Developer expects.
Which three things should the Digital Developer verify to ensure the cartridges are uploaded?
Choose 3 answers

A. TheAuto-Upload setting isenabledforthe server connection.


B. The Active Serversettingisenabled for theserverconnection.
C. The server is configured to accept incoming connections.
D. The cartridge is for the current version of B2C Commerce.
E. The credentials for the server connection are correctly entered.

Answer: A, B,E

Question: 19

A Digital Developer extends a system object, Product, and adds a Boolean attribute, "sellable," to it.
Assuming "prod" is thevariable name handling the product, what code can the Developeruseto
access it?

A. prod.sellable
B. prod.persistable.sellable
C. prod.custom.sellable
D. prod.extended.sellable

Answer: A

Question: 20
A Digital Developer has detected storefront pages being rendered with an error message. After
inspectingthelogfiles, the Developerdiscoveredthat anenforcedquota is beingexceeded.
What action should the Developer take to stop the quota violation?

A. Change the Business Manager configuration for the quota settings.


B. Ask support to remove the quota limit.
C. Rewrite the code that is causing the overage.
D. Take no action, the overage will be resolved when concurrent visitors are reduced.

Answer: A

Question: 21
Universal Containers specifies a new category hierarchy for navigating the digital commerce
storefront. A Digital Developer uses Business Manager to manually create a catalog with the

https://www.dumpsplanet.com Page 8
Questions and Answers PDF 9/23

specified category hierarchy, then uses the Products & Catalogs > Import & Export module to export
the catalog as a file.
How can other Developers with sandboxes on the same realm create the same catalog in their own
sandboxes?

A. Use Business Manager to upload and import a copy of the export file obtained from the original
Developer.
B. Use the remote upload capability of the Site Import & Export module of Business Manager.
C. Use the Business Manager Data Replication module to replicate the catalog from the original
Developer's sandbox.
D. Use the import capability of the Site Import & Export module of Business Manager.

Answer: A

Question: 22

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 3 answers

A. Keystore Password
B. Instance Version
C. Business Manager Username
D. Instance Hostname
E. Business Manager Password

Answer: C, D, E

Question: 23
A Digital Developer needs to store information temporarily and decides to create a custom object.
Which code creates a custom object?

A. CustomObjectMgr.createCustomObject(primaryKey);
B. CustomObject.createCustomObject(primaryKey,CustomObjectType);
C. CustomObject.createCustomObject(CustomObjectType,primaryKey);
D. CustomObiectMqr.createCustomOb1ect(CustomOb1ectType,primaryKey);

Answer: D

Question: 24

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
2 answers

https://www.dumpsplanet.com Page 9
Questions and Answers PDF 10/23

A. Enable the template debugger to verify the cache times for the producttile.isml template.
B. View the product list page cache settings provided in the Administration > Manage Sites Business
Manager module.
C. View thecacheinformationprovidedbythe Merchant Tools> Technical Reports Business Manager
module.
D. Enable cache information in thestorefront toolkit and view the cache information for the product
tile.

Answer: C,D

Question: 25
A job executes a pipeline that makes calls to an external system.
Which two actions prevent performance issues in this situation? Choose 2 answers

A. Use asynchronous import or export jobs.


B. Use synchronous import or export jobs
C. Configure a timeout for the script pipelet.
D. Disable multi-threading.

Answer: A,C

Question: 26

Whichthree techniquesimproveclient-side performanceinproductionwhile following documented best


practices? Choose 3answers

A. Place CSS outside oftemplates.


B. Compress CSS.
C. Combine several images into a single image.
D. Use inline Javascript.
E. Use one style sheet for each ISML decorator template.

Answer: B, C, D

Question: 27
A Digital Developer suspects a logical error in a script. Which action will help locate the error?

A. Check request logs for evidence of the logical error.


B. Put breakpoints in the code, debug, and examine variable values.
C. Print all values in the script node called before the current script.
D. Submit a support ticket to B2C Commerce.

Answer: B

https://www.dumpsplanet.com Page 10
Questions and Answers PDF 11/23

Question: 28

Universal Containers has expanded its implementation to support German with a locale code of de.
The current resource bundle is checkout.properties.
To which file should the developer add German string values?

A. checkout.properties in the default locale folder


B. de_checkout. properties in resourcesfolder
C. checkout_de.properties in resources folder
D. checkout.properties in the de locale folder

Answer: C

Question: 29

A Digital Developer has Identified that the code segment below is causing performance problems.

What should the Developer do to improve the code?

A. Avoid post-processing and use the isOnSaleFlag attribute as a search refinement.


B. Use a system attribute instead of the isOnSaleFlag custom attribute.
C. Avoid using an Iterator and use a Collection instead.
D. Break the process into separate loops.

Answer: A

Question: 30

A Digital Developer wants to selectively retrieve products and process them from an (Phone. Which
action shouldthe Developer take, giventhat JavaScript controllers CANNOT be used?

A. Create a webservice to retrieveproducts.


B. Use import/export in Business Manager.
C. Use WebDAVClienttoretrieveproducts.
D. Use OCAPI and invoke it in native language.

Answer: A

https://www.dumpsplanet.com Page 11
Questions and Answers PDF 12/23

Question: 31

Universal Containers requires that a new order comments attribute is added to the existing
SiteGenesis checkout flow. This new attribute needs to be includedas part of thestandard order
export.
Aside from updating the HTML markupandform definition, whichoptioncontains all necessary steps
to achieve this task?

A. • Add the new attribute to the "Order" systemobject.


• Modify the "COPlaceOrder" controller to add this new attribute to the current session's "Order"
object.
B. • Modify the "COPlaceOrder" controller to update a CSV file in the IMPEX WebDAVdirectory with
the order ID and comments.
• Modifytheorderexportprocesstoreadinformationinthe CSV file and include itas part of the
export.
C. • Add the new attribute to the "Customer"system object.
• Modify the "COPlaceOrder" controller to add this new attribute to the current session's
"Customer" object.
D. • Create a new custom object type for order comments that contains the attributes: order ID and
comments.
• Modify the "COPlaceOrder" controller tocreate anewordercomments custom object upon order
completion.

Answer: A

Question: 32
The following sample code is NOT providing the desired results. The Digital Developer needs to add
an entry to the logs to debug the problem.

Which statement correctly adds a log entry?

A. Logger.exception('Unable tofind Apple Pay payment instrument for order.'+paymentlnstruments);


B. Logger.fault('Unable to find Apple Pay payment instrument for order.'+paymentlnstruments);
C. Logger.error('Unable to find Apple Pay payment instrument for order.'+paymentlnstruments);
D. Logger.getErrorI_og().log('Unable to find Apple Pay payment instrument for
order.'+paymentlnstruments);

Answer: C

Question: 33

https://www.dumpsplanet.com Page 12
Questions and Answers PDF 13/23

A Digital Developer is inspecting the weekly service status report for a critical internally-hosted web
serviceusedinthe applicationand noticesthattherearetoomany instances of unavailability.
Which two solutions are possible options to reduce the unavailability of the service? Choose 2
answers

A. Change the code that makes the request to set the throwOnError attribute, of the service, to be
true.
B. Modify the code that makes the request to the external service to be wrapped in a try / catch
block.
C. Increase the web service timeout.
D. Update the external service to have a faster response time.

Answer: B,C

Question: 34

Whichthree object types can adeveloper import using the Merchant Tools> Content> Import &
Export module in Business Manager?
Choose 3 answers

A. Folders
B. Images and other static assets
C. Products
D. Content slots
E. Content assets

Answer: A, B,E

Question: 35
A Digital Developer is working in a sandbox on a site named -est-site using the domain
test.demandware.net. The Developer needs to compile a url to make an Open Commerce API
(OCAPI) request that returns product information.
By default, which URL format is a proper Open Commerce API for Sandbox?

A. https:7www.test.com/dw/shop. vl8_3. products M1355?client_id=aaa...


B. https: test.demandware.com/dw/shop products\I1355?client_id=aaa...
C. http: ''www.test.com/s/test-site/sfc/shop products M1355?client_id=aaa...
D. http: test.demandware.netstest-sitedwshop v!8_3 productsM1355?client_id=aaa...

Answer: D

Question: 36
Which code sample is required to use a custom tag provided in SiteGenesis in an ISML template?

https://www.dumpsplanet.com Page 13
Questions and Answers PDF 14/23

A. <isinclude url="${URLUtils.url("CustomTag-Start")}>
B. <isscript>
dw.util.CustomTagMgr.createCustomTag("mytag"); <isscript>
C. <isinclude template="util/modules">
D. <isinclude template="util/customtags">

Answer: C
Question: 37
What happens if the log file size limit is reached in custom logging?

A. Logging is suspended for twohours.


B. The log file rolls over and the last used log is overwritten.
C. The log file is deleted and recreated from scratch.
D. Logging is suspended for theday.

Answer: D

Question: 38
A Digital Developer is asked to optimize controller performance by lazy loading scripts as needed
instead of loading a scripts at the start of the code execution.
Which statement should the Developer use to lazy load scripts?

A. import Package ( ) method


B. local include
C. require ( ) method
D. $.ajax ( ) jQuery method

Answer: C

Question: 39
Universal Containers is preparing their storefront to use Open Commerce APIs (OCAPI).
To which hook should the Digital Developer move taxation logic to ensure consistent order totals
within B2C Commerce?

A. dw.ocapi.shop.basket.afterPostShipment
B. dw.ocapi.shop.order.afterPOST
C. dw.ocapi.shop.order.validateOrder
D. dw.ocapi.shop.basket.calculate

Answer: D

Question: 40

https://www.dumpsplanet.com Page 14
Questions and Answers PDF 15/23

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 containers
• Three Model 201 containers
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 Product Bundles module, create a bundle named "The Basics."


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

Answer: B

Question: 41

A Digital Developer has a new requirement to disable the "Discover" credit card type for all
checkouts. Whatdoesthe Developer needtochangein Business Manager to fulfill this requirement?

A. Credit card exclusion rules in the CreditCardType.json configuration file.


B. Checkout exclusion rules inthe Merchant Tools> Site Preferences > Checkout Preferences module.
C. Credit cards in the Merchant Tools > Ordering > Payment Methods module.
D. Credit card exclusion rules in the Merchant Tools > Site Preferences > Payment Preferences
module.

Answer: C

Question: 42

A Digital Developer has created a new PaymentForm controller that requires communication with
the server and must be made using the HTTPS protocol.
Which code sample should the Developer use to make sure that HTTPS is used?

A. exports.PaymentForm = guard.httpsPost(handlePaymentForm);
B. exports.PaymentForm = guard.ensure(['https', 'post', 'loggedln'], handlePaymentForm);
C. exports.PaymentForm = guard.ensure(['http\ 'post', 'loggedln'], handlePaymentForm);
D. exports.PaymentForm = guard.expose(['post', 'loggedln'], handlePaymentForm);

Answer: B

Question: 43

https://www.dumpsplanet.com Page 15
Questions and Answers PDF 16/23

A digital instance hasone site, withonemaster productcatalog separate from the site catalog. Some,
but NOT all, products in themastercatalog are assigned tocategories of thesite catalog.

A. Using Business Manager, how can a Digital Developer create a catalog export file that contains
only the products assigned to the site catalog?
B. Use the Catalog Export module to export the site catalog.
C. Use the Site Import & Export module to export the master catalog, filtered by site catalog
categories to export specificproducts.
D. Use the Catalog Export module to export the master catalog, with a category-assignment search
to export specific products.
E. Usethe Site Import&Exportmoduletoexportboththesitecatalog and themastercatalog ina
single archive.

Answer: C

Question: 44

A Digital Developer is implementing an Open Commerce API call to add products to a basket. Given
the following resource configuration:

Which modification allows the requests to successfully execute?

A. Change the "read_attributes" value to: " (items) ".


B. Change the "resource_id" value to: "/baskets/*/items".
C. Change the "methods" value to: ["get", "post"].
D. Change the "write_attributes" value to: " (+items) ".

Answer: B
Question: 45
ADigital Developerwants pass controltoan ISML template froma JavaScript Controller and load
product on the pipeline dictionary with the name myProduct.
Which code sample will achieve this?

A. ISML.renderTemplate{ "helloworld.isml", { "product": myPrcduct });


B. ISML.renderTemplate( "helloworld.isml", { "myProduct": "product" });
C. ISML.renderTemplate{ "helloworld.isml", { myProduct: product });
D. ISML.renderTemplate( "helloworld.isml", { product: myProduct});

https://www.dumpsplanet.com Page 16
Questions and Answers PDF 17/23

Answer: C

Question: 46
Which technical reports datapoint measures the performance of a controller's script execution if
network factors and Web Adaptor processing is ignored?

A. Response time
B. Processing time
C. Call count
D. Cache hit ratio

Answer: B

Question: 47
A Digital Developeraddeda file named MyBusinessController. js in the cartridge namedapp_project.
The project design calls for this new file to override MyBusinessControiier.3s in claient_project. The
client_project cartridge contains other necessary functionality. Additional functionality is also
included in the storefront_core and
storefront_controliers cartridges.
Which cartridge path meets the project requirements?

A. app_project:client_project:storefront_controllers:storefront_core
B. client_project:app_project:storefront_controllers:storefront_core
C. storefront_core:storefront_controllers:client_project:app_project
D. app_project:storefront_controllers:storefront_core

Answer: A

Question: 48

Universal Containers created a site export file from stagingin theglobal exportdirectory. How should
the Digital Developer update their sandbox using this staging site export file?

A. Perform a data replication fromstaging.


B. Use the Site Development > Site Import & Export Business Manager module.
C. Download the site export file and use UX Studio to transfer the data to the sandbox.
D. Use the Site Development > Import & Export Business Manager module.

Answer: B

Question: 49
A Digital Developer needs to add logging to the following code.

https://www.dumpsplanet.com Page 17
Questions and Answers PDF 18/23

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

A. logger.debug("Error retrieving profile email. Status Code:{0} was returned.", http.statusCode);


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

Answer: D

Question: 50
A Digital Developer has beengiven a specification to integrate with a RESTAPI for retrieving weather
conditions. The service expects parameters to be form encoded.
Which service type should the Developer register?

A. HTTP Form
B. WebDAV
C. SOAP
D. FTP

Answer: A

Question: 51

A Digital Developer has a site export file on their computer that needs to be imported into their
sandbox. How should the developer update their sandbox with the data in this file?

A. Upload and import the file using the local option within the Site Import & Export Business
Manager module.
B. Connect and import thefile using the remoteoptionwithinthe Site Import & Export Business
Manager module.
C. Upload the file tothe Static WebDAVdirectory and importusing the Import & Export Business
Manager module.
D. Upload thefiletothe Impex WebDAVdirectory and importusingthe Site Importtoolwithin UX
Studio.

https://www.dumpsplanet.com Page 18
Questions and Answers PDF 19/23

Answer: A

Question: 52
Universal Containers recently completed updates to their storefront shopping cart page. A problem
has been discovered since the update. Users are no longer able to submit coupon codes on this page.
Additionally, authenticated users who try to add a coupon are logged out.
The following processing code Is found In the carets controller file:

What should the Developer verify to Identify the Issue?

A. The CSRF settings In Business Manager are properly configured.


B. The form group has the secure attribute set to true.
C. The CSRF token Is present In the form and Is being submitted in the request.
D. The CSRF cartridge Is included in the site's cartridge path.

Answer: C

Question: 53
Universal Containers wantsto give customers the ability to refine productsearch results by a product
custom attribute, weightCapacity.
Which series of steps should a Digital Developer take to show this refinement on the storefront?

A. Define search-suggestion buckets for weightCapacity, then rebuild the product search index.
B. Define a search refinement for weightCapacity, then clear the page cache segment for Search-
Show.
C. Define a search refinement for weightCapacity, then rebuild the product search index.
D. Define a sorting rule for weightCapacity, then rebuild the product search index.

Answer: C

Question: 54

https://www.dumpsplanet.com Page 19
Questions and Answers PDF 20/23

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 2 answers

A. Change the slot's configuration content type to "products."


B. Change the slot's configuration content type to "recommendations."
C. Change the slot's configuration template to the appropriate rendering template.
D. Delete the existing content asset.

Answer: A,B

Question: 55

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 beginning
of the filename in which the log will be written?

A. custom-xyz
B. xyz
C. custom-export
D. custominfo-blade

Answer: A

Question: 56

Whichline of codecreatesacontentslotthatcan be includedonhomepage.ismltodisplay on the


home page?

A. <isslot id="my_banner" description = "for home page" context="global">


B. <isslot id="my_banner" description = "for home page" type="global" context="homepage"/>
C. <isslot id="my_banner" description = "for home page" type="global" context="content" context-
object="${pdict.ContentSearchResult.content>"/>
D. <isslot id="my_banner" description = "for home page" context="global" context-
object="${pdict.CurrentHomePage}"/>

Answer: A

Question: 57

Universal Containers wants to add a model field to each product. Products will have locale-specific

https://www.dumpsplanet.com Page 20
Questions and Answers PDF 21/23

model values. How should the Digital Developer implement the requirement?

A. Set the model field as a localizable attribute.


B. Store translated model values in different fields; one field for each locale.
C. Add model to a new custom object with localizable attributes.
D. Utilize resource bundles for translatable values.

Answer: A

Question: 58
Universal Containers wants to associate a region code value with an order to indicate the general
area of its destination. This region code must be accessible whenever the order history is displayed.
What is required to accomplish this?

A. Define a custom object type to store the username with the region code.
B. Store the region code value in the geolocation system attribute of the Order.
C. Define a custom attribute on the Order system object type to store the region code value.
D. Store the region code value in a session variable.

Answer: C

Question: 59
Once the Cache Informationtool of thestorefronttoolkit is enabled, howcan a Digital Developer
view caching information for a particular component of the page?

A. Hover over the caching icons now present on the storefront.


B. Start a pipeline debugging session and view the caching information provided.
C. Right-click on the component in UX Studio and view the caching properties of the file.
D. Open the Request Logs to view the caching information.

Answer: A

Question: 60
ADigital Developer is working on amulti-site realm. Anew siterequires adifferent layout forthe
account landing page. Thebusinesslogic and data modelremainthesame. Theexistingcode is in
AccountCoatrol.-s and accountlanding.isul in the app_at storefront cartridge The app_3torefront
cartridge contains code for all other business functions. The cartridge path for the new site is
currently int_cybersource: mc_];aypal:app_storefront.
The Developer creates a new cartridge named app_newsire that contains only the
accountlanding.isml template for the new site.
Which modification should be made to the new cartridge path?

A. Set the cartridge path to include only app_newsite.

https://www.dumpsplanet.com Page 21
Questions and Answers PDF 22/23

B. Set the cartridge path so that app_storefront is before int_cybersource.


C. Set the cartridge path so that app_newsite is before app_storefront.
D. Set the cartridge path so that app_newsite is after app_storefront.

Answer: C

https://www.dumpsplanet.com Page 22

You might also like