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

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

Demo: 12 questions
Total 80 questions

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

Question 1

Which of the following items are configured via a direct relation to a BaseStore? Note: There are 3 correct answer to this question.

Options:

A.

A list of Content Catalogs providing the pages, slots, and other CMSI terns 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 2

What causes item data to be invalidated in the SAP Commerce Cloud entity cache? Note: There are 2 correct answer to this question.

Options:

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

Question 3

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

Options:

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

Question 4

Which of the following steps could be included in the process of installing an AddOn? Note: There are 3 correct answer to this question.

Options:

A.

Run ant all.

B.

Configure storefront properties files.

C.

Run ant addoninstall.

D.

D. Run ant modulegen.

E.

Copy files from the storefront to the AddOn web source folder.

Question 5

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 6

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 answer to this question.

Options:

A.

Create a myBusinessProcess item type that extends BusinessProcess and adds an info String property. Use an instance of this type to start theprocess 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).

Question 7

During development, how do you ensure that the modified resources of an installed addon get copied into the storefront? Note: There are 2 correct answer to this question.

Options:

A.

Set up the resourceFilter.

B.

Set up the addonFilter.

C.

Run an ant all command.

D.

Run an ant deploy command.

Question 8

Which of the following are best practices for adding a new parameter to an existing method of CommerceCartService? Note: There are 2 correct answer 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 9

In Integration API Module, which of the following API verbs are controlled by access rights? Note: There are 2 correct answer to this question.

Options:

A.

Update - POST

B.

Create - POST

C.

Create - PATCH

D.

Update - POST, PATCH

Question 10

Which of the following configurations can be done to a ContentSlot? Note: There are 2 correct answer to this question.

Options:

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.

Question 11

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 answer 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 12

You need to create a CronJob for an automated task that will be performed every day at midnight. Which steps would you follow? Note: There are 3 correct answer to this question.

Options:

A.

Register the JobPerformable bean in your extension's Spring configuration file.

B.

Define the Cronjob logic in a class that implements the JobPerformable interface.

C.

Perform a system update for essential data.

D.

Perform a system update for sample data.

E.

Create a CronJob item and a trigger for midnight using ImpEx or Backoffice.

Demo: 12 questions
Total 80 questions