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 define enumeration values for a custom-defined type called Status, which is based on the built-in type Integer. Available should symbolize the value 1 and Discontinued the value 2. Which of the following implementations is correct?

Choose the correct answer.
2.

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.
3.

What naming conventions are recommended when creating domain models?

There are three correct answers.
4.

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

There are two correct answers.
5.

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.
6.

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.
7.

What kinds of custom types can you define?

There are three correct answers.
8.

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

There are three correct answers.
9.

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.
10.

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

There are two correct answers.