ASSOCIATE-REACTIVE-DEVELOPER practice question 7 of 35
Entity Identifiers can be simple primary keys or composite keys
Full set: 262 questionsThe statement is false. In OutSystems, every entity must have a primary key, which is referred to as the Entity Identifier. This identifier is always a single attribute and cannot be a composite key (a key composed of multiple attributes). When a new entity is created, OutSystems automatically generates a unique, single-attribute identifier (typically Id with a Long Integer data type), which serves as its primary key. While you can change the data type of this identifier, you cannot configure it to be a composite key.
The "True" option is incorrect because it contradicts the core data modeling architecture of the OutSystems platform. OutSystems enforces the use of a single-attribute primary key for all entities created within its environment to ensure consistency, simplify relationships, and optimize performance for its internal data handling mechanisms. The platform does not provide a feature to create or define composite primary keys for its entities.
1. OutSystems Official Documentation - "Entity identifier": This document explicitly states the nature of entity identifiers.
Quote: "Each entity has an identifier that uniquely identifies each record. The identifier is a single attribute and it's the entity's primary key."
Reference: OutSystems. (n.d.). Entity identifier. OutSystems Documentation. Retrieved from https://success.outsystems.com/documentation/11/reference/outsystemslanguage/data/databasereference/entityidentifier/
2. OutSystems Official Documentation - "Create an Entity": This guide on creating entities reinforces the automatic creation of a single identifier.
Quote: "When you create an entity, Service Studio automatically adds an attribute to be the entity identifier. By default, the attribute is named Id and its data type is set to Long Integer with the Is AutoNumber property set to Yes."
Reference: OutSystems. (n.d.). Create an Entity. OutSystems Documentation. Retrieved from https://success.outsystems.com/documentation/11/developinganapplication/usedata/datamodeling/createanentity/
3. OutSystems Training Courseware - "Modeling Data": The official training materials for developers consistently describe the data model as using single-attribute identifiers.
Concept: In the "Data Model" section of the "Developing OutSystems Web Applications" (and Reactive) courses, entities are always presented with a singular Id attribute as the primary key, with no mention or provision for composite keys.
Reference: OutSystems. (n.d.). Modeling Data [Guided Path]. OutSystems Training. Retrieved from https://www.outsystems.com/training/paths/18/becoming-a-reactive-web-developer/ (Content within the "Data Modeling" section).
Keep practicing
Take the free ASSOCIATE-REACTIVE-DEVELOPER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ASSOCIATE-REACTIVE-DEVELOPER practice questions
- Question 1When the event is mandatory, a Block event such as the Client Action must be specified to…
- Question 2Considering the Function property in Client Actions, which of the following options is co…
- Question 3Which event is needed if we do some logic over the result such as checking if it is empty?
- Question 4The SQL Query only allows executing SELECT statements
- Question 5The order of the Entities in the join does not matter.
- Question 6The list of values displayed on the Combo Box widget can be a combination of Entity and S…
