Knowledge quiz

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

1.

What kinds of custom types can you define?

There are three correct answers.
2.

Which of the following statements about persistent SQLite databases are true?

There are two correct answers.
3.

What naming conventions are recommended when creating domain models?

There are three correct answers.
4.

Which of the following protocols does CAP support out of the box?

There are two correct answers.
5.

Suppose you want to explicitly specify /admin as the endpoint of an exposed service. How do you need to annotate the corresponding service definition to achieve this?

Choose the correct answer.
6.

For a domain model created in a CAP project, an SQL DDL script can be generated manually. Assuming that the domain model is contained in the db/model.cds file of the CAP project, which terminal command do you need to execute in the root directory of the project to generate the SQL DDL statements for the model?

Choose the correct answer.
7.

What command do you need to enter in the terminal to generate a properly named .csv file for each table from the CDS model in the db/data folder? (The generated files do not yet contain any data, but they do contain column titles that correspond to the declared element names in the CDS model).

Choose the correct answer.
8.

For which databases does the CAP Node.js runtime provide out-of-the-box support?

There are three correct answers.
9.

You have created a service definition that exposes an entity A, which is a projection on an entity B from the domain model. Which objects are generated in the database on the basis of this service model?

Choose the correct answer.
10.

In a service, an entity called Books is to be exposed, which is to be defined as a projection on the entity db.Books from the domain model. The exposed entity should allow access to the underlying data in a 1:1 manner. What syntax can you use for this?

There are two correct answers.