New Year Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

SAP C_ABAPD_2309 SAP Certified Associate - Back-End Developer - ABAP Cloud Exam Practice Test

Page: 1 / 8
Total 81 questions

SAP Certified Associate - Back-End Developer - ABAP Cloud Questions and Answers

Question 1

What is the purpose of a foreign key relationship between two tables in the ABAP Dictionary?

Options:

A.

To document the relationship between the two tables

B.

To ensure the integrity of data in the corresponding database tables

C.

To create a corresponding foreign key relationship in the database

Question 2

In what order are objects created to generate a RESTful Application Programming application?

Options:

A.

Database table 1

B.

Service binding Projection view 4

C.

Service definition 3

D.

Data model view 2

E.

D A B C

F.

B D C A

G.

A D C B

Question 3

Class super has subclass sub. Which rules are valid for the sub constructor? Note: There are 2 correct answers to this question.

Options:

A.

The method signature can be changed.

B.

Import parameters can only be evaluated after calling the constructor of super.

C.

The constructor of super must be called before using any components of your own instance.

D.

Events of your own instance cannot be raised before the registration of a handler in super.

Question 4

Which of the following ABAP SQL statements are valid? Note: There are 2 correct answers to this question.

Options:

A.

SELECT FROM /dmo/connection FIELDS carrid O airpfrom,

MAX(distance) AS dist_max, MIN( distance) AS dist_min GROUP BY carrid, airpfrom INTO TABLE @DATA(It_hits)

B.

SELECT FROM /dmo/connection FIELDS \/ O carrid, airpfrom,

MAX( distance) AS dist_max, MIN(distance) AS dist_min INTO TABLE @DATA(It_hits)

C.

SELECT FROM /dmo/connection FIELDS V D MAX(distance) AS dist_max

MIN(distance) AS dist_min INTO TABLE @DATA(It_hits).

D.

SELECT FROM /dmo/connection FIELDS r—i carrid, airpfrom u GROUP BY carrid, connid

INTO TABLE @DATA(It_hits).

Question 5

What are valid statements? Note: There are 3 correct answers to this question

Options:

A.

In class CL1, the interface method is named if-ml.

B.

Class CL2 uses the interface.

C.

Class CL1 uses the interface.

D.

In class CL2, the interface method is named ifl-ml.

E.

Class CL1 implements the interface.

Question 6

You are given the following information:

Question # 6

1.

The data source "spfli" on line #2 is an SAP HANA

database table

2.

"spfli" will be a large table with over one million rows.

3.

This program is the only one in the system that accesses

the table.

4.

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.

Options:

A.

"Storage Type" to "Column Store"

B.

"Load Unit to "Column Loadable"

C.

"Storage Type" to "Row Store"

D.

"Load Unit' to 'Page Loadable"

Question 7

Which of the following integration frameworks have been released for ABAP cloud development? Note: There are 3 correct answers to this question.

Options:

A.

SOAP consumption

B.

CDS Views

C.

Business Add-ins (BAdls)

D.

Business Events

E.

OData services

Question 8

For what kind of applications would you consider using on-stack developer extensions? Note: There are 2 correct answers to this question.

Options:

A.

Applications that provide APIs for side by side SAP BTP apps

B.

Applications that access SAP S/4HANA data using complex SQL

C.

Applications that integrate data from several different systems

D.

Applications that run separate from SAP S/4HANA

Question 9

Which of the following are features of Core Data Services? Note: There are 3 correct answers to this question.

Options:

A.

Inheritance

B.

Associations

C.

Annotations

D.

Delegation

E.

Structured Query Language (SQL)

Question 10

In ABAP SQL, which of the following can be assigned an alias? Note: There are 2 correct answers to this question.

Options:

A.

order criterion (from order by clause)

B.

field (from field list)

C.

database table

D.

group criterion (from group by clause)

Question 11

For the assignment, gv_target = gv_source.

which of the following data declarations will always work without truncation or rounding? Note: There

are 2 correct answers to this question.

Options:

A.

DATA gv_source TYPE string, to DATA gv_target TYPE c.

B.

DATA gv_source TYPE c. to DATA gv_target TYPE string.

C.

DATA gv_source TYPE d. to DATA gv_target TYPE string.

D.

DATA gv_source TYPE p LENGTH 8 DECIMALS 3. to DATA gv_target TYPE p LENGTH 16 DECIMALS 2.

Question 12

In the assignment, data (gv_result) = 1/8. what will be the data type of gv_result?

Options:

A.

OTYPE I

B.

TYPE DEFLOAT 16

C.

TYPE P DECIMALS 3

D.

TYPE P DECIMALS 2

Question 13

Which of the following are incomplete ABAP types? Note: There are 2 correct answers to this question.

Options:

A.

String

B.

T

C.

C

D.

P

Question 14

What are the effects of this annotation? Note: There are 2 correct answers to this question.

Options:

A.

The value of sy-langu will be passed to the CDS view automatically both when you use the -1 CDS view in ABAP and in another CDS view entity (view on view).

B.

You can still override the default value with a value of your own.

C.

The value of sy-langu will be passed to the CDS view automatically when you use the CDS view in ABAP but not when you use it in another view entity

D.

It is no longer possible to pass your own value to the parameter.

Question 15

In a program you find this source code

AUTHORITY-CHECK OBJECT '/DWO/TRVL ( ID 'CNTRY' FIELD 'DE*

ID ACTVT FIELD '03".

Which of the following apply? Note: There are 2 correct answers to this question.

Options:

A.

If the user is authorized for 'CNTRY = 'DE' then the return code is always 0.

B.

If the user is NOT authorized for 'CNTRY' = 'DE' OR for 'ACTVT' = '03 then the program will terminate.

C.

If the user is authorized for 'CNTRY = 'DE' AND for 'ACTVT = '03 then the return code is 0.

D.

AUTHORITY CHECK verifies whether a user is authorized for/DMO/TRVL" with the listed field values.

Question 16

In ABAP SQL, which of the following retrieves the association field_Airline-Name of a CDS view?

Options:

A.

\_Airline-Name

B.

/_Airline Name

C.

@_Airline-Name

D.

"_Airline Name

Question 17

In a test method you call method cl_abap_unit_assert=>assert_equals( .. ) in the following way:

CLASS Itcl1 DEFINITION FOR TESTING RISK LEVEL HARMLESS DURATION SHORT.

PRIVATE SECTION.

METHODS m1 FOR TESTING.

ENDCLASS.

CLASS Itcl1 IMPLEMENTATION.

METHOD m1.

DATA: go_test_object TYPE REF TO zcl_to_be_tested.

CONSTANTS: Ico_exp TYPE string VALUE 'test2'.

CREATE OBJECT go_test_object.

cl_abap_unit_assert=>assert_equals(

EXPORTING

act = go_class->mv_attribute

exp = lco_exp

msg = 'assert equals failed ' && go_test_object->mv_attribute && ' ' && lco_exp

ENDMETHOD.

ENDCLASS.

What will happen if method parameters act and exp are not equal?

Options:

A.

The tested unit will automatically be appended to a default ABAP Test Cockpit Variant.

B.

The tested unit cannot be transported.

C.

The test will be aborted.

D.

There will be a message in the test log.

Question 18

Which restrictions exist for ABAP SQL arithmetic expressions? Note: There are 2 correct answers to this question.

Options:

A.

Floating point types and integer types can NOT be used in the same expression.

B.

The operator/is allowed only in floating point expressions.

C.

Decimal types and integer types can NOT be used in the same expression.

D.

The operator is allowed only in floating point expressions.

Question 19

In ABAP SQL, which of the following retneves the association field _Airline-Name of a CDS view?

Options:

A.

\ Airnline-Name

B.

@_Airline-Name

C.

/_Anine-Name

D.

*_Airline-Name

Question 20

What are advantages of using a field symbol for internal table row access? Note: There are answers to this question.

Options:

A.

The field symbol can be reused for other programs.

B.

A MODIFY statement to write changed contents back to the table is not required.

C.

The row content is copied to the field symbol instead to a work area

D.

Using a field symbol is faster than using a work area.

Question 21

/DMO/I_Connection is a CDS view.

What variable type is connection full based on the following code? DATA connection full TYPE

/DMD/I_Connection.

Options:

A.

Simple variable

B.

Structure

C.

Internal Table

Question 22

Given the following Core Data Service View Entity Data Definition:

1 @AccessControl.authorizationCheck: #NOT_REQUIRED

2 DEFINE VIEW ENTITY demo_flight_info_join

3 AS SELECT

4 FROM scarr AS a

5 LEFT OUTER JOIN scounter AS c

6 LEFT OUTER JOIN sairport AS p

7 ON p.id = c.airport

8 ON a.carrid = c.carrid

9 {

10 a.carridAS carrier_id,

11 p.idAS airport_id,

12 c.countnumAS counter_number

13 }

In what order will the join statements be executed?

Options:

A.

scarr will be joined with scounter first and the result will be joined with sairport.

B.

sairport will be joined to scounter first and the result will be joined with scarr.

C.

scarr will be joined with sairport first and the result will be joined with scounter.

D.

scounter will be joined to sairport first and the result will be joined with scarr.

Question 23

Exhibit:

Question # 23

Which of the following statements are correct? Note: There are 2 correct answers to this question.

Options:

A.

FOR defines a loop that runs over the content of source_itab

B.

source_itab is only visible within the loop.

C.

row is a predefined name and cannot be chosen arbitrarily.

D.

row is only visible within the loop.

Question 24

You want to provide a short description of the data definition for developers that will be attached to the database view

Which of the following annotations would do this if you inserted it on line #27

Options:

A.

@UI headerinto description label

B.

@UI.badge.title.label

C.

@EndUserText.quickInfo

D.

@EndUserText label

Page: 1 / 8
Total 81 questions