MENDIX INTERMEDIATE TESTED
QUESTIONS AND COMPLETE SOLUTIONS
◉ What should you do before committing changes when using
version control?
Answer: Update the app to check for new functionality and
resolve conflicts
◉ Why is it important to maintain a clean App Directory?
Answer: To prevent conflicts, reduce storage usage, and ensure
only necessary files are deployed
◉ After creating a dataset with Java action source, where would
you expect to find its file
Answer: In the module's datasets subfolder within javasource
◉ If you need to modify application styling, which folder requires
HTML/CSS/SASS knowledge?
Answer: The theme folder
◉ Which folder would contain widget files with .mpk extensions
Answer: The widgets folder
◉ What is the primary purpose of Mendix Team Server?
,Answer: To provide version control using Git for tracking changes,
collaborating with team members, and reverting to previous
versions when needed.
◉ Where can you view an app's commit history
Answer: Both in Mendix Studio Pro (Version Control > History)
and in the Mendix Portal (General > Team Server)
◉ What are the two main types of conflicts that can occur in
version control?
Answer: - Modify-Modify conflicts.
- Modify-Delete conflicts.
◉ How should you resolve a conflict when both you and a
teammate have modified the same page?
Answer: Compare both versions, coordinate with the teammate,
and decide which changes to keep (either "Resolve using theirs"
or manually merge changes)
◉ Which of these actions would create a Modify Delete conflict
Answer: You modify a microflow while another team member has
deleted that same microflow
◉ When should you create a branch in Mendix development?
, Answer: When developing new features separately from
production, when working on hotfixes, or when needing to
maintain different versions of the app.
◉ What is the correct sequence for merging a feature branch into
the main line?
Answer: a- Commit all changes on main line
b- Select "Merge Changes Here"
c- Choose the feature branch
d- Review changes in changes dock
e- Commit the merge
◉ What is the purpose of the "Cherry Pick" (Port Fix) function?
Answer: To selectively merge specific revisions from one branch
to another rather than merging an entire branch
◉ How can you share your local database state with your team?
Answer: By creating a data snapshot (VersionControl > Add
snapshot of your data) which generates a data-snapshot.zip file in
the deployment directory
◉ What is required before you can use your own Git server with a
Mendix app?
Answer: - Setup your own Git Server
- Enable private version control in Studio Pro preferences
QUESTIONS AND COMPLETE SOLUTIONS
◉ What should you do before committing changes when using
version control?
Answer: Update the app to check for new functionality and
resolve conflicts
◉ Why is it important to maintain a clean App Directory?
Answer: To prevent conflicts, reduce storage usage, and ensure
only necessary files are deployed
◉ After creating a dataset with Java action source, where would
you expect to find its file
Answer: In the module's datasets subfolder within javasource
◉ If you need to modify application styling, which folder requires
HTML/CSS/SASS knowledge?
Answer: The theme folder
◉ Which folder would contain widget files with .mpk extensions
Answer: The widgets folder
◉ What is the primary purpose of Mendix Team Server?
,Answer: To provide version control using Git for tracking changes,
collaborating with team members, and reverting to previous
versions when needed.
◉ Where can you view an app's commit history
Answer: Both in Mendix Studio Pro (Version Control > History)
and in the Mendix Portal (General > Team Server)
◉ What are the two main types of conflicts that can occur in
version control?
Answer: - Modify-Modify conflicts.
- Modify-Delete conflicts.
◉ How should you resolve a conflict when both you and a
teammate have modified the same page?
Answer: Compare both versions, coordinate with the teammate,
and decide which changes to keep (either "Resolve using theirs"
or manually merge changes)
◉ Which of these actions would create a Modify Delete conflict
Answer: You modify a microflow while another team member has
deleted that same microflow
◉ When should you create a branch in Mendix development?
, Answer: When developing new features separately from
production, when working on hotfixes, or when needing to
maintain different versions of the app.
◉ What is the correct sequence for merging a feature branch into
the main line?
Answer: a- Commit all changes on main line
b- Select "Merge Changes Here"
c- Choose the feature branch
d- Review changes in changes dock
e- Commit the merge
◉ What is the purpose of the "Cherry Pick" (Port Fix) function?
Answer: To selectively merge specific revisions from one branch
to another rather than merging an entire branch
◉ How can you share your local database state with your team?
Answer: By creating a data snapshot (VersionControl > Add
snapshot of your data) which generates a data-snapshot.zip file in
the deployment directory
◉ What is required before you can use your own Git server with a
Mendix app?
Answer: - Setup your own Git Server
- Enable private version control in Studio Pro preferences