Comm-Dev-101 Sample Questions & Answers
Free B2C Commerce Cloud Developer practice questions with worked answers and explanations. See how the ExamJungle simulator prepares you — then jump into the full test.
Launch the full Comm-Dev-101 simulator →Free Comm-Dev-101 Sample Questions with Answers
Real questions from the B2C Commerce Cloud Developer practice test — answers and explanations included. Showing 6 of 12 free samples.
- Question 1IntermediateSelect 3
Data Management Using Business Manager Usage · Services Framework
A developer needs to implement a real-time inventory check against an external SAP system when a user navigates to the cart page. The integration requires a timeout of 2 seconds and must handle 500 status codes gracefully by falling back to cached inventory data.
Which three components of the Service Framework are essential to configure this integration correctly? (Select THREE)
Show answer & explanation
Correct answers: A, B, C
The Service Profile defines functional aspects like timeouts, rate limits, and the circuit breaker capability, which is critical for the 2-second timeout requirement.
The Service Credential stores the URL, username, and password required to connect to the external SAP system.
The Service Registry Callback (specifically the
createRequestandparseResponsemethods in the initialization script) is where the logic for handling the request payload and parsing the 500 error or success response resides. - Question 2Intermediate
Application Development · Caching and Performance
A developer is creating a new ISML template that includes a remote include to cache a footer element separately from the main page.
True or False: The
Footer-Showcontroller endpoint MUST explicitly enable caching (e.g., usingresponse.setExpires()) for the remote include to be cached independently of the parent page.Show answer & explanation
Correct answer: A
True. Remote includes initiate a separate request pipeline. For the result of that request (the footer) to be cached, the controller handling that request must define its own caching policy. If it does not, it will default to not caching, or inherit default behavior which might not be the intended independent cache duration.
- Question 3Beginner
Application Development · Localization
A global brand is rolling out a new site for the Japanese market. They have created a new locale
ja_JP. The developer has received aforms_ja_JP.propertiesfile containing the translated labels.Where must this file be placed within the cartridge structure to be automatically picked up by the Forms Framework?
Show answer & explanation
Correct answer: A
Resource bundles (properties files) used for localization in B2C Commerce are typically placed in the
templates/resourcesfolder of the cartridge. The system automatically resolves the correct file based on the current locale. - Question 4Intermediate
Data Management Using Business Manager Usage · OCAPI Configuration
A developer needs to configure Open Commerce API (OCAPI) permissions to allow an external mobile application to create guest baskets. The developer opens the
ocapi_settings.jsonfile in Business Manager.Which specific API permission must be granted to the client ID in the
shopcontext?Show answer & explanation
Correct answer: A
To create a basket, the client needs
POSTpermission on the/basketsresource in the Shop API. - Question 5Intermediate
Application Development · Page Designer
A developer is creating a Page Designer component that requires a user to select a product from the catalog. The component configuration is defined in the JSON file in the
meta_definitionfolder.Which attribute type should be used in the JSON definition to provide a native product picker UI in Page Designer?
Show answer & explanation
Correct answer: A
In Page Designer meta definition files, the type
productrenders a specialized UI widget that allows the merchant to browse and select a product from the catalog. The value returned to the script is the product ID. - Question 6Advanced
Work With a B2C Site · Search Configuration
The marketing team wants to display a "Trending Now" badge on product tiles for products where the
viewCountattribute is greater than 1000. This attribute is updated nightly via a job. The requirement is to implement this logic in the search results page.To ensure optimal performance and cache efficiency, which approach is BEST?
Show answer & explanation
Correct answer: D
Calculating logic (like > 1000) inside a template for every search hit is inefficient. Pre-calculating a boolean flag (
isTrending) during the import job and indexing it allows for extremely fast retrieval and rendering without object lookup overhead.
Ready for the real thing?
The full Comm-Dev-101 simulator has every exam-style question, timed mode, and instant scoring.