Winter Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dumps65

SAP P_C4H340_34 Dumps

Page: 1 / 8
Total 82 questions

SAP Certified Development Professional - SAP Commerce Cloud Developer Questions and Answers

Question 1

When are consignments created for an order in the default order management implementation?

Options:

A.

When an administrator approves the order

B.

After the order is placed, but before it is sourced successfully

C.

When the user adds items to the cart

D.

After the order is placed and after it has been sourced successfully

Question 2

You are running a transaction that creates an item and updates it twice. If the transaction is

committed successfully, how many AfterSaveEvent items will the ServiceLayer create?

Options:

A.

1

B.

0

C.

3

D.

2

Question 3

When you are defining properties in manifest.json, which of the following attributes are you

allowed to use? Note: There are 3 correct answers to this question.

Options:

A.

value

B.

name

C.

environment

D.

key

E.

persona

Question 4

When you define an aspect in your manifest.json file, what types of information should you

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

Options:

A.

properties

B.

addons

C.

webapps

D.

extensions

Question 5

You restart the platform without running "ant all". Which of the following changes take effect?

Note: There are 2 correct answers to this question.

Options:

A.

Addition of a Spring bean definition

B.

Removal of an extension from the localextensions.xml file

C.

Definition of a new item type in the items.xml file for an extension

D.

Changes to database properties in the local.properties file

Question 6

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

answers to this question.

Options:

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.

Question 7

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

to this question.

Options:

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

Question 8

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?

Options:

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

Question 9

Why are rule-aware objects (RAOs) used in the rule engine? Note: There are 2 correct answers to

this question.

Options:

A.

To store the configuration of the rule engine

B.

To provide the data as facts in rule conditions and actions

C.

To persist the results of the rule evaluation

D.

To eliminate unnecessary data provided by complex objects

Question 10

What is the effect of the redeclare attribute within an itemtype definition? Note: There are 2

correct answers to this question.

Options:

A.

It can be used to change the type of an attribute.

B.

It can be used to change the class of an itemtype.

C.

It can be used to change the name of an attribute.

D.

It can be used to change the modifier of an attribute.

Question 11

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

correct answers to this question.

Options:

A.

Implement the ClusterAwareEvent interface.

B.

Extend the AbstractEvent class.

C.

Implement the TransactionAwareEvent interface.

D.

Change the platformClusterEventSender Spring bean configuration.

Question 12

How is the primary key (PK) for an SAP Commerce Cloud item created? Note: There are 2 correct

answers to this question.

Options:

A.

It is automatically generated and assigned.

B.

It is generated from a counter and the type code of the item.

C.

It is generated from the item’s unique business key(s).

D.

It is provided by the user in the Create wizard or as a column value in ImpEx.

Question 13

What can you do within the integration UI Tool in Backoffice? Note: There are 2 correct answers to

this question.

Options:

A.

Create a search restriction to secure an integration object for only a certain integration user

group.

B.

Set up access rights for integration objects.

C.

Force-delete an integration object even if it is associated with an InboundChannelConfiguration

(ICC).

D.

Export the configuration types so that they can be imported into a target system.

Question 14

Which services are included in the basecommerce extension to address customer services

functionality? Note: There are 3 correct answers to this question.

Options:

A.

OrderCancelService

B.

ReturnService

C.

CustomerReviewService

D.

CustomerAccountService

E.

RefundService

Question 15

You are implementing a new custom promotion action that changes the delivery mode of an

order. What steps are required to make sure that the effects of this action are reverted as soon as

the condition that triggered it is NO longer fulfilled? Note: There are 2 correct answers to this

question.

Options:

A.

Implement the undo method in your custom rule action strategy

B.

Define a new session attribute to store the original delivery mode

C.

Implement your custom action item so that it can store the original delivery mode

D.

Create a promotion that uses the inverse action if the condition is NOT fulfilled

Question 16

Which interface would you inject into your class to allow you to trigger an indexing operation via ======

API?

Options:

A.

IndexerStrategy

B.

IndexerQueryContext

C.

IndexerListener

D.

IndexerService

Question 17

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.

Options:

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.

Question 18

What type of class should you implement when you need to change the trigger for recalculating

the user experience results?

Options:

A.

A populator

B.

An interceptor

C.

A voter

D.

A controller

Question 19

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

Options:

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.

Question 20

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.

Options:

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

Question 21

You are creating a new SolrIndexProperty as a facet and want to define it using facet ranges. What =======

do you need to do to achieve that?

Options:

A.

Manually create SolrValueRange items to define the range boundaries.

Create a SolrValueRangeSet, add SolrValueRange items, and add to the SolrIndexProperty.

B.

Define the number of ranges in the SolrIndexProperty.

Provide sample data that is used to

generate the SolrValueRange items.

C.

Define the cadence of the ranges in the SolrIndexProperty.

Provide the sample data that is used

to generate the SolrValueRangeSet.

D.

Create SolrValueRange items to define the range boundaries.

Add them to the SolrIndexProperty

Question 22

Which of the following relations are defined in the data model for personalization (based on ======

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

Options:

A.

A one-to-many relation between CxExpressionTrigger and CxSegment.

B.

A one-to-many relation between CxCustomization and CxVariation.

C.

A many-to-many relation between CxVariation and CxAbstractAction.

D.

A many-to-many relation between CxSegmentTrigger and CxSegment

Question 23

Which of the following are valid types of environments in SAP Commerce Cloud in the public

cloud? Note: There are 3 correct answers to this question.

Options:

A.

Staging

B.

Production

C.

Pre-Production

D.

Test

E.

Development

Question 24

Which of the core storefront features does Spartacus support? Note: There are 3 correct answers

to this question.

Options:

A.

Customer Interests

B.

Wish List

C.

B2B Scheduled Replenishment

D.

Newsletter Subscription

E.

Configurable Promotions

Page: 1 / 8
Total 82 questions