Exam_3(1-40) Flashcards

1
Q

You want to create a new service definition in your CAP project. In which folder do you place the service definition .cds file?

A

/srv

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some characteristics of JSON files? Note: There are 2 to choose.

A
  1. JSON files contain human-readable data.
  2. JSON files are also valid YAML files.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following environments run on the SAP multi-cloud foundation? Note: There are 2 to choose.

A
  1. Cloud Foundry environment
  2. Kyma environment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

During application development, what are some principles of dealing with application errors? Note: There are 2 to choose.

A
  1. Log unexpected errors
  2. Use try/catch blocks sparingly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the Extended Services - User Account and Authentication (XSUAA) service enable your app to do? (2 corrects)

A
  1. Identify users by e-mail, userId, first and last name.
  2. Check users’ roles to allow or prohibit actions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In what stage does the “Build Front-end” sub-stage execute the npm install in the root of a project? This downloads front-end dependencies and test tools as defined in your project.json. The “Front-end” part applies only if we have a front-end component in our application. Choose the correct answer.

A

Build

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can you get the information about org name and API endpoint of your Cloud Foundry environment? There are two correct answers.

A
  1. Run command cf target in the terminal of SAP Business Application Studio.
  2. Access the values from the subaccount overview in the SAP BTP cockpit.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does SAP Fiori elements use to generate the UI? Note: There are 2 to choose.

A
  1. The entity definition of the OData service
  2. Annotations in the OData service
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When deploying applications on SAP BTP, what is the maximum application package size?

A

1.5 GB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In the SAP BTP, what is the correct order of entities?

A

Global account. Directory. Subaccount. Environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is SAP Business Application Studio? Choose the correct answer.

A

A web browser-based development environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

In which of the following apps can you manage connected SAP BTP accounts in an SAP S/4HANA system? Choose the correct answer.

A

Maintain Extensions on SAP BTP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In SAP Business Application Studio, how many dev space types are available?

A

6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which web browsers are officially supported in SAP Business Application Studio? Note: There are 3 to choose.

A
  1. Mozilla Firefox
  2. Google Chrome
  3. Microsoft Edge
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which files are added to your CAP project when you run the “cds add pipeline” command in an SAP Business Application Studio terminal? Note: There are 2 to choose.

A
  1. A file named Jenkinsfile
  2. A .pipeline folder with a config.yml file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the two structures JSON is built on? (2 corrects)

A
  1. Ordered list of values
  2. Collections of name/value pairs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Which two of the following are main goals of the SAP Cloud SDK continuous delivery pipeline? Choose 2 correct answers.

A
  1. Build extension apps
  2. Cloud-native development
18
Q

Your customer presents you with the following UI requirements: 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. Which SAP Fiori elements floorplan do you recommend they use?

A

Worklist

19
Q

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.

A

‘bookshop-service’, after, ‘READ’, forEach, ‘book.language == ‘en’, ‘book.price = book.price * 0.9, book.price= book.price *0.95

20
Q

What is recommended by SAP when you publish an API? Note: There are 2 to choose.

A
  1. Use meaningful, clear, and self-explanatory API names.
  2. Provide good API documentation.
21
Q

Why do you need an approuter for your application? (2 corrects)

A
  1. To connect requests from the web browser to a service
  2. To connect requests from the web browser to the provider of UI sources
22
Q

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. Which SAP Fiori elements floorplan do you recommend they use?

A

Analytical list page

23
Q

Which of the following statements applies to Continuous Deployment? Choose the correct answer.

A

Deployment to a productive system is triggered automatically.

24
Q

What is one of the required steps to enable authentication support in CAP?

A

Install a Node.js module called passport.

25
Q

In the Builds view of SAP Continuous Integration and Delivery there is no new tile for your job. Which command do you run to trigger the job manually?

A

Trigger build

26
Q

Which of the following are features of a managed cloud deployment model? There are 2 correct answers to this question.

A
  1. Dedicated resources for an individual customer
  2. Extensive customizing access
27
Q

After what period of time does GitHub remove unused personal access tokens? Choose the correct answer.

A

1 year

28
Q

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?

A

POST request

29
Q

Which language do you use to create a data model in a CAP project?

A

Core Data Services Definition Language (CDL)

30
Q

You have implemented a simple CAP application for risk management of your company’s supply chain. You want to limit viewing permissions for risk data within the application to certain users and therefore define an xs-security.json file. Drag the key and value items onto the correct parts of the descriptor file.

A

xsappname, tenant-mode, scopes, roles-templates, scope-references,$XSAPPNAME.RiskViewer

31
Q

What are some characteristics of YAML files? Note: There are 2 to choose.

A
  1. YAML files can be used as configuration files.
  2. YAML files relyon correct indentation.
32
Q

How many moments are there to hook event handlers to a service?

A

Three

33
Q

What do you need to consider when working with subaccounts in SAP BTP? Note: There are 2 to choose.

A
  1. A service must be entitled to the subaccount before you can subscribe to it.
  2. The subdomain of a subaccount must be unique within a region.
34
Q

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.

A
  1. All requests starting with /service will be forwarded to the CAP service.
  2. The files in the resources folder will be served for all requests to /app.
35
Q

A global account has a relationship with entitlements. The cardinality of this relationship is “0-n” as shown in the graphic. What are the cardinalities for the Regions relationship in the attached diagram? (Drag and drop the labels at the bottom onto the framed locations of the image above.)

A

0-n

36
Q

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

37
Q

Using a terminal in SAP Business Application Studio, you want to enable authentication support via XSUAA in CAP for SAP BTP. Which command must you run in the terminal?

A

cds compile srv –to xsuaa >xs-security.json

38
Q

What are some features of the SAP Cloud Connector? Note: There are 2 to choose.

A
  1. Monitoring requests
  2. Securing the activation of traffic traces
39
Q

What are the differences between continuous integration (CI) and continuous delivery (CD)? There are 2 correct answers to this question.

A
  1. CI allows team members to add their changes to a main line.
  2. CD adds an aspect that changes have been tested successfully.
40
Q

Which of the following does OData use to address and access data feed resources?

A

URI