





















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Mendix Advanced Study Guide WELL ILLUSTRATED
Typology: Exams
1 / 29
This page cannot be seen from the preview
Don't miss anything!






















1 / 29
1.Inheritance is used to:: Inherit the structure and behavior of an entity, so that all specializations can be used individually within the same process. 2.What is the result of generalizing the Player entity by the Person entity?: Two tables, one per entity 3.What will happen to the ID's after generalizing the Player and Staff entities by the Person entity?: The ID's of Player and Staff will keep their own set and sequence and will equal the ID in the Person table. 4.Which statement is correct?:
2 / 29 1 association is a HAS and inheritance is an IS type of relation. 5.Why is it a best practice to create a specialization of the FileDocument and Image entities?: It allows for better security and property configuration based on purpose. 6.What is the default value of the attribute DeleteAfterDownload?: false 7.Where are the file(s) or image(s) stored by default?: On the file server located on the application server 8.When it is better to place Indexes?: If there are more Read than Write actions. 9.What happens when you apply an index?: The speed of Read actions will increase. 10.What is the result of the association in the image below?: A list of ID's in the Staff object. 11.The app performance is affected by a reference set (both) because:: Both entities needs to be joined with the reference table and data
4 / 29 15.Why is it a best practice to redeploy your app after cleaning up the mod- el?: You might be confronted with unexpected and/or complex sync behavior during a next deployment. 16.What does the function reverse() do?: It changes the direction in which the association is queried. 17.What is the best naming for a self-reference where the buddy is referenced by an apprentice?: Apprentice_Buddy 18.What is the correct XPath to retrieve the goals of the bud- dy of an apprentice?: [SoccerSquad.Goal_Player/SoccerSquad.Player/Soccer- Squad.Apprentice_Buddy [reversed()] = '[%CurrentObject%]'] 19.When localize is set to No, the date displayed in the client is based on the:: UTC value 20.Localizing a DateTime attribute has an effect on:: Client representation
5 / 29 21.If both the App and User time zones are set, the value of the localized DateTime attribute displayed in the client depends on:: The Client time zone 22.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 data- base?: 07/11/2020 12:00 AM 23.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/ 02:00 AM 24.The Mendix Client is:: Built on a combination of HTML, CSS, and JavaScript and runs in your browser. 25.Static resources in Mendix:: Include stylesheets transmitted in CSS format to the client. 26.The Communication between the Mendix Runtime and Database Server:: -
7 / 29 31.Is there ever a reason to retrieve an object from database instead of over association?: Yes, in cases where constraints other than a single association are applicable or where stored database values are required. 32.In which microflow will the combination retrieve and aggregation be opti- mized?: A (aggregated list not used later in flow) 33.What is an important rule to keep in mind when creating effective index- es?: The index should have the same order of attributes defined as in search and retrieve queries in order to be available for queries. 34.Which of the following is NOT a benefit that XPath provides to the Mendix Platform?: XPath can be used to automatically generate pages and widgets to show data on. 35.What does the following XPath query return? //Product [OrderManagement.OrderLine_Product/OrderManagement.OrderLine /Order-
8 / 29 Management.OrderLine_Order != $Order]: All the products that are ordered at least once, but not on the affected order. 36.This XPath query can be optimized as follows: [OrderManagement.Or- derLine_Product /OrderManagement.Product/MinimalStock > 50] [OrderMan- agement.OrderLine_Product /OrderManagement.Product/Status = 'Active']]:
50 and Status = 'Active'] ] 37.The request as result of this XPath can be optimized as follows: [Order- Management.Stock_Product /OrderManagement.Product/Status = 'Deactivat- ed' or OrderManagement.Stock_Supplier /OrderManagement.Supplier/Active = false()]: The request can be optimized by splitting it into different requests and joining the results. 38.Which of the following statements is NOT an XPath best practice
10 / 29 41.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. 42.How does the platform use entity access XPaths to enforce security?: The XPaths are added to all the relevant database retrieves. 43.Where are entity access restrictions applied?: On relevant database re- trieves. 44.Which of the following best describes how the Mendix platform applies entity access?: The platform only grants the access explicitly defined in the entity access rules. 45.In this domain model, assume that House is a specialization of Building::
11 / 29 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 see the SquareFoot attribute in the Edit page. 47.Why is it more secure to add security rules on the entity level?: Entity level restrictions are applied at the database level and are thus automatically applied throughout the application. 48.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?: Administrators and teachers can create teacher accounts. 49.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
13 / 29 54.What does the Projection operation do?: It allows you to select attributes for all objects. Re-take Knowledge CheckNext 55.What can you use a constrain function for?: To filter on strings and dates in XPath queries. 56.Which of the queries below can be used to filter on dates two weekso in the past?: [%BeginOfCurrentDay%] - 2 * [%WeekLength%] 57.One of your XPath queries that use the contains() function is not perform- ing very well. What is the most likely root cause?: You are using the function on a string that is set to 'unlimited'. 58.When using the 'and' operator:: The 'and' operator will give a different result based on how you write the XPath query. 59.The not() function:: Generates a slow query. 60.Which statement best describes how you would retrieve all related
14 / 29 objects in the most optimal way?: When comparing to a related entity, it is enough to stop at the association to get the most optimal query. 61.When should you apply an index?: You should apply indexes on attributes that are used in searches when the performance of your app is not up to par. 62.What is normalization?: The removal of duplicate data from your domain model. 63.Why would you want to do normalization?: To remove duplicate data from your app so you can avoid insertion, update, and deletion anomalies. 64.What is denormalization?: The duplication of information in several entities to increase performance. 65.What set-up items do you need to have in place before creating your REST methods? Choose one of the below.: An entity with attributes, a Published REST service and a resource in the Published REST service
16 / 29 70.Which of the following is a field of a Mendix log message?: Log node 71.: In the console 72.What is the difference between log messages in Studio Pro and log mes- sages in the Developer portal?: The log messages in the Developer Portal have a Source field.
17 / 29 at the Info level occur during normal operation of your app. 78.Who is responsible for writing the error messages that your application generates?: The developer. 79.Which description best describes a Stack Trace?: A list of functions that were being called when an error occurred. 80.Why should you use an enumeration for your log node names?: This allows you to standardize the log node name and group all log node names in your app. 81.How do you ensure that your log node name is available after startup?: Add a log activity to a microflow that you call in the After Startup microflow. 82.You want to add a log event to an error flow on your REST Call to indicate a weather API call failed in your Holiday Request application. Which level of logging should you use?: Warning, you can still continue but someone should look into why the REST call is failing and whether
19 / 29 87.Which of the following statements about lists is true?: A list can have, among others, the following origins: a retrieve action, the creation of a new list, and the result of an input parameter. 88.You have to determine how many customers are in the database and find that there are at least a couple thousand. How do you handle this?: Retrieve all the customers at once and use an aggregate list activity to count them. Because this is an optimized query on the database, it will be very light and safe to use, even for big lists. 89.What does the List Operation tail do?: It grabs all elements in the list except the first element. 90.When would you typically use a List Operation?: - To avoid complex XPaths.
20 / 29 91.You've created a microflow that contains a loop. This loop uses the same logic as a microflow you have already built, so you decide to call this microflow as a sub-microflow inside the loop so that you can reuse the functionality. What do you check before doing this?: - If there are retrieve activities in the sub-microflow for data you already have available in the main microflow, check whether it can be passed along as an input parameter instead.