SAP certification · Exam C_ABAPD_2507

C_ABAPD_2507 Mock Exam

SAP Certified Associate - Back-End Developer - ABAP Cloud

Free C_ABAPD_2507 questions on ABAP Core Data Services (CDS) and Data Modeling, each with the answer and an explanation.

20 questions · 45 minutes · free, no sign-up

ABAP Core Data Services (CDS) and Data Modeling questions

1–5 of 5 free
Question 1 Choose 2
Given the following ABAP SQL statement excerpt from an ABAP program:
SELECT SINGLE *
FROM spfli
WHERE carrid = 'LH' AND connid = '0400
INTO @DATA(wa).
You are given the following information:
The data source spfli on line #2 is an SAP HANA database table.
spfli will be a large table with over one million rows.
This program is the only one in the system that accesses the table.
This program will run rarely.
Based on this information, which of the following general settings should you set for the spfli database table?
Note: There are 2 correct answers to this question.
Show answerHide answer

Correct answer: B, D “Storage Type” to “Column Store”“Load Unit” to “Page Loadable”

Explanation

Explanation:

The table SPFLI is large (over one million rows) and queried only occasionally. In SAP HANA, the choice between Row Store and Column Store depends on access patterns:
Column Store is optimized for large tables and analytical queries. It provides better compression and faster access when filtering by specific columns (like carrid and connid in the example). This makes B correct.
Row Store is better for small tables with frequent single-row access or transactional workloads. Since SPFLI is large and rarely accessed, A is not suitable.

Regarding Load Unit:
Page Loadable means the table is loaded into memory only when accessed. Since the program runs rarely, this avoids unnecessary memory usage. Thus, D is correct.
Column Loadable keeps the table in memory permanently, which is wasteful for a rarely used table. Therefore, C is not correct.

So the best settings for this scenario are:
Storage Type → Column Store
Load Unit → Page Loadable

References
SAP HANA Administration Guide: SAP HANA Administration Guide: “Column store is recommended for large tables and analytical queries. Row store is suitable for small, frequently accessed tables.”
Question 2 Choose 2
You select a field flight_date with type DATS in the field list of a CDS view.

Which of the following expressions returns the 2-digit month from the field?

(Select 2 correct answers)
Show answerHide answer

Correct answer: A, B substring( flight_date, 5, 2 )right( left( flight_date, 6 ), 2 )

Question 3 Choose 2
You want to define the following CDS view entity with an input parameter:

define view entity Z_CONVERT

with parameters i_currency : ???

Which of the following can you use to replace ????

(Select 2 correct answers)
Show answerHide answer

Correct answer: A, D A built-in ABAP Dictionary typeA data element

Question 4 Choose 1
Given the following Core Data Service View Entity Data Definition:

@AccessControl.authorizationCheck: #NOT_REQUIRED
DEFINE VIEW ENTITY demo_flight_info_union AS
SELECT FROM scustom {
KEY id,
KEY 'Customer' AS partner,
name,
city,
country
}
UNION
SELECT FROM stravelag {
KEY agencynum AS id,
'Agency' AS partner,
name,
city,
country
}

When you attempt to activate the definition, what will be the response?
Show answerHide answer

Correct answer: D Activation error because the field names of the union do not match

Question 5 Choose 1
Given the following Core Data Services (CDS) View Entity data definition:

DEFINE VIEW ENTITY demo_cds_view_entity
AS SELECT FROM spfli
{
cityfrom,
cityto,
carrid,
connid
}

When you attempt to activate the definition, what will be the response?
Show answerHide answer

Correct answer: A Activation error due to no key defined

That's the last free question in ABAP Core Data Services (CDS) and Data Modeling

You've seen the free 30% (5 of 18 questions). Full access unlocks every question and full-length C_ABAPD_2507 mock exams (80 questions, 180 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the C_ABAPD_2507 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real C_ABAPD_2507 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full C_ABAPD_2507 mock exam
  • 80questions per mock
  • 180 mintime limit
  • 78questions in the bank
  • Newmock on every attempt