Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free SAP Certified Associate - Data Engineer - SAP HANA C_HAMOD_2404 Exam Questions

Last updated: · 10 practice questions with answers and explanations

Page: 1 / 8 Total 80 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Building Calculation Views

Skill tested: Designing calculation-view node flows that preserve aggregation semantics and query efficiency.

A sales team needs revenue by customer region and product category. The source fact table contains transaction-level rows and joins to customer and product dimensions. Some reports filter by region, while others filter by category; users must not see transaction identifiers. The model should aggregate revenue correctly even when consumers query only one dimension, and the team wants to avoid materializing unnecessary intermediate detail. Which calculation-view design is MOST appropriate?

Correct Answer: A. Build a graphical calculation view with an aggregation node over the fact table, join the required dimensions, expose only the reporting attributes and revenue measure, and define the measure's aggregation behavior.
Explanation:

A graphical calculation view can combine the fact table and dimensions and aggregate the measure at the model's intended grain. Exposing only needed attributes and measures avoids leaking transaction identifiers and allows consumers to group or filter by either dimension. The union in B combines rows rather than joining dimensional context to facts. C pushes aggregation responsibility to every consumer and exposes unnecessary detail. D answers a top-row problem, not general revenue aggregation, and would discard valid sales.

Question 2

New Multiple answers

Topic: Building Calculation Views

Skill tested: Choosing union and mapping behavior when consolidating structurally similar source datasets.

A retailer is consolidating current and archived sales records from two column tables into one analytical calculation view. Both sources represent the same business event, but one source calls its amount column `NET_VALUE` and the other calls it `SALES_AMOUNT`; the archive also lacks a newly introduced promotional-campaign attribute. The model must preserve all records, map the monetary values to one output measure, and represent the missing campaign value without inventing data. Which two design actions are appropriate? Select TWO.

Correct Answer: B. Map the absent archive campaign attribute to a typed null value in the union output.; D. Use a union node and map both source amount columns to the same output measure.
Explanation:

A union is appropriate because the sources contain the same kind of business records and both sets of rows must be retained. Explicit mapping aligns `NET_VALUE` and `SALES_AMOUNT` with one output measure. A typed null is a truthful representation of an attribute unavailable in the archive, rather than fabricated campaign data. An inner join would discard nonmatching records. Mapping amount to campaign is semantically invalid, and aggregation cannot substitute for union mappings.

Question 3

New Single answer

Topic: Configuring Modeling Functions

Skill tested: Configuring input parameters and applying them consistently to calculation-view filters.

A planning model must let analysts select a fiscal year when they run a report. The selected value must constrain the data at the earliest practical point in the calculation view, and users must be prompted for it rather than receiving a fixed default that silently changes the report. The year is stored as an integer column in the source. Which implementation best meets these requirements?

Correct Answer: A. Create a mandatory input parameter with an integer data type and reference it in a filter on the fiscal-year column near the source.
Explanation:

A mandatory input parameter prompts the consumer for a value, and matching its data type to the source column avoids implicit conversion. Applying the parameter in a source-near filter allows the model to restrict rows early and aligns with the requirement that the chosen year governs the result. A current-year calculation supplies an unwanted fixed behavior. A measure restriction is not a substitute for row filtering, while a hierarchy parameter controls neither selection nor filtering.

Question 4

New Multiple answers

Topic: Configuring Modeling Functions

Skill tested: Selecting hierarchy configuration and filter behavior for parent-child analytical navigation.

A finance model stores organizational units in a parent-child table, including each unit's identifier and parent identifier. Users need to navigate rollups from a selected unit to its descendants and see aggregated expenses at each level. The organization occasionally adds or moves units, so the model must use the maintained relationships rather than a manually enumerated list. Which two actions should the modeler take? Select TWO.

Correct Answer: B. Configure the expense measure for aggregation across the hierarchy and expose the hierarchy for navigation.; C. Define a parent-child hierarchy using the unit identifier and parent identifier columns.
Explanation:

A parent-child hierarchy models the maintained identifier-to-parent relationship directly, so additions and moves are reflected through the source relationships instead of a manually maintained fixed list. Exposing the hierarchy and making the expense measure aggregatable supports rollup navigation. A fixed level-based hierarchy does not satisfy the requirement to derive relationships from the parent-child data. Ranking does not create hierarchy semantics, and removing parents would prevent users from navigating and viewing rollups.

Question 5

New Single answer

Topic: Optimizing the Performance of Models

Skill tested: Using execution-plan evidence to locate expensive calculation-view operators and reduce data processing.

A frequently used calculation view has become slow after a new attribute was added. Database monitoring shows that the largest cost occurs in a join node, while the source tables are column-store tables and the query returns only a small result set. The modeler suspects that the new attribute caused a large intermediate result before aggregation. What is the BEST first modeling investigation?

Correct Answer: A. Inspect the executed plan and join cardinalities, then verify that the join keys and cardinality declarations reflect the actual source relationships.
Explanation:

