EXAM_4 (1-40) Flashcards
(41 cards)
What are some principles of continuous integration? Note: There are 2 correct answers to this question.
- Automated tests
- Automated builds
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?
entity Books : managed {
key ID : UUID @(Core.Computed : true);
title : String;
author : String;
}
Which sequence of steps do you follow when working with files locally in Git in SAP Business Application Studio?
Stage
Commit
Create, modify, save
Which error is thrown by the CAP SDK for Node.js, when a CRUD operation violates the foreign key constraints?
FOREIGN_KEY_VIOLATION
What are the benefits of using Side-by-Side Extensibility? Note: There are 3 correct answers to this question.
1.It integrates with other cloud/non-cloud solutions when using SAP Business Technology Platform Integration services.
- It provides support for hybrid scenarios.
- It uses a complete development platform for creating extension applications.
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.
- Define the role template name in the role-templates element of the xs-security.json file.
- Set the Scopes element to the required scope name in the xs-security.json file.
What can you use to register the JavaScript implementation of an event handler for external services to the framework?
An inline function passed to result of cds.connect()
Which method can you use to collect error messages with high severity and return them to the caller in the request-response?
req.error
How do you run a CI/CD build manually without pushing changes to Git?
Select “Trigger a Build’ in the CI/CD job’s context menu
What are some scenarios where you would use the SAP Cloud SDK in your application? Note: There are 2 correct answers to this question.
- You want to add new features to an existing Java application
- You need advanced features in your app such as resilience and caching
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?
The stages of the failed job run
How can you ensure that the value creation process continuously becomes safer and more resilient?
Establish short and efficient feedback cycles.
Which language do you use to create a data model in a CAP project?
Core Data Services Definition Language (CDL)
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.
- scopes
- role-templates
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.
- Asynchronous message-driven communication between systems
- Loose coupling and isolation between systems
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.
- Templated automations
- Plug-and-play availability
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.
- SAP-delivered business objects
- Custom CDS views
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.
- Apache Maven version 3.5 or above
- Java SE Development Kit 8
What are the main features and capabilities of the app router? Note: There are 3 correct answers to this question.
- It manages the authentication flows for the application.
- It can serve static content such as web pages, SAPUI5 or other client side code.
- It is the central entry point of the application
What are some characteristics of CAP event handling? Note: There are 2 correct answers to this question.
- You can register multiple event handlers for each event phase.
- You can register event handlers with instances of cds.service to add custom logic.
Into which environment does the Test step in a CI/CD job allow you to deploy your application?
Cloud Foundry
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.
- Create a service to group your pods.
- Create an API Rule CR.
- Configure rules and access Strategies.
What are some benefits of using Forms in SAP Build Process Automation?Note: There are 2 correct answers to this question.
- Streamline business process approvals easily
- Create an interactive Ul easily
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?
Role collections aren’t assigned to the user.