Summer Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: s2p65

Easiest Solution 2 Pass Your Certification Exams

P_C4H340_34 SAP Certified Development Professional - SAP Commerce Cloud Developer Free Practice Exam Questions (2025 Updated)

Prepare effectively for your SAP P_C4H340_34 SAP Certified Development Professional - SAP Commerce Cloud Developer certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2025, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 1 / 2
Total 82 questions

You need to add a new Cockpit to the Backoffice to implement new features for a business user

role. Which tasks are required? Note: There are 2 correct answers to this question.

A.

Create or reuse an add-on, and install it into the storefront.

B.

Create a new multiplexer widget for the borderlayout widget.

C.

Create or reuse a Backoffice extension with the proper meta information.

D.

Add a new layout widget in config.xml.

You updated a price row for a particular product using the Backoffice Product Cockpit and also

made sure the cronjob for synchronizing the involved product catalog was executed sucessfully.

When you visit the category page containing the specific product, you discover that its new price

value is NOT properly displayed. How can you fix this issue?

A.

Synchronize the category page in the Backoffice Administration Cockpit

B.

Run a Solr indexer operation in the Backoffice Administration Cockpit

C.

Synchronize the involved product in the Backoffice Product Cockpit directly

D.

Re-import the price using ImpEx

How can you start a business process in SAP Commerce Cloud? Note: There are 2 correct answers

to this question.

A.

Use the hot folder functionality by creating a file in the configured hot file.

B.

Use the Backoffice Business Process section.

C.

Invoke the appropriate method of the BusinessProcessService from a script in the hybris

Administration Console (hAC) scripting console.

D.

Invoke the appropriate method of the BusinessProcessService from Java code

Which of the following can you configure in a widget definition (definition.xml) file? Note: There ========

are 2 correct answers to this question.

A.

The available non-virtual sockets

B.

The available virtual sockets

C.

The view file

D.

The default values for widget settings

E.

The business logic of the widget via a bean shell script

In an extension named myext, you defined Pump, a subtype of the Product item type with a

property named efficiency. You have also extended the productDTO bean to have an efficiency

property. To copy the efficiency property to the productDTO, what do you need to do? Note:

There are 2 correct answers to this question.

A.

Write a PumpProductConverter class that extends AbstractPopulatingConverter, and copies the

efficiency property from the Pump item to the productDTO bean if the item is an instance of Pump.

Configure an instance of this converter in myext-spring.xml.

B.

Make sure the definition of the Pump item type defines the efficiency attribute with persistence

type property. When you run at all, the productConverter class generated in bootstrap/gensrc will

copy the efficiency property to the productDTO.

C.

Create a PumpPopulator class that extends ProductPopulator and, if necessary, copies the

efficiency property from the Pump item to the productDTO bean. In myext-spring.xml, redefine the

productPopulator alias to point to an instance of PumpPopulator.

D.

Write a PumpAttributePopulator class that copies the efficiency property from the item to the

DTO only if its method is passed an instance of PumpModel. Define a bean for this new class in

myext-spring.xml, and use a modifyPopulatorList bean to add it to the productConverter's list of

populators.

The miniature car replicas your company sells on its site are now available in a choice of colors,

each at a different price point. You wish your product page to allow your customers to select the

color before adding the replica to the cart. To complicate things, your boss won’t let you restart

your production servers to add this functionality. What entities would you have to create to

achieve this?

A.

A ConfigurationCategory, an AbstractConfiguratorSetting for color, a ConfiguratorType, and an

OrderEntryProductInfo for each color a given replica is available in.

B.

A VariantCategory for color, a VariantValueCategory for each color, and a GenericVariantProduct

for each color a given replica is available in.

C.

A ClassficationCategory, a ClassificationAttribute for color, a ClassificationAttributeUnit, a

ClassificationAttributeValue for each color a given replica is available in, and a

ClassAttributeAssignmentModel instance to tie them together.

D.

A ComposedType, that extends the VariantProduct type to add a color attribute, and an instance

of this type for each color a given replica is available in.

What are AddOns specifically designed to allow an SAP Commerce developer to do? Note: There

are 2 correct answers to this question.

A.

Extend the Accelerator storefront.

B.

Extend the Backoffice.

C.

Provide additional RESTful web services for OCC.

D.

Provide a new web application.

What should you pay attention to when you are working with webhook?

A.

A webhook requires an integration object as notification payload and consumed destination as the webhook…

B.

A webhook uses the optional filter attribute to control which consumed destination will received notifications

C.

A webhook can be configured to send notifications when an item is created, updated or deleted.

D.

A webhook guarantees the At Least Once(ALO) principal and concurrent events are not completely discarded.

