
[2023年11月21日]P-C4H340-24問題集完全版問題、試験学習ガイド
SAP Certified Development Professional無料認定試験材料Fast2testからの82問題
質問 # 20
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.
- A. Add only one of the extensions into localextensions.xml at the same time.
- B. Define a dependency wherein extension B requires extension A.
- C. Use the beans' parent attribute in extension B to specify the core bean.
- D. The beans are loaded in alphabetical order; therefore, extension B takes precedence.
正解:B、C
質問 # 21
What is SmartEdit's Navigation Management page useful for? Note: There are 2 correct answer to this question.
- A. It is used to configure automatic mapping of the Product Catalog's category hierarchy to the navigation bar displayed on site pages.
- B. It can define more than one navigation hierarchy, each accessed by a different component on the page.
- C. It allows you to manipulate a parent-child hierarchy of CMSLinkComponent objects.
- D. It allows you to manipulate a hierarchy of CMSNavigationNode items, each of which may contain a CMSNavigationEntry.
正解:C、D
質問 # 22
Which configuration options are available on a cache region? Note: There are 3 correct answer to this question.
- A. Size
- B. Eviction policy
- C. Persistence mode
- D. Statistics enabled
- E. Clustering enabled
正解:A、B、C
質問 # 23
How can you start a business process in SAP Commerce Cloud? Note: There are 2 correct answer to this question.
- A. Use the Backoffice Business Process section.
- B. Use the hot folder functionality by creating a file in the configured hot file.
- C. Invoke the appropriate method of the BusinessProcessService from Java code.
- D. Invoke the appropriate method of the BusinessProcessService from a script in the hybris Administration Console (hAC) scripting console.
正解:A、D
質問 # 24
You are creating a new ancillary catalog for your site. Which of the following principles should you consider? Note: There are 2 correct answer to this question.
- A. You can create an unlimited number of catalog versions under this catalog.
- B. Restrict the read and write access of this catalog in its permission tab in Backoffice.
- C. A catalog must have at least 2 versions: staged and online.
- D. A catalog version has a hierarchy of categories, containing products.
正解:C、D
質問 # 25
You are creating a new SolrlndexProperty 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 SolrlndexProperty. Provide sample data that isused to generate the SolrValueRange items.
- B. Manually create SolrValueRange items to define the range boundaries. Create a SolrValueRangeSet, add SolrValueRange items, and add to the SolrlndexProperty.
- C. Define the cadence of the ranges in the SolrlndexProperty. Provide the sample data that is used to generate the SolrValueRangeSet.
- D. Create SolrValueRange items to define the range boundaries. Add them to the SolrlndexProperty.
正解:D
質問 # 26
Which of the following configurations can be done to a ContentSlot? Note: There are 2 correct answer to this question.
- A. Assign it to a maximum of one page using a ContentSlotForPage item.
- B. Assign it to one or more pages using ContentSlotForPage items.
- C. Define valid CMS Components for it by modifying the ElementsForSlot relation.
- D. Add a list of CMSComponents to it.
正解:B、D
質問 # 27
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 answer to this question.
- A. Make sure the definition of the Pump item type defines the efficiency attribute with persistence type property. When you run ant all, the productConverter class generated in bootstrap/gensrc will copy the efficiency property to the productDTO.
- B. Write a PumpAttributePopulator class that copies the efficiency property from the item to the OTO 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.
- 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 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、C
質問 # 28
In SmartEdit, what can you do with variations defined for a customization? Note: There are 3 correct answer to this question.
- A. Apply a variation to customers who belong to a combination of segments.
- B. More than one variation in a customization can be triggered at the same time.
- C. Give the customer a coupon if a variation is in effect.
- D. Show different content in a slot if a variation is in effect.
- E. Assign the customer a custom search profile if a variation is in effect.
正解:B、D、E
質問 # 29
What attributes can you set for a SearchRestriction? Note: There are 2 correct answer to this question.
- A. restrictedType
- B. argumentType
- C. principal
- D. currentUser
正解:A、C
質問 # 30
Which component configurations does the ServiceLayer architecture promote? Note: There are 3 correct answer to this question.
- A. Facades orchestrate Strategies
- B. Facades orchestrate Converters
- C. Services orchestrate Converters
- D. Facades orchestrate Services
- E. Services orchestrate Strategies
正解:B、D、E
質問 # 31
Which of the following is a mechanism used by WCMS to position components on a page?
- 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 position attribute in the ContentSlotForTemplate item is used to identify the slot in the page that the item should be displayed in.
- D. The component's CurrentPosition attribute is used to determine which component within the page the item should be displayed in.
正解:C
質問 # 32
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 only be executed once. What is the recommended approach for updating the project data?
- A. Extract a SQL script of all the changes in a single environment, which a OBA can then run directly against the database for all remaining environments.
- B. 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.
- C. Create a class that extends AbstractPatchesSystemSetup and configure any data patches, 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.
正解:C
質問 # 33
How can you define a new event? Note: There are 2 correct answer to this question.
- A. Create a new OTO in a beans.xml file.
- B. Extend a pre-defined event OTO in a custom beans.xml.
- C. Create a new ItemType in an items.xml file.
- D. Create a new EventTemplate in an ImpEx file.
正解:A、C
質問 # 34
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.
- A. Extend the default strategy called by the method to handle the new parameter.
- B. Add a new property to CommerceCartParameter in a beans.xml file.
- C. Overload the existing method of CommerceCartService by adding the new parameter.
- D. Extend the default implementation of the method to handle the new parameter.
正解:B、D
質問 # 35
What happens when you use a deployment tag in the items.xml file? Note: There are 2 correct answer to this question.
- A. Only non-inherited properties of the enclosing type are stored in the deployment table.
- B. The name of the deployment table is generated automatically.
- C. The deployment typecode is used as part of the primary key (PK) of that type's items.
- D. All instances of the enclosing type are stored in the specified database table.
正解:C、D
質問 # 36
To install and configure the Solr server in cloud mode, which sequence of steps should you use?
- A. Disable the autostart for the cloud instance. Enable the autostart for the default instance. Set the default instance mode to cloud.
- B. Disable the autostart for the default instance. Enable the autostart for the cloud instance. Set the cloud instance mode to true.
- C. Disable the autostart for the cloud instance. Enable the autostart for the default instance. Set the cloud instance mode to true.
- D. Disable the autostart for the default instance. Enable the autostart for the cloud instance. Set the cloud instance mode to cloud.
正解:D
質問 # 37
When you are defining properties in manifest.json, which of the following attributes are you allowed to use? Note: There are 3 correct answer to this question.
- A. key
- B. value
- C. name
- D. environment
- E. persona
正解:A、B、E
質問 # 38
What Solr index operation uses the indexedProperties field on the SolrExtlndexerCronJob?
- A. UPDATE
- B. PARTIAL UPDATE
- C. DELETE
- D. FULL
正解:B
質問 # 39
How are relations modeled in the database? Note: There are 2 correct answer to this question.
- A. One-to-many relations are stored in a column.
- B. One-to-many relations are stored in the links table.
- C. One-to-many relations are binary objects.
- D. Many-to-many relations are deployed as a table.
正解:B
質問 # 40
Assuming that property impex.legacy.scripting is set to false and 'Enable code execution' is checked, what are the results of the following ImpEx script? INSERT_UPDATE Title;code[unique=true] #0/ogroovy0/o beforeEach: line.clear(); ;foo; ;bar; ;baz;
- A. All "foo", "bar", and "baz" codes will be updated or inserted.
- B. No entries will be updated or inserted.
- C. All data rows will be cleared of unnecessary space.
- D. Only the Title with code that equals "baz" will be updated or inserted.
正解:A
質問 # 41
......
P-C4H340-24試験の問題集簡単まとめ:https://jp.fast2test.com/P-C4H340-24-premium-file.html
リアルP-C4H340-24は100% カバー率リアル試験問題を使おう:https://drive.google.com/open?id=1_zsv5hy57FgsDgASdzxpImeM3BauBvCZ