C_HANADEV_18練習テスト問題は更新された95問題あります
SAP C_HANADEV_18問題集で一発合格できる問題を試そう!
質問 # 34
You created several database tables in a multi-target application and need to keep their names as short as possible. Which parameter of the .hdinamespace file do you set to ignore? Please choose the correct answer.
- A. hdbtable
- B. mixinTypes
- C. subfolder
- D. name
正解:C
解説:
According to the SAP HANA Performance Guide for Developers1, the .hdinamespace file is a JSON resource that defines the naming rules for the run-time objects in a multi-target application. The name parameter specifies the common name-space prefix for the objects, while the subfolder parameter determines whether the name of the sub-folder is added or ignored in the run-time name space. If you want to keep the names of the objects as short as possible, you should set the subfolder parameter to ignore, so that the name of the sub-folder is not appended to the name-space prefix and the object name. For example, if you have a table named CUSTOMERS in a sub-folder named SALES, and you set the subfolder parameter to ignore, the run-time name of the table will be com.sap.hana.example::CUSTOMERS, where com.sap.hana.example is the name-space prefix defined by the name parameter. If you set the subfolder parameter to append, the run-time name of the table will be com.sap.hana.example.SALES::CUSTOMERS, which is longer and more complex. For more information on the .hdinamespace file and the naming rules, see [The HDI Name-Space Configuration File]2 and [Run-Time Name Spaces in SAP HDI]3.
References: 2: The HDI Name-Space Configuration File 3: Run-Time Name Spaces in SAP HDI 1: SAP HANA Performance Guide for Developers
質問 # 35
You are asked to produce sales value for the month using sales order line items (sales price per item x quantity sold) what do you use to achieve this in a calculated column of a calculation view? There are 2 correct answers to this question.
- A. Dynamic join
- B. Non-equijoin
- C. Transparent filter
- D. Keep flag
正解:B、C
解説:
To produce sales value for the month using sales order line items (sales price per item x quantity sold), you can use a calculated column of a calculation view that performs the multiplication of the two columns and applies a transparent filter and a non-equijoin to restrict the data to the desired month. A transparent filter is a filter condition that is applied to the data source of a view node and is propagated to the subsequent nodes. A non-equijoin is a join condition that uses operators other than equality, such as greater than, less than, or between. For example, you can use a transparent filter to filter the sales order line items by the month of the order date, and then use a non-equijoin to join the sales order line items with the sales price table by the order date and the valid from and valid to dates of the sales price. References: Transparent Filters, Non-Equijoins, Create Calculated Columns.
質問 # 36
What do you use to set up unit testing for your SQL Script procedure? Please choose the correct answer.
- A. SQL Script logging procedures
- B. The SQL Script debugger
- C. The SQL Script Code Analyzer
- D. A library with language SQLSCRIPT TEST
正解:D
質問 # 37
In application development with XS advanced, which of the following entities belong to a specific SPACE? There are 2 correct answers to this question.
- A. Processes
- B. Organizations
- C. Users
- D. Applications
正解:A、B
質問 # 38
Which of the following elements can be part of the UI5 application's index.html file? There are 2 correct answers to this question
- A. Backend Connection
- B. Framework Reference
- C. UI-Area
- D. Bootstrap
正解:C、D
質問 # 39
Which OData service do you use to prevent changes to existing line items of the sap.test :myTable table?
Please choose the correct answer.
- A.

- B.

- C.

- D.

