C_CPE_2409_EXAMEN1 Flashcards
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?
Role collections aren’t assigned to the user.
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?
An API key
Why are extensions on top of SAP S/4HANA Cloud NOT affected by the quarterly update cycle of SAP S/4HANA Cloud?
The public interfaces of SAP S/4HANA represent a stable contract across the versions of SAP S/4HANA Cloud.
You develop an application using the Cloud Foundry environment. What are some steps to restrict access to this application? (Choose 2 correct answers)
- 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.
Which of the following are benefits of using the OData Virtual Data Model of the SAP Cloud SDK? (Choose 3 correct answers)
- Easy access to create, update, and delete operations
- Auto-completion of function names and properties
- Type safety for functions
Which of the following are use cases for SAP Business Technology Platform? (Choose 3 correct answers)
- Extend cloud and on-premise apps.
- Build innovative digital apps.
- Integrate apps, data, and processes.
Which of the following tools are required to build Spring Boot applications using the SAP Cloud SDK? (Choose 2 correct answers)
- Java SE Development Kit 8
- Apache Maven version 3.5 or above
You need to secure your application in the Cloud Foundry environment. In which file do you maintain routes during design time?
xs-app.json
What are the benefits of using Side-by-Side Extensibility? (Choose 3 correct answers)
- It provides support for hybrid scenarios.
- It uses a complete development platform for creating extension applications.
- It integrates with other cloud/non-cloud solutions when using SAP Business Technology Platform Integration services.
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
On CAP Application deployment, which file is used to create an instance of the XSUAA service , which is bound to the corresponding business application?
mta.yaml
Which of the statement regarding scopes are true in CAP application? (Choose 3 correct answers)
- Scopes are arbitrary values that express authorizations / access rights in an application or service.
- Scopes need to be prefixed with an xsappname to make them uniquely identifiable.
- Roles are entities that hold several scopes.
_____ 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.
SAP Business Accelerator Hub
On the SAP Business Technology Platform (SAP BTP), identify the runtimes which can be targeted for CAP Application deployment? (Choose 2 correct answers)
- SAP BTP, Cloud Foundry Runtime
- SAP BTP, Kyma Runtime
Which are the charts used by CAP application for easy deployment to SAP BTP, Kyma runtime? (Choose 2 correct answers)
- Pack
- Helm
Which are true for enabling multitenancy for your SaaS CAP application are: (Choose 2 correct answers)
- using the command ‘npm add @sap/cds-mtxs’
- Set the flag “multitenancy” as true in package.json.
_____ executes build tasks on your project folders to prepare them for deployment?
cds build
After you run the command cds add hana, which file is updated with the required configuration?
package.json
Which statements about YAML files are correct? Choose the two correct answers.
- YAML uses whitespace indentation for structuring purposes.
2 YAML uses hashes: # for comments.
When you develop a CAP application, what can be used to connect to an external Cloud system?
- SAP BTP destinations using Destination Service
- Cloud Connector
- Node.js configured destinations
What are yaml files used for?
To describe data
Which library is commonly used for assertions in Node.js unit testing?
Chai
In Node.js, what are the most common libraries used for unit testing? (Choose 2 correct answers)
- Mocha
- Chai
What are some of the Continuous Integration principles? (Choose 3 correct answers)
- Fix errors immediately.
- Use version control.
- Run tests in the build.