Summer Sale Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 28522818

Home > SAP > SAP Certified Development Professional > P_C4H340_34

P_C4H340_34 SAP Certified Development Professional - SAP Commerce Cloud Developer Question and Answers

Question # 4

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.

A.

Staging

B.

Production

C.

Pre-Production

D.

Test

E.

Development

Full Access
Question # 5

What can a *-backoffice-widgets.xml contain in the Backoffice framework? Note: There are 2

correct answers to this question.

A.

Spring beans of backoffice web context

B.

Context configuration object definition

C.

Virtual socket definition

D.

Widget connection

Full Access
Question # 6

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

correct answers to this question.

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.

Full Access
Question # 7

In personalization (based on SmartEdit), you want to configure when the experience calculation is

triggered for registered customers without requiring any customization. What are the available

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

A.

Trigger the experience calculation for certain URL patterns.

B.

Trigger the experience calculation after a defined number of requests.

C.

Trigger the experience calculation when the customer logs in.

D.

Trigger the experience calculation when the customer adds a product to the cart.

E.

Trigger the experience calculation when the customer is promoted to a reward-level status.

Full Access
Question # 8

What do you set up to create visibility rules for specific product items for a user group?

A.

A type access right on the Product type for the user group

B.

A search restriction on the UserGroup type

C.

A search restriction on the Product type for the user group

D.

A type access right on the UserGroup type

Full Access
Question # 9

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

Full Access
Question # 10

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

Full Access
Question # 11

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.

Full Access
Question # 12

What are the advantages of using classification attributes? Note: There are 2 correct answers to

this question.

A.

Cached classification attributes provide better performance than fixed properties.

B.

Classification attributes are applied dynamically in response to customer actions.

C.

Business users can create or modify classification attribute definitions using the Backoffice.

D.

When modifying, Rebuilding and redeployment are NOT required.

Full Access
Question # 13

Which of the following items are configured via a direct relation to a BaseStore? Note: There are 3 =======

correct answers to this question.

A.

A list of Content Catalogs providing the pages, slots, and other CMSItems shown to Customers

B.

A list of Product Catalogs providing the product info shown to Customers

C.

A list of customers associated with the BaseStore.

D.

A list of warehouses that support the delivery

E.

A list of points of service that represent local branches

Full Access
Question # 14

Which of the following configurations can be done to a ContentSlot? Note: There are 2 correct =======

answers to this question.

A.

Assign it to a maximum of one page using a ContentSlotForPage item.

B.

Add a list of CMSComponents to it.

C.

Assign it to one or more pages using ContentSlotForPage items.

D.

Define valid CMS Components for it by modifying the ElementsForSlot relation.

Full Access
Question # 15

What can you configure on the Endpoint Configuration page in Cloud Portal? Note: There are 3

correct answers to this question.

A.

SSL Certificate

B.

IP Filter Sets

C.

Trusted Certificates

D.

Redirect Sets

E.

Host Alias Sets

Full Access
Question # 16

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.

Full Access
Question # 17

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.

A.

properties

B.

addons

C.

webapps

D.

extensions

Full Access
Question # 18

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

answers to this question.

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.

Full Access
Question # 19

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

Full Access
Question # 20

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.

Full Access
Question # 21

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

to this question.

A.

Customer Interests

B.

Wish List

C.

B2B Scheduled Replenishment

D.

Newsletter Subscription

E.

Configurable Promotions

Full Access
Question # 22

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

this question.

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

Full Access
Question # 23

What are best practices when using models? Note: There are 2 correct answers to this question.

A.

Create models using Java’s ‘new’ keyword

B.

Use modelService.get() to obtain an item referenced by another using its PK.

C.

Save the model using the modelService after the model is modified.

D.

Create models using modelService.create( ).

Full Access
Question # 24

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.

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

Full Access