Knowledge quiz

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

1.

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

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

Choose the correct answer.
3.

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

There are two correct answers.
4.

What is the @assert.target annotation used for in CAP?

Choose the correct answer.
5.

Is the following statement regarding the difference between actions and functions correct? Functions modify data on the server, actions retrieve data.

Choose the correct answer.
6.

What arguments do after event handlers receive?

There are two correct answers.
7.

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

Choose the correct answer.
8.

What is the expected outcome when a PUT request is made with an outdated ETag value?

Choose the correct answer.
9.

What are after event handlers normally used for?

Choose the correct answer.
10.

When implementing optimistic locking, which HTTP header is used to send the ETag value back to the server in a change request?

Choose the correct answer.