Salesforce Comm-Dev-101 Certification Exam Sample Questions

Comm-Dev-101 Braindumps, Comm-Dev-101 Exam Dumps, Comm-Dev-101 Examcollection, Comm-Dev-101 Questions PDF, Comm-Dev-101 Sample Questions, B2C Commerce Developer Dumps, B2C Commerce Developer Official Cert Guide PDF, B2C Commerce Developer VCE, Salesforce B2C Commerce Developer PDFWe have prepared Salesforce B2C Commerce Developer (Comm-Dev-101) certification sample questions to make you aware of actual exam properties. This sample question set provides you with information about the B2C Commerce Developer exam pattern, question formate, a difficulty level of questions and time required to answer each question. To get familiar with Salesforce Certified B2C Commerce Developer exam, we suggest you try our Sample Salesforce Comm-Dev-101 Certification Practice Exam in simulated Salesforce certification exam environment.

To test your knowledge and understanding of concepts with real-time scenario based Salesforce Comm-Dev-101 questions, we strongly recommend you to prepare and practice with Premium Salesforce B2C Commerce Developer Certification Practice Exam. The premium Salesforce B2C Commerce Developer certification practice exam helps you identify topics in which you are well prepared and topics in which you may need further training to achieving great score in actual Salesforce Certified B2C Commerce Developer exam.

Salesforce Comm-Dev-101 Sample Questions:

01. A developer at Maplewood Mercantile builds a registration form. After the form passes the checks in its form definition, the controller looks up whether the submitted email address already belongs to a customer. If it does, the controller calls registrationForm.customer.email.invalidateFormElement('This email is already registered.') and renders the form again.
What does the email field report when the template displays it?
a) A parse-error, with the platform's standard message for an unreadable email value
b) A missing-error, because the field value is cleared when it is invalidated
c) A range-error, with the developer's message appended to the default text
d) A value-error carrying the developer's message
 
02. Ashgrove Furniture is adding a financing payment method. Finance wants it offered to members of the TradeAccounts customer group, and to their orders above a minimum order value.
Which restrictions should the developer configure on the payment method in Business Manager?
(Choose 2 answers.)
a) A customer group restriction to TradeAccounts
b) A product category restriction to sofas and beds
c) An order amount range starting at the minimum
d) A shipping method restriction to freight delivery
 
03. A developer at Wrenfield Optics builds a greeting fragment for the page header. The fragment needs its own controller logic to look up the shopper's preferred store on each request, and the header template must pull it in through the Header-Greeting route.
Which tag should the developer place in the header template?
a) <isinclude template="components/header/greeting"/>
b) <isinclude url="${URLUtils.url('Header-Greeting')}"/>
c) <isinclude template="${URLUtils.url('Header-Greeting')}"/>
d) <isdecorate template="components/header/greeting">
 
04. On the Hearthstone Home storefront, a client-side script updates the mini-cart badge after a shopper changes a quantity. The script calls a custom route over AJAX and needs only the new item count back as data, with no HTML markup.
Which call should the route make before calling next()?
a) res.render('cart/miniCartBadge', { quantityTotal: count })
b) res.setViewData({ quantityTotal: count })
c) res.redirect(URLUtils.url('Cart-Show'))
d) res.json({ quantityTotal: count })
 
05. A developer at Hollis & Grey is integrating a SOAP shipping-rate service through LocalServiceRegistry.createService(). The web-service client object must be created and configured once, before any request object is built.
Which callback is intended for this work?
a) initServiceClient
b) parseResponse
c) getRequestLogMessage
d) createRequest
 
06. A Page Designer page type at Wanderwell Travel has a hero region. Merchants keep dropping two or three banners into it, which breaks the layout. The hero must hold at most one component, of any type.
Which change to the hero region definition meets the requirement?
a) Add "component_type_inclusions": [{ "type_id": "commerce_assets.heroBanner" }]
b) Add "max_components": 1
c) Add a default_component_constructors entry for one hero banner
d) Add component_type_exclusions for each component type other than the banner
 
07. A developer at Saltmarsh Coffee adds a promotional banner to a template. Translators will add the key promo.freeship to the promotions bundle next sprint. Until then, the banner must show the English text "Free shipping on all beans".
Which template expression meets the requirement?
a) ${Resource.msgf('promo.freeship', 'promotions', null, 'Free shipping on all beans')}
b) ${Resource.msg('promo.freeship', 'promotions', null)}
c) ${Resource.msg('promo.freeship')}
d) ${Resource.msg('promo.freeship', 'promotions', 'Free shipping on all beans')}
 
08. A "Shop the Look" page on the Glenmoor Apparel storefront loops over ProductMgr.queryAllSiteProducts() and keeps products whose custom attribute lookbook is true. On the storefront the page now fails with the general error page, and the logs report an enforced quota violation.
Which change should the developer make?
a) Replace the call with ProductMgr.queryProductsInCatalog() scoped to the storefront catalog.
b) Wrap the loop in a try/catch block and render an empty list when the quota is exceeded.
c) Iterate the search hits of a ProductSearchModel search on a lookbook category.
d) Cache the page for a full day so that the product query runs only once a day.
 
09. A developer at Pellucid Optics activates a new code version on a sandbox. A Script API method the team relies on behaves differently between API versions, and the developer must set which API version the activated code runs under.
Where should the developer specify it?
a) On the Code Deployment page, as the active compatibility mode beside the active code version
b) In the cartridge's package.json file, as an API version entry read when the cartridge is uploaded
c) On the site's Settings tab in Business Manager, next to the cartridge path for that site
d) In the IDE server connection, next to the target version directory
 
10. The header of the Teasel Tea Company storefront pulls in a store-hours banner through a remote include that calls the custom Banner-StoreHours route. The route must answer remote-include requests only, not a shopper typing its URL, and since store hours rarely change, its output can be cached as long as ordinary storefront pages.
Which middleware should the developer add to the route?
(Choose 2 answers.)
a) server.middleware.https
b) server.middleware.include
c) cache.applyDefaultCache
d) cache.applyInventorySensitiveCache

Answers:

Question: 01
Answer: d
Question: 02
Answer: a, c
Question: 03
Answer: b
Question: 04
Answer: d
Question: 05
Answer: a
Question: 06
Answer: b
Question: 07
Answer: d
Question: 08
Answer: c
Question: 09
Answer: a
Question: 10
Answer: b, c

Note: Please update us by writing an email on feedback@vmexam.com for any error in Salesforce Certified B2C Commerce Developer certification exam sample questions

Rating: 5 / 5 (80 votes)