
Free P-C4H340-34 Exam Study Guide for the NEW [Jun-2024] Dumps Test Engine
P-C4H340-34 PDF Dumps Extremely Quick Way Of Preparation
NEW QUESTION # 23
You are implementing a new custom promotion action that changes the delivery mode of an order. What steps are required to make sure that the effects of this action are reverted as soon as the condition that triggered it is NO longer fulfilled? Note: There are 2 correct answers to this question.
- A. Define a new session attribute to store the original delivery mode
- B. Implement the undo method in your custom rule action strategy
- C. Create a promotion that uses the inverse action if the condition is NOT fulfilled
- D. Implement your custom action item so that it can store the original delivery mode
Answer: B,D
NEW QUESTION # 24
Which of the following items are configured via a direct relation to a BaseStore? Note: There are 3 ======= correct answers to this question.
- A. A list of Content Catalogs providing the pages, slots, and other CMSItems shown to Customers
- B. A list of points of service that represent local branches
- C. A list of warehouses that support the delivery
- D. A list of Product Catalogs providing the product info shown to Customers
- E. A list of customers associated with the BaseStore.
Answer: B,D
NEW QUESTION # 25
Which of the following can you configure in a widget definition (definition.xml) file? Note: There ======== are 2 correct answers to this question.
- A. The available virtual sockets
- B. The view file
- C. The default values for widget settings
- D. The business logic of the widget via a bean shell script
- E. The available non-virtual sockets
Answer: A,B,C
NEW QUESTION # 26
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. Specify myBusinessProcessModel as the processClass argument to the process
- B. 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).
- 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. 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).
Answer: A,D
NEW QUESTION # 27
When using monitoring support in the integration API Module, What should you pay attention to?
- A. As, it's not possible to disable the monitoring on a running server, you need to change the dedicated properties in the local properties
- B. You can monitor the inbound integration requests using the Meta API.
- C. In outbound monitoring, if the source of the outbound request is not from outbound sync or webhooks, it is set as UNKNOW
- D. If the number of batches in a bulk requests exceeds the time allowed, then the system records one inbound request with the payload.
Answer: B,C
NEW QUESTION # 28
When you are defining properties in manifest.json, which of the following attributes are you allowed to use? Note: There are 3 correct answers to this question.
- A. key
- B. name
- C. persona
- D. value
- E. environment
Answer: A,C,D
NEW QUESTION # 29
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.
- A. Configure a renderer in the cmsComponentRendererRegistry that doesn't need to use a data object or a view.
- B. Create a controller for this component and register it in the cmsComponentControllerRegistry
- C. Create a JSP named [componentTypeCode].jsp that pulls data from a [ComponentTypeCode]Data object.
- D. Configure a custom controller bean and redefine the DefaultCMSComponentController alias to point to it.
Answer: A,C
NEW QUESTION # 30
How can you create asynchronous events in the SAP Commerce Cloud platform? Note: There are 2 ======== correct answers to this question.
- A. Change the platformClusterEventSender Spring bean configuration.
- B. Implement the ClusterAwareEvent interface.
- C. Extend the AbstractEvent class.
- D. Implement the TransactionAwareEvent interface.
Answer: A,B
NEW QUESTION # 31
When are consignments created for an order in the default order management implementation?
- A. When the user adds items to the cart
- B. After the order is placed, but before it is sourced successfully
- C. When an administrator approves the order
- D. After the order is placed and after it has been sourced successfully
Answer: D
NEW QUESTION # 32
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.
- A. A many-to-many relation between CxVariation and CxAbstractAction.
- B. A many-to-many relation between CxSegmentTrigger and CxSegment
- C. A one-to-many relation between CxExpressionTrigger and CxSegment.
- D. A one-to-many relation between CxCustomization and CxVariation.
Answer: B,D
NEW QUESTION # 33
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 answers to this question.
- A. Perform a system update for essential data.
- B. Define the Cronjob logic in a class that implements the JobPerformable interface.
- C. Register the JobPerformable bean in your extension's Spring configuration file.
- D. Perform a system update for sample data.
- E. Create a CronJob item and a trigger for midnight using ImpEx or Backoffice.
Answer: B,C,E
NEW QUESTION # 34
Which of the following configurations can be done to a ContentSlot? Note: There are 2 correct ======= answers to this question.
- A. Add a list of CMSComponents to it.
- B. Assign it to one or more pages using ContentSlotForPage items.
- C. Assign it to a maximum of one page using a ContentSlotForPage item.
- D. Define valid CMS Components for it by modifying the ElementsForSlot relation.
Answer: A,B
NEW QUESTION # 35
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?
- A. Define the number of ranges in the SolrIndexProperty.
Provide sample data that is used to
generate the SolrValueRange items. - B. Create SolrValueRange items to define the range boundaries.
Add them to the SolrIndexProperty - C. Manually create SolrValueRange items to define the range boundaries.
Create a SolrValueRangeSet, add SolrValueRange items, and add to the SolrIndexProperty. - D. Define the cadence of the ranges in the SolrIndexProperty.
Provide the sample data that is used
to generate the SolrValueRangeSet.
Answer: B
NEW QUESTION # 36
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.
- A. 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
- 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. 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. - D. 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.
Answer: A,C
Explanation:
populators.
NEW QUESTION # 37
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?
- A. Synchronize the involved product in the Backoffice Product Cockpit directly
- B. Run a Solr indexer operation in the Backoffice Administration Cockpit
- C. Re-import the price using ImpEx
- D. Synchronize the category page in the Backoffice Administration Cockpit
Answer: B
NEW QUESTION # 38
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?
- A. 1000 products and 1000 price rows
- B. 1000 products and 2000 price rows
- C. 2000 products and 1000 price rows
- D. 2000 products and 2000 price rows
Answer: C
NEW QUESTION # 39
......
Enhance your career with P-C4H340-34 PDF Dumps - True SAP Exam Questions: https://www.getvalidtest.com/P-C4H340-34-exam.html
Download P-C4H340-34 Dumps (2024) - Free PDF Exam Demo: https://drive.google.com/open?id=1ORcMFmHAPfQI3mCz-02hOR1FZxhXMobv