Black Friday Special Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

P_C4H340_34 Exam Dumps - SAP Certified Development Professional - SAP Commerce Cloud Developer

Question # 4

What does the Cloud Portal application enable you to do? Note: There are 3 correct answers 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 # 5

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 # 6

How can you define a new event? Note: There are 2 correct answers 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 DTO in a custom beans.xml.

D.

Create a new DTO in a beans.xml file.

Full Access
Question # 7

Where are enumerations stored? Note: There are 2 correct answers to this question.=======

A.

Dynamic enumerations are stored in the active session.

B.

Non-dynamic enumerations are stored as SpEL lists in Spring.

C.

Dynamic enumerations are stored in the database.

D.

Non-dynamic enumerations are stored as enumeration classes.

Full Access
Question # 8

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

2 correct answers to this question.

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

Full Access
Question # 9

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

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

Full Access
Question # 10

How can CronJobs be started or aborted? Note: There are 3 correct answers to this question.

A.

CronJobs can be started manually using flexible search.

B.

CronJobs can be aborted automatically if a configurable time threshold is exceeded.

C.

CronJobs can be started manually via the Backoffice administration perspective.

D.

CronJobs can be aborted only if implemented as abortable.

E.

CronJobs can be started manually via the command line by running "ant runcronjob".

Full Access
Question # 11

When a customer places an order using the default order management process defined in the

Yacceleratorfulfilmentprocess extension, when does the fulfillment process send the notification

that the order has been placed?

A.

After the order has been fraud checked

B.

After the order has been completely sourced

C.

At the first stage of the fulfillment process

D.

After the payment has been processed

Full Access
Question # 12

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

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.

Full Access
Question # 13

You are creating an extension with a web module. What do you need to ensure? Note: There are 2

correct answers to this question.

A.

An extension with a web module can only be extended with an addon.

B.

An extension with a web module must have a web folder.

C.

An extension with a web module must always have a core module.

D.

The web root must be set in the web module directive in the extensioninfo.xml file

Full Access
Question # 14

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

the user experience results?

A.

A populator

B.

An interceptor

C.

A voter

D.

A controller

Full Access
Question # 15

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 # 16

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

correct answers to this question.

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.

Full Access
Question # 17

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

API?

A.

IndexerStrategy

B.

IndexerQueryContext

C.

IndexerListener

D.

IndexerService

Full Access
Question # 18

Your system contains a search restriction with the following parameters: Type: Product User:

anonymous. Restriction: 1=0. There is a product "Candle" in the online catalog and a variant

product "PinkCandle" in the online catalog. The system renders the Product Detail Page for Pink

Candle using the following flexible search query: "SELECT {pk} FROM {VariantProduct} WHERE

{code}="PinkCandle". What happens next?

A.

The flexible search query returns a null value.

B.

The flexible search query returns “PinkCandle”.

C.

The flexible search query returns an SQL exception.

D.

The flexible search query returns an empty list.

Full Access
Question # 19

You are creating a business process (mybusinessprocess) that requires an action (actionB) to pass

an info String value to another action (actionE) occurring later in the process. What do you need to

do to make this possible? Note: There are 2 correct answers to this question.

A.

Create a myBusinessProcess item type that extends BusinessProcess and adds an info String

property. Use an instance of this type to start the process in your Java code with

businessProcessService.startProcess(new myBusinessProcessModel).

B.

Create a myBusinessProcess item type that extends BusinessProcess and adds an info String

property. Specify myBusinessProcessModel as the processClass argument to the process

C.

Create an event myEvent that extends the AbstractProcessEvent and adds an info String property.

Register the target action as a listener for this event. Fire the event with eventService.publishEvent

(myEvent).

D.

In the mybusinessprocess.xml definition file, define an info event and configure actionB as the

event's originator and actionE as its target. Trigger the event in the class implementing actionB using

businessProcessService.triggerEvent(info).

Full Access
Question # 20

Your solution has been live for a significant period of time. Now you need to update project data

across multiple environments, but this update should onlybe executed once. What is therecommended approach for updating the project data?

A.

Create a class that extends AbstractPatchesSystemSetup and configure any data patches, which

can run an import of your ImpEx files during an update.

B.

Extract a SQL script of all the changes in a single environment, which a DBA can then run directly

against the database for all remaining environments.

C.

Create a class that extends AbstractSystemSetup and use the @SystemSetup annotation with

TYPE.PROJECT, which can run an import of your ImpEx files during an update.

D.

With each deployment, manually import the ImpEx files via the hybris Admin Console or via the

ant importimpex target.

Full Access
Question # 21

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.

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

Full Access
Question # 22

When using Monitoring Support in the Integration API Module, what should you pay attention to?

Note: There are 2 correct answers to this question.

A.

You can monitor the inbound integration requests using the Meta API.

B.

In Outbound monitoring, if the source of the OutboundRequest is not from outbound sync or

webhooks, it is set as UNKNOWN.

C.

If you want to disable the monitoring, you need to change the dedicated properties in

local.properties and restart the commerce cloud server.

D.

If the number of batches in a bulk request exceeds the limit allowed, then the system records one

Inbound Request with the payload.

Full Access
Question # 23

You have these example item types defined in myext-items.xml:What additional steps are needed

to support the identification attribute?

< ?xml version="1.0" encoding="ISO-8859-1"? >

< items >

< itemtype code="Passport" autocreate="true" generate="true" >

< deployment typecode="8995" table="passport" />

< attributes > ... < /attributes >

< /itemtype >

< itemtype code="Student" extends="Customer" autocreate="true" generate="true" >

< attributes >

< attribute type="localized:Passport" qualifier="identification" >

< persistence type="property" />

< /attribute >

< /attributes >

< /itemtype >

< /items >

What additional steps are needed to support the identification attribute?

Define a one-to-many relation between Student and Passport using a relation tag with

parameter localized="true".

Add a maptype tag for localized:Passport with parameters argumenttype="Language" and

returntype="Passport".

Run an ant updatesystem command. A passportlp table will be generated to store the

localized property values.

Define a localized Passport attribute for the Student type in

myext/resources/localization/myext-locales_XY.properties.

Question

Customer Experience

A.

Define a one-to-many relation between Student and Passport using a relation tag with parameter

localized="true".

B.

Add a maptype tag for localized:Passport with parameters argumenttype="Language" and

returntype="Passport".

C.

Run an ant updatesystem command. A passportlp table will be generated to store the localized

property values.

D.

Define a localized Passport attribute for the Student type in myext/resources/localization/myextlocales_XY.properties.

Full Access
Question # 24

How are relations modeled in the database? Note: There are 2 correct answers to this question.

A.

One-to-many relations are stored in the links table.

B.

One-to-many relations are binary objects.

C.

One-to-many relations are stored in a column.

D.

Many-to-many relations are deployed as a table.

Full Access