C Cpe 14-1
C Cpe 14-1
1. By default, which file describes scopes and role-templates of an application for the
instantiation of an XSUAA service instance?
xs-security.json
package.json
manifest.yml
services-manifest.yml
Question was not answered
2. Which of the following can be used as identity providers for SAP BTP applications? Note:
There are 2 to choose.
SAP Authorization and Trust Management Service
Identity authentication tenant
SAP S/4HANA Cloud
SAP S/4HANA on-premise
4. What are some principles of continuous integration? Note: There are 2 to choose.
Automated tests
Automated deployment to the productivesystem
Automated build
Automated code change pushes
5. You use SAP Continuous Integration and Delivery for your CAP project. Where can you
access the Webhook Event Receiver?
On the Repositories tab
On theJobs tab
On the Credentials tab
6.You have implemented a simple bookshop CAP application for the purpose of selling
books. You want to implement an event handler in the bookshop-service, that calculates a
discount of 10 % on the price of books written in English ("en"). In all other cases, you want
to calculate a discount of 5 %. The price should be calculated after books are read from the
service. Drag the code snippets from below into the correct parts of the event handler
implementation.
Drag the key and value items from below into the correct parts of the descriptor file.
Explanation::
‘bookshop-service’, after, ‘READ’, forEach, ‘book.language == ‘en’, ‘book.price =
book.price * 0.95, book.price= book.price * 0.9
8. You want to create a new service definition in your CAPproject. In which folder do you
place the service definition .cds file?
/app
/db
/srv
/root
10. What does SAP Fiori elements use to generate the UI? Note: There are 2 to choose.
Custom UI logic
Annotations in the OData service
Authorizations in the OData service
The entity definition of the OData service
11. Your customer presents you with the following UIrequirements: Users need to work
through a comparatively small set of items, one by one. Multiple views of the same content.
One kind of data visualization .
12. Which of the following can be used as a management tool for SAP Business Technology
Platform? Note: There are 2 to choose.
SAP Solution Manager
SAP BTP CLI
SAP Business Application Studio
Cloud Foundry CLI
13. Your customer presents you with the following UI requirements: Users work on different
kinds of items. Different visualizations without interactions between the visualizations. No
drilldown.
15. Your CAP project contains an entity called Books. You want to extend the Books entity
with the managed aspect.
You have already imported the aspect from the '@sap/cds/common' package (see attached
graphic).
Option A
Option B
Option C
17. Which event phases can you use with CAP event handlers by default? Note: There are 3
to choose.
on
while
after
before
between
18. How can you bring your company's user base into your SAP BTP subaccount?
Create the users manually in the security section of your subaccount.
Establish a trust relationship with your corporate identity provider.
Import the users via .csv file upload in the SAP BTP cockpit.
Establish a trust relationship with the default identity provider.
19. Your customer presents you with the following UI requirements: The same visualizations
for all users. Extraction of key information to identify a root cause. Searching, filtering, and
sorting of items .
20.To grant a user access to an application in an SAP BTP subaccount, what must you
assign to this user?
A role
A role Template
A role Collection
22.During application development, what are some principles of dealing with application
errors? Note: There are 2 to choose.
23. What are some characteristics of CAP event handling? Note: There are 2 to choose.
You can register only one event handler for a specific event.
You must use the handler registration API srv.emit() to de-register event handlers.
You can register event handlers with instances of cds.service to add custom logic.
You can register multiple event handlers for each event phase.
24. You want to register custom event handlers using instances of CAP Node.js SDK
classes. Which one do you use?
cds.Request
cds.Service
cds.Event
25. What are some core principles of the design philosophy of SAP Fiori?
Note: There are 3 to choose.
Productive
Adaptive
Role-based
Intuitive
Coherent
26. Which basic user types exist on the SAP Business Technology Platform? Note: There
are 2 to choose.
Platform users
Application users
Technical users
Business users
28. Which of the following SAP Fiori pages areas are mandatory?
Note: There are 2 to choose.
Header
Content
Toolbars
Footer
29. You have set up a pipeline in the SAP Continuous Integration and Delivery service
with automated deployment. A build was initiated and failed. What do you check to find
out which step of the pipeline failed?
30. You initialize a new CAP project with initial project structure using a generator in SAP
Business ApplicationStudio. What are some of the default elements beingcreated? Note:
There are 2 to choose.
A. file package.json
B. file manifest.yml
C. folder /approuter
D. folder /app
31. You want to create a new service definition in your CAPproject. In which folder do
you placethe service definition .cds file?
A. /app
B. /db
C. /srv
D. /root
32. To Establish Trust , which of the following can be targets of the SAP Authorization
and Trust Management Service?
Multi-environments
Identity providers
Platforms
Users
33. Before you can use SAP Continue Integration and Delivery in Your CAP project, what
must you do in your SAP BTP Account , Note 2 chose answer.
34. What are some characteristics of JSON files? There are 2 choose
35. What are the relationships? (Drag and drop the labels at the bottom onto the framed
locations of the image above.)
Options:
A. Option is correct.
Explanation: User, Role collection, Scope, Role
36. You use the Cloud MTA Build Tool to create an MTA archive (.mtar) from your project
source. What command must you run to do this in one step?
A. mbt build
B. mbt init
C. mbt make
37. You have implemented a simple bookshop CAP application for the purpose of selling
books. You want to implement an event handler in the bookshop-service, that calculates
a discount of 10 % on the price of books written in English ("en"). In all other cases, you
want to calculate a discount of 5 %. The price should be calculated after books are read
from the service. Drag the code snippets from below into the correct parts of the event
handler implementation. Drag the key and value items from below into the correct parts
of the descriptor file.
Answer:
‘bookshop-service’, after, ‘READ’, forEach, ‘book.language == ‘en’, ‘book.price = book.price * 0.95,
book.price = book.price * 0.9
38.you have developed a CAP project and added the XSUAA Security configuration.
What information is stored in the xs.security.json file? There are 2 to choose.
Roles
Users
Scopes
Role-templates
39. which identifier is used by the XSUAA to distinguish applications and scopes?
Tenant-mode
Xs-security
Xsappname
Vcap-services
40. In your Git system, you have set up a webhook for your SAP Continuous Integration
and Delivery pipeline. What kind of request does this webhook send to the specified
payload URL?
Options:
PATCH request
POST request
PUT request
GET request
41. When Would you choose SAP Fiori elements for app development?
There are 2 correct answer this question.
42. When using namespace ,what does SAP recommended you use to construct names
for namespaces?
Cascades of acronyms
Your organization’s name
Reverse domain names
Read
Write
Update
Refresh
create
46. what is a difference between business users and platform users on the SAP BTP?
There are 2 correct answer to this question.
47. In your Git system, you have set up a webhook for your SAP Continuous Integration
and Delivery pipeline. What does the webhook require to send a request to the specified
payload URL .
Options:
A user
A content type
A password
A secret
48. What does the SAP Fiori elements use to generate the UI?
There are 2 correct answer this question .
It deploys the application modules defined in the manifest.yml file into the cloud foundry
account
It creates the service instances of the services defined in the service-manifest.yml file
It updates the service instances of the services defined in the service –manifest.yml file.
YAML
XML-BASED ATOMPUB
XHTML
JSON
PATCH
GET
TRACE
CONNECT
53. which management tool can you use to deploy a CAP project into a space of your
SAP BTP Subaccount ?
ODATA build on HTTP ,Atompub , and json using URI’s to address and access data feed
resources
ODATA uses the SOAP protocol
ODATA is an architectural design template for hypermedia information systems
ODATA is RESTful.
55. What is a necessary step to implement a custom error handler in the CAP SDK For
Node.js?
Write a custom node.js package
Register the error handler function for the before phase of the error
Register the error handler function for the on phase of the error
Catch exceptions during a CRUD operation
Srv/risk-service.cds
Srv/risk-service.js
Xs-security.js
Package-lock.json
57. your company is using the SAP authorization and trust management service in
conjunction with the XSUAA service to authorize their applications.
Where do you handle your defined scopes in role-templates?
In an xs-scurity.json file
In an instance of the XSUAA service
In a role-collection
58. which of the following are added to your CAP project when you run the ‘’ cds add
pipeline ‘’ command in a SAP business application studio terminal?
There are 2 correct answer this question.
59. Using a terminal in SAP business studio , you want to anable authorization support
via XSUAA In CAP FOR SAP BTP
Which command must you run in the terminal?
60. Which error is thrown by the CAP SDK For Node.js when a CRUD operation violates
the foreign key constraints?
ILLEGAL_CRUD_OPERATION
CX_SY_CONSTRAINT_VIOLATION
FORIGN_KEY_VIOLATION
UNIQUE_CONSTRAINT_VIOLATION
61.you have configure an approuter by creating the xs-app.json file in the approuter
folder …….with the following content: {‘’authentication Method’’,},’’routes’’:[{‘’source”:
“……………..what does this routes array tell the approuter?