SAP C_CPE_2409 Practice Test - Questions Answers, Page 3

List of questions
Question 21

How do you debug a Node.js module in SAP Business Application Studio?
Add the sap.hana.xs.debugger:Debugger role to the HDI container's #RT user.
Start the debugger from the CF command line interface and run the program.
Set the enabled parameter to true in the section debugger of the xsengine.ini file.
Attach the debugger to the application.
Question 22

You have configured an approuter by creating the xs-app.json file in the approuter folder with the following content: What does this routes array tell the approuter? Note: There are 2 correct answers to this question.
The files requested for /app will be put to the resources folder.
All requests starting with /service will be forwarded to the CAP service.
The files in the resources folder will be served for all requests to /app.
All requests starting with /service will be targeted to the folder resources.
Question 23

What must you do first before you can get visibility into how a process is running?
Save the version of the process you are working on.
Circulate the process for pre-approvals before finalizing it.
Prepare the process to be consumed by the visibility scenario.
Purchase the visibility dashboard capabilities from the SAP store.
Question 24

What is the correct sequence of steps when implementing Tenant-aware Persistence?
Configure a data source Configure Hibernate for multi-tenancy Persisting and accessing the data Tenant onboarding and offboarding
Configure a data source Configure Hibernate for multi-tenancy Tenant onboarding and offboarding Persisting and accessing the data
Tenant onboarding and offboarding Configure a data source Configure Hibernate for multi-tenancy Persisting and accessing the data
Configure Hibernate for multi-tenancy Configure a data source Tenant onboarding and offboarding Persisting and accessing the data
Question 25

Which configuration steps are necessary to set process conditions in SAP Build Process Automation? Note: There are 3 correct answers to this question.
Define If/Else criteria
Map condition input to process content
Add environment variables
Define flow for different conditional paths
Add a condition to the process
Question 26

What are tasks of the approuter? Note: There are 3 correct answers to this question.
Routing requests from the web browser to the provider of the UI service.
Routing requests from the application to the SAP Launchpad service.
Authorizing users for the CAP service and the provider of the UI service.
Routing requests from the web browser to the CAP service.
Forwarding user requests to the XSUAA service for authentication and authorization.
Question 27

How do you run a CI/CD build manually without pushing changes to Git?
Select Deploy from the project's context menu in the Project Explorer
Submit Changes via Sync & Share action
Select 'Trigger a Build' in the CI/CD job's context menu
Create and run 'Build task' in Task Explorer
Question 28

When creating a CI/CD job, what does defining Source Control Management (SCM) credentials enable?
Retrieving your project from SCM when its build is triggered
Managing your SCM credentials
Modifying your project source code automatically
Question 29

Which of the following are features of Kubernetes? Note: There are 3 correct answers to this question.
Immutability and self-healing
Hardware virtualization
Service Discovery and load balancing
Operating system management Storage orchestration
Question 30

You want to implement an event handler to show a console log once a supplier record is read. What is the correct syntax to implement this?
const cds = require('@sap/cds') module.exports = cds.service.impl(function () { const {Supplier) = this.entities() this after('each Supplier, row =>{ console.log('Read Supplier: ${row.ID}') })
const cds = require('@sap/cds') module.exports = cds.service.impl(function () { const {Supplier) = this.entities() this.on('each',Supplier, row =>{ output.log('Read Supplier: ${row.ID}') }) })
const cds = require('@sap/cds') module.exports = cds service.impl(function() { const {Supplier) = this.entities() this.on('each, Supplier, row => console.log('Read Supplier: ${row.ID}') })
const cds = require('@sap/cds') module.exports = cds.service.impl(function() { const {Supplier) = this.entities() this after('each Supplier, row => { output.log('Read Supplier: $[row.ID}') }) })
Question