Exam4Training

SAP C_HAMOD_2404 SAP Certified Associate – Data Engineer – SAP HANA Online Training

Question #1

What can you do with shared hierarchies? Note: There are 2 correct answers to this question.

  • A . Access hierarchies created in external schemas
  • B . Enable SQL SELECT statements to access hierarchies
  • C . Provide reusable hierarchies for drilldown in a CUBE with star join
  • D . Provide reusable hierarchies for drilldown in a CUBE without star join

Reveal Solution Hide Solution

Correct Answer: B D
Question #2

Why would you create SQL in calculation views?

  • A . To implement custom logic
  • B . To provide an alternative to graphical modeling
  • C . To fine-tune performance
  • D . To enable write capabilities

Reveal Solution Hide Solution

Correct Answer: A
Question #3

Which type of join supports a temporal condition in a calculation view?

  • A . Referential join
  • B . Inner join
  • C . Text join
  • D . Left outer join

Reveal Solution Hide Solution

Correct Answer: B
Question #4

Referring to the diagram,

Which privileges would a user require to view United States data when querying the CUBE calculation view?

  • A . A SELECT privilege on the CUBE calculation view and an Analytic Privilege (Country = United States) on the DIMENSION calculation view
  • B . A SELECT privilege and an Analytic Privilege (Country = United States) on the DIMENSION calculation view
  • C . A SELECT privilege and an Analytic Privilege (Country = United States) on the CUBE calculation view
  • D . SELECT privileges and Analytic Privileges (Country = United States) on both views

Reveal Solution Hide Solution

Correct Answer: A
Question #5

What options do you have to handle orphan nodes in your hierarchy? Note: There are 2 correct answers to this question.

  • A . Define an expression to determine a parent.
  • B . Generate additional root nodes.
  • C . Assign them to a level below the root.
  • D . Assign them to a node at the root level.

Reveal Solution Hide Solution

Correct Answer: B C
Question #6

What do you use in the definition of a dynamic SQL analytic privilege?

  • A . A table function that returns a list of allowed values.
  • B . A scalar function that returns a list of the allowed values for each attribute.
  • C . A procedure that returns the data access condition as an SQL expression.
  • D . An organization hierarchy that provides role-based access to data.

Reveal Solution Hide Solution

Correct Answer: C
Question #7

Which tool generates and executes the SQL for a specific node of your calculation view?

  • A . Debug Query mode
  • B . Explain plan
  • C . SQL analyzer
  • D . Database explorer

Reveal Solution Hide Solution

Correct Answer: A
Question #8

You are managing your source files using Git. In which sequence does your file progress towards a COMMIT?

  • A . Staging area -> Working directory -> Local Git repository
  • B . Working directory -> Staging area -> Local Git repository
  • C . Working directory -> Local Git repository -> Staging area
  • D . Local Git repository -> Staging area -> Working directory

Reveal Solution Hide Solution

Correct Answer: B
Question #9

You want to create a star schema using a calculation view. The measures are based on columns from two transaction tables. DIMENSION calculation views provide the attributes.

What is the correct approach?

  • A . Combine the transaction tables using a star join node in a calculation view of type CUBE with star join./Use a join node to join the DIMENSIONS to the fact table.
  • B . Combine the transaction tables using an aggregation node in a calculation view of type CUBE with star join./Use a star join node to join the DIMENSIONS to the fact table.
  • C . Combine the transaction tables using a join node in a calculation view of type CUBE with
    star join.Use a star join node to join the DIMENSIONS to the fact table.
  • D . Combine the transaction tables using a star join node in a calculation view of type CUBE with star join.Use the same star join node to connect the DIMENSIONS to the fact table.

Reveal Solution Hide Solution

Correct Answer: C
Question #10

What are some best practices when developing calculation views? Note: There are 2 correct answers to this question.

  • A . Model star schemas using a sequence of join nodes.
  • B . Aggregate at the lowest possible node.
  • C . Include all data flow logic within one calculation view.
  • D . Avoid defining joins on calculated columns.

Reveal Solution Hide Solution

Correct Answer: B, D

Question #11

In your calculation view, you want to consume a custom data source defined using SQLScript.

In which type of object do you write your code?

  • A . Scalar function
  • B . Table function
  • C . Anonymous block
  • D . Procedure

Reveal Solution Hide Solution

Correct Answer: B
Question #12

What are some of the typical roles in an SAP HANA Cloud implementation? Note: There are 2 correct answers to this question.

  • A . Data architect
  • B . Modeler
  • C . Kubernetes expert
  • D . ABAP developer

