Comm-Dev-101 Sample Questions

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 →

Showing 6 of 12 free samples.

  1. 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: B, C, F

    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 Registry Callback (specifically the createRequest and parseResponse methods in the initialization script) is where the logic for handling the request payload and parsing the 500 error or success response resides.

    The Service Credential stores the URL, username, and password required to connect to the external SAP system.

  2. 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-Show controller endpoint MUST explicitly enable caching (e.g., using response.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.

  3. 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 a forms_ja_JP.properties file 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/resources folder of the cartridge. The system automatically resolves the correct file based on the current locale.

  4. 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.json file in Business Manager.

    Which specific API permission must be granted to the client ID in the shop context?

    Show answer & explanation

    Correct answer: A

    To create a basket, the client needs POST permission on the /baskets resource in the Shop API.

  5. 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_definition folder.

    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 product renders 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.

  6. 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 viewCount attribute 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.