Knowledge quiz

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

1.

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

There are three correct answers.
2.

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

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

Choose the correct answer.
4.

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

There are two correct answers.
5.

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

Choose the correct answer.
6.

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

There are three correct answers.
7.

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

Choose the correct answer.
8.

What are after event handlers normally used for?

Choose the correct answer.
9.

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

Choose the correct answer.
10.

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.