All Practice Exams

100+ Free SAP Commerce Cloud - Developer Practice Questions

Pass your SAP Certified Professional - Developer - SAP Commerce Cloud (P_C4H34_2411) exam on the first try — instant access, no signup required.

✓ No registration✓ No credit card✓ No hidden fees✓ Start practicing immediately
100+ Questions
100% Free
1 / 100
Question 1
Score: 0/0

Which ServiceLayer service should a developer use to create, save, or remove a persistent model instance such as a ProductModel?

A
B
C
D
to track
2026 Statistics

Key Facts: SAP Commerce Cloud - Developer Exam

80

Number of Questions

SAP P_C4H34_2411 exam guide

180 min

Exam Duration

SAP P_C4H34_2411 exam guide

61%

Cut Score to Pass

SAP P_C4H34_2411 exam guide

10

Official Topic Areas

SAP Learning blueprint

~3 years

Recommended Experience

SAP (practical SAP Commerce Cloud development)

Professional

Certification Level

SAP SE

SAP lists the P_C4H34_2411 exam (SAP Certified Professional - Developer - SAP Commerce Cloud) as an 80-question, 180-minute professional exam with a 61% cut score, delivered in English. The ten topic areas are Platform Basics, Platform Features, Commerce, and Customer Experience (each 11-20%), plus PCM, Order Management and Customer Services, Commerce Cloud and Cloud Portal, Backoffice Framework, Integration, and Managing Clean Core (each up to 10%). SAP recommends about three years of hands-on Commerce development experience and may update topics or the delivery format at any time.

Sample SAP Commerce Cloud - Developer Practice Questions

Try these sample questions to test your SAP Commerce Cloud - Developer exam readiness. Each question includes a detailed explanation. Start the interactive quiz above for the full 100+ question experience with AI tutoring.

1In SAP Commerce Cloud, which file is used to define new item types or extend existing item types within an extension?
A.items.xml
B.beans.xml
C.spring.xml
D.localextensions.xml
Explanation: The items.xml file in an extension's resources folder defines the type system: item types, enumerations, collection types, relations, and atomic types. During the build, the platform reads items.xml and generates the corresponding Java model classes and database schema.
2When you run the platform build, what does SAP Commerce generate from each itemtype defined in items.xml?
A.A Jalo class only, with no database changes
B.A generated model class (e.g., ProductModel) and the corresponding database table
C.A REST controller exposed under /occ/v2
D.A Backoffice widget definition
Explanation: The code generation step creates a Java model class such as ProductModel for the Product itemtype, plus the database deployment table specified by the <deployment> element. Models are the ServiceLayer representation of persistent items and are returned by services like FlexibleSearchService and ModelService.
3Which element in an itemtype definition specifies the database table name and the unique typecode used by the platform?
A.<persistence>
B.<modifiers>
C.<deployment>
D.<custom-properties>
Explanation: The <deployment> element, e.g. <deployment table="MyType" typecode="10500"/>, maps an itemtype to its dedicated database table and assigns a unique numeric typecode. Custom typecodes must fall within the allowed customer range (10000-32767) to avoid collisions with SAP-reserved codes.
4A developer needs an attribute whose value can differ per language, such as a product name shown in English and German. How should the attribute type be declared in items.xml?
A.type="java.lang.String"
B.type="map:String"
C.type="enum:String"
D.type="localized:java.lang.String"
Explanation: Prefixing the attribute type with localized: (for example localized:java.lang.String) makes the attribute store a separate value per active language. The platform persists localized values keyed by language, and code or ImpEx accesses them as name[en], name[de], and so on.
5Which ServiceLayer service should a developer use to create, save, or remove a persistent model instance such as a ProductModel?
A.ModelService
B.FlexibleSearchService
C.MediaService
D.CatalogVersionService
Explanation: ModelService handles the lifecycle of model objects: create(), save(), saveAll(), remove(), and refresh(). FlexibleSearch is read-only, so all write operations on persistent items go through ModelService.
6In the SAP Commerce ServiceLayer architecture, what is the primary responsibility of a Facade?
A.Persist items directly to the database tables
B.Aggregate one or more services and convert model objects into data transfer objects for a specific use case
C.Translate FlexibleSearch into SQL
D.Manage Solr index configuration
Explanation: A Facade orchestrates calls to multiple services and maps the resulting model objects to data transfer objects (DTOs) tailored to a presentation or API use case, often using converters and populators. This keeps the controller or storefront layer decoupled from the persistence models.
7Which mechanism transforms a source model object into a target data transfer object by populating individual fields, and can be chained for modular conversion?
A.Interceptor
B.ValidateInterceptor
C.Converter with Populators
D.DynamicAttributeHandler
Explanation: SAP Commerce uses Converters together with Populators to map model objects to DTOs. A converter delegates to an ordered list of populators, each of which copies a subset of fields, so additional populators can be injected to extend the conversion without rewriting it.
8A developer wants to run custom logic automatically every time a model is about to be persisted, for example to set a default value. Which interceptor type should be implemented?
A.LoadInterceptor
B.RemoveInterceptor
C.InitDefaultsInterceptor
D.PrepareInterceptor
Explanation: A PrepareInterceptor runs immediately before an item is saved and is the right place to set or adjust attribute values prior to persistence. The interceptor chain also includes Validate, Remove, Load, and InitDefaults interceptors, each triggered at a distinct lifecycle stage.
9Where is the list of extensions that make up the running SAP Commerce platform configured?
A.localextensions.xml
B.project.properties of each extension
C.extensioninfo.xml
D.manifest.json only
Explanation: localextensions.xml (in the config folder) lists the extensions loaded into the platform, either explicitly or via autoload directories. Each extension also has its own extensioninfo.xml declaring its dependencies, but the platform's active set is driven by localextensions.xml.
10Which file inside an extension declares that extension's required dependencies on other extensions?
A.localextensions.xml
B.extensioninfo.xml
C.buildcallbacks.xml
D.external-dependencies.xml
Explanation: extensioninfo.xml defines the extension's metadata, including <requires-extension> entries that declare dependencies on other extensions. The platform uses these declarations to order the build and resolve the dependency graph.

