Knowledge quiz

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

1.

The cds.ql module exposes an SQL-like API for constructing database queries. Which of the following are names of global objects provided by the cds.ql module for query construction?

There are two correct answers.
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.

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

There are two correct answers.
4.

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

There are three correct answers.
5.

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

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

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

Choose the correct answer.
8.

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

Choose the correct answer.
9.

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

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.