CLD200-POST EXAM QUESTIONS Flashcards

1
Q

What is Fiori floor plan - Analytical List page

A
  1. Multiple views of the same content.
  2. Drilldown
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Fiori floor plan - Initial Page

A

The user only needs to work on one object at a time.

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

What is Fiori floor plan - List Report

A
  1. Work with a large set of items by searching, filtering, sorting, and grouping.
  2. used to navigate to Object page for details.
  3. No interactions with data.
    Users work on different kind of items.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Fiori floor plan - Object page

A
  1. displays and categorise all relevant information about an object.
  2. Users need to display, create, or edit an object.
  3. Users need to get an overview of an object and interact with different parts of the object.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Fiori floor plan - Overview Page

A
  1. It is a data-driven SAP Fiori app type and floorplan that provides all the information a user needs in a single page.
  2. You want to provide an entry-level view of content related to a specific domain or role.
  3. Users need to filter and react to information from at least two different applications to complete their role-specific tasks.
  4. You want to offer different information formats (such as charts,
    lists, and tables) on a single page.
  5. You plan to have at least three cards. These cards should not all be
    of the same type.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Fiori floor plan - WorkList

A

1.A worklist displays a collection of items a user needs to process. Working through the list usually involves reviewing details of the items and taking action. In most cases, the user has to either complete a work item or delegate it.
2.Users have numerous work items and need to decide which ones to process first.
3. You want to give users a direct entry point for taking action on work items.
4. Users need to work with multiple views of the same content (for example, items that are “Open”, “In Process”, or “Completed”). You want to offer tabs for switching between views.

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

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

A

A. Object page

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

You are asked to add a User Interface to your CAP project as quickly as possible and without any
unique functionalities. Which option do you choose? Choose the correct answer.

A

A. SAP UI5 Elements

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

What is SAP Fiori elements designed to do? Choose the correct answers.

A

B. Drive UX consistency.

D. Speed up development.

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

What is a reason to add UI annotations to your project? Choose the correct answer.

A

A. To display columns and form fields.

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

Which user types will work on and with SAP BTP? Choose the correct answers.

A

A. Business users
B. Platform users

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

Your customer presents you with the following Ul 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

D. Analytical list page

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

What is the main idea behind SAP Fiori elements? Choose the correct answer.

A

C. Generate SAP Fiori apps at runtime from an existing OData service

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

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

A

A. Annotations in the OData service
B. Custom UI logic
C. The entity definition of the OData service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
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

D. List report

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

Which file contains an app’s “declaration of security”? Choose the correct answer.

A

C. xs-security.json

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

By default, which file describes scopes and role-templates of an application for the instantiation of an XSUAA service instance?

A

C. xs-security.json

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

Which of the following can be used as identity providers for SAP BTP applications? Note: There are 2
to choose.

A

B. SAP Authorization and Trust Management Service

D. Identity authentication tenant

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

Which pattern do you use to register an event handler? Choose the correct answer.

A

A. srv.Q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
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

B. mbt build

21
Q

What are some core principles of the design philosophy of SAP Fiori? Note: There are 3 to choose

A

A. Coherent
D. Role-based
E. Adaptive

22
Q

Your company is using the SAP Authorization and Trust Management service in conjunction with the
XSUAA service to authorize their applications. Where do you bundle your defined scopes in role templates?

A

B. In a role-collection

23
Q

What are some characteristics of CAP event handling? Note: There are 2 to choose.

A

A. You can register event handlers with instances of cds.service to add custom logic.
C. You can register multiple event handlers for each event phase.

24
Q

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). Which is a valid way to extend the entity with the aspect?

A

title: String;
author: String;
}
Entity Books : {
key ID: UUID @(Cora.Computed : True);

25
Q

Which of the following can be used as a management tool for SAP Business Technology Platform?
Note: There are 3 to choose.

A

A. Cloud Foundry CLI
C. SAP Solution Manager correct
D. SAP BTP CLI

26
Q

How do event handlers work in CAP?

A

srv.<phase>(<event>) =>cds.service=>srv.emit(<event>)=>event consumers (otherservices)</event></event></phase>

27
Q

When the framework throws the exception UNIQUE_CONSTRAINT_VIOLATION.

A

2 // Imports
3 constcds=require(“@sap/cds”);
4
5 /**
6 * The service implementation with all service handlers
7 */
8 module.exports=cds.service.impl(asyncfunction(){
9 /**
10 * Custom error handler
11 *
12 * throw a new error with: throw new Error(‘something bad happened’);
13 *
14 **/
15 this.on(“error”,(err,req)=>{
16 switch(err.message){
17 case”UNIQUE_CONSTRAINT_VIOLATION”:
18 err.message=”The entry already exists.”;
19 break;
20
21 default:
22 err.message=
23 “An error occured. Please retry. Technical error message: “+
24 err.message;
25 break;
26 }
27 });

28
Q

Update the XSUAA-Service Configuration.

A

{
“scopes”: [
{
“name”: “$XSAPPNAME.RiskViewer”,
“description”: “RiskViewer”
},
{
“name”: “$XSAPPNAME.RiskManager”,
“description”: “RiskManager”
}
],
“attributes”: [],
“role-templates”: [
{
“name”: “RiskViewer”,
“description”: “generated”,
“scope-references”: [
“$XSAPPNAME.RiskViewer”
],
“attribute-references”: []
},
{
“name”: “RiskManager”,
“description”: “generated”,
“scope-references”: [
“$XSAPPNAME.RiskManager”
],
“attribute-references”: []
}
]
}

29
Q

How these elements are related Users, Roles and Role Collections:

A

User => role collection<=role<=scope

30
Q

what are platform users

A

administrators and developers

31
Q

What are business users

A

application users: Business users use the business applications that are deployed on SAP BTP.

32
Q

What are stateless services

A

are stateless, declared
using CDS, and can be accessed by other services using application programming interfaces {APis). Services react to various events.

33
Q

. By default, projects are stored

A

/home/user/projects folder.

34
Q

How can you create a project in CLI

A

cds init <project></project>

35
Q

What should the /app contain?

A

UI related artefacts

36
Q

What should the /db contain?

A

the domain model and database-related artifacts

37
Q

What should the /srv contain?

A

the service definition and
implementation.

38
Q

What does association means

A

it defines the relationship between entities

39
Q

What is unmanaged association

A

When the “on” clause is used to manage arbitrary relationships between entities.

40
Q

What is managed association

A

The primary key of the associated entity is used therefore there is no need for the on condition.

41
Q

Where is the domain model stored?

A

under the DB folder

42
Q

Where should the service be stored in CAPM

A

/srv

43
Q

The name of the csv file must be in this format

A

<namespace><Entity>.csv
</Entity></namespace>

44
Q

What does this command do - cf deploy gen/mta.tar

A

it deploys the mta.tar

45
Q

Where the i18n file is stored

A

app/<app>/webapp/i18n</app>

46
Q

What is Component.js

A

It is a characteristic for a UI5 app

47
Q

What are the criticality

A

“very negative(experimental) -1
Neutral - 0
negative - 1
critical - 2
Positive - 3
Very positive (experimental) 4
Information - 5”

48
Q

What are the criticality

A

“very negative(experimental) -1
Neutral - 0
negative - 1
critical - 2
Positive - 3
Very positive (experimental) 4
Information - 5”