Knowledge quiz

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

1.

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

Which elements of an entity are suitable for use as an ETag element for optimistic locking?

Choose the correct answer.
3.

What are after event handlers normally used for?

Choose the correct answer.
4.

What kinds of event handlers are available in CAP that can be registered for different phases during the processing of an event?

There are three correct answers.
5.

How can you start debugging a CAP project in the SAP Business Application Studio?

There are three correct answers.
6.

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

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

Choose the correct answer.
8.

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

Choose the correct answer.
9.

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

Choose the correct answer.
10.

What arguments do after event handlers receive?

There are two correct answers.