Download SAP.P_C4HCD_1905.VCEplus.2021-10-04.80q.vcex

Download Exam

File Info

Exam SAP Certified Development Professional -SAP Commerce Cloud 1905 Developer
Number P_C4HCD_1905
File Name SAP.P_C4HCD_1905.VCEplus.2021-10-04.80q.vcex
Size 334 KB
Posted Oct 04, 2021
Download SAP.P_C4HCD_1905.VCEplus.2021-10-04.80q.vcex

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

Question 1

How can you create asynchronous events in the SAP Commerce Cloud platform?(Choose two.)


  1. Implement the TransactionAwareEvent interface.
  2. Implement the ClusterAwareEvent interface.
  3. Change the platformClusterEventSender Spring bean configuration.
  4. Extend the AbstractEvent class.
Correct answer: BC



Question 2

You have generated a new extension based on the ywebservices template. You have enabled server-side caching.  
How would you annotate your method to take advantage of caching?


  1. Add a @CacheControl annotation with the value attribute equal to your cache name and a custom key defined using SpEL.
  2. Add a @Caching annotation with the value attribute equal to your cache name.
  3. Add a @CacheControl annotation with the value attribute equal to your cache name.
  4. Add a @Cacheable annotation with the value attribute equal to your cache name and a custom key defined using SpEL.  
Correct answer: D
Explanation:
Reference: https://answers.sap.com/questions/13183809/how-can-i-annotate-the-method-to-take-advantage-of.html
Reference: 
https://answers.sap.com/questions/13183809/how-can-i-annotate-the-method-to-take-advantage-of.html



Question 3

How can CronJobs be started? (Choose three.)


  1. CronJobs can be started and aborted only if implemented as abortable.
  2. CronJobs can be started manually via the command line by running "ant runcronjob".
  3. CronJobs can be started and aborted automatically if a configurable time threshold is exceeded.
  4. CronJobs can be started manually using flexible search.
  5. CronJobs can be started manually via the Backoffice administration perspective.
Correct answer: BCE
Explanation:
Reference: https://help.sap.com/viewer/d0224eca81e249cb821f2cdf45a82ace/1905/en-US/8b9ce4868669101499b2f0f25ef9395f.html
Reference: 
https://help.sap.com/viewer/d0224eca81e249cb821f2cdf45a82ace/1905/en-US/8b9ce4868669101499b2f0f25ef9395f.html



Question 4

Which component configurations does the ServiceLayer architecture promote?(Choose three.)


  1. Services orchestrate Converters
  2. Facades orchestrate Strategies
  3. Facades orchestrate Converters 
  4. Facades orchestrate Services
  5. Services orchestrate Strategies
Correct answer: ABD



Question 5

You are implementing two new independent extensions, extension A and extension B, that each extend and overwrite a bean of the core platform.  
How can you make sure the bean from extension B takes precedence over the one from extension A? (Choose two.)


  1. Add only one of the extensions into localextensions.xml at the same time.
  2. Define a dependency wherein extension B requires extension A.
  3. Use the beans' parent attribute in extension B to specify the core bean.
  4. The beans are loaded in alphabetical order; therefore, extension B takes precedence.
Correct answer: AB
Explanation:
Reference: https://answers.sap.com/questions/13215986/extension-precedence.html
Reference: 
https://answers.sap.com/questions/13215986/extension-precedence.html



Question 6

You are running a transaction that creates an item and updates it twice. If the transaction is committed successfully, how many AfterSaveEvent items will the ServiceLayer create?  
 


  1. 3
  2. 1
  3. 2
  4. 0
Correct answer: B



Question 7

You need to create a CronJob for an automated task that will be performed every day at midnight. Which steps would you follow? (Choose three.)


  1. Register the JobPerformable bean in your extension's Spring configuration file.
  2. Create a CronJob item and a trigger for midnight using ImpEx or Backoffice.
  3. Perform a system update for essential data.
  4. Perform a system update for sample data.
  5. Define the Cronjob logic in a class that implements the JobPerformable interface.
Correct answer: ABC
Explanation:
Reference: https://help.sap.com/viewer/50c996852b32456c96d3161a95544cdb/2105/en-US/e384c5a25b9a4f57af1fb9c2d2afb0c3.html
Reference: 
https://help.sap.com/viewer/50c996852b32456c96d3161a95544cdb/2105/en-US/e384c5a25b9a4f57af1fb9c2d2afb0c3.html



Question 8

How many category items will the following ImpEx create?  
$prodCat=electronicsProductCatalog  
$version=Staged  
$catVersion=catalogVersion(catalog(id[default=$prodCat]),version[default=$version])  
INSERT_UPDATE Category;code[unique=true];$catVersion[unique=true]  
;test_category;electronicsProductCatalog  
;test_category;apparelProductCatalog:$version 
;test_category;:Online 
;test_category;


  1. 2
  2. 3
  3. 1
  4. 4
Correct answer: C



Question 9

Your solution has been live for a significant period of time and you now need to update project data across multiple environments.  
What is the recommended approach for updating the project data?  


  1. With each deployment, manually import the ImpEx files via the hybris Admin Console or via the ant importimpex target.
  2. 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.
  3. 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.
  4. Create a class that extends AbstractPatchesSystemSetup and configure any data patches, which can run an import of your ImpEx files during an update.
Correct answer: B
Explanation:
Reference: https://answers.sap.com/questions/12766939/hooks-for-initialization-and-update-process-with-h.html
Reference: 
https://answers.sap.com/questions/12766939/hooks-for-initialization-and-update-process-with-h.html



Question 10

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]  
#%groovy% beforeEach: line.clear(); 
;foo;  
;bar;  
;baz;


  1. New entries will NOT be updated or inserted in the table titles.
  2. All "foo", "bar", and "baz" codes will be updated or inserted.
  3. All data rows will be cleared of unnecessary space.
  4. Only the Title with code that equals "baz" will be updated or inserted.
Correct answer: A
Explanation:
Reference: https://answers.sap.com/questions/12761407/is-anyone-able-to-execute-impex-script-with-groovy.html
Reference: 
https://answers.sap.com/questions/12761407/is-anyone-able-to-execute-impex-script-with-groovy.html









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files