Labour Day Special - 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: c4sdisc65

Note! P_C4H340_24 has been withdrawn. The new exam code is P_C4H340_34

P_C4H340_24 Practice Exam Questions with Answers SAP Certified Development Professional - SAP Commerce Cloud Developer Certification

Question # 6

How can you define a new event? Note: There are 2 correct answer to this question.

A.

Create a new EventTemplate in an ImpEx file.

B.

Create a new ItemType in an items.xml file.

C.

Extend a pre-defined event OTO in a custom beans.xml.

D.

Create a new OTO in a beans.xml file.

Full Access
Question # 7

You restart the platform without running "ant all". Which of the following changes take effect? Note: There are 2 correct answer to this question.

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

Full Access
Question # 8

Which component configurations does the ServiceLayer architecture promote? Note: There are 3 correct answer to this question.

A.

Services orchestrate Strategies

B.

Services orchestrate Converters

C.

Facades orchestrate Converters

D.

Facades orchestrate Strategies

E.

Facades orchestrate Services

Full Access
Question # 9

What does the Cloud Portal application enable you to do? Note: There are 3 correct answer to this question.

A.

Set up and deploy SAP Commerce Cloud in the public cloud.

B.

Manage the configurations of your cloud hot folders.

C.

Create and configure endpoints tied to configured aspects.

D.

Review the page load times of your environments.

E.

Generate new passwords for admin and anonymous users.

Full Access
Question # 10

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 answer 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 ant 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 OTO 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.

Full Access
Question # 11

You are creating a new SolrlndexProperty as a facet and want to define it using facet ranges. What do you need to do to achieve that?

A.

Manually create SolrValueRange items to define the range boundaries. Create a SolrValueRangeSet, add SolrValueRange items, and add to the SolrlndexProperty.

B.

Define the number of ranges in the SolrlndexProperty. Provide sample data that isused to generate the SolrValueRange items.

C.

Define the cadence of the ranges in the SolrlndexProperty. Provide the sample data that is used to generate the SolrValueRangeSet.

D.

Create SolrValueRange items to define the range boundaries. Add them to the SolrlndexProperty.

Full Access
Question # 12

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 OrderEntryProductlnfo 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