![Mendix (Intermediate and Advanced) pt 1](/_image?href=https%3A%2F%2Fimg.quizur.com%2Ff%2Fimg6405fa00bcf993.45580647.png%3FlastEdited%3D1678113294&w=600&h=600&f=webp)
Mendix (Intermediate and Advanced) pt 1
Compilado de questões dos Learning Paths de nivel intermediário e avançado.
0
0
0
Anúncios
1
Which security level must be active to deploy an application to the test environment of a licensed node in the Mendix cloud?
Prototype/demo Security
None
App Security
Production security
2
What effect does security have on the navigation of the application?
The visibility of menu items is affected by entity security
With security enabled, only administrators can see menu items
The visibility of menu items is affected by Page and Microflow security
The visibility of menu items is not affected by security
3
Why can you define security settings on both project and module level?
It allows for a better overview.
It makes it easy to reuse modules.
It is a W3C standard to separate project and module security.
It makes the application more secure.
4
A user role must have one or more module roles in every module
False
True
5
Which is NOT a level of app security?
Test
Prototype/demo
Off
Production
6
When should you configure security in your app development?
When the security user story is complete
As soon as possible
When deploying to production
Just before user testing
7
Entity access is set at which security level?
Module
Application
Association
Microflow
8
What is the name for app level security profiles?
Profile roles
Administration roles
Security roles
User roles
9
Does Mendix allow anonymous users?
False
True
10
Consider a situation in which there is an entity called Request with an attribute status that has three values: Draft, Submitted, and Approved. There are three user roles: Administrator, Customer, and Employee. The Customer user role is granted the Customer module role. The only access rule configured is read/write access for the Customer with the XPath [Status = Draft] applied. What would a user with the Customer user role see on a page with a data grid without any additional XPath constraints?
All the requests.
All the requests in the Draft status.
No results would be returned.
All the results, but read-only access for non-draft requests.
11
Consider the exact same situation as the previous question. What would Admin users see?
All the requests.
No results would be returned.
All requests in the Draft status.
All the results, but read-only for non-draft requests.
12
Consider the same situation again. What would happen if you granted Admin users access to a page with the Request entity in Studio Pro?
Studio Pro would detect an error and prevent a deployment.
Admin users would be able to view the page.
Admin users would see an error pop-up window when attempting to access the page.
Users would see no error message, but Security errors would appear in the logs.
13
How does the platform use entity access XPaths to enforce security?
The business server interprets the XPaths to prevent sensitive data from entering the system memory.
The XPaths are added to all the relevant database retrieves.
The user's browser translates the XPaths to show or hide action buttons.
All of these answer options are correct.
14
Where are entity access restrictions applied?
All of these answer options are correct.
On every page.
On every microflow.
On relevant database retrieves.
15
Which of the following best describes how the Mendix platform applies entity access?
The platform grants read/write access to all Admin users.
The platform assumes access is granted until it is explicitly removed.
The platform grants read access to all attributes, but write access must be explicitly specified.
The platform only grants the access explicitly defined in the entity access rules.
16
![In this domain model, assume that House is a specialization of Building:](/_image?href=https%3A%2F%2Fimg.quizur.com%2Ff%2Fimg6405f8578544c0.53253612.png%3FlastEdited%3D1678112869&w=400&h=400&f=webp)
In this domain model, assume that House is a specialization of Building:
Admin users will never be able to write to the SquareFoot attribute, but they will be able to write to the Bedrooms attribute.
Since House is a specialization of Building, an Admin will be able to read and write the SquareFoot in data views containing both Buildings and Houses.
Admin users will be able to read the SquareFoot attribute in data views for Buildings and read and write in data views for Houses.
17
Referring to the same domain model as was used in previous question, if we create a page with a data grid containing Houses and autogenerate a House_NewEdit page, which of the following statements is FALSE for an Admin user?
Admin users will not be able to create new Houses or delete existing Houses using the default buttons in the control bar of the data grid.
Admin users will be able to read the SquareFoot attribute.
Admin users will be able to edit the SquareFoot attribute.
Admin users will not see the SquareFoot attribute in the Edit page.
18
Why is it more secure to add security rules on the entity level?
Users will not see entities to which they have no access.
Entity level restrictions affect what the end-users will see.
Entity level security secures each entity throughout the application.
Entity level restrictions are applied at the database level and are thus automatically applied throughout the application.
19
For the following questions, assume there is an app with three user roles: Administrator, Teacher, and Student. Administrators are granted the ability to manage all user roles, and Teachers can manage users with the Student role. Which of the following statements is false?
Teachers and administrators are able to edit the details of student accounts.
Administrators and teachers can create teacher accounts.
Administrators are able to create other administrator accounts.
Administrators will be able to create and delete accounts for all students and teachers.
20
Let's say you want Teachers to be able to manage accounts for Students, but only the Students who are in their class. So, you grant Teachers the ability to manage users with the Student role in the app security menu. Will this be sufficient?
No, because teachers will have the ability to edit the accounts of any Student, not just their own.
No, because only Admins should have the ability to edit accounts.
Yes, because Accounts are a specialization of the User entity.
Yes, because now Teachers can edit the account details of the Students.
21
What is a benefit of assigning only one user role to each user?
It requires users to create a new account if they need to change roles.
Better representation of business specific processes.
It is inherently more secure.
Simplicity
22
The value 1.23 could be stored in an attribute of the type:
Decimal
Real
Long
Integer
23
The attribute type Enumeration is used to store:
A list of predefined values
Automatically generated positive or negative whole number
A positive or negative number
A whole number that can only be positive
24
A connection between two entities in Mendix is called:
An intersection
An association
An attribute
A relationship
25
Which name should you use for an entity representing a maintenance report?
MaintenanceReport
Maintenance_Report
Maintenance-Report
Maintenance Report
26
Where do you configure validation rules?
In the validation overview of the module
At app level
In the entity properties
In the association properties
27
What do validation rules apply to?
Attributes
Associations
Attributes and associations
Entities
28
What would be a best practice when deleting a Location? On delete of ‘Location’ object:
Keep ‘TrainingEvent’ objects
Delete ‘TrainingEvent’ objects
Delete ‘Location’ objects only if it is not associated with ‘TrainingEvent’ objects
29
When deleting a Trainee, you want all the Registrations of this Trainee to be deleted as well. What is that delete behavior called?
Cascading delete
Prevention of delete
Automatic delete
Delete associated objects
30
Which technique does Mendix use to convert data between the runtime and the database?
Extract Transform Load
Common Object Request Broker Architecture
Object Relational Mapping
Object Retrieval Mechanism
31
Which of the following is supported by persistent and non-persistent entities?
Validation
Database queries
Indexes
Event handlers
32
How does Mendix implement inheritance?
Object Relational Mapping
Class Table Inheritance
Single Table Inheritance
ActiveRecord
33
How does Mendix store associations?
Foreign key constraints
In entities
In link tables exclusively
Depending on the relationship
34
Which of the following can NOT be configured in the properties of an entity?
Persistability
Indexes
Sort order
Image
35
What is another way of calling an association?
Reference
Arrow
Dependence
Link
36
How many associations can you add between two entities?
Many associations of various multiplicity.
Multiple One-to-One associations.
Two associations, one from each entity.
Only one association.
37
What is a good reason to choose to use an Information Entity instead of multiple associations?
You want to display additional information about an association.
You want clear Entity names.
You want it to be clear that only one object can have a specific qualification.
You want to optimize the app’s performance.
38
Which of the event handlers does always need to return a boolean return value?
Not the before commit and after create.
Both the before commit and after create.
The after create.
The before commit.
39
Where do you define the "persistable" property of an entity?
In the domain model
In the widget property
In the page property
In the Microflow
40
For which of the following entity types does Mendix create a database table?
For non-persistable entity
For both persistable and non-persistable
For persistable entity
For none of them
41
What happens on commit of a non-persistable entity?
Current attribute values and association values are stored in memory.
Current attributes and association values are stored in the database.
Current attributes are stored in the database and associations are stored in memory.
It's not possible to commit a non-persistable entity
42
What would be a good situation to use a calculated attribute?
You should avoid using calculated attributes at all costs
It is generally preferable to use a calculated attribute
When a value is viewed more often than it changes
When a value changes more often than it is viewed
43
When connecting 2 entities of 2 different modules how do we typically call that association?
Cross-functional association
Cross-reference association
Bi-module association
Cross-module association
44
You connected two entities by a cross-module association. You want Studio Pro to take you to the associated entity in the other module - which option do you need to choose when you right click the association?
Go to the other side
Go to the other module
Go to the other domain model
Go to the associated entity
45
Which of the following options list system members that can be stored as indicated in the properties of an entity?
Created Date, Altered Date, Initiator, ChangedBy
Created Date, Modified Date, Creator, ModifiedBy
Created Date, Shifted Date, Originator, ModifiedBy
Created Date, Changed Date, Owner, ChangedBy
46
Which of the following terms is used to indicate a user that created the object of the given entity?
Creator
Originator
Owner
Initiator
47
Inheritance is used to:
Inherit the history of an entity.
Keep your domain model maintainable by inheriting the attributes and associations.
Reuse attributes of an entity on other entities, so that you don’t need to add and maintain them multiple times.
Inherit the structure and behavior of an entity, so that all specializations can be used individually within the same process.
48
What is the result of generalizing the Player entity by the Person entity?
A single link table to store the ID’s of inherited objects
A single table containing the Player and Person attributes
Three tables, one per entity plus a join table
Two tables, one per entity
49
What will happen to the ID’s after generalizing the Player and Staff entities by the Person entity?
The ID of the Person part of a Player or Staff will differ from the specialization part.
The ID’s of Player and Staff will keep their own set and sequence and will equal the ID in the Person table.
Same set and sequence for Player and Staff, the ID of person will differ.
There are no changes to the ID’s when inheriting.
50
Which statement is correct?
A 1-1 association and inheritance are both an HAS type of relation.
A 1-1 association and inheritance are both an IS type of relation.
A 1-1 association is a HAS and inheritance is an IS type of relation.
A 1-1 association is an IS and inheritance is an HAS type of relation.
51
Why is it a best practice to create a specialization of the FileDocument and Image entities?
Otherwise you cannot store a file on an Amazon server.
It is a UML standard.
It is visually a better representation of the use case.
It allows for better security and property configuration based on purpose.
52
What is the default value of the attribute DeleteAfterDownload?
True
False
53
Where are the file(s) or image(s) stored by default?
On the file server located on the application server
On a dedicated Amazon file server
On the local drive of the user
As binary in the contents of an attribute
54
When it is better to place Indexes?
If there are more Read than Write actions.
If you expect it might improve performance.
If a user starts complaining.
If there are more Write than Read actions.
55
What happens when you apply an index?
The speed of Update and Inserts will increase.
The speed of Read actions will decrease.
The speed of Read actions will increase.
The speed of Write actions will increase.
56
The app performance is affected by a reference set (both) because:
Both entities needs to be joined with the reference table and data transfer increases.
There is no impact on performance, this depends only on how the association is queried.
You cannot store additional information in a reference set (both).
The join table must be queried as well.
57
What type of domain model changes can have an impact on the data in the database?
Type changes and Structural changes
Domain model changes and Type changes
Module changes and Project changes
Structural changes and Project changes
58
Why is it a best practice to redeploy your app after cleaning up the model?
Obsolete data in the database cannot have security applied and thus creates a security breach.
It is not considered a best practice; only junior developers benefit from it.
It has always been done this way. Legacy support.
You might be confronted with unexpected and/or complex sync behavior during a next deployment.
59
When localize is set to No, the date displayed in the client is based on the:
User time zone
App time zone
UTC value
Client time zone
60
Localizing a DateTime attribute has an effect on:
Client representation
Both client and application server
Neither client nor application server
Application server handling
61
If both the App and User time zones are set, the value of the localized DateTime attribute displayed in the client depends on:
The App time zone
The User time zone
The Client time zone
The UTC value
62
Jane in the Amsterdam time zone [UTC +2] selects 07/11/2020 in a date picker for a non-localized attribute. What will be the value stored in the database?
07/11/2020 12:00 PM
07/10/2020 10:00 PM
07/11/2020 02:00 AM
07/11/2020 12:00 AM
63
Nick in the Amsterdam time zone [UTC +2] selects 07/11/2020 in a date picker for a non-localized attribute. What will be the date value if Nick converts it to a string in a microflow using formatDateTime?
07/11/2020 12:00 PM
07/11/2020 02:00 AM
07/10/2020 10:00 PM
07/11/2020 12:00 AM
64
You can create a new app from the Mendix Developer Portal.
False
True
65
If a Scrum team gets stuck, because of things that are out of their control, who is responsible to remove those impediments?
The Project Manager
The Development Team
The Product Owner
Scrum Master
66
How many default App Team roles are there?
5
4
7
6
67
A critical success factor for companies working with Mendix is:
Implementing the waterfall project management approach
Knowing object- oriented programming
Working in small cross-functional teams
Working individually on projects depending on expertise
68
What are microflows?
A way to describe the whole application process flow
The custom logic of a Mendix application
A data model of the app
Small development processes
69
What are three microflow components?
Activity, End event, Parameter
Activity, End event, Decision table
Decision table, Exclusive merge, End event
Activity, Decision table, Parameter
70
How many start events can a microflow have?
Unlimited
This depends on the number of input parameters
This depends on the trigger of the microflow
One
71
Microflows can be triggered by:
Entity event, Action button, Default button
Widget event, Action button, Default button
Entity event, Action button, Widget event
Default button, Navigation layout, Widget event
72
What does nested data accomplish?
It is not necessary, but shows other developers that the inner data is unique.
It allows access to many-to-many associations.
It prevents the inner data from being edited by the wrong people.
It constrains the data in one widget in the context of the other.
73
How do you nest data?
By placing a data view within a list view.
By placing a list view within a data view.
By configuring the data source of a list view to use the correct security rule.
By placing a list view inside a tab container.
74
In the retrieve action, when do you use the option “by association”?
Only when you want to retrieve an associated list.
When you want to retrieve the associated object from memory.
Always when you want to retrieve an associated object.
When you want to retrieve the association of an object.
75
Which statement is true?
Microflow expressions are used to change, check, and extract data from available values.
Microflow expressions are used to document the microflow actions.
Microflow expressions are used to define a query to the database.
Microflow expressions are used to express the flow of a microflow.
76
Which activity is used to change the value of an attribute?
Change object
Change variable
Change attribute
Change value
77
Within the expression addDays(Date and time, Integer/Long), what does 'Date and time' represent?
Variable
Data type
Token
Function
78
Which keyboard shortcut provides you with a set of available variables, functions and tokens within the expression editor?
Alt+Space
Shift+Space
Ctrl+Space
Tab+Space
79
Which members of an object available in a microflow are considered to be in the scope of that microflow?
Attributes and associations of the entity
Associations of the entity
Attributes of the entity
Attributes and all entities accessible via association
80
You would like to add 2 new attributes to an entity. Attribute A will be changed more often than viewed and attribute B will be viewed more often than changed. Which types should they be?
Both stored
A - calculated, B – stored
A – stored, B – calculated
Both calculated
81
If a microflow encounters an error, what happens to data that was changed earlier in the flow?
It is committed
It is locked until the microflow reruns successfully
It is deleted
It is rolled back
82
Which of the following is NOT an element of a microflow?
Merge
Parameter
End Event
Decision Flow
83
You can only have one end point in a microflow.
False
True
84
What is the correct naming format of a microflow?
{Entity}_{Description}
Standard IT naming conventions
{Entity}_{Operation}
{Prefix}_{Entity}_{Operation}
85
Which activity allows a rule to be used?
Change variable
Validation feedback
Decision
Merge
86
What is the easiest way to collect feedback from users from within your app?
Use the Feedback widget.
Feedback functionality is automatically included in all Mendix apps.
Provide a Contact Us link in your app.
Make a page that allows users to write and submit feedback.
87
Where is page access configured?
Within pages
Module Security
The domain model
App Security
88
What would be a reasonable validation rule to use for AllowedNumberOfVisitorsPerDay?
Range <= 1000
Regular Expression: numeric characters only
Maximum length: 20
Unique
89
How can you easily manage accounts for your app?
Always log in as a superuser.
Connect navigation to the built-in Account_Overview page
Make login and account management pages.
Edit the database manually
90
Is it possible limit an entity to only one object?
Yes, through a Microflow
Yes, through the Entity Properties
No, this is not possible
Yes, through the Module Security
91
What is a limitation of a sub-microflow compared to a regular microflow?
A sub-microflow may only return a Boolean.
You have a smaller selection of activities.
Branching is not possible.
None. Sub-microflows are equally capable.
92
What main benefit do sub-microflows offer?
Improved performance
Smaller memory usage
Better maintainability
Increased logical capability
93
If you want to leave notes for future developers (or yourself) in a microflow, what can you use?
Annotations
Captions
Comments
Sticky notes
94
What is a limitation of a rule compared to a microflow?
A rule may only return a Boolean.
None. Rules are equally capable.
Branching is not possible.
You have a smaller selection of activities.
95
You’ve replaced a microflow with newer functionality and want to test it. However, you don’t want to delete the old microflow permanently in case something goes wrong. How can you do this?
Deactivate it.
Rename it.
Exclude it from the project.
Soft delete to the recycle bin and restore later.
96
How can you allow users to access parts of an app (like a login page) without needing to log in?
Set account security accordingly.
Relax security for whichever pages need to be accessed.
Set up anonymous users.
Set up trial users.
97
In a microflow, what is a token?
A placeholder variable defined by the developer.
A hash string used in user account validation.
A system-generated value.
A value determining how many sub-microflows may be called in the current microflow.
98
In a microflow expression, “toUpperCase” is an example of what?
A function
A cast
An operation
A string transform
99
In a microflow, what would be an example of a variable?
$Customer
formatDateTime
Round
Empty
100
You need to debug a microflow in production but don’t want to impact your users. How can you trigger debugging only when you personally are running the microflow?
Add a decision to the microflow.
Set a breakpoint condition.
Adjust security accordingly.
Write a microflow expression.