Added
A CAP service exposes purchase orders and their items. A consumer should be able to read orders with expanded items, but changes to item data must occur through the parent order operation so that the service can enforce aggregate-level rules. The model is persisted to SAP HANA Cloud, and the public API should not expose unrelated persistence entities. Which two design choices best meet the requirements? (Choose two.)
A service projection defines the intended public interface without exposing the entire persistence model, and the association supports navigation to the related items. A composition expresses ownership and lifecycle dependency between order and item, which suits aggregate-level handling. Exposing every entity unnecessarily broadens the API. Making items independent removes the ownership semantics required by the scenario. CAP supports service handlers, so placing all rules in a database view is neither required nor accurate.