Check the style and quality of the material before you buy.
Question 1
A Digital Developer creates a B2C Commerce server connection in their UX Studioworkspace. The Developer adds new cartridges to the workspace, but the cartridges doNOT execute as the Developer expects.Which three things should the Digital Developer verify to ensure the cartridges areuploaded? (Choose three.)
A. The Auto-Upload setting is enabled for the server connection.
B. The Active Server setting is enabledfor the server connection.
C. The credentials for the server connection are correctly entered.
D. The cartridge is for the current version of B2C Commerce.
E. The server is configured to accept incoming connections.
Answer: A,D,E
Explanation
References
Question 2
A client uses tax tables in Business Manager to calculate tax. They recently startedshipping to a newcountry, Italy, and the taxi s not being calculated correctly on the StorefrontWhat is the likely problem?
A. Tax Region is configured wrong.
B. Tax Country is missing
C. Tax Jurisdiction is missing
D. Tax Locale is configured wrong
Answer: C
Question 3
A Digital Developer has been given a specification to integrate with aREST API forretrieving weather conditions. The service expects parameters to be form encoded.Which service type should the Developer register?
A. FTP
B. SOAP
C. HTTP Form
D. WebDAV
Answer: C
Question 4
Given a job step configured in the steptype.json, a developer needsto add a custom statuscode“No_FILES_FOUND”.Which code snippet will complete the requirement?
A. var status = {success: ‘OK’. Message: ‘NO_FILES_FOUND’}; return status;
B. var status = require(‘dw/system/status’); return new Status(Status.OK, ‘NO_FILES_FOUND’);
C. this.status = ‘NO_FILES_FOUND’ return this;
D. return ‘NO_FILES_FOUND
Answer: B
Question 5
Why should a Digital Developer use ProductSearchModel.getProducts() instead ofCategory.getOnlineProducts() to access products?
A. It is more readable code.
B. It has fewer lines of code.
C. It uses the search index.
D. It reduces accesses to the application server.
Answer: D
Question 6
Adeveloper working on a simple web service integration is asked to add 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. Logger.info(‘Unexpected service response’)
B. Logger.debug(‘Unexpected service response’)
C. Logger.error(‘Unexpected service response’)
D. Logger.warn(‘Unexpected service response’)
Answer: D
Question 7
A developer needs to update the package.json file so that it points to the hock file for acartridge, usingthe hooks keyword. Which snippets work correctly when added to the file?:
A. { “hooks”: “./cartridge/scripts/hooks.json” }
B. { “hooks”: “./scripts/hooks.json” }
C. { hooks: “./cartridge/scripts/hooks.json” }
D. { hooks: ./scripts/hooks.json }
Answer: A
Question 8
A DigitalDeveloper must give users the ability to choose an occasion (holiday, birthday,anniversary, etc.) for which gifts are currently being selected. The data needs to bepersistent throughout the current shopping experience.Which data store variable is appropriate, assuming there is no need to store the selectionin any system or custom objects?
A. Request scope variable
B. Page scope variable
C. Session scope variable
D. Content slot variable
Answer: C
Question 9
A job executes a pipeline thatmakes calls to an external system.Which two actions prevent performance issues in this situation? (Choose two.)
A. Use synchronous import or export jobs
B. Configure a timeout for the script pipelet.
C. Disable multi-threading.
D. Use asynchronous import or export jobs.
Answer: B,C
Question 10
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 thenewsletter templatewhen the subscription form is correctly submitted?
A. Custom Objects can only be created by Job scripts
B. The Subscribe route is missing the server.middleware.httpt middleware.
C. The CustomObjectMgr variable should be declare outsideof the route.
D. The Custom Object creation is not wrapped in a Transaction.
Answer: D
Why RealExamCollection is the best choice for Salesforce B2C-Commerce-Developer exam preparation
Secure your position in a competitive IT industry
The Salesforce B2C-Commerce-Developer certification is a strong way to demonstrate your understanding and ability. Our B2C-Commerce-Developer questions & answers help you prepare for it, so you can secure your current position and move your career forward.
Reviewed by IT professionals
We keep our B2C-Commerce-Developer practice questions up to date, with explanations. The questions and answers on RealExamCollection are reviewed by people with professional experience of Salesforce technologies.
One place to prepare
RealExamCollection brings together the material you need for the Salesforce B2C-Commerce-Developer exam. Explanations are added to the questions to help you understand the logic behind them and prepare for other Salesforce exams.
We update the exam files regularly to add new questions. The date of the latest update is shown at the top of this page.
Free B2C-Commerce-Developer demo before you buy
You can view sample B2C-Commerce-Developer questions on this page before buying, to see the format and pattern of the material.
90 days of free updates
You are eligible for 90 days of free updates after buying the B2C-Commerce-Developer exam. If the file is updated in that time, you can download the latest version from your account.