



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




















Inheritance is used to: - Correct Answer ✅Inherit the structure and behavior of an 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? - Correct Answer ✅Two tables, one per entity What will happen to the ID's after generalizing the Player and Staff entities by the Person entity? - Correct 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?:
Why is it a best practice to create a specialization of the FileDocument and Image entities? - Correct Answer ✅It allows for better security and property configuration based on purpose. What is the default value of the attribute DeleteAfterDownload? - Correct Answer ✅false Where are the file(s) or image(s) stored by default? - Correct Answer ✅On the file server located on the application server When it is better to place Indexes? - Correct Answer ✅If there are more Read than Write actions. What happens when you apply an index? - Correct Answer ✅The speed of Read actions will increase. What is the result of the association in the image below? - Correct Answer ✅A list of ID's in the Staff object.
Why is it a best practice to redeploy your app after cleaning up the model? - Correct Answer ✅You might be confronted with unexpected and/or complex sync behavior during a next deployment. What does the function reverse() do? - Correct Answer ✅It changes the direction in which the association is queried. What is the best naming for a self-reference where the buddy is referenced by an apprentice? - Correct Answer ✅Apprentice_Buddy What is the correct XPath to retrieve the goals of the buddy of an apprentice?
If both the App and User time zones are set, the value of the localized DateTime attribute displayed in the client depends on: - Correct Answer ✅The Client time zone 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? - Correct Answer ✅07/11/2020 12:00 AM 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? - Correct Answer ✅07/11/2020 02:00 AM The Mendix Client is: - Correct Answer ✅Built on a combination of HTML, CSS, and JavaScript and runs in your browser. Static resources in Mendix: - Correct Answer ✅Include stylesheets transmitted in CSS format to the client.
Is there ever a reason to retrieve an object from database instead of over association? - Correct Answer ✅Yes, in cases where constraints other than a single association are applicable or where stored database values are required. In which microflow will the combination retrieve and aggregation be optimized? - Correct Answer ✅A (aggregated list not used later in flow) What is an important rule to keep in mind when creating effective indexes? - Correct Answer ✅The index should have the same order of attributes defined as in search and retrieve queries in order to be available for queries. Which of the following is NOT a benefit that XPath provides to the Mendix Platform? - Correct Answer ✅XPath can be used to automatically generate pages and widgets to show data on. What does the following XPath query return? //Product [OrderManagement.OrderLine_Product/OrderManagement.OrderLine /OrderManagement.OrderLine_Order != $Order] - Correct Answer ✅All the products that are ordered at least once, but not on the affected order.
This XPath query can be optimized as follows: [OrderManagement.OrderLine_Product /OrderManagement.Product/MinimalStock > 50] [OrderManagement.OrderLine_Product /OrderManagement.Product/Status = 'Active']] - Correct Answer ✅[OrderManagement.OrderLine_Product/OrderManagement.Product [MinimalStock > 50 and Status = 'Active'] ] The request as result of this XPath can be optimized as follows: [OrderManagement.Stock_Product /OrderManagement.Product/Status = 'Deactivated' or OrderManagement.Stock_Supplier /OrderManagement.Supplier/Active = false()] - Correct Answer ✅The request can be optimized by splitting it into different requests and joining the results. Which of the following statements is NOT an XPath best practice with regards to optimal performance? - Correct Answer ✅Do not use XPath when you can use SQL instead. 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
Which of the following best describes how the Mendix platform applies entity access? - Correct Answer ✅The platform only grants the access explicitly defined in the entity access rules. In this domain model, assume that House is a specialization of Building: - Correct Answer ✅Admin users will be able to read the SquareFoot attribute in data views for Buildings and read and write in data views for Houses. Referring to the same domain model as was used in question #2, 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? - Correct Answer ✅Admin users will not see the SquareFoot attribute in the Edit page. Why is it more secure to add security rules on the entity level? - Correct Answer ✅Entity level restrictions are applied at the database level and are thus automatically applied throughout the application. 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? - Correct Answer ✅Administrators and teachers can create teacher accounts. 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? - Correct Answer ✅No, because teachers will have the ability to edit the accounts of any Student, not just their own. What is a benefit of assigning only one user role to each user? - Correct Answer ✅Simplicity Which operation can be used to select a specific set of rows in a table? - Correct Answer ✅Selection The Set Union operation combines two lists into one that contains: - Correct Answer ✅one version of the objects from both lists What operation combines the data from two different entities into one table? - Correct Answer ✅Cartesian product
Which statement best describes how you would retrieve all related objects in the most optimal way? - Correct Answer ✅When comparing to a related entity, it is enough to stop at the association to get the most optimal query. When should you apply an index? - Correct Answer ✅You should apply indexes on attributes that are used in searches when the performance of your app is not up to par. What is normalization? - Correct Answer ✅The removal of duplicate data from your domain model. Why would you want to do normalization? - Correct Answer ✅To remove duplicate data from your app so you can avoid insertion, update, and deletion anomalies. What is denormalization? - Correct Answer ✅The duplication of information in several entities to increase performance. What set-up items do you need to have in place before creating your REST methods? Choose one of the below. - Correct Answer ✅An entity with
attributes, a Published REST service and a resource in the Published REST service What does a GET method do? Choose one of the below - Correct Answer ✅Allows information sharing between my app and other apps, where the other system can determine when to retrieve that shared information. How can I test my POST method? Choose one of the below. - Correct Answer ✅Find the Location property of my published REST service, open that URL in your browser, go to the POST button of your collection and add a message. How can you get a response that shows if the POST method was executed correctly including the provided data? Choose one of the below. - Correct Answer ✅Go to the connecting microflow of your POST method, export the information to a JSON String value, change the HTTPResponse object and create an HTTP header object. What type of input parameter do you need for the delete microflow belonging to the delete method? - Correct Answer ✅A unique ID to be able to retrieve the object to delete.
Which statement about log nodes is true? - Correct Answer ✅Log nodes are dynamically registered on application startup. Which of the following statements about log levels is true? - Correct Answer ✅Messages at the Info level occur during normal operation of your app. Who is responsible for writing the error messages that your application generates? - Correct Answer ✅The developer. Which description best describes a Stack Trace? - Correct Answer ✅A list of functions that were being called when an error occurred. Why should you use an enumeration for your log node names? - Correct Answer ✅This allows you to standardize the log node name and group all log node names in your app. How do you ensure that your log node name is available after startup? - Correct Answer ✅Add a log activity to a microflow that you call in the After Startup microflow.
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? - Correct Answer ✅Warning, you can still continue but someone should look into why the REST call is failing and whether further action is needed. Which of the following is a valid Mendix token? - Correct Answer ✅CurrentUser You are creating a microflow where you have a Change Object activity. The change is dependent on a lot of checks and decisions (but, whichever choice, the change always happens). What is the best way to model this microflow? - Correct Answer ✅Use Decisions, but place them in a sub-microflow to determine what the new value should be, and then use the return value of that sub-microflow in the Change Object activity. You need to determine what day of the week it is. What is the easiest way to do this? - Correct Answer ✅Use the formatDateTime function to achieve this.
Which statement about rules is true? - Correct Answer ✅A rule can only be called from within a decision. What is a good reason to use a sub microflow? - Correct Answer ✅- To use it as a 'get or create' microflow.