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.
- A . Reuse existing services.
- B . Define services.
- C . Add the SAP Fiori UI.
- D . Define the data model.
- E . Add custom logic.
What does SAP Fiori elements use to generate the UI? Note: There are 2 correct answers to this question.
- A . Custom UI logic
- B . Annotations in the OData service
- C . The entity definition of the OData service
- D . Authorizations in the OData service
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 . Java SE Development Kit 8
- B . Apache Maven version 3.5 or above
- C . SAP Mobile Services (MDK)
- D . Spring Initializ
Which method can you use to collect error messages with high severity and return them to the caller in the request-response?
- A . req.reply
- B . req.notify
- C . req.reject
- D . req.error
In SAP Build Process Automation, what is a decision table rule?
- A . A tabular set of input/output rule expressions
- B . A set of pre-defined data objects
- C . A tabular set of business process decisions
- D . A set of rule expressions in an IF-THEN format
Which sequence of steps do you follow when working with files locally in Git in SAP Business Application Studio?
- A . Stage
Create, modify, save
Commit
Check out - B . Stage
Create, modify, save
Check out
Commit
Check out
Create, modify, save - C . Stage Commit
Create, modify, save - D . Stage
Check out
Commit
Which language do you use to create a data model in a CAP project?
- A . Core Data Services Definition Language (CDL)
- B . ABAP
- C . Core Data Services Query Language (CQL)
- D . SQL
With respect to the Flow principle of DevOps, which are flow inhibitors? Note: There are 3 correct answers to this question.
- A . Manual testing of software
- B . Manually created software environment
- C . Source code management tool
- D . Manually coded user interfaces
- E . Overly tight architectures on a technical level
Which error is thrown by the CAP SDK for Node.js, when a CRUD operation violates the foreign key constraints?
- A . FOREIGN_KEY_VIOLATION
- B . CX_SY_CONSTRAINT_VIOLATION
- C . ILLEGAL CRUD OPERATION
- D . UNIQUE CONSTRAINT_VIOLATION
What is a necessary step to implement a custom error handler in the CAP SDK for Node.js?
- A . Register the error handler function for the before phase of the error.
- B . Catch exceptions during a CRUD operation.
- C . Register the error handler function for the on phase of the error.
- D . Write a custom Node.js package.
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()
- B . An inline function passed to result of cds.serve()
- C . A.js file with the same name as the .cds file
- D . An @impl annotation in your CDS model fille
In SAP Build Process Automation, what is a policy?
- A . A guide to business process mapping
- B . A collection of decisions
- C . A basis for making business rules
- D . A collection of business rules
What are some characteristics of YAML files? Note: There are 2 correct answers to this question.
- A . YAML files can be used as configuration files.
- B . YAML files are also valid JSON files.
- C . YAML files are based on XML.
- D . YAML files rely on correct indentation.
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 . Commonly used SQL query technology
- B . Easy access to create, update, and delete operations
- C . Type safety for functions
- D . Auto-completion of function names and properties
- E . Database procedures provided out of the box
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.
- B . The project has been deployed.
- C . The project has been previewed.
What are the main features and capabilities of the app router? Note: There are 3 correct answers to this question.
- A . It can serve static content such as web pages, SAPUI5 or other client side code.
- B . It manages the authentication flows for the application.
- C . It acts as an authorization server.
- D . It downloads all necessary libraries.
- E . It is the central entry point of the application.
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).
using {managed} from ‘@sap/cds/common’;
- A . entity Books {
key ID: UUID @(Core.computed: true);
title: String;
author: String;
}
Which is a valid way to extend the entity with the aspect? - B . entity Books: managed {
key ID: UUID @(Core.Computed: true);
title: String;
author: String;
} - C . entity Books: {
key ID: UUID @(Core.Computed: true);
title: String;
author: String;
}
aspect managed Books {} - D . entity Books: {
key ID: UUID (Core.Computed: true);
title: String;
author: String;
aspect managed;
}
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
- B . mta.yml
- C . C xs-security.json
- D . C manifest.yml
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.
- A . Fueling generic runtimes to serve recurring tasks automatically
- B . Integrating the data with other SAP systems
- C . Declaratively capturing domain knowledge in CDS models
- D . Maximizing boilerplate code to real custom logic
When you create an API Rule for a service, what is created automatically?
- A . A Helm Chart
- B . An Istio VirtualService
- C . A Kubernetes Deployment
- D . A Kubernetes Service
How do you debug a Node.js module in SAP Business Application Studio?
- A . Add the sap.hana.xs.debugger:Debugger role to the HDI container’s #RT user.
- B . Start the debugger from the CF command line interface and run the program.
- C . Set the enabled parameter to true in the section debugger of the xsengine.ini file.
- D . Attach the debugger to the application.
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.
- A . The files requested for /app will be put to the resources folder.
- B . All requests starting with /service will be forwarded to the CAP service.
- C . The files in the resources folder will be served for all requests to /app.
- D . All requests starting with /service will be targeted to the folder resources.
What must you do first before you can get visibility into how a process is running?
- A . Save the version of the process you are working on.
- B . Circulate the process for pre-approvals before finalizing it.
- C . Prepare the process to be consumed by the visibility scenario.
- D . Purchase the visibility dashboard capabilities from the SAP store.
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 - B . Configure a data source
Configure Hibernate for multi-tenancy
Tenant onboarding and offboarding
Persisting and accessing the data - C . Tenant onboarding and offboarding
Configure a data source
Configure Hibernate for multi-tenancy
Persisting and accessing the data - D . Configure Hibernate for multi-tenancy Configure a data source
Tenant onboarding and offboarding Persisting and accessing the data
Which configuration steps are necessary to set process conditions in SAP Build Process Automation? Note: There are 3 correct answers to this question.
- A . Define If/Else criteria
- B . Map condition input to process content
- C . Add environment variables
- D . Define flow for different conditional paths
- E . Add a condition to the process
What are tasks of the approuter? Note: There are 3 correct answers to this question.
- A . Routing requests from the web browser to the provider of the UI service.
- B . Routing requests from the application to the SAP Launchpad service.
- C . Authorizing users for the CAP service and the provider of the UI service.
- D . Routing requests from the web browser to the CAP service.
- E . Forwarding user requests to the XSUAA service for authentication and authorization.
How do you run a CI/CD build manually without pushing changes to Git?
- A . Select Deploy from the project’s context menu in the Project Explorer
- B . Submit Changes via Sync & Share action
- C . Select "Trigger a Build’ in the CI/CD job’s context menu
- D . Create and run "Build task" in Task Explorer
When creating a CI/CD job, what does defining Source Control Management (SCM) credentials enable?
- A . Retrieving your project from SCM when its build is triggered
- B . Managing your SCM credentials
- C . Modifying your project source code automatically
Which of the following are features of Kubernetes? Note: There are 3 correct answers to this question.
- A . Immutability and self-healing
- B . Hardware virtualization
- C . Service Discovery and load balancing
- D . Operating system management Storage orchestration
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}’)
}) - B . const cds = require("@sap/cds’)
module.exports = cds.service.impl(function () {
const {Supplier) = this.entities()
this.on(‘each’,Supplier, row =>{ output.log("Read Supplier: ${row.ID}")
})
}) - C . const cds = require(‘@sap/cds")
module.exports = cds service.impl(function() {
const {Supplier) = this.entities()
this.on(‘each, Supplier, row => console.log("Read Supplier: ${row.ID}")
}) - D . const cds = require(‘@sap/cds’)
module.exports = cds.service.impl(function() {
const {Supplier) = this.entities()
this after(‘each Supplier, row => { output.log("Read Supplier: $[row.ID}")
})
})