The plan identifies the join as the dominant cost, so the first step is to inspect its behavior and validate join keys and cardinality assumptions. Incorrect or overly broad joins can multiply rows and create costly intermediate results; accurate modeling may also enable more efficient execution. A final aggregation may reduce returned rows but cannot necessarily remove work already performed. Converting analytical column tables to row store and changing client fetch settings do not address the indicated join cost.

Question 6

New Multiple answers

Topic: Managing and Administering Models

Skill tested: Managing calculation-view lifecycle changes through controlled activation and dependent-object validation.

A development team changes a reusable calculation view that is consumed by several other views and scheduled reports. Before the change is moved into the production repository, the administrator must identify broken dependencies and ensure consumers see the activated version, while preserving a controlled deployment process. Which two actions best support this? Select TWO.

Correct Answer: B. Activate the changed object in the development environment and deploy it through the organization's approved transport or delivery process.; D. Run dependency and consistency checks for the changed view and its dependent modeling objects before deployment.
Explanation:

Dependency and consistency checks help reveal invalid references or incompatible changes before release. Activating the validated development object and using the approved transport or delivery mechanism preserves environment separation and makes the intended version available to consumers in a controlled way. Direct production edits bypass governance. Deleting dependencies is destructive and unnecessary, and saving alone should not be treated as proof that all dependent objects have been checked and activated.

Question 7

New Single answer

Topic: Provisioning Data to SAP HANA

Skill tested: Selecting data provisioning architecture based on freshness, persistence, and source-system constraints.

A reporting team needs near-real-time access to a large operational table in a remote source system. The source remains authoritative, duplicating the full dataset in SAP HANA is prohibited, and queries must use the source data without waiting for scheduled batch loads. Which provisioning approach is MOST appropriate, assuming the source is supported for remote access and the required connectivity is available?

Correct Answer: C. Use a remote source with a virtual table so queries access the remote data without persisting a full local copy.
Explanation:

A virtual table over a configured remote source provides access to remote data without creating the prohibited full local copy and avoids the freshness delay of scheduled bulk loads. This depends on supported source connectivity and may make query performance sensitive to the remote system and network. Periodic import, manual synchronization, and daily file loads all persist local data or introduce a delay, contrary to the stated constraints.

Question 8

New Multiple answers

Topic: Working with SQL and SQL Script in Models

Skill tested: Writing SQLScript table functions with explicit input, output, and deterministic transformation logic.

A modeling team needs a reusable table function that accepts a reporting date and returns customer identifiers with the total amount of qualifying sales up to that date. The implementation must return a relational result set suitable for use in a calculation view, avoid dynamic SQL, and ensure the date predicate is applied before grouping. Which two implementation choices meet these requirements? Select TWO.

Correct Answer: C. Use the input date in a static predicate on the sales date before the GROUP BY aggregation.; E. Declare a table return type containing customer identifier and total amount, and implement the function body in SQLScript.
Explanation:

A SQLScript table function with a declared table return type provides a relational result suitable for consumption by a calculation view. A static predicate using the input date before grouping selects qualifying sales rows before the customer totals are computed, matching the requested semantics and avoiding unnecessary dynamic SQL. A scalar return cannot represent customer-level rows. Dynamic SQL adds complexity without need, and filtering aggregated amounts does not implement a sales-date cutoff.

Question 9

New Single answer

Topic: Securing Models

Skill tested: Applying analytic privileges to restrict calculation-view data by authorized user context.

A company exposes a shared sales calculation view to users from several regions. All users may run the same analytical queries, but each user must see only the regions explicitly authorized for that user; administrators should not maintain separate copies of the view for each region. Which solution best enforces this row-level restriction at the model layer?

Correct Answer: A. Define and assign an analytic privilege that restricts the relevant region attribute according to authorized user values.
Explanation:

An analytic privilege enforces row-level restrictions on calculation-view data according to the authorized values, allowing one shared model to serve users with different regional access. Hiding a column does not prevent access to rows from other regions. Separate views increase administration effort and, if all are granted to all users, do not enforce the intended restriction. A default filter is a report convenience, not a security boundary.

Question 10

New Single answer

Topic: Building Calculation Views

Skill tested: Selecting calculation-view node semantics for combining and aggregating multiple fact sources.

An analytics team needs a single measure of shipped quantity from two fact tables: domestic shipments and export shipments. The tables have compatible columns and contain disjoint shipment records. Reports must show total quantity by product and calendar month, without requiring consumers to combine separate result sets. Which design should the modeler use?

Correct Answer: A. Union the fact sources with explicit column mapping, then aggregate quantity by product and calendar month.
Explanation:

The two sources represent disjoint records of the same business event, so a union with explicit mapping combines their rows into one logical set. Aggregating the combined quantity by product and month then produces the requested result for consumers. Joining the facts risks multiplying rows when keys are not one-to-one and does not represent simple consolidation. An intersection would discard nonshared records, while separate views push required combination work to every consumer.