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

SAP Certified Development Professional Changed P_C4H340_34 Questions

Page: 4 / 6
Total 82 questions

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

Question 13

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 14

Which of the following is a mechanism used by WCMS to position components on a page?

Options:

A.

The Page item has a position map that links each component to the component in the page that

the item should be displayed in.

B.

The ContentSlot item’s code property is used to determine which slot in the page that the item

should be displayed in.

C.

The component’s CurrentPosition attribute is used to determine which component within the

page the item should be displayed in.

D.

The position attribute in the ContentSlotForTemplate item is used to identify the slot in the page

that the item should be displayed in.

Question 15

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 16

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.

Page: 4 / 6
Total 82 questions