C_CPE_2409_EXAMEN1 Flashcards

1
Q

You have set up the scopes and attributes in CAP application 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.

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

What do you need to connect a service to the Sandbox environment of the SAP API Business Hub for the Business Partner API that you want to use?

A

An API key

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

Why are extensions on top of SAP S/4HANA Cloud NOT affected by the quarterly update cycle of SAP S/4HANA Cloud?

A

The public interfaces of SAP S/4HANA represent a stable contract across the versions of SAP S/4HANA Cloud.

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

You develop an application using the Cloud Foundry environment. What are some steps to restrict access to this application? (Choose 2 correct answers)

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
5
Q

Which of the following are benefits of using the OData Virtual Data Model of the SAP Cloud SDK? (Choose 3 correct answers)

A
  1. Easy access to create, update, and delete operations
  2. Auto-completion of function names and properties
  3. Type safety for functions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following are use cases for SAP Business Technology Platform? (Choose 3 correct answers)

A
  1. Extend cloud and on-premise apps.
  2. Build innovative digital apps.
  3. Integrate apps, data, and processes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following tools are required to build Spring Boot applications using the SAP Cloud SDK? (Choose 2 correct answers)

A
  1. Java SE Development Kit 8
  2. Apache Maven version 3.5 or above
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

You need to secure your application in the Cloud Foundry environment. In which file do you maintain routes during design time?

A

xs-app.json

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

What are the benefits of using Side-by-Side Extensibility? (Choose 3 correct answers)

A
  1. It provides support for hybrid scenarios.
  2. It uses a complete development platform for creating extension applications.
  3. It integrates with other cloud/non-cloud solutions when using SAP Business Technology Platform Integration services.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
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
11
Q

On CAP Application deployment, which file is used to create an instance of the XSUAA service , which is bound to the corresponding business application?

A

mta.yaml

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

Which of the statement regarding scopes are true in CAP application? (Choose 3 correct answers)

A
  1. Scopes are arbitrary values that express authorizations / access rights in an application or service.
  2. Scopes need to be prefixed with an xsappname to make them uniquely identifiable.
  3. Roles are entities that hold several scopes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

_____ is a central repository and platform provided by SAP that offers a comprehensive catalog of SAP and non-SAP APIs, including documentation, specifications, and resources to help developers discover, explore, and consume APIs effectively.

A

SAP Business Accelerator Hub

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

On the SAP Business Technology Platform (SAP BTP), identify the runtimes which can be targeted for CAP Application deployment? (Choose 2 correct answers)

A
  1. SAP BTP, Cloud Foundry Runtime
  2. SAP BTP, Kyma Runtime
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which are the charts used by CAP application for easy deployment to SAP BTP, Kyma runtime? (Choose 2 correct answers)

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

Which are true for enabling multitenancy for your SaaS CAP application are: (Choose 2 correct answers)

A
  1. using the command ‘npm add @sap/cds-mtxs’
  2. Set the flag “multitenancy” as true in package.json.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

_____ executes build tasks on your project folders to prepare them for deployment?

A

cds build

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

After you run the command cds add hana, which file is updated with the required configuration?

A

package.json

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

Which statements about YAML files are correct? Choose the two correct answers.

A
  1. YAML uses whitespace indentation for structuring purposes.
    2 YAML uses hashes: # for comments.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

When you develop a CAP application, what can be used to connect to an external Cloud system?

A
  1. SAP BTP destinations using Destination Service
  2. Cloud Connector
  3. Node.js configured destinations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What are yaml files used for?

A

To describe data

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

Which library is commonly used for assertions in Node.js unit testing?

A

Chai

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

In Node.js, what are the most common libraries used for unit testing? (Choose 2 correct answers)

A
  1. Mocha
  2. Chai
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What are some of the Continuous Integration principles? (Choose 3 correct answers)

A
  1. Fix errors immediately.
  2. Use version control.
  3. Run tests in the build.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Which error is thrown by the CAP SDK for Node.js, when a CRUD operation violates the foreign key constraints?