About the SAP Commerce Cloud - Developer Exam

The P_C4H34_2411 exam leads to the SAP Certified Professional - Developer - SAP Commerce Cloud credential, validating that an experienced developer can build and extend SAP Commerce Cloud solutions. The blueprint covers the type system and items.xml, the ServiceLayer with ModelService and FlexibleSearch, ImpEx data loading, CronJobs, WCMS and storefront development, the cart/checkout/order flow, the Drools-based promotion engine, Solr search, the OCC v2 REST API, and CCv2 build and deployment using manifest.json aspects. SAP positions it as a professional-level exam that assumes roughly three years of hands-on Commerce experience plus solid Java and Spring skills. SAP has begun moving some Commerce Cloud certifications toward hands-on practical formats, so candidates should confirm the current delivery format on the official SAP Learning page.

Questions

80 scored questions

Time Limit

180 minutes

Passing Score

61%

Exam Fee

$1,308 USD (bundle) / regional standalone voucher (SAP SE)

SAP Commerce Cloud - Developer Exam Content Outline

11-20%

Platform Basics

Architecture and the type system in items.xml, generated model classes and deployment typecodes, the ServiceLayer (ModelService, FlexibleSearchService), interceptors, converters and populators, extensions and dependencies, and initialize versus update of the system.

11-20%

Platform Features

FlexibleSearch syntax including subtypes, parameters, joins, and localized selectors; ImpEx header modes, unique modifiers, macros, and media import; CronJobs and Triggers; validation constraints; and dynamic attributes.

11-20%

Commerce

Cart and checkout services and strategies, pricing via PriceRows and calculation, the Drools-based promotion engine and published rules modules, vouchers, quotes, and Solr indexed types, indexing modes, and field value providers.

11-20%

Customer Experience

WCMS pages, content slots and CMS components, ContentSlotForPage resolution, SmartEdit, the Accelerator and Composable Storefront (Spartacus), AddOns, personalization, and CMS restrictions.

<=10%

PCM (Product Content Management)

Catalogs and Staged/Online catalog versions, catalog synchronization, products and variants, the classification system, media, and BaseStore and BaseSite configuration.

<=10%

Order Management and Customer Services

OMS sourcing and allocation, consignments and fulfillment, the business process engine with actions and wait nodes, and the Assisted Service Module for agent-assisted service.

<=10%

Commerce Cloud and Cloud Portal

CCv2 architecture, the manifest.json file with aspects, webapps, and useConfig; Development, Staging, and Production environments; builds, deployments, node groups, and SolrCloud.

<=10%

Backoffice Framework

Widgets and sockets, the application orchestrator, cockpit UI configuration, dynamic forms, and the PCM and administration perspectives in Backoffice.

<=10%

Integration

OCC v2 REST API, OAuth 2.0 grant types and scopes, field-level response selection, Integration API and Integration Objects, webhooks, and Cloud Hot Folders for batch file integration.

<=10%

Managing Clean Core

Upgrade-safe extensibility through released extension points, Spring bean overrides, configuration, and side-by-side extensibility on SAP BTP rather than modifying SAP-delivered core code.

How to Pass the SAP Commerce Cloud - Developer Exam

What You Need to Know

  • Passing score: 61%
  • Exam length: 80 questions
  • Time limit: 180 minutes
  • Exam fee: $1,308 USD (bundle) / regional standalone voucher

Keys to Passing

  • Complete 500+ practice questions
  • Score 80%+ consistently before scheduling
  • Focus on highest-weighted sections
  • Use our AI tutor for tough concepts

SAP Commerce Cloud - Developer Study Tips from Top Performers

1Practice the full type-system flow: define an itemtype in items.xml, run a system update (not initialize) to add columns non-destructively, and confirm the generated *Model class and table.
2Write FlexibleSearch by hand in the hAC console, including subtype exclusion with {Type!}, named parameters like ?code, joins across relations, and localized selectors such as {name[en]}.
3Master ImpEx header modes (INSERT_UPDATE), the [unique=true] lookup behavior, macros with the $ prefix, and the media data translator for importing binary content.
4Know the cart-to-order lifecycle, the calculated flag that triggers recalculation, PriceRow selection, and how the Drools-based promotion engine requires a published rules module to take effect.
5Understand CCv2 deeply: manifest.json aspects (storefront, backoffice, backgroundProcessing) with their webapps and contextPaths, useConfig locations, the Development/Staging/Production environments, deployments with update vs initialize, and SolrCloud.
6Be fluent in OCC v2: OAuth 2.0 tokens from /authorizationserver/oauth/token, the client_credentials versus password grants, the fields parameter (BASIC/DEFAULT/FULL), and clean-core extension via Spring bean overrides and side-by-side BTP apps.

Frequently Asked Questions

What are the current exam facts for P_C4H34_2411?

SAP lists the SAP Certified Professional - Developer - SAP Commerce Cloud exam (P_C4H34_2411) as 80 questions in 180 minutes with a 61% cut score, delivered in English. SAP recommends roughly three years of hands-on SAP Commerce Cloud development experience.

Is this the developer certification or the business user certification?

This is the developer certification, P_C4H34_2411, focused on technical implementation such as the type system, ImpEx, FlexibleSearch, OCC, and CCv2. The separate C_C4H32 certification covers the SAP Commerce Cloud Business User role.

Which topic areas carry the most weight on the exam?

Platform Basics, Platform Features, Commerce, and Customer Experience each carry 11-20%, making them the highest-weighted areas. PCM, Order Management, Commerce Cloud and Cloud Portal, Backoffice Framework, Integration, and Managing Clean Core are each weighted up to 10%.

Is the P_C4H34 exam multiple choice or hands-on practical?

P_C4H34 has historically been a multiple-choice exam, but SAP has announced a transition of some SAP Commerce Cloud certifications toward hands-on practical formats performed in a live environment. Confirm the current delivery format on the official SAP Learning certification page before booking.

Does the certification expire?

The certification itself does not have a hard expiration like some role-based credentials, but SAP recommends keeping it current through Stay Current assessments as new SAP Commerce Cloud releases ship, since exam content tracks the latest version.

What is the best way to prepare for the developer exam?

Get hands-on in a real SAP Commerce Cloud instance: model types in items.xml, load data with ImpEx, write FlexibleSearch queries, build OCC endpoints, and deploy via a CCv2 manifest. Then drill the promotion engine, Solr indexing, business processes, and clean-core extensibility until each pattern feels routine.