You developed a multi-target application that contains only a database module. Which environment are the runtime objects created in? Please choose the correct answer.
Correct Answer: D
A multi-target application (MTA) is a single application that consists of multiple modules that are developed using different technologies and designed to run on different target runtime environments. A database module is a module that contains database artifacts, such as tables, views, procedures, or functions, that are deployed to a SAP HANA database. A HANA Deployment Infrastructure (HDI) container is a logical grouping of database objects that are isolated from other containers and schemas in the same database. An HDI container has its own technical user, roles, and privileges, and can be accessed only through a service binding. When a database module is built, the SAP Web IDE for SAP HANA or the SAP Business Application Studio automatically creates an HDI container and binds it as a resource to the database module. It also creates the runtime objects, such as physical tables or views, in the schema associated with the HDI container. Therefore, the runtime objects of a database module are created in the HDI container, which is the correct answer. The other options are incorrect because they are not the environments where the runtime objects of a database module are created. The Java Runtime Environment (JRE) is a software environment that provides the minimum requirements for executing a Java application. The SAP HANA Runtime Tools (HRTT) are a set of tools that enable developers to create, run, and debug SAP HANA native applications in Eclipse. The SAP Web IDE for SAP HANA is a web-based development environment that supports the development of MTA projects and modules. References: * SAP HANA Platform 2.0 SPS06: Developing Multitarget Applications, Section 1.1 * SAP HANA Platform 2.0 SPS06: SAP HANA Deployment Infrastructure, Section 1 * SAP HANA Platform 2.0 SPS06: SAP HANA Database Application Development, Section 2.1 * SAP HANA Platform 2.0 SPS06: SAP HANA Database Application Development, Section 2.2 * SAP HANA Platform 2.0 SPS06: SAP HANA Database Application Development, Section 2.3 * SAP Business Application Studio Multitarget Application (MTA) development toolkit, Section 2
Question 42
Why do you use associations in your persistence model for SAP HANA extended application services, advanced model (XS advanced)? Please choose the correct answer.
Correct Answer: C
Associations are used in the persistence model for SAP HANA extended application services, advanced model (XS advanced) to define the multiplicity and key of an entity relation. An entity relation is a logical connection between two entities, such as one-to-one, one-to-many, or many-to-many. Multiplicity specifies how many instances of one entity can be related to one instance of another entity. Key specifies which attributes of the related entities are used to identify and join the instances. Associations are defined using the Core Data Services (CDS) language, which is a declarative language for modeling data structures and services. Associations are part of the CDS entity definition, and they can be used to navigate from one entity to another, and to filter, aggregate, or project data from the target entity12. The other options are not correct because they are not the purposes of using associations in the persistence model for XS advanced. Associations do not enforce database-level constraints, such as primary keys, foreign keys, or check constraints. These constraints are defined separately using the CDS annotations or the SQL DDL statements. Associations do not define the relationships between contexts and views, which are different types of CDS artifacts. A context is a namespace for grouping related CDS artifacts, such as entities, views, types, or associations. A view is a CDS artifact that defines a data model based on one or more entities or other views, and applies filters, joins, aggregations, or other operations on the data. Associations do not set relationships between multiple contexts, which are independent from each other and do not have any logical connection. References: * SAP HANA Platform, SAP HANA Modeling Guide for SAP HANA Web Workbench, Core Data Services * SAP HANA Platform, SAP HANA Developer Guide for SAP HANA Web IDE, Developing Database Modules, Developing Core Data Services Models, Defining Associations
Question 43
Which of the following elements can be part of the UI5 application's index.html file? There are 2 correct answers to this question
Correct Answer: C,D
Question 44
You create an SAP HANA extended application services, advanced model (XS advanced) multi-target application. What does the mta.xml file contain? Please choose the correct answer.
Correct Answer: D
The mta.xml file is the main descriptor file for a multi-target application (MTA). It defines the application global elements, such as ID, version, provider, and schema version. It also defines the modules, which are the components of the application that provide specific functionality, such as a database module, a Node.js module, or an HTML5 module. Each module has a name, a type, a path, and a list of required dependencies. The mta.xml file also defines the resources, which are the shared services or configurations that the modules can consume, such as a user-provided service, an SAP HANA database, or an SAP HANA HDI container. Each resource has a name, a type, and optional parameters. The mta.xml file also defines the properties and parameters, which are the key-value pairs that can be used to configure the modules and resources, such as the host, port, or credentials. The properties and parameters can be defined globally, per module, or per resource12. The other options are not correct because they are not part of the mta.xml file, but rather of other files or components of the MTA. The plugin name and version for every supported file suffix are defined in the .che file, which is the configuration file for the SAP Web IDE3. The application router description with the authentication methods and access routes are defined in the xs-app.json file, which is the configuration file for the application router, a Node.js module that provides a single entry point and routing mechanism for the MTA. The Node.js package definition with dependencies and initial run configurations are defined in the package.json file, which is the configuration file for the Node.js module that contains the application logic and business services. References: * SAP HANA Platform, Developing Applications with SAP HANA Cloud Platform, Developing Multi-Target Applications * SAP HANA Platform, SAP HANA Extended Application Services, Advanced Model, Developing and Deploying Applications, Descriptor Files, mta.xml * SAP HANA Platform, Developing Applications with SAP HANA Cloud Platform, Developing Multi-Target Applications, Descriptor Files, .che * [SAP HANA Platform], SAP HANA Extended Application Services, Advanced Model, Developing and Deploying Applications, Descriptor Files, xs-app.json * [SAP HANA Platform], SAP HANA Extended Application Services, Advanced Model, Developing and Deploying Applications, Descriptor Files, package.json
Question 45
What are the different types of graphical calculation views that can handle measures? There are 2 correct answers to this question.