DON'T WANT TO MISS A THING?

Certification Exam Passing Tips

Latest exam news and discount info

Curated and up-to-date by our experts

Yes, send me the newsletter

Salesforce B2C Commerce Architect Exam Sample Questions | SPOTO

SPOTO's latest exam dumps on the homepage, with a 100% pass rate! SPOTO delivers authentic Cisco CCNA, CCNP study materials, CCIE Lab solutions, PMP, CISA, CISM, AWS, and Palo Alto exam dumps. Our comprehensive study materials are meticulously aligned with the latest exam objectives. With a proven track record, we have enabled thousands of candidates worldwide to pass their IT certifications on their first attempt. Over the past 20+ years, SPOTO has successfully placed numerous IT professionals in Fortune 500 companies.
Take other online exams

Question #1
A client has a requirement to render different content on the homepage based on if the customer is logged in or quest user. What should a developer implement to achieve this requirement?
A. Write specific custom code in the Content Asset for a customer that is a registered, versus unregistered, user
B. Add specific custom messages in Page Designer for a customer that is a registered, versus unregistered, user
C. Set the Content Slot configuration so it is based on the system customer group registered, versus unregistered
D. Set the Content Asset configuration for a customer that is a registered, versus unregistered, user
View answer
Correct Answer: C
Question #2
Multiple customers report slow performance on the Product Details Page.Which tool can a developer use to view average response times for the Product-Detail controller route?
A. URL Request Analyzer
B. Request Logs
C. Pipeline Debugger
D. Pipeline Profiler
View answer
Correct Answer: D
Question #3
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. Create a Common Phrase Dictionary entry: car accessories
B. Create a Synonym Dictionary entry: car accessories, household, technology
C. Create a Common Phrase Dictionary entry: car accessories, NOT household, NOT technology
D. Create a Synonym Dictionary entry: car accessories, !household, !technology
View answer
Correct Answer: B
Question #4
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. Your parcel weighs 10 kilos
B. Your parcel weighs 10 undefined
C. Your parcel weighs 10 pounds
D. Your parcel weighs 10 stones
View answer
Correct Answer: D
Question #5
A developer is writing a server side script that needs to maintain state across calls. The persistentinformation 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 thatfollows best practice?
A. Use a non-replicable Custom Object to store the information temporarily
B. Use the Session class in the B2C Commerce api
C. Use an SFRA controller, because it runs server-side, the state is automatically maintained
D. Use a client-side cookie to store the information for the session duration
View answer
Correct Answer: B
Question #6
The Home-Show route uses this middleware chain:server.get(`Show', consentTracking.consent, cache.applyDefaultCache, function (req, res, next) { // based code here });The developer added Home.js in another cartridge, which is before the original cartridge in the cartridge path, to extend that route but it does not have the middleware chain:server.append(`Show', function (req, res, next) { // custom code here }); Assuming the code is correct on both functions, what is the expected result?
A. The custom code executes and then the base code executes
B. A RunTime error is thrown, "Error: Params do not match route"
C. The base code executes, but the custom code is ignored because the signature lines do not match
D. The base code executes and then the custom code executes
View answer
Correct Answer: B
Question #7
Given a customer environment configured with only the en_CA locale and the following new requirements:1.to add a new locale for fr_CA 2.to localize the address form with the new locale 3.to make the localization usable even for new possible French locales, such as fr_FR And given the portion of form XML definition contained in the form file cartridge/forms/default/ address.xml:What is the right place to add the fr_CA translation for the country field label?
A. /cartridge/templates/resources/address_fr_CA
B. /cartridge/templates/resources/forms_fr
C. /cartridge/forms/resources/address_fr
D. /cartridge/templates/resources/fr/forms
View answer
Correct Answer: A
Question #8
A merchant uploads an image using the Content Image Upload module of Business Manager.Which three modules can the merchant or developer use to display the image on the Storefront? (Choose three.)
A. Content assets
B. Storefront catalogs
C. ISML templates
D. Content slots
E. Payment types
View answer
Correct Answer: ABD
Question #9
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 stored are:1. Pricebook to be used 2. Image URL for country flagThe data used in staging also applies in production, but only for this site.Which approach should the developer take to implement these requirements?
A. Extend the Locale System Object to contain the custom data for each country
B. Create a replicable, site-specific Custom Object with the custom data for each country
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
View answer
Correct Answer: A
Question #10
In order to build the SFRA code to a developer sandbox for the first time, which build steps should the developer perform for the site to appear and function as designed?
A. npm run compile:js, npm run compile:html, npm run clean
B. npm run compile:js, npm run compile:scss, npm run compile:fonts
C. npm run compile:js, npm run compile:scss, npm run compile:html
D. npm run compile:scss, npm run compile:html, npm run clean
View answer
Correct Answer: B
Question #11
A developer works on a multisite realm. A new site requires a different layout for the account landing page, but the business logic and data model remain the same. 1.The existing code is in landing.isml and AccountControl.js in the app_custom_mystore cartridge. 2.The app_custom_mystore cartridge contains any custom code for all other business functions. 3.The cartridge path for the existing site is int_cybersource:int_paypal:app_custom_mystore:app_storefront_base.The developer creates a new cartridge named
A. Set the cartridge path so that app_custom_newproject is before app_custom_mystore
B. Set the cartridge path so that app_custom_newproject is between app_custom_mystore and app_storefront_base
C. Set the cartridge path so that app_custom_mystore is before int_cybersource
D. Set the cartridge path so that app_custom_newproject is in the farthest right position
View answer
Correct Answer: A
Question #12
A client is planning to migrate its e - commerce to Salesforce Commerce Cloud. Their expectation is to increase the business volume by 300%. As an architect you decide before go - live execute a load testing in order to check that the new site will fit client expectations. This table show the results of test execution: * 500 http error appears twice during search refinement and 404 is shown while accessing an specific PDP. According to the results shown above, how can we evaluate the load test?
A. There are two blockers
B. Go live must be postponed until those 400/500 errors will be fixed
C. We can proceed with the go live
D. In general it is pretty good, the new site will work as expected
View answer
Correct Answer: B
Question #13
A developer needs to perform the same additional checks before completing multiple routes in a custom controller, in order to decide whether to render a template or redirect the user to a different page. According to SFRA best practices, what is the correct approach to improve code reusability in this scenario?
A. Replace the existing routes by creating a controller in separate new cartridge
B. Use the superModule property in the existing routes to extend their functionality
C. Append a new function to all the existing routes with the server module
D. Define a new middleware function and use it in the existing routes
View answer
Correct Answer: D
Question #14
You have been requested to integrate in the checkout and user profile forms and address suggestions. To do that you'll need to sync with the 3rd party provider to gather needed info to properly configure the service to retrieve the addresses. What should request the provider?
A. IP, port and protocol
B. SLA: Service Level Agreement
C. API and documentation to perform the integration
D. Credentials
View answer
Correct Answer: BD
Question #15
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. xyz
B. custominfo-blade
C. custom-export
D. custom-xyz
View answer
Correct Answer: D
Question #16
A company that is a shoe-producer is doing Salesforce B2C Commerce implementation. In their Enterprise Resource Warning (ERP) system, the products are marked as being one of three types: boots, sandals, and sneakers. The business requirements based on the type are:* The messaging on Product Detail page is different* Customers are able to filler their Product Search ResultsThe customer's operations team asks about the format in which to send this value in the catalog.Which data type should the Architect spec
A. A custom attribute of type string containing comma separated values
B. A custom attribute type set-of-string containing multiple values
C. A custom attribute of type enum-of-string (multiselect able value)
D. A custom attribute of type enum-of-string (single selectable value)
View answer
Correct Answer: D
Question #17
A developer receives a product image that needs to be uploaded to the catalog. What should the developer use to upload this image?
A. Products and Catalogs module of Business Manager
B. Sites/Impex WebDAV Directory
C. Content Image Import module of Business Manager
D. Site Development Import and Export module of Business Manager
View answer
Correct Answer: C
Question #18
When exporting a site catalog from an external system, which file format or formats should a developer use so it can be imported into a B2C Commerce site?
A. XML only
B. CSV only
C. XML and JSON
D. JSON only
View answer
Correct Answer: A
Question #19
A Digital Developer has been given a specification to integrate with a REST API for retrieving 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
View answer
Correct Answer: C
Question #20
A client receives multiple feeds from third parties on the same SFTP location:* Product prices (sftp: prod/prices)* Stores information (sftp: prod/stores;* Product information (sftp: prod/catalog)* Categories information (sftp: prod/marketing)* Content (sftp: prod/marketing)Some of the feeds are placed on sftp multiple times a day, as the information is updated in the source system.The Architect decides to have only two jobs:* One that checks and downloads available feeds every hour* One that imports the fi
A. - four sibling flows execute steps ki parallel: import products, stores, prices, content- fifth flow executes: import categories- last flow executes steps In sequence: reindex
B. - foursibling flows execute steps in parallel: import products, stores, prices, content- last flow executes steps in sequence import categories, reindex
C. - three siting flows Import steps In parallel: import products, stores, prices- fourth flow executes: import categories- last flow executes steps in sequece: reindex, Import content
D. -Four sibling flows execute steps in parallel: import products, stores, price, content-last flow executes steps in sequence: import:categories, reindex
View answer
Correct Answer: B
Question #21
What happens if the log file size limit is reached in custom logging?
A. Logging is suspended for the day
B. Logging is suspended for two hours
C. The log file is deleted and recreated from scratch
D. The log file rolls over and the last used log is overwritten
View answer
Correct Answer: C
Question #22
A merchant has a new requirement to accept American Express credit cards on its Storefront. A credit card payment method already exists.Which step must a developer take in Business Manager to achieve this?
A. Add American Express as a Payment Preference in Site Preferences
B. Add American Express into the Order settings in Site Preferences
C. In Payment Methods, enable American Express as a credit card type
D. In Payment Processor, create American Express as a payment type
View answer
Correct Answer: A
Question #23
Facebook connect will be available on your storefront to allow users to log in. To configure properly the new OAuth provider. What should you need from your product owner?
A. User and password from Facebook to get the access token
B. Ask for the access token
C. Ask to grant needed permissions for your facebook user
D. Send request to facebook endpoint with app_id sended by POST to retrieve the oauth token
View answer
Correct Answer: C
Question #24
A client has two B2C Commerce sites in the same instance: one for the U.S. market, the other for the European market. They offer free gift wrapping on a selection of products. For each order, five products can be wrapped in the U.S., but only three products can be wrapped in the European region. How should a developer allow the merchant to independently adjust this number?
A. Create a new custom preference by extending the Site Preference object type
B. Add a new Campaign using the Online Marketing section of the Business Manager
C. Configure a new localizable content slot with a market-specific value
D. Select the corresponding option in the system preference for Orders
View answer
Correct Answer: C
Question #25
A developer must configure permissions for an Open Commerce API resource on a sandbox instance that currently does not have any permissions configured. Which two configuration properties are required to enable access to the resource? (Choose two.)
A. resource_id
B. read_attributes
C. version_range
D. client_id
View answer
Correct Answer: AB
Question #26
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. custominfo-blade
D. custom-export
View answer
Correct Answer: A
Question #27
An Architect is configuring a data replication schedule. Which task(s) can be removed In order to reduce replication times?
A. Campaign
B. Static content
C. Storefront URLs
D. Search Indexescorrect
View answer
Correct Answer: D
Question #28
A developer wants to import the data or different instances. Which two types ofdata should the developer consider importing? Choose 2 answers
A. Services
B. Catalog
C. Customers
D. Metadata
E. Sites configurations
View answer
Correct Answer: BC
Question #29
A developer is asked to create a new service instance that will call a remote web service. Which method should the developer use to create the service instance?
A. dw
B. dw
C. dw
D. dw
View answer
Correct Answer: C
Question #30
What should be considered when evaluating integration points?
A. Project timeline and project risks
B. Project budget and marketing strategy
C. System architecture and data type
D. Technical details and data migration approach
View answer
Correct Answer: C

View The Updated Salesforce Exam Questions

SPOTO Provides 100% Real Salesforce Exam Questions for You to Pass Your Salesforce Exam!

View Answers after Submission

Please submit your email and WhatsApp to get the answers of questions.

Note: Please make sure your email ID and Whatsapp are valid so that you can get the correct exam results.

Email:
Whatsapp/phone number: