Knowledge quiz

It's time to put what you've learned to the test, get 8 right to pass this unit.

1.

You want to use the two common reuse aspects CodeList and Currency from the pre-built CDS model to extend the definition of a domain entity. What syntax can you use to import these aspects into your CDS model?

Choose the correct answer.
2.

Assume that a one-to-many relationship between the entities Orders and OrderItems is defined as a composition. Which of the following statements are true?

There are two correct answers.
3.

Which statements regarding the exposing of associations in service interfaces are correct?

There are two correct answers.
4.

What directives are available in CDS to add secondary aspects to a core domain entity?

There are two correct answers.
5.

Which of the following are elements defined on the sap.common.CodeList aspect?

There are two correct answers.
6.

Which of the following are elements defined on the sap.common.Currencies entity?

There are three correct answers.
7.

Which statements regarding the predefined entity sap.common.Countries are correct?

There are three correct answers.
8.

You want to extend the definition of the entity Authors by the two named aspects A and B. Which syntax do you use for this purpose?

Choose the correct answer.
9.

Assume that the Books entity has a managed to-one association to the Authors entity defined via an element called author. Now you want to implement a to-many association in the Authors entity to the target entity Books using an element called books. Which syntax do you use for this?

Choose the correct answer.
10.

What is the name of the pre-built model shipped by CDS that provides common types and aspects for reuse?

Choose the correct answer.