












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 EXAM MENDIX ADVANCED EXAM
Typology: Exams
1 / 20
This page cannot be seen from the preview
Don't miss anything!













Which of the following are AtlasUI components? - ✔✔✔ Correct Answer > Page Templates, Navigation Layouts and Building Blocks Which statement is correct?:
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. 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. The app performance is affected by a reference set (both) because: - ✔✔✔ Correct Answer > Both entities needs to be joined with the reference table and data transfer increases.
✔✔✔ Correct Answer > [SoccerSquad.Goal_Player/SoccerSquad.Player/SoccerSquad.Apprentice_Buddy [reversed()] = '[%CurrentObject%]'] When localize is set to No, the date displayed in the client is based on the: - ✔✔✔ Correct Answer > UTC value Localizing a DateTime attribute has an effect on: - ✔✔✔ Correct Answer > Client representation 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/ 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.
The Communication between the Mendix Runtime and Database Server: - ✔✔✔ Correct Answer > Includes communication between the supported database servers using JDBC. What is NOT an advantage of using the database source option versus the XPath option? - ✔✔✔ Correct Answer > The database source option can be used to specify constraints that span entities. When you want to show a list of shipped orders, will the Database data source generate a different request than the XPath data source option? - ✔✔✔ Correct Answer > No, the database data source will always lead to the same request as the XPath data source. Which of the following is not a possible source of data for a microflow? - ✔✔✔ Correct Answer > A page passed as input parameter by another microflow. Is the following statement true or false? By association will always be an inmemory retrieve. - ✔✔✔ Correct Answer > False, if objects aren't available in memory, a retrieve by association will automatically result in a database retrieve. 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)
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 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? - ✔✔✔ Correct Answer > All the requests in the Draft status. Consider the exact same situation as above. What would Admin users see? - ✔✔✔ Correct Answer > No results would be returned. Consider the same situation again. What would happen if you granted Admin users access to a page with the Request entity in Studio Pro? - ✔✔✔ Correct Answer > Studio Pro would detect an error and prevent a deployment. How does the platform use entity access XPaths to enforce security? - ✔✔✔ Correct Answer > The XPaths are added to all the relevant database retrieves. Where are entity access restrictions applied? - ✔✔✔ Correct Answer > On relevant database retrieves. 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
The not() function: - ✔✔✔ Correct Answer > Generates a slow query. 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 of the following is a field of a Mendix log message? - ✔✔✔ Correct Answer > Log node
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 submicroflow 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. What is the best approach to retrieve an object over association, while also checking whether the association exists? - ✔✔✔ Correct Answer > Use a decision to first check whether the association exists. If it does, retrieve the associated object. Which of the following statements about lists is true? - ✔✔✔ Correct Answer > 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. 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? - ✔✔✔ Correct Answer > 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. What does the List Operation tail do? - ✔✔✔ Correct Answer > It grabs all elements in the list except the first element. When would you typically use a List Operation? - ✔✔✔ Correct Answer > - To avoid complex XPaths.
What happens when Mendix is not able to finish the transaction successfully and there is no Error Handling implemented? - ✔✔✔ Correct Answer > The transaction is stopped and Mendix will show an error message in the user interface. You need to create error handling for JAVA actions because: - ✔✔✔ Correct Answer > Mendix is not able to catch errors that occur in a JAVA action by default. Error handling can occur in microflows that are triggered by: - ✔✔✔ Correct Answer > Both, a user and the system It is necessary to create a log message and a user message because: - ✔✔✔ Correct Answer > The log message will not appear in the frontend. Which of the following options needs to be selected to fix an error indicating that the there is no object type selected for the Courseplanning import template? - ✔✔✔ Correct Answer > Select the missing object in the properties of the template. After an object has been connected to a template, what you must ensure to do before saving this template? - ✔✔✔ Correct Answer > Connecting matching attributes. Which of the following statements is FALSE?
Which of the following is NOT a benefit of good typography hierarchy?
Correct Answer > Editable or read-only If I had a device with a screen width of 800px which column class prefix would be used? - ✔✔✔ Correct Answer > col-sm-* The pre-processor Sass helps with what? - ✔✔✔ Correct Answer > Maintaining your CSS stylesheets Which of the following does the Mendix AtlasUI Framework NOT enable? - ✔✔✔ Correct Answer > Documentation for your microflows To start customizing your Mendix application you should: - ✔✔✔ Correct Answer > Start with using and customizing Mendix AtlasUI Submit Answers