Weekend Sale Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

SAP P_C4H340_34 SAP Certified Development Professional - SAP Commerce Cloud Developer Exam Practice Test

Page: 1 / 8
Total 82 questions

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

Question 1

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

correct answers to this question.

Options:

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

Question 2

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 3

Which of the following are best practices for adding a new parameter to an existing method of

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

Options:

A.

Overload the existing method of CommerceCartService by adding the new parameter.

B.

Add a new property to CommerceCartParameter in a beans.xml file.

C.

Extend the default strategy called by the method to handle the new parameter.

D.

Extend the default implementation of the method to handle the new parameter.

Question 4

In SmartEdit, what can you do with variations defined for a customization? Note: There are 3

correct answers to this question.

Options:

A.

Assign the customer a custom search profile if a variation is in effect.

B.

Apply a variation to customers who belong to a combination of segments.

C.

Show different content in a slot if a variation is in effect.

D.

More than one variation in a customization can be triggered at the same time.

E.

Give the customer a coupon if a variation is in effect.

Question 5

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

are 2 correct answers to this question.

Options:

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

Question 6

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 7

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.

Options:

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

Question 8

During development, how do you ensure that the modified resources of an installed addon get

copied into the storefront? Note: There are 2 correct answers to this question.

Options:

A.

Set up the resourceFilter.

B.

Make sure the addonFilter is enable

C.

Run an ant all command.

D.

Run an ant deploy command.

Question 9

Which features does the Cloud Hot Folders module support? Note: There are 2 correct answers to

this question.

Options:

A.

Direct configuration of Hot Folders in the Cloud Portal

B.

Media using external URLs in uploaded ImpEx

C.

Zip archives with Impex, media and CSV files

D.

Data export into Azure Blob storage.

Question 10

What must you always specify when you are creating a new Adaptive Search Profile? Note: There

are 3 correct answers to this question.

Options:

A.

Category

B.

Index configuration

C.

Index type

D.

User

E.

Catalog version

Question 11

What causes item data to be invalidated in the SAP Commerce Cloud entity cache? Note: There are =====

2 correct answers to this question.

Options:

A.

Receiving an invalidation event for the item via cluster messaging

B.

Calling the modelService.create( ) method passing a Model class

C.

Calling a setter method on a Model class

D.

Calling the modelService.save( ) method passing an item model

Question 12

What can you do in the Builds workspace in Cloud Portal? Note: There are 2 correct answers to

this question.

Options:

A.

Delete a build that is no longer needed

B.

View the history of the past deployments of a selected build

C.

Deploy a successful build to a certain environment

D.

Rebuild a successful build to do a performance test

Question 13

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 14

What Solr index operation uses the indexedProperties field on the SolrExtIndexerCronJob?

Options:

A.

FULL

B.

UPDATE

C.

DELETE

D.

PARTIAL_UPDATE

Question 15

You have created your products and price rows using the approach displayed in the following

ImpEx file: $catalog-id=Default $catalogversion=Staged $catalogversion=catalogversion(catalog(id),version)

[unique=true,default=$catalog

-id:$catalog-version] INSERT_UPDATE

Product;code[unique=true];$catalogversion;name[lang=en];unit(code);approvalStatus(code); ;pro

duct1;;product1;pieces;approved; ;product2;;product2;pieces;approved; #in total 1000 product

data lines INSERT_UPDATE

PriceRow;productId[unique=true];price;unit(code);currency(isocode) ;product1;100;pieces;EUR ;pr

oduct2;200;pieces;EUR #in total 1000 price row data lines. After you import this file and

synchronize the catalogs (Staged to Online), how many items are stored in the database?

Options:

A.

2000 products and 1000 price rows

B.

1000 products and 2000 price rows

C.

2000 products and 2000 price rows

D.

1000 products and 1000 price rows

Question 16

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 17

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 18

You want to add a new feature using a classification system. What should you pay

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

Options:

A.

Use feature descriptor values if the values of the new feature are limited to a selection.

B.

Create an empty classification unit even if the new feature doesn’t have a unit.

C.

Use a feature descriptor to represent the name of the new feature and assign it to the product.

D.

Create a classifying category with an attribute assignment model and assign it to the product.

Question 19

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

are 2 correct answers to this question.

Options:

A.

Extend the Accelerator storefront.

B.

Extend the Backoffice.

C.

Provide additional RESTful web services for OCC.

D.

Provide a new web application.

Question 20

What is the recommended way to deploy Solr in a production environment? Note: There are 2

correct answers to this question.

Options:

A.

Embedded with the SAP Commerce Cloud server

B.

As one leading server and multiple subordinate servers

C.

As one standalone server

D.

As a Solr Cloud

Question 21

What attributes can you set for a SearchRestriction? Note: There are 2 correct answers to this

question.

Options:

A.

restrictedType

B.

currentUser

C.

principal

D.

argumentType

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

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 24

What is SmartEdit’s Navigation Management page useful for? Note: There are 2 correct answers to

this question.

Options:

A.

It can define more than one navigation hierarchy, each accessed by a different component on the

page.

B.

It allows you to manipulate a hierarchy of CMSNavigationNode items, each of which may contain

a CMSNavigationEntry.

C.

It allows you to manipulate a parent-child hierarchy of CMSLinkComponent objects.

D.

It is used to configure automatic mapping of the Product Catalog’s category hierarchy to the

navigation bar displayed on site pages.

Page: 1 / 8
Total 82 questions