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

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

Page: 1 / 8
Total 82 questions

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

Testing Engine

  • Product Type: Testing Engine
$42  $119.99

PDF Study Guide

  • Product Type: PDF Study Guide
$36.75  $104.99
Question 1

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?

Options:

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.

Question 2

During development, how do you ensure that the modified resources of an installed addon get

copied into the storefront? Note: There are 2 correct answers to this question.

Options:

A.

Set up the resourceFilter.

B.

Make sure the addonFilter is enable

C.

Run an ant all command.

D.

Run an ant deploy command.

Question 3

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 4

Which component configurations does the ServiceLayer architecture promote? Note: There are 3 =====

correct answers to this question.

Options:

A.

Services orchestrate Strategies

B.

Services orchestrate Converters

C.

Facades orchestrate Converters

D.

Facades orchestrate Strategies

E.

Facades orchestrate Services

Question 5

What is SmartEdit’s Navigation Management page useful for? Note: There are 2 correct answers to

this question.

Options:

A.

It can define more than one navigation hierarchy, each accessed by a different component on the

page.

B.

It allows you to manipulate a hierarchy of CMSNavigationNode items, each of which may contain

a CMSNavigationEntry.

C.

It allows you to manipulate a parent-child hierarchy of CMSLinkComponent objects.

D.

It is used to configure automatic mapping of the Product Catalog’s category hierarchy to the

navigation bar displayed on site pages.

Question 6

Which features does the Cloud Hot Folders module support? Note: There are 2 correct answers to

this question.

Options:

A.

Direct configuration of Hot Folders in the Cloud Portal

B.

Media using external URLs in uploaded ImpEx

C.

Zip archives with Impex, media and CSV files

D.

Data export into Azure Blob storage.

Question 7

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 8

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 9

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 10

What are best practices when using models? Note: There are 2 correct answers to this question.

Options:

A.

Create models using Java’s ‘new’ keyword

B.

Use modelService.get() to obtain an item referenced by another using its PK.

C.

Save the model using the modelService after the model is modified.

D.

Create models using modelService.create( ).

Question 11

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.

Question 12

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 13

Which of the core storefront features does Spartacus support? Note: There are 3 correct answers

to this question.

Options:

A.

Customer Interests

B.

Wish List

C.

B2B Scheduled Replenishment

D.

Newsletter Subscription

E.

Configurable Promotions

Question 14

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.

Question 15

How can you create asynchronous events in the SAP Commerce Cloud platform? Note: There are 2 ========

correct answers to this question.

Options:

A.

Implement the ClusterAwareEvent interface.

B.

Extend the AbstractEvent class.

C.

Implement the TransactionAwareEvent interface.

D.

Change the platformClusterEventSender Spring bean configuration.

Question 16

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?

Options:

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.

Question 17

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 18

To define the data that gets extracted into the Solr index for searching, what do you need to

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

Options:

A.

A flexible search query for an incremental update

B.

A solrconfig XML file

C.

An ImpEx script for a full load

D.

A flexible search query for a full load

Question 19

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

Options:

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.

Question 20

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 21

How does SAP Commerce cloud, composable storefront compare to the SAP Commerce Cloud Accelerators? Note: There are 2 correctanswers to this question.

Options:

A.

They have the same feature parity, but Spartacus is more upgradable.

B.

Accelerators are JSP-based while Spartacus is JavaScript-based.

C.

They are both using OCC API to connect to the commerce platform.

D.

They are both extensible according to project requirement.

Question 22

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 23

You are creating a new SolrIndexProperty as a facet and want to define it using facet ranges. What =======

do you need to do to achieve that?

Options:

A.

Manually create SolrValueRange items to define the range boundaries.

Create a SolrValueRangeSet, add SolrValueRange items, and add to the SolrIndexProperty.

B.

Define the number of ranges in the SolrIndexProperty.

Provide sample data that is used to

generate the SolrValueRange items.

C.

Define the cadence of the ranges in the SolrIndexProperty.

Provide the sample data that is used

to generate the SolrValueRangeSet.

D.

Create SolrValueRange items to define the range boundaries.

Add them to the SolrIndexProperty

Question 24

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

the user experience results?

Options:

A.

A populator

B.

An interceptor

C.

A voter

D.

A controller

Page: 1 / 8
Total 82 questions