正解:C
解説:
To prevent changes to existing line items of the sap.test::myTable table, you can use the OData service that specifies the update authorization as no-authorization for the table. This means that the OData service does not allow any update operations on the table, such as PUT, PATCH, or MERGE. The option A shows the code snippet that defines the OData service with this restriction. The other options do not have the update no-authorization clause for the table, and therefore, they do not prevent changes to the existing line items. References: OData Service Authorization, OData Security Considerations.
質問 # 40
Which OData capacity do you use when you need to restrict the number or selection of exposed columns? Please choose the correct answer.
- A. Key specification
- B. Aggregation
- C. Property projection
- D. Parameter entity sets
正解:C
質問 # 41
What are the characteristics of the calculation view of type "SQL Access Only"? There are 2 correct answers to this question.
- A. Can be directly used for multidimensional analysis
- B. Can be directly exposed to all client tools
- C. Can be direct y accessed via SQL
- D. Can be directly used as modelled data source for another view
正解:C、D
質問 # 42
Which trace do you use to create a graphical representation of an individual SQL Statement? Please choose the correct answer.
- A. Performance trace
- B. Plan trace
- C. Expensive statements trace
- D. SQL trace
正解:C
質問 # 43
What is the package descriptor package.json used for? There are 2 correct answers to this question.
- A. To define back-end destinations
- B. To define the routes
- C. To list the package dependencies
- D. To set the router version
正解:C、D
質問 # 44
Which rules apply to declarative logic in SQL Script? There are 2 correct answers to this question.
- A. It supports the full set of SQL Script.
- B. It is free of side effects.
- C. It defines how data is processed.
- D. lt declares the flow of data.
正解:B、D
質問 # 45
You need to synchronize all unsynchronized changes of the remote Git branch with a local Git branch. Which operation do you use? Please choose the correct answer.
- A. Push
- B. Reset
- C. Pull
- D. Rebase
正解:C
解説:
According to the SAP HANA Developer Guide, you use the pull operation to synchronize all unsynchronized changes of the remote Git branch with a local Git branch. The pull operation fetches the changes from the remote branch and merges them with the local branch. This way, you can update your local branch with the latest changes from the remote branch. The other options are incorrect, because:
* Push is the opposite of pull. It sends the changes from the local branch to the remote branch, not the other way around.
* Rebase is an alternative to merge. It rewrites the history of the local branch by applying the changes from the remote branch as new commits on top of the local branch. This creates a linear history, but it may cause conflicts or lose some information.
* Reset is a way to undo changes in the local branch. It moves the branch pointer to a different commit, and optionally discards the changes in the working directory or the staging area.
References: SAP HANA Developer Guide, Chapter 6, Section 6.4.2, page 2111.
質問 # 46
Which new components can you use to develop native SAP HANA applications in SAP HANA extended application services, advanced model (XS advanced)?
There are 2 correct answers to this question.
- A. SAP HANA studio
- B. SAP Web IDE for SAP HANA
- C. Git repository
- D. SAP HANA repository
正解:B、C
解説:
SAP HANA extended application services, advanced model (XS advanced) provides a comprehensive platform for the development and execution of micro-service oriented applications, taking advantage of SAP HANA's in-memory architecture and parallel execution capabilities1. XS advanced supports several programming languages and execution environments, such as Java and Node.js, and also provides compatibility with XS classic model2. To develop native SAP HANA applications in XS advanced, you can use the following new components:
* Git repository: XS advanced integrates with Git, a distributed version control system, to manage the source code of your applications. You can use Git to clone, create, push, pull, merge, and branch your projects, and also to collaborate with other developers3.
* SAP Web IDE for SAP HANA: XS advanced provides a web-based integrated development environment (IDE) that allows you to create, edit, test, debug, and deploy your applications. SAP Web IDE for SAP HANA supports various development tools and features, such as editors, wizards, templates, code completion, syntax highlighting, code analysis, debugging, testing, and deployment3.
The other options are not correct because:
* SAP HANA repository: This is a component of XS classic model, not XS advanced. The SAP HANA repository stores the design-time artifacts of your applications, such as views, procedures, and scripts. In XS advanced, the design-time artifacts are stored in Git repositories instead4.
* SAP HANA studio: This is a desktop-based IDE that can be used to develop applications for XS classic model, but not for XS advanced. SAP HANA studio provides various perspectives and tools to access and manage the SAP HANA database, such as the administration console, the catalog, the content, and the security4.
References: 2: SAP HANA Extended Application Services, Advanced Model 4: SAP HANA Extended Application Services 1: SAP HANA extended application services, advanced model 3: SAP HANA Developer Guide for SAP HANA XS Advanced Model (SAP Web IDE)
質問 # 47
You are working on an entity using Core Data Services. Which properties can you define inside the Technical Configuration section? There are 2 correct answers to this question.
- A. Association
- B. Import
- C. Index
- D. Storage Type
正解:C、D
解説:
The Technical Configuration section of a Core Data Services (CDS) entity allows you to define properties that affect the physical storage and performance of the entity in the database. You can define the following properties inside the Technical Configuration section1:
* Index: You can create one or more indexes on the entity to improve the query performance. You can specify the index name, the columns to be indexed, and the index type (such as unique, full-text, or spatial)2.
* Storage Type: You can specify the storage type of the entity, such as column store or row store, to optimize the data access and compression. You can also specify the partitioning mode and criteria for the entity, such as hash, range, or round-robin3.
The other two options, Import and Association, are not properties that can be defined inside the Technical Configuration section. Import is a keyword that allows you to import another CDS entity or a database table into the current CDS entity, and use its columns as part of the projection list4. Association is a keyword that allows you to create a relationship between two CDS entities, and use the associated entity's columns as part of the projection list or the join condition. References: 1: Technical Configuration | SAP Help Portal 2: Index Definition | SAP Help Portal 3: Storage Type | SAP Help Portal 4: Import | SAP Help Portal : [Association | SAP Help Portal]
質問 # 48
Which of the following are characteristics of SAPUI5? There are 3 correct answers to this question.
- A. Renders the UI on the server side
- B. Supports customer-specific theming
- C. Enables responsive application design
- D. Provides an extensibility concept
- E. Provides a device-specific user experience
正解:B、C、D
解説:
SAPUI5 is a JavaScript-based UI framework that enables the development of web applications that run on various devices and platforms. SAPUI5 has the following characteristics12:
* Provides an extensibility concept: SAPUI5 allows developers to extend or customize the standard UI components, such as controls, views, or controllers, to meet specific requirements or scenarios. SAPUI5 also supports the creation of custom UI components, which are reusable and modular UI elements that can be integrated into other SAPUI5 applications.
* Enables responsive application design: SAPUI5 supports the development of responsive applications, which are applications that adapt to different screen sizes, orientations, and resolutions, and provide a consistent and optimal user experience across different devices. SAPUI5 provides various layout options, such as grids, panels, or flexboxes, to arrange the UI elements according to the available space.
SAPUI5 also provides various UI patterns, such as master-detail, split-screen, or full-screen, to organize the application content and navigation according to the device type.
* Supports customer-specific theming: SAPUI5 allows developers to apply different themes to the UI components, such as colors, fonts, icons, or backgrounds, to match the branding or style of the customer or the application. SAPUI5 provides a set of predefined themes, such as SAP Fiori, SAP Belize, or SAP Quartz, that follow the SAP design guidelines and principles. SAPUI5 also provides tools, such as the UI Theme Designer or the SAPUI5 Theme Builder, to create or modify custom themes.
The other options are not correct because they are not characteristics of SAPUI5. SAPUI5 does not render the UI on the server side, but rather on the client side, in the browser or the device that accesses the application.
SAPUI5 does not provide a device-specific user experience, but rather a device-agnostic user experience, which means that the application can run on any device and platform without requiring any changes or adaptations. References:
* SAP HANA Platform, Developing Applications with SAP HANA Cloud Platform, Developing Multi-Target Applications, Developing HTML5 Modules, Developing SAPUI5 Applications
* SAP HANA Platform, SAP HANA Extended Application Services, Advanced Model, Developing and Deploying Applications, Developing SAP Fiori Applications, Developing SAPUI5 Applications
質問 # 49
You define exception handling in a SQL Script procedure. What can you use declare exit handlers for? There are 2 correct answers to this question.
- A. Specific SQL error codes
- B. Generic SQL conditions
- C. Specific SQL conditions
- D. Generic SQL exceptions
正解:A、D
解説:
You can use declare exit handlers in a SQL Script procedure to handle generic SQL exceptions or specific SQL error codes. An exit handler is a custom handler that defines a block of code to be executed when an exception occurs in the procedure. You can declare an exit handler for a generic SQL exception, which is any error that is raised by the database system, such as syntax errors, constraint violations, or division by zero. You can also declare an exit handler for a specific SQL error code, which is a numeric code that identifies the type and severity of the error, such as 301 for unique constraint violation, or 1299 for no data found12.
The other two options, generic SQL conditions and specific SQL conditions, are not valid arguments for declare exit handlers. A condition is a named exception that can be declared by using a condition variable and optionally associated with an SQL error code. A condition can be used to signal or resignal an exception in the procedure, or to register a continue handler, which is a custom handler that defines a block of code to be executed when an exception occurs, but does not exit the procedure. However, a condition cannot be used to register an exit handler, as the syntax requires an SQL error code or a generic SQL exception12. References:
1: Exception Handling | SAP Help Portal 2: Exception Handling Examples | SAP Help Portal
質問 # 50
Your multi-target application will use XSJS. Which module type do you create in your application project?
Please choose the correct answer.
- A. HTML5
- B. SAP HANA database
- C. Node.js
- D. Java
正解:C
解説:
To create a multi-target application that will use XSJS, you need to create a Node.js module type in your application project. XSJS is a scripting language that allows you to implement server-side logic and access SAP HANA database features using JavaScript syntax. XSJS is supported by the Node.js runtime of the SAP HANA XS Advanced Model, which provides the necessary libraries and services to execute XSJS code. You can use the SAP Web IDE for SAP HANA to create a Node.js module and add XSJS files to it. The other options are not correct because:
* A. Java is not the module type you need to create for XSJS, as XSJS is not a Java-based language. Java is a module type that allows you to implement Java applications using the Java runtime of the SAP HANA XS Advanced Model.
* B. SAP HANA database is not the module type you need to create for XSJS, as XSJS is not a database object. SAP HANA database is a module type that allows you to create database artifacts, such as tables, views, procedures, and functions, using the SAP HANA deployment infrastructure (HDI).
* D. HTML5 is not the module type you need to create for XSJS, as XSJS is not a web page. HTML5 is a module type that allows you to create static web content, such as HTML, CSS, and JavaScript files, using the HTML5 application repository service.
References:
* SAP HANA Developer Guide for SAP HANA Web IDE, Chapter 5, Section 5.6
* SAP HANA Developer Guide for SAP HANA Web IDE, Chapter 5, Section 5.7
* SAP HANA Developer Guide for SAP HANA Web IDE, Chapter 5, Section 5.8
* SAP HANA Developer Guide for SAP HANA Web IDE, Chapter 5, Section 5.9
質問 # 51
Which elements can you specify with the SAP WeblDE for SAP HANA graphical editor for Core Data Services data models? There are 3 correct answers to this question.
- A. Context
- B. Synonym
- C. Entity
- D. Association
- E. Procedure
正解:A、C、D
質問 # 52
Which parameter do you adapt to change the file that is initially delivered by an HTML5 module? Please choose the correct answer.
- A. Service_url parameter of the mta.xml file
- B. Welcome file parameter of the xs-app.json file
- C. Runners parameter of the projectjson file
- D. Start parameter of the package.json file
正解:B
質問 # 53
What are some of the advantages of SQLScript compared to plain SQL queries? There are 2 correct answers to this question.
- A. It contains a well-defined ANSI standard.
- B. It retrieves a high data volume from a database.
- C. lt increases performance by parallel execution of complex SQL statements.
- D. It enables modular parameterized programing.
正解:C、D
質問 # 54
Which trace do you use to create a graphical representation of an individual SQL Statement? Please choose the correct answer.
- A. Expensive statements trace
- B. Performance trace
- C. Plan trace
- D. SQL trace
正解:C
解説:
To create a graphical representation of an individual SQL statement, you can use the Plan trace. The Plan trace is a tool that allows you to generate and visualize the execution plan of an SQL statement, with estimated or actual performance information for each operator. The Plan trace can help you understand and analyze the query optimization and execution process, and identify potential performance bottlenecks or improvement opportunities12.
The other options, Expensive statements trace, Performance trace, and SQL trace, are not tools that can create a graphical representation of an individual SQL statement. The Expensive statements trace is a tool that records the SQL statements that exceed a certain threshold of resource consumption, such as CPU time, memory, or disk reads. The Expensive statements trace can help you identify the most resource-intensive queries in the system, but it does not provide a graphical view of the execution plan3. The Performance trace is a tool that records the performance statistics of the database operations, such as SQL statements, transactions, procedures, or triggers. The Performance trace can help you measure and compare the performance of different database operations, but it does not provide a graphical view of the execution plan either. The SQL trace is a tool that captures every SQL statement that enters the database at the session layer. The SQL trace can help you monitor and troubleshoot the SQL statements that are executed in the database, but it does not provide a graphical view of the execution plan either. References: 1: Plan Trace | SAP Help Portal 2: Analyzing SQL Execution with the Plan Visualizer | SAP Help Portal 3: Expensive Statements Trace
| SAP Help Portal : [Performance Trace | SAP Help Portal] : [SQL Trace | SAP Help Portal]
質問 # 55
What are the different types of graphical calculation views that can handle measures? There are 2 correct answers to this question.
- A. SQL Access Only
- B. Cube with star join
- C. Dimension
- D. Cube
正解:B、D
解説:
Graphical calculation views are graphical or scripted views that can be used for complex calculations and data transformations in SAP HANA. There are three types of graphical calculation views: cube, dimension, and SQL access only. Cube and cube with star join are the only types that can handle measures, which are numeric values that can be aggregated, such as sales amount or quantity. Dimension views are used to model master data or attributes, such as product name or customer ID. SQL access only views are used to expose the data of another view without any additional logic or transformation. References:
* SAP HANA 2.0 SPS06 - Application Development for SAP HANA1, Section 4.1, p. 77-78
* SAP HANA 2.0 SPS06 - Calculation View Modeling2, Section 1.1, p. 7
* SAP HANA 2.0 SPS06 - Calculation View Modeling2, Section 1.2, p. 8-9
* SAP HANA 2.0 SPS06 - Calculation View Modeling2, Section 1.3, p. 10-11
* SAP HANA 2.0 SPS06 - Calculation View Modeling2, Section 1.4, p. 12-13
* SAP HANA 2.0 SPS06 - Calculation View Modeling2, Section 1.5, p. 14-15
質問 # 56
What are the steps to debug a Node.js application using SAP Web IDE for SAP HANA? There are 3 correct answers to this question.
- A. Build the application with the debug option.
- B. Set a breakpoint in the application.
- C. Open the debugger.
- D. Specify the proper Git repository in the debug properties.
- E. Attach the debugger to the node module.
正解:B、C、E
解説:
To debug a Node.js application using SAP Web IDE for SAP HANA, you need to perform the following steps:
* Open the debugger. You can open the debugger from the toolbar by clicking the \uE921 (debugger) icon, or from the menu by choosing Tools Debugger . The debugger opens in a new browser tab and shows a list of all Node.js modules in your project, as well as the available debug configurations.
* Attach the debugger to the node module. You can attach the debugger to any running Node.js module in your project by selecting the module name and clicking the \uE921 (attach) icon. Alternatively, you can create a new debug configuration for the module by clicking the \uE921 (create) icon and specifying the module name, the port number, and the source mapping. The debugger will connect to the Node.js module and switch it to debug mode.
* Set a breakpoint in the application. You can set a breakpoint in the application code by opening the file in the editor and clicking the left margin next to the line number where you want to pause the execution.
A red dot will appear to indicate the breakpoint. You can also use the \uE921 (breakpoints) pane to view, enable, disable, or remove breakpoints.
* Run the application. You can run the application from the browser by clicking the application URL in the run console, or from the command line by using the cf CLI commands. The application will execute until it reaches a breakpoint or an exception, and then pause and show the current state of the variables, call stack, and watch expressions in the debugger.
* Debug the application. You can use the debugger to inspect and modify the variables, evaluate expressions, step over, step into, step out, or resume the execution, as well as view the console output and the server log. You can also detach the debugger from the module by clicking the \uE921 (detach) icon, or stop the module by clicking the \uE921 (stop) icon.
The other option is incorrect because you do not need to specify the proper Git repository in the debug properties. The Git repository is used to manage the source code of the application, but it is not relevant for the debugging process. You also do not need to build the application with the debug option, because the debugger can attach to any running Node.js module without any special build settings. References:
* Running and Testing Node.js Modules - SAP Help Portal
* Debugging Node.js Modules - SAP Help Portal
質問 # 57
After reviewing the SQL Analyzer results, which of the following would you consider for optimizing the performance? There are 2 correct answers to this question.
- A. Re-prioritize with Workload Management.
- B. Use CE functions.
- C. Modify SQL hints.
- D. Change the data model.
正解:C、D
解説:
According to the SAP HANA Performance Guide for Developers1, the SQL Analyzer tool can help you understand and analyze the execution plan of a SQL statement, and identify potential bottlenecks and optimizations. Some of the possible optimizations are:
* Modify SQL hints: SQL hints are directives that you can add to a SQL statement to influence the behavior of the SQL optimizer. For example, you can use hints to specify a join type, a join order, a join condition, a table distribution, or a parallel degree. SQL hints can help you improve the performance of a query by overriding the default choices of the optimizer, or by providing additional information that the optimizer cannot infer from the data or statistics. However, SQL hints should be used with caution, as they can also have negative effects if they are not compatible with the data characteristics or the system configuration. Therefore, you should always test the impact of SQL hints on the query execution time and resource consumption, and compare the results with the original query without hints. You can use the SQL Analyzer tool to view the effect of SQL hints on the execution plan, and modify them accordingly. For more information on SQL hints, see [SAP HANA SQL and System Views Reference].
* Change the data model: The data model is the logical representation of the data and the relationships among them. The data model can have a significant impact on the performance of a query, as it determines how the data is stored, accessed, and processed by the database. A well-designed data model can reduce the complexity and cost of a query, and enable the use of efficient operators and algorithms.
On the other hand, a poorly-designed data model can lead to redundant or inconsistent data, unnecessary joins or aggregations, or suboptimal access paths. Therefore, you should always review the data model and consider changing it if it does not meet the requirements of the query or the application. For example, you can use different types of views, such as calculation views, analytical views, or attribute views, to model the data according to the business logic and the analytical needs. You can also use different types of tables, such as column tables, row tables, or partitioned tables, to store the data according to the access patterns and the distribution strategies. You can use the SQL Analyzer tool to view the data model of the query, and identify the possible changes that can improve the performance.
For more information on data modeling, see [SAP HANA Modeling Guide].
References: 1: SAP HANA Performance Guide for Developers : SAP HANA SQL and System Views Reference : SAP HANA Modeling Guide
質問 # 58
You want to exclusively use declarative logic in an SQL Script procedure. Which of the following operators can you use? There are 2 correct answers to this question.
- A. IF condition
- B. COMM IT statement
- C. MAP_REDUCE function
- D. TABLE variable
正解:C、D
解説:
To exclusively use declarative logic in an SQL Script procedure, you can use TABLE variables and MAP_REDUCE functions. TABLE variables are variables that store intermediate results of SQL queries in a tabular format. You can use TABLE variables to define data transformations and data flows without using imperative statements or side effects1. MAP_REDUCE functions are functions that apply a map function to each row of a table and then aggregate the results using a reduce function. You can use MAP_REDUCE functions to implement complex algorithms and calculations in a declarative way2.
The other two options, COMMIT statement and IF condition, are not operators that can be used to exclusively use declarative logic in an SQL Script procedure. COMMIT statement is a statement that ends a transaction and makes all changes permanent in the database. You cannot use COMMIT statement in a declarative logic, as it is an imperative statement that has a side effect3. IF condition is a condition that executes a block of code based on a boolean expression. You cannot use IF condition in a declarative logic, as it is an imperative construct that introduces control flow4. References: 1: TABLE Variables | SAP Help Portal 2: MAP_REDUCE Function | SAP Help Portal 3: COMMIT Statement | SAP Help Portal 4: IF Statement | SAP Help Portal
質問 # 59
......
SAP C_HANADEV_18試験問題集で[2024年最新] 練習有効な試験問題集解答:https://jp.fast2test.com/C_HANADEV_18-premium-file.html