Mendix Advanced// Mendix
Advanced question with
answers latest update 2023
Inheritance is used to: - ANSWER-Inherit the structure and behavior of an
... [Show More]
entity, so that all specializations can be used individually within the same
process.
What is the result of generalizing the Player entity by the Person entity? -
ANSWER-Two tables, one per entity
What will happen to the ID's after generalizing the Player and Staff entities
by the Person entity? - ANSWER-The ID's of Player and Staff will keep
their own set and sequence and will equal the ID in the Person table.
Which statement is correct?:
- A 1-1 association and inheritance are both an IS type of relation.
- A 1-1 association is an IS and inheritance is an HAS type of relation.
- A 1-1 association is a HAS and inheritance is an IS type of relation.
- A 1-1 association and inheritance are both an HAS type of relation. -
ANSWER-- A 1-1 association is a HAS and inheritance is an IS type of
relation.
Why is it a best practice to create a specialization of the FileDocument and
Image entities? - ANSWER-It allows for better security and property
configuration based on purpose.
What is the default value of the attribute DeleteAfterDownload? -
ANSWER-false
Where are the file(s) or image(s) stored by default? - ANSWER-On the file
server located on the application server
When it is better to place Indexes? - ANSWER-If there are more Read than
Write actions.
What happens when you apply an index? - ANSWER-The speed of Read
actions will increase.
What is the result of the association in the image below? - ANSWER-A list
of ID's in the Staff object.
The app performance is affected by a reference set (both) because: -
ANSWER-Both entities needs to be joined with the reference table and
data transfer increases.
Adrian wants to select a staff member for a team. Which domain model
would be suitable?
A: Staff * -> * Team
B: Staff * <- * Team - ANSWER-B
What type of domain model changes can have an impact on the data in the
database? - ANSWER-Type changes and Structural changes
What are the four stages of data conversion? (multiple answers are correct)
- ANSWER-- Deploy and convert
- Clean up model
- Model the conversion
- Extend domain model
Why is it a best practice to redeploy your app after cleaning up the model?
- ANSWER-You might be confronted with unexpected and/or complex sync
behavior during a next deployment.
What does the function reverse() do? - ANSWER-It changes the direction
in which the association is queried.
What is the best naming for a self-reference where [Show Less]