UNIQUE CONSTRAINT_VIOLATION
26
What can you do to provide meaningful error messages to users in your CAP application?
Register an error handler
27
As per CAP guidelines, what are the key takeaways for handling programming errors?
1. Fail loudly 2. Don't develop in a defensive fashion
28
Which are the Service APIs for Custom Logic? (Choose 3 correct answers)
1. Messaging API 2. Event Handling 3. Querying API
29
What are the phases, events in CAP application are processed? (Choose 3 correct answers)
1. Before 2. After 3. On
30
Which files do you modify to store project configurations?
1. package.json 2. .cdsrc.json
31
What does "UI5" refer to in the context of SAP?
A JavaScript library for building web applications.
32
In the context of the XSUAA (User Account and Authentication) service, which identifier is used to differentiate between applications and scopes?
Scope Name
33
In CAP, what is the purpose of the "mta.yaml" file in a multi-target application project?
Describe the project's metadata.
34
Which Core Data Services (CDS) annotation restricts an entity or field to be insert-only, ensuring that data can only be added and not updated or deleted?
@insertonly
35
In Core Data Services (CDS) for SAP HANA, which annotation allows you to specify custom authorization checks at the entity level for fine-grained security control?
1. @restrict
36
You have created an SAP BTP subaccount and want to use Cloud Foundry. What is the correct order of next steps?
Enable Cloud Foundry. Create org. Create space. Create quota plan
37
Which of the following are benefits of SAP Business Application Studio? (Choose 2 correct answers)
1. Central administration 2. Browser-based access.
38
What are some core principles of the design philosophy of SAP Fiori?(Choose 3 correct answers)
1. Coherent 2. Adaptive 3. Role-based
39
In SAP Fiori app development, what is the recommended location for storing custom user interface components within a multi-target CAP application?
In the "app" folder.
40
Where in the MTA development descriptor file can you specify the required memory and disk space for a module?
Modules section
41
Which service must be used for connecting your application to a remote service or on-prem system on SAP BTP?
Destination
42
What are the functionalities addressed by @cap-js/telemetry? (Choose 2 correct answers)
1. Database Pool 2. Traces
43
Which of the following capabilities are provided by the @cap-js/telemetry package in CAP? (Choose 2 correct answers)
1. Monitoring of HTTP Requests 2. Tracking Database Connections
44
What are the components of worker node? (Choose 2 correct answers)
1. Kubelet 2. Kubeproxy
45
What are the tools (open-source) can be configured for higher observability? (Choose 2 correct answers)
1. Prometheus 2. Logstash
46
Which are the files to be configured in CAP, for connecting to destination? (Choose 2 correct answers)
1. package.json 2. mta.yaml
47
Which component of KYMA interact with API Gateway?
kubectl
48
What is required in CAP to connect to services in API business hub?
API key
49
Which of the following is typically required to authenticate requests to the SAP API Business Hub?
API Key
50
What is true about POD in Kubernetes? (Choose 2 correct answers)
1. POD is the smallest unit. 2. POD contains one or more containers.
51
Which of the following statements are true about a Pod in Kubernetes? (Choose 2 correct answers)
1. All containers within a Pod share the same network namespace. 2. Each Pod in Kubernetes is designed to run a single application.
52
What is the role of a build pack in Cloud Foundry (CF) applications?
It creates the run time environment. It packages and configures an application for deployment to Cloud Foundry.
53
What are the files get affected in CAP project, when we run 'cds add xsuaa'? (Choose 2 correct answers)
1. xs-security.json 2. package.json
54
What is true about annotations in Fiori element in CAP?
Enrich services with UI specific instructions
55
What are the features of SAP Cloud-SDK? (Choose 2 correct answers)
1. Provides sample code 2. Provides libraries to speed up the development
56
Which of the following are features of the SAP Cloud SDK? (Choose 2 correct answers)
1. Supports simplified integration with SAP S/4HANA and other SAP services. 2. Provides capabilities to easily consume REST and OData APIs.
57
What is true about CAP app? (Choose 2 correct answers)
1. Connect Distributed systems 2. Can connect with various hybrid systems
58
Which of the following capabilities are provided by CAP (Cloud Application Programming) applications? (Choose 2 correct answers)
1. Supports integration with on-premise and cloud systems. 2. Can create and manage microservices for scalable architectures.
59
What details can you obtain from the metadata of an OData service?
Details about underlying EntitySets, Singletons, Functions of the service.
60
In a CI/CD pipeline, where can the project be deployed to? (Choose 2 correct answers)
1. Transport Management system 2. Cloud Foundry