New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

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

Demo: 24 questions
Total 82 questions

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

Question 1

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 2

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

correct answers to this question.

Options:

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

Question 3

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?

Options:

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

Question 4

When using monitoring support in the integration API Module, What should you pay attention to?

Options:

A.

As, it’s not possible to disable the monitoring on a running server, you need to change the dedicated propertiesin the local properties

B.

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

C.

If the number of batches in a bulk requests exceeds the time allowed, then thesystem records one inboundrequest with the payload.

D.

In outbound monitoring, if the source of the outbound request is not from outbound sync or webhooks, it isset as UNKNOW

Question 5

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?

Options:

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

Question 6

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 7

What should you pay attention to when you are working with webhook?

Options:

A.

A webhook requires an integration object as notification payload and consumed destination as the webhook…

B.

A webhook uses the optional filter attribute to control which consumed destination will received notifications

C.

A webhook can be configured to send notifications when an item is created, updated or deleted.

D.

A webhook guarantees the At Least Once(ALO) principal and concurrent events are not completely discarded.

Question 8

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 9

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.

Options:

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

Question 10

How can you start a business process in SAP Commerce Cloud? Note: There are 2 correct answers

to this question.

Options:

A.

Use the hot folder functionality by creating a file in the configured hot file.

B.

Use the Backoffice Business Process section.

C.

Invoke the appropriate method of the BusinessProcessService from a script in the hybris

Administration Console (hAC) scripting console.

D.

Invoke the appropriate method of the BusinessProcessService from Java code

Question 11

In an Accelerator-based storefront, which of the following would allow you to display a custom ======

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

Options:

A.

Create a JSP named [componentTypeCode].jsp that pulls data from a [ComponentTypeCode]Data

object.

B.

Configure a custom controller bean and redefine the DefaultCMSComponentController alias to

point to it.

C.

Configure a renderer in the cmsComponentRendererRegistry that doesn’t need to use a data

object or a view.

D.

Create a controller for this component and register it in the cmsComponentControllerRegistry

Question 12

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

Options:

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

Question 13

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 14

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

API?

Options:

A.

IndexerStrategy

B.

IndexerQueryContext

C.

IndexerListener

D.

IndexerService

Question 15

You synchronize a media item stored in SAP Commerce Cloud from a staged version to an online

version. What happens next? Note: There are 2 correct answers to this question.

Options:

A.

Both staged and online media items now refer to the same image file in the file system.

B.

The staged and online media items now refer to two different image files in the file system.

C.

The values of the attributes are copied from the source item in the staged catalog to the target

item in the online catalog.

D.

The media format in the staged version is also synchronized to the media format in the online

version.

Question 16

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

correct answers to this question.

Options:

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

Question 17

Which of the following steps could be included in the process of installing an AddOn? Note: There =======

are 3 correct answers to this question.

Options:

A.

Run ant all.

B.

Configure storefront properties files.

C.

Run ant addoninstall.

D.

Run ant modulegen.

E.

Copy files from the storefront to the AddOn web source folder

Question 18

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

correct answers to this question.

Options:

A.

Spring beans of backoffice web context

B.

Context configuration object definition

C.

Virtual socket definition

D.

Widget connection

Question 19

Which services are included in the basecommerce extension to address customer services

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

Options:

A.

OrderCancelService

B.

ReturnService

C.

CustomerReviewService

D.

CustomerAccountService

E.

RefundService

Question 20

You updated a price row for a particular product using the Backoffice Product Cockpit and also

made sure the cronjob for synchronizing the involved product catalog was executed sucessfully.

When you visit the category page containing the specific product, you discover that its new price

value is NOT properly displayed. How can you fix this issue?

Options:

A.

Synchronize the category page in the Backoffice Administration Cockpit

B.

Run a Solr indexer operation in the Backoffice Administration Cockpit

C.

Synchronize the involved product in the Backoffice Product Cockpit directly

D.

Re-import the price using ImpEx

Question 21

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 22

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 23

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

Note: There are 2 correct answers to this question.

Options:

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.

Question 24

What can you do within the integration UI Tool in Backoffice? Note: There are 2 correct answers to

this question.

Options:

A.

Create a search restriction to secure an integration object for only a certain integration user

group.

B.

Set up access rights for integration objects.

C.

Force-delete an integration object even if it is associated with an InboundChannelConfiguration

(ICC).

D.

Export the configuration types so that they can be imported into a target system.

Demo: 24 questions
Total 82 questions