SAP
C_CPE_13 · Question #47
C_CPE_13 Question #47: Real Exam Question with Answer & Explanation
The correct answer is A. The files in the resources folder will be served for all requests to /app. C. All requests starting with /service will be forwarded to the CAP service.. See the full explanation below for the reasoning.
Question
You have configured an approuter by creating the xs-app.json file in the approuter folder with the following content: { ... "authenticationMethod": "route", ... }, "routes": [ { "source": "^/app/(.)$", "target": "$1", "localDir": "resources", "authenticationType": "xsuaa" }, { "source": "^/service/(.)$", "destination": "srv-binding", "authenticationType": "xsuaa" } ] } What does this routes array tell the approuter? Note: There are 2 correct answers to this question.
Options
- AThe files in the resources folder will be served for all requests to /app.
- BThe files requested for /app will be put to the resources folder.
- CAll requests starting with /service will be forwarded to the CAP service.
- DAll requests starting with /service will be targeted to the folder resources.
Community Discussion
No community discussion yet for this question.