SAP P_C4H340_34 SAP Certified Development Professional – SAP Commerce Cloud Developer Online Training
SAP P_C4H340_34 Online Training
The questions for P_C4H340_34 were last updated at Nov 22,2024.
- Exam Code: P_C4H340_34
- Exam Name: SAP Certified Development Professional - SAP Commerce Cloud Developer
- Certification Provider: SAP
- Latest update: Nov 22,2024
What are AddOns specifically designed to allow an SAP Commerce developer to do? Note: There are 2 correct answers to this question.
- A . Extend the Accelerator storefront.
- B . Extend the Backoffice.
- C . Provide additional RESTful web services for OCC.
- D . Provide a new web application.
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
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.
- 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.
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.
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).
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
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.
In Integration API Module, which of the following API verbs are controlled by access rights? Note: There are 2 correct answers to this question.
- A . Update – POST
- B . Create – POST
- C . Create – PATCH
- D . Update – POST, PATCH
What must you always specify when you are creating a new Adaptive Search Profile? Note: There are 3 correct answers to this question.
- A . Category
- B . Index configuration
- C . Index type
- D . User
- E . Catalog version
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.
- 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.