2026/2027 | Complete Practice | 100% Correct Verified
Answers | Pass Guaranteed - A+ Graded
Section 1: Domain Modeling - Associations, Inheritance & Validation (Q1-14)
Q1. A business analyst requests a dashboard that calculates real-time KPIs by
aggregating data from multiple entities. The results do not need to survive a server
restart or be shared between users. As a Mendix developer, which entity type best
supports this requirement?
A. Persistable entity with an after-commit event that deletes records after 1 hour
B. Non-persistable entity populated by a microflow and passed to the page
C. Persistable entity with a scheduled event to clear old data nightly
D. System.Session entity with custom attributes added to store KPI values
Rationale: Non-persistable entities exist only in memory and are ideal for transient,
calculated data that does not require database persistence. Persistable entities write to
the database unnecessarily here, and System.Session should not be used for business
data. EXAM PREP note: Common mistake—creating database tables for temporary
display data that never needs persistence.
Correct Answer: B
Q2. A developer needs an OrderNumber attribute that automatically generates a unique
sequential value every time a new Order is committed to the database, without writing
custom microflow logic. Which attribute type satisfies this requirement?
,A. Integer with a default value of 0
B. Long with a calculated value
C. AutoNumber
D. Decimal with precision set to 0
Rationale: AutoNumber attributes automatically generate unique sequential numeric
values upon commit, requiring no custom logic. Integer and Long require manual
assignment, and Decimal is inappropriate for sequential identifiers. EXAM PREP note:
Common mistake—confusing AutoNumber with Integer and trying to implement manual
increment logic.
Correct Answer: C
Q3. A university registrar needs to model Students and Courses. Each student can enroll
in multiple courses, and each course contains multiple students. The application must
track these enrollments efficiently. Which association type correctly models this domain
requirement?
A. Reference (1-*) from Student to Course
B. Reference (1-*) from Course to Student
C. Reference set (*-*) between Student and Course
D. Association with generalization inheritance from Student to Course
Rationale: A many-to-many relationship requires a reference set (*-*), allowing multiple
students per course and multiple courses per student. A 1-* reference only permits one
,parent per child, which cannot model true many-to-many enrollment. EXAM PREP note:
Common mistake—using a 1-* reference when both sides need multiple associations.
Correct Answer: C
Q4. When designing an inheritance hierarchy, a developer creates a generalization entity
Person and specialized entities Employee and Manager. In the underlying database,
Mendix stores this structure by:
A. Copying all Person attributes into both Employee and Manager tables with separate
IDs
B. Storing generalization attributes in the Person table and specialized attributes in
Employee/Manager tables, linked by the same ID
C. Storing all attributes only in the Person table and using views for specialized access
D. Creating a separate association table linking Person to Employee and Manager
Rationale: Mendix stores inherited attributes in the generalization table and specialized
attributes in the child table, joined by the same internal ID. This avoids data duplication
while maintaining the object hierarchy. EXAM PREP note: Common mistake—assuming
all attributes are duplicated in every specialized table.
Correct Answer: B
Q5. An HR application requires that no two employees share the same company email
address. When configuring the Employee entity, which validation rule enforces this
business constraint?
A. Required
, B. Unique
C. Regular expression
D. Range
Rationale: Unique validation ensures no duplicate values exist for an attribute across all
records. Required only checks for non-empty values, while regular expression and range
do not enforce uniqueness. EXAM PREP note: Common mistake—using Required when
the actual requirement is uniqueness.
Correct Answer: B
Q6. A UX requirement states that usernames must be between 5 and 20 characters
long. For a String attribute Username, which validation rules should the developer
configure?
A. Required only
B. Min length 5 and Max length 20
C. Range 5 to 20
D. Regular expression ^.{5,20}$
Rationale: String length constraints are enforced using Min length and Max length
validation rules. Range applies exclusively to numeric attribute types, not strings. EXAM
PREP note: Common mistake—applying Range to String attributes instead of Min/Max
length.
Correct Answer: B