Knowledge quiz

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

1.

The easiest way to add custom service implementations is to place an equally named .js file next to the .cds file that contains the respective service definition. As an alternative to this approach, which annotation can you use to explicitly reference the service definition in the .cds file to another .js file that should contain the service implementation?

Choose the correct answer.
2.

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

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

There are three correct answers.
4.

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

Choose the correct answer.
5.

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

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

Choose the correct answer.
7.

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

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

There are three correct answers.
9.

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

There are two correct answers.
10.

What are after event handlers normally used for?

Choose the correct answer.