Knowledge quiz

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

1.

Assuming you have constructed a query object q. How is the query executed on the database? 

There are two correct answers.
2.

What type of event handler is used to implement actions/functions?

Choose the correct answer.
3.

Which annotation must be added to an element of a model entity to enable ETags for this entity?

Choose the correct answer.
4.

Let's assume you want to use the @mandatory annotation to ensure that the String element title of an entity has non-empty input. Which of the following is a correct implementation of the @mandatory annotation for this purpose?

Choose the correct answer.
5.

What are after event handlers normally used for?

Choose the correct answer.
6.

Suppose you use the @assert.range annotation to specify a value range for an element of an entity. What happens if a value outside the defined range is provided during a CREATE operation?

Choose the correct answer.
7.

Assume you want to define an Authors entity as a projection on the db.Authors entity from the domain model. All elements of the db.Authors domain entity are to be included in the projection with the exception of the books element. Which of the following syntax variants is the correct one to achieve this?

Choose the correct answer.
8.

The most common way to provide custom service implementations in a .js file is to create a subclass that inherits from the class with the default service provider implementation. What is the name of this superclass?

Choose the correct answer.
9.

What arguments do after event handlers receive?

There are two correct answers.
10.

Which statements regarding the calling of actions/functions are correct?

There are three correct answers.