EXAM_4 (41-80) Flashcards

(40 cards)

1
Q

To grant a user access to an application in an SAP BTP subaccount, what must you assign to this user?

A

A role collection

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

Which of the following are the fundamental guidelines of a twelve-factor application? Note: There are 3 correct answers to this question.

A
  1. Stateless and self-contained application processes
  2. Traceability and reproducibility of all changes
  3. Separation of application code and runtime configuration
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

After you create a business process in SAP Build Process Automation by giving it a name and identifier and clicking “Create,” what can you add to it? Note: There are 3 correct answers to this question.

A
  1. Automations
  2. Decisions
  3. Forms
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

You want to register custom event handlers using instances of CAP Node.js SDK classes. Which one do you use?

A

cds.Service

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

What are tasks of the approuter? Note: There are 3 correct answers to this question.

A
  1. Forwarding user requests to the XSUAA service for authentication and authorization.
  2. Routing requests from the web browser to the provider of the UI service.
  3. Routing requests from the web browser to the CAP service.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

You want to implement an event handler to show a console log once a supplier record is read. What is the correct syntax to implement this?

A

const cds = require(‘@sap/cds’)
module.exports = cds.service.impl(function () {
const {Supplier) = this.entities()
this after(‘each Supplier, row =>{ console.log(“Read Supplier: ${row.ID}’)
})

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

What is the correct sequence of steps when implementing Tenant-aware Persistence?

A
  • Configure a data source
  • Configure Hibernate for multi-tenancy
  • Persisting and accessing the data
  • Tenant onboarding and offboarding
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What must you do to pull a container image from a private registry? Note: There are 2 correct answers to this question.

A
  1. Provide credentials in the pod manifest via “imagePullSecrets” in spec.template.spec.
  2. Create a secret with the type “kubernetes.io/dockerconfigjson”.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

For which workload requirements would you use State ful Set? Note: There are 3 correct answers to this question.

A
  1. Ordered, graceful deployment and scaling
  2. Stable, unique network identifiers
  3. Stable, persistent storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is mandatory when working on public Git in a distributed environment?

A

Connect to a central repository to share your project contribution.

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

What can you define in the application router’s design-time descriptor: xs-app.json? Note: There are 2 correct answers to this question.

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

In SAP Build Process Automation, what is a policy?

A

A collection of business rules

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

Which of the following are use cases for SAP Business Technology Platform? Note: There are 3 correct answers to this question.

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

Which formats are supported by OData?

Note: There are 2 correct answers to this question.

A
  1. JSON
  2. XML-based AtomPub
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which of the following are parts of the architecture of the SAP BTP Service Operator for Kubernetes? Note: There are 2 correct answers to this question.

A
  1. API server
  2. Service broker
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
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
17
Q

Which are characteristics of Continuous Delivery? Note: There are 3 correct answers to this question.

A
  1. High degree of automation
  2. Fast recovery from defects
  3. Short release cycle
18
Q

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

A

Install a Node.js module called passport.

19
Q

What is the prerequisite before you can create a CI/CD job for a project?

A

The project has been shared to a remote Git repository.

20
Q

What are some benefits of using the Istio service mesh in SAP BTP, Kyma runtime? Note: There are 3 correct answers to this question.

A
  1. Distributed tracing can be used to trace request flows.
  2. Networking is decoupled from the application logic.
  3. Traffic management between services can be controlled.
21
Q

Which of the following are benefits of using the OData Virtual Data Model of the SAP Cloud SDK? Note: There are 3 correct answers to this question.

A
  1. Type safety for functions
  2. Easy access to create, update, and delete operations
  3. Auto-completion of function names and properties
22
Q

What do you use to update the Git history of the local file you are working on?

23
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.

24
Q

You want a service to react to a specific event. What can you specify as <phase> in the statement srv. <Phase> (<event>)? Note: There are 2 correct answers to this question.</event></Phase></phase>

25
Which actions are executed in Cloud Foundry under the Deploy & Execute phase when you run an application? Note: There are 2 correct answers to this question.
1. Fueling generic runtimes to serve recurring tasks automatically 2. Integrating the data with other SAP systems
26
Using the Cloud Events specification, which component must you use to post events to Kyma Eventing?
service/eventing-event-publisher-proxy
27
When would you choose SAP Fiori elements for app development? Note: There are 2 correct answers to this question.
1. When standard floorplans are sufficient 2. When speed is more important than flexibility
28
What are some prerequisites for functions to receive events from Kyma Eventing? Note: There are 2 correct answers to this question.
1. A Subscription CR. 2. A CloudEvents specification
29
Which of the following are features of Kubernetes? Note: There are 3 correct answers to this question.
1. Service Discovery and load balancing 2. Immutability and self-healing 3. Operating system management Storage orchestration
30
How do you debug a Node.js module in SAP Business Application Studio?
Attach the debugger to the application.
31
When creating a CI/CD job, what does defining Source Control Management (SCM) credentials enable?
Retrieving your project from SCM when its build is triggered
32
What are some of the capabilities of the SAP S/4HANA Virtual Data Model? Note: There are 2 correct answers to this question.
1. It enriches the entities with business semantics. 2. It documents the relationships between entities.
33
What must you do first before you can get visibility into how a process is running?
Prepare the process to be consumed by the visibility scenario.
34
You are tasked with developing a simple end-to-end application with data persistency in SAP HANA Cloud and with SAP Fiori as the user frontend, to perform CRUD operations. According to the programming model's golden path, which activities are mandatory when building such applications? Note: There are 3 correct answers to this question.
1. Define the data model. 2. Define services. 3. Add the SAP Fiori UI.
35
In SAP Build Process Automation, what is a decision table rule?
A tabular set of input/output rule expressions
36
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 roletemplates?
In an xs-security.json fille
37
In SAP Fiori, how are drafts used? Note: There are 2 correct answers to this question.
1. To prevent an object being edited by multiple users concurrently 2. To prevent data loss in case an app terminates unexpectedly
38
What is a necessary step to implement a custom error handler in the CAP SDK for Node.js?
Register the error handler function for the on phase of the error.
39
What is a rule of thumb for when to use namespaces in your models?
When your model names are unique
40
According to SAP CAP best practices, which error types should you NOT catch? Note: There are 2 correct answers to this question.
1. Unexpected errors 2. Rejections of promises