Reveal Solution Hide Solution

Correct Answer: A B
Question #13

In a calculation view, your table function node executes a table function that requires input parameters.

How can you fill the input parameters of the table function? Note: There are 3 correct answers to this question.

  • A . Define constant values.
  • B . Assign a hierarchy node.
  • C . Reference the output of a procedure.
  • D . Map columns from lower nodes.
  • E . Create and map an input parameter

Reveal Solution Hide Solution

Correct Answer: A D E
Question #14

In a database module, what is the purpose of the .hdiconfig file?

  • A . To specify an external schema in which calculation views will get their data
  • B . To specify which HDI plug-ins are available
  • C . To specify in which space the container should be deployed
  • D . To specify the namespace rules applicable to the name of database objects

Reveal Solution Hide Solution

Correct Answer: B
Question #15

You are deploying a new calculation view, A, that uses calculation view B, as shown in the diagram.

When you preview calculation view A, the account number is not masked.

What could be the reason?

  • A . You previewed the data with the technical user in SAP Business Application Studio.
  • B . You did not define masking in calculation view A.
  • C . The UNMASKED privilege has NOT been granted at the schema level.
  • D . The type of the Account_Number column is VARCHAR.

Reveal Solution Hide Solution

Correct Answer: C
Question #16

What are the limitations of using a full outer join in a star join node? Note: There are 2 correct answers to this question.

  • A . It must appear in the last DIMENSION in the star join node.
  • B . It is restricted to one DIMENSION in a star join node.
  • C . It CANNOT be mixed in the same star join node with other join types.
  • D . Only one column can be included in the join condition.

Reveal Solution Hide Solution

Correct Answer: A B
Question #17

You combine two tables in a join node using multiple columns in each table.

Why do you enable the dynamic join option? Note: There are 2 correct answers to this question.

  • A . To ensure that the join execution only uses the join columns requested in the query
  • B . To ensure that the aggregation always happens after the join execution
  • C . To allow data analysis at different levels of granularity with the same calculation view
  • D . To force the calculation at the relevant level of granularity, even if this level is not the grouping level defined by the query

Reveal Solution Hide Solution

Correct Answer: A C
Question #18

You create a table function to remove historic records, sum the current total weekly working hours for each employee, and update the personnel table with the results. The deployment of the table function fails.

Which of the following could be a valid reason?

  • A . Your function includes a TRUNCATE statement.
  • B . Your function refers to a scalar function.
  • C . You did NOT define a valid table type.
  • D . You did not define at least one input parameter.

Reveal Solution Hide Solution

Correct Answer: A
Question #19

Why would you choose an HDI-shared service plan instead of a schema service plan? Note: There are 3 correct answers to this question.

  • A . You want to use SAP Business Application Studio.
  • B . You want to use containers to isolate objects.
  • C . You want to develop calculation views.
  • D . You want to create database objects using source files.
  • E . You want to use synonyms to access external data.

Reveal Solution Hide Solution

Correct Answer: A B D
Question #20

You want to ensure that your calculation view does not give unexpected results for a query that is based on any combination of columns.

What is the recommended approach for verifying the results?

  • A . Set the HIDE property for columns NOT required.
  • B . Write and execute a custom SQL query in the SQL Console.
  • C . Select Data Preview for the calculation view.
  • D . Select and deselect columns from the output mapping.

Reveal Solution Hide Solution

Correct Answer: B C

Question #21

You have configured static cache for your calculation view and run a query against it, but the cache results are not being used.

What might be the reason for this?

  • A . The cache data retention period has expired.
  • B . You did not define any columns in the cache setting.
  • C . You did not define a filter in the cache setting.
  • D . The query requests only a subset of the cached results.

Reveal Solution Hide Solution

Correct Answer: B
Question #22

At which levels of a project structure can you execute a deploy operation? Note: There are 2 correct answers to this question.

  • A . Individual source file
  • B . Entire workspace
  • C . Sub-folder of a database module
  • D . Individual container

Reveal Solution Hide Solution

Correct Answer: B C
Question #23

You have imported a new calculation view in a folder that contains an .hdinamespace file. This calculation view consumes one data source, which is a table. When trying to deploy the calculation view, the deployment fails with a namespace-related issue.

What could be the reason? Note: There are 2 correct answers to this question.

  • A . The namespace used within the calculation view to reference the table is different from the actual namespace in the identifier of this table.
  • B . The imported calculation view and its data source have different namespaces.
  • C . An .hdinamespace file is defined in the SRC folder that specifies a different namespace property than the one in the identifier of the calculation view.
  • D . The .hdinamespace specifies "sub-folder":"append", so calculation views can only be created in subfolders.

Reveal Solution Hide Solution

Correct Answer: A B
Question #24

What is generated when you deploy a CUBE calculation view design-time file? Note: There are 2 correct answers to this question.

  • A . Cached results to improve read performance
  • B . Metadata to enable consumption by external tools
  • C . An SQL execution plan
  • D . A column view in a container

Reveal Solution Hide Solution

Correct Answer: A B
Question #25

Why would you enable Debug Query mode in a calculation view?

  • A . To identify data sources that are not accessed by a query
  • B . To check which database engines are invoked
  • C . To set breakpoints and step through the execution
  • D . To understand how tables are partitioned

Reveal Solution Hide Solution

Correct Answer: A
Question #26

You define a hierarchy in a calculation view. You want to expose the hierarchy to SQL.

Which of the following conditions must be met? Note: There are 2 correct answers to this question.

  • A . The hierarchy must be exposed by a calculation view of type CUBE with star join.
  • B . The hierarchy must be a shared hierarchy.
  • C . The hierarchy must be a local hierarchy.
  • D . The hierarchy must be a parent-child hierarchy.

Reveal Solution Hide Solution

Correct Answer: A B
Question #27

Why does SAP issue warnings about the use of imperative or procedural SQL Script statements?

  • A . They can limit parallelization of query execution.
  • B . They introduce potential security risks.
  • C . They could modify the database.
  • D . They call multiple processing engines.

Reveal Solution Hide Solution

Correct Answer: B
Question #28

Which components are part of SAP HANA Cloud? Note: There are 2 correct answers to this question.

  • A . SAP Analytics Cloud
  • B . Data lake
  • C . SAP HANA database
  • D . SAP Enterprise Architecture Designer

Reveal Solution Hide Solution

Correct Answer: B C
Question #29

What are some of the restrictions that apply when defining parallelization blocks in calculation views? Note: There are 2 correct answers to this question.

  • A . Multiple blocks can only be defined within a single calculation view.
  • B . Only one block can be defined across a stack of calculation views.
  • C . The block must only have one start node.
  • D . The block must start with a node that defines a table as a data source.

Reveal Solution Hide Solution

Correct Answer: B D
Question #30

What is a restricted measure?

  • A . A measure that can be consumed by a CUBE and not a DIMENSION.
  • B . A measure that is filtered by one or more attribute values.
  • C . A measure that can only be displayed by those with necessary privileges.
  • D . A measure that cannot be referenced by a calculated column.

Reveal Solution Hide Solution

Correct Answer: B

Question #31

Which calendar types can be selected when creating time-based DIMENSIONS? Note: There are 2 correct answers to this question.

  • A . Fiscal
  • B . Julian
  • C . Gregorian
  • D . Factory

Reveal Solution Hide Solution

Correct Answer: A C
Question #32

You implement a referential join between Table A and Table B, but when you query the calculation view, Table B is not pruned.

What could be the problem? Note: There are 2 correct answers to this question.

  • A . The Country column is requested.
  • B . Join cardinality is set :1.
  • C . The Keep flag is activated for the Customer column.
  • D . Integrity constraint is set to RIGHT.

Reveal Solution Hide Solution

Correct Answer: B D
Question #33

You have imported calculation views from SAP HANA on-premise to SAP HANA Cloud.

Why should you switch calculated column expression language from column engine to SQL?

  • A . To benefit from additional SQL optimizations
  • B . Incorrect aggregations may be generated
  • C . Column engine language is not supported.
  • D . To define limits for query unfolding

Reveal Solution Hide Solution

Correct Answer: A
Question #34

In a calculation view, why would you implement an SQL expression? Note: There are 3 correct answers to this question.

  • A . To generate hierarchies
  • B . To define a filter
  • C . To convert currencies
  • D . To generate a restricted column
  • E . To generate a calculated column

Reveal Solution Hide Solution

Correct Answer: B D E
Question #35

You create a user-provided service to access tables in external schemas.

In which file type do you assign the user-provided service to your database module?

  • A . .hdiconfig
  • B . .mtar
  • C . .yaml
  • D . .namespace

Reveal Solution Hide Solution

Correct Answer: C
Exit mobile version