You are asked to define a new business process. What steps do you perform? Note: There are 3

correct answers to this question.

A.

Define the process in BPMN format.

B.

Define the actions as Spring beans.

C.

Create actions in Java code.

D.

Define actions as new item types.

E.

Define the process in XML format.

Which order-splitting strategies are provided in the basecommerce extension? Note: There are 3

correct answers to this question.

A.

Split by warehouse

B.

Split by stock availability

C.

Split by named delivery date

D.

Split by order date

E.

Split by payment method

You need to create a new custom promotion based on customer reviews for a product. You create

a customPromotion extension with a new Rule Aware Object to keep customer reviews. In which

file will you define this new Rule Aware Object?

A.

In the customPromotion-backoffice-config.xml file

B.

In the customPromotion-spring.xml file

C.

In the customPromotion-beans.xml file

D.

In the customPromotion-items.xml file

Which of the following steps could be included in the process of installing an AddOn? Note: There =======

are 3 correct answers to this question.

A.

Run ant all.

B.

Configure storefront properties files.

C.

Run ant addoninstall.

D.

Run ant modulegen.

E.

Copy files from the storefront to the AddOn web source folder

To install and configure the Solr server in cloud mode, which sequence of steps should you use?

A.

Disable the autostart for the default instance. Enable the autostart for the cloud instance. Set the

cloud instance mode to true.

B.

Disable the autostart for the cloud instance. Enable the autostart for the default instance. Set the

default instance mode to cloud.

C.

Disable the autostart for the default instance. Enable the autostart for the cloud instance. Set the

cloud instance mode to cloud.

D.

Disable the autostart for the cloud instance. Enable the autostart for the default instance. Set the

cloud instance mode to true.

How many category items will the following ImpEx create?

$prodCat=electronicsProductCatalog

$version=Staged

$catVersion=catalogVersion(catalog(id[default=$prodCat]),version[default=$version])

INSERT_UPDATE Category;code[unique=true];$catVersion[unique=true]

;test_category;electronicsProductCatalog

;test_category;apparelProductCatalog:$version

;test_category;:Online

;test_category;

A.

1

B.

3

C.

4

D.

2

What happens when you use a deployment tag in the items.xml file? Note: There are 2 correct ======

answers to this question.

A.

All instances of the enclosing type are stored in the specified database table.

B.

Only non-inherited properties of the enclosing type are stored in the deployment table.

C.

The deployment typecode is used as part of the primary key (PK) of that type's items.

D.

The name of the deployment table is generated automatically.

Your system contains a search restriction with the following parameters: Type: Product User:

anonymous. Restriction: 1=0. There is a product "Candle" in the online catalog and a variant

product "PinkCandle" in the online catalog. The system renders the Product Detail Page for Pink

Candle using the following flexible search query: "SELECT {pk} FROM {VariantProduct} WHERE

{code}="PinkCandle". What happens next?

A.

The flexible search query returns a null value.

B.

The flexible search query returns “PinkCandle”.

C.

The flexible search query returns an SQL exception.

D.

The flexible search query returns an empty list.

How can you create asynchronous events in the SAP Commerce Cloud platform? Note: There are 2 ========

correct answers to this question.

A.

Implement the ClusterAwareEvent interface.

B.

Extend the AbstractEvent class.

C.

Implement the TransactionAwareEvent interface.

D.

Change the platformClusterEventSender Spring bean configuration.

You are implementing two new independent extensions, extension A and extension B, both of

which extend and overwrite a bean of the core platform. How can you make sure the bean from

extension A doesn’t override the one from extension B? Note: There are 2 correct answers to this

question.

A.

Use the beans' parent attribute in extension B to specify the core bean.

B.

Add only one of the extensions into localextensions.xml at the same time.

C.

The beans are loaded in alphabetical order; therefore, extension B takes precedence.

D.

Define a dependency wherein extension B requires extension A

To define the data that gets extracted into the Solr index for searching, what do you need to

provide? Note: There are 2 correct answers to this question.

A.

A flexible search query for an incremental update

B.

A solrconfig XML file

C.

An ImpEx script for a full load

D.

A flexible search query for a full load

How does SAP Commerce cloud, composable storefront compare to the SAP Commerce Cloud Accelerators? Note: There are 2 correctanswers to this question.

A.

They have the same feature parity, but Spartacus is more upgradable.

B.

Accelerators are JSP-based while Spartacus is JavaScript-based.

C.

They are both using OCC API to connect to the commerce platform.

D.

They are both extensible according to project requirement.

Page: 1 / 2
Total 82 questions
Copyright © 2014-2025 Solution2Pass. All Rights Reserved