EXAM_4 (1-40) Flashcards

(41 cards)

1
Q

What are some principles of continuous integration? Note: There are 2 correct answers to this question.

A
  1. Automated tests
  2. Automated builds
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
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 code).

Which is a valid way to extend the entity with the aspect?

A

entity Books : managed {
key ID : UUID @(Core.Computed : true);
title : String;
author : String;
}

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

Which sequence of steps do you follow when working with files locally in Git in SAP Business Application Studio?

A

Stage
Commit
Create, modify, save

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

Which error is thrown by the CAP SDK for Node.js, when a CRUD operation violates the foreign key constraints?

A

FOREIGN_KEY_VIOLATION

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

What are the benefits of using Side-by-Side Extensibility? Note: There are 3 correct answers to this question.

A

1.It integrates with other cloud/non-cloud solutions when using SAP Business Technology Platform Integration services.

  1. It provides support for hybrid scenarios.
  2. It uses a complete development platform for creating extension applications.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

You develop an application using the Cloud Foundry environment. What are some steps to restrict access to this application? Note: There are 2 correct answers to this question.

A
  1. Define the role template name in the role-templates element of the xs-security.json file.
  2. Set the Scopes element to the required scope name in the xs-security.json file.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What can you use to register the JavaScript implementation of an event handler for external services to the framework?

A

An inline function passed to result of cds.connect()

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

Which method can you use to collect error messages with high severity and return them to the caller in the request-response?

A

req.error

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

How do you run a CI/CD build manually without pushing changes to Git?

A

Select “Trigger a Build’ in the CI/CD job’s context menu

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

What are some scenarios where you would use the SAP Cloud SDK in your application? Note: There are 2 correct answers to this question.

A
  1. You want to add new features to an existing Java application
  2. You need advanced features in your app such as resilience and caching
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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?

A

The stages of the failed job run

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

How can you ensure that the value creation process continuously becomes safer and more resilient?

A

Establish short and efficient feedback cycles.

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

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

A

Core Data Services Definition Language (CDL)

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

You have developed a CAP project and added the XSUAA security configuration. What information is stored in the xs-security.json file? Note: There are 2 correct answers to this question.

A
  1. scopes
  2. role-templates
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are key elements of reactive systems in the distributed environment of side-by-side extensions? Note: There are 2 correct answers to this question.

A
  1. Asynchronous message-driven communication between systems
  2. Loose coupling and isolation between systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What feature of the pre-built content packages in SAP Build Process Automation increases the speed of development? Note: There are 2 correct answers to this question.

A
  1. Templated automations
  2. Plug-and-play availability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

You develop custom SAP S/4HANA side-by-side extensions. For which development objects can you enable OData services? Note: There are 2 correct answers to this question.

A
  1. SAP-delivered business objects
  2. Custom CDS views
18
Q

Which of the following tools are required to build Spring Boot applications using the SAP Cloud SDK?

Note: There are 2 correct answers to this question.

A
  1. Apache Maven version 3.5 or above
  2. Java SE Development Kit 8
19
Q

What are the main features and capabilities of the app router? Note: There are 3 correct answers to this question.

A
  1. It manages the authentication flows for the application.
  2. It can serve static content such as web pages, SAPUI5 or other client side code.
  3. It is the central entry point of the application
20
Q

What are some characteristics of CAP event handling? Note: There are 2 correct answers to this question.

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

Into which environment does the Test step in a CI/CD job allow you to deploy your application?

A

Cloud Foundry

22
Q

You have deployed a workload through a Kubernetes Deployment to SAP BTP, Kyma runtime. What must you do to expose the workload to the public internet? Note: There are 3 correct answers to this question.

A
  1. Create a service to group your pods.
  2. Create an API Rule CR.
  3. Configure rules and access Strategies.
23
Q

What are some benefits of using Forms in SAP Build Process Automation?Note: There are 2 correct answers to this question.

A
  1. Streamline business process approvals easily
  2. Create an interactive Ul easily
24
Q

You have set up the scopes and attributes that are needed to protect your application in the Cloud Foundry environment, but a user is unable to access your application. What might be the reason?

A

Role collections aren’t assigned to the user.

25
When you create an API Rule for a service, what is created automatically?
An Istio VirtualService
26
Which identifier is used by the XSUAA service to distinguish applications and scopes?
xsappname
27
What are some characteristics of YAML files? Note: There are 2 correct answers to this question.
1. YAML files can be used as configuration files. 2. YAML files rely on correct indentation.
28
Which configuration steps are necessary to set process conditions in SAP Build Process Automation?
1. Define If/Else criteria 2. Add a condition to the process 3. Define flow for different conditional paths
29
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.
1. The files in the resources folder will be served for all requests to /app. 2. All requests starting with /service will be forwarded to the CAP service.
30
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? Note: There are 2 correct answers to this question.
1. A content type 2. A secret
31
You need to secure your application in the Cloud Foundry environment. In which file do you maintain routes during design time?
xs-app.json
32
You initialize a new CAP project with initial project structure using a generator in SAP Business Application Studio. What are some of the default elements being created? Note: There are 2 correct answers to this question.
1. file package.json 2. file manifest.yml
33
With respect to the Flow principle of DevOps, which are flow inhibitors? Note: There are 3 correct answers to this question.
1. Manually created software environment 2. Manual testing of software 3. Manually coded user interfaces
34
Which of the following 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 correct answers to this question.
1. A pipeline folder with a config.yml file 2. A file named Jenkinsfile
35
What are some characteristics of logic flows? Note: There are 3 correct answers to this question.
1. They are a sequence of events, actions, and functions 2. They can be used to customize any kind of behavior in an app 3. They can be simple or branching
36
During application development, what are some principles of dealing with application errors? Note: There are 2 correct answers to this question.
1. Use try/catch blocks sparingly 2. Log unexpected errors
37
Which of the following can be used to implement side-by-side extensions in the Cloud Foundry environment of SAP Business Technology Platform? Note: There are 2 correct answers to this question.
1. Java 2. Node.js
38
Which property of access control with @restrict accepts all standard CDS CRUD events, as well as action and function names?
on
39
What does SAP Fiori elements use to generate the UI? Note: There are 2 correct answers to this question.
1. Annotations in the OData service 2. The entity definition of the OData service
40
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?
Worklist
41