2026/2027 | Both Exams | Grade A Verified Answers |
Complete Solutions | Pass Guaranteed - A+ Graded
Section 1: Domain Modeling, Entities & Advanced Associations (Q1-15)
Q1. In Mendix 10, a domain model contains two entities: Order and OrderLine. An
association Order_OrderLine is created. Which statement about association
ownership is correct?
A. The association is always owned by the entity on the left side of the association
B. Mendix stores the association in the database table of the entity where the
association originates (the arrow origin)
C. Both entities store a foreign key to maintain bidirectional integrity
D. Association ownership is determined alphabetically by entity name
Correct Answer: B. Mendix stores the association in the database table of the entity
where the association originates (the arrow origin) [CORRECT]
Rationale: In Mendix, the association owner is the entity from which the association
arrow originates. The foreign key is stored in the owner's table. This affects
performance and retrieval patterns. Common error: assuming bidirectional foreign keys
are stored.
Q2. A non-persistable entity ShoppingCart is used to hold temporary data during a
user session. Which statement is true?
A. Non-persistable entities are stored in the Mendix database and survive server
restarts
,B. Non-persistable entities exist only in server memory and are lost when the session
ends
C. Non-persistable entities cannot have associations with persistable entities
D. Non-persistable entities automatically synchronize with offline devices
Correct Answer: B. Non-persistable entities exist only in server memory and are lost
when the session ends [CORRECT]
Rationale: Non-persistable entities (NPEs) are not stored in the database; they reside in
memory and are session-dependent. They can have associations with persistable
entities but do not support offline synchronization. Common error: confusing NPE
persistence with temporary file storage.
Q3. An entity Employee inherits from System.User. Which security implication
applies?
A. Employee records are automatically visible to all users
B. Employee inherits the password attribute and authentication behavior from
System.User
C. Employee cannot have custom attributes beyond those in System.User
D. Generalization to System.User is deprecated in Mendix 10
Correct Answer: B. Employee inherits the password attribute and authentication
behavior from System.User [CORRECT]
Rationale: Inheriting from System.User grants the entity all user-related attributes
(Name, Password, active status) and enables authentication. Access rules must still be
explicitly defined. Common error: assuming visibility is automatic.
Q4. A domain model uses a many-to-many association between Product and
Category. Which statement describes the database implementation?
A. Mendix creates a foreign key column in both entity tables
B. Mendix creates a separate join table to store the many-to-many relationships
C. Many-to-many associations are stored as JSON arrays in a single table
D. Many-to-many associations are not supported in Mendix 10
,Correct Answer: B. Mendix creates a separate join table to store the many-to-many
relationships [CORRECT]
Rationale: Many-to-many associations in Mendix are implemented via an intermediate
join table, unlike one-to-many associations which use a foreign key. Common error:
assuming foreign keys exist in both tables.
Q5. An entity Invoice has a validation microflow set to trigger "Before Commit." Which
statement is accurate?
A. The microflow runs after the object is saved to the database
B. The microflow runs before the object is committed, allowing cancellation of the
commit if validation fails
C. The microflow only runs when the object is created, not updated
D. Before Commit microflows cannot modify object attributes
Correct Answer: B. The microflow runs before the object is committed, allowing
cancellation of the commit if validation fails [CORRECT]
Rationale: Before Commit event handlers execute prior to database persistence,
enabling validation logic that can abort the commit by returning false or raising errors.
Common error: confusing Before Commit with After Commit timing.
Q6. Which association type should be used when a Customer can have multiple
Address entities, but each Address belongs to exactly one Customer?
A. Many-to-many
B. One-to-one
C. One-to-many (Customer 1, Address *)
D. One-to-many (Address 1, Customer *)
Correct Answer: C. One-to-many (Customer 1, Address ) [CORRECT]
Rationale: A one-to-many association from Customer (1) to Address () correctly models
that one customer has many addresses, and each address belongs to one customer.
The arrow originates from Customer. Common error: reversing the association
direction.
, Q7. In Mendix 10, calculated attributes:
A. Are stored in the database and updated by a scheduled event
B. Are computed on-the-fly when retrieved and are read-only
C. Can be edited by users in data grids
D. Require a separate microflow to persist their values
Correct Answer: B. Are computed on-the-fly when retrieved and are read-only [CORRECT]
Rationale: Calculated attributes derive their values from a microflow and are computed
at retrieval time. They are not stored in the database and cannot be directly edited.
Common error: treating calculated attributes as stored fields.
Q8. An entity Project has a self-reference association Project_SubProject. Which
statement is true?
A. Self-references are not supported in Mendix domain models
B. The association allows a project to be linked to other projects hierarchically
C. Self-references automatically create infinite recursion
D. Self-references must always be many-to-many
Correct Answer: B. The association allows a project to be linked to other projects
hierarchically [CORRECT]
Rationale: Self-referencing associations enable hierarchical or networked relationships
within the same entity, such as parent-child project structures. Common error: assuming
self-references are unsupported.
Q9. Entity access rules in Mendix are evaluated:
A. Only when the entity is created
B. Every time an object is retrieved, committed, or deleted
C. Only for administrators
D. Only in the client, not on the server
Correct Answer: B. Every time an object is retrieved, committed, or deleted [CORRECT]