Docsity

Mendix Platform Security and Performance Optimization, Exams of Business Administration

Toggle sidebar
bg1
MENDIX ADVANCED QUESTIONS EXAM 2024-2025
ACTUAL EXAM 130 QUESTIONS AND CORRECT DETAILED
ANSWERS WITH RATIONALES. GRADED A+
Adrian wants to select a staff member for a team. Which domain model would be suitable?
A: Staff * -> * Team
B: Staff * <- * Team - ANSB
After an object has been connected to a template, what you must ensure to do before saving this
template? - ANSConnecting matching attributes.
By using conditional editability you can change elements to be either? - ANSEditable or read-only
Can you pause a microflow only when certain conditions are met? - ANSYes, by adding a conditional
breakpoint.
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? - ANSAll
the requests in the Draft status.
Consider the exact same situation as above. What would Admin users see? - ANSNo 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? - ANSStudio Pro would detect an error and prevent a deployment.
Error handling can occur in microflows that are triggered by: - ANSBoth, a user and the system
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Mendix Platform Security and Performance Optimization and more Exams Business Administration in PDF only on Docsity!

MENDIX ADVANCED QUESTIONS EXAM 2024-

ACTUAL EXAM 130 QUESTIONS AND CORRECT DETAILED

ANSWERS WITH RATIONALES. GRADED A+

Adrian wants to select a staff member for a team. Which domain model would be suitable? A: Staff * -> * Team B: Staff * <- * Team - ANSB After an object has been connected to a template, what you must ensure to do before saving this template? - ANSConnecting matching attributes. By using conditional editability you can change elements to be either? - ANSEditable or read-only Can you pause a microflow only when certain conditions are met? - ANSYes, by adding a conditional breakpoint. 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? - ANSAll the requests in the Draft status. Consider the exact same situation as above. What would Admin users see? - ANSNo 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? - ANSStudio Pro would detect an error and prevent a deployment. Error handling can occur in microflows that are triggered by: - ANSBoth, a user and the system

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? - ANSAdministrators and teachers can create teacher accounts. How can I test my POST method? Choose one of the below. - ANSFind 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. - ANSGo 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. How do you ensure that your log node name is available after startup? - ANSAdd a log activity to a microflow that you call in the After Startup microflow. How does the platform use entity access XPaths to enforce security? - ANSThe XPaths are added to all the relevant database retrieves. If both the App and User time zones are set, the value of the localized DateTime attribute displayed in the client depends on: - ANSThe Client time zone If I had a device with a screen width of 800px which column class prefix would be used? - ANScol-sm-* If you wanted to provide feedback to your users that they had entered their date of birth in the wrong format, which visual cue would be best suitable? - ANSWe're sorry, but you need to enter your date of birth in mm/dd/yyyy format If you wanted your users to enter a multi-lined delivery note to go with their order, what widget would you use? - ANSTextarea In this domain model, assume that House is a specialization of Building: - ANSAdmin 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? - ANSAdmin users will not see the SquareFoot attribute in the Edit page. Static resources in Mendix: - ANSInclude stylesheets transmitted in CSS format to the client. The app performance is affected by a reference set (both) because: - ANSBoth entities needs to be joined with the reference table and data transfer increases. The Communication between the Mendix Runtime and Database Server: - ANSIncludes communication between the supported database servers using JDBC. The Mendix Client is: - ANSBuilt on a combination of HTML, CSS, and JavaScript and runs in your browser. The Menu Bar is limited to how many levels deep? - ANSTwo The Navigation Tree is limited to how many levels deep? - ANSThree The not() function: - ANSGenerates a slow query. The pre-processor Sass helps with what? - ANSMaintaining your CSS stylesheets 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()] - ANSThe request can be optimized by splitting it into different requests and joining the results. The Set Union operation combines two lists into one that contains: - ANSone version of the objects from both lists The Simple Menu Bar is limited to how many levels deep? - ANSOne

This XPath query can be optimized as follows: [OrderManagement.OrderLine_Product /OrderManagement.Product/MinimalStock > 50] [OrderManagement.OrderLine_Product /OrderManagement.Product/Status = 'Active']] - ANS[OrderManagement.OrderLine_Product/OrderManagement.Product [MinimalStock > 50 and Status = 'Active'] ] To be a good UX designer you should always? - ANSKnow the user To start customizing your Mendix application you should: - ANSStart with using and customizing Mendix AtlasUI Submit Answers To which of the following errors types does the built-in consistency checker in the Modeler alert you? - ANSTechnical issues in your model. Usability design is concerned with? - ANSThe accessibility and ease-of-use of your application. What are the four stages of data conversion? (multiple answers are correct) - ANS- Deploy and convert

  • Clean up model
  • Model the conversion
  • Extend domain model What are the three triggers options of widget events? - ANSOn-enter, on-change and on-leave What can you use a constrain function for? - ANSTo filter on strings and dates in XPath queries. What do you need to take into account when using Sass? - ANSYou need a compilation tool What does a GET method do? Choose one of the below - ANSAllows information sharing between my app and other apps, where the other system can determine when to retrieve that shared information.

What is denormalization? - ANSThe duplication of information in several entities to increase performance. What is normalization? - ANSThe removal of duplicate data from your domain model. What is NOT an advantage of using the database source option versus the XPath option? - ANSThe database source option can be used to specify constraints that span entities. What is the best approach to retrieve an object over association, while also checking whether the association exists? - ANSUse a decision to first check whether the association exists. If it does, retrieve the associated object. What is the best naming for a self-reference where the buddy is referenced by an apprentice? - ANSApprentice_Buddy What is the correct XPath to retrieve the goals of the buddy of an apprentice? - ANS[SoccerSquad.Goal_Player/SoccerSquad.Player/SoccerSquad.Apprentice_Buddy [reversed()] = '[%CurrentObject%]'] What is the default value of the attribute DeleteAfterDownload? - ANSfalse What is the difference between log messages in Studio Pro and log messages in the Developer portal? - ANSThe log messages in the Developer Portal have a Source field. What is the result of generalizing the Player entity by the Person entity? - ANSTwo tables, one per entity What is the result of the association in the image below? - ANSA list of ID's in the Staff object. What operation combines the data from two different entities into one table? - ANSCartesian product

What set-up items do you need to have in place before creating your REST methods? Choose one of the below. - ANSAn entity with attributes, a Published REST service and a resource in the Published REST service What type of domain model changes can have an impact on the data in the database? - ANSType changes and Structural changes What type of input parameter do you need for the delete microflow belonging to the delete method? - ANSA unique ID to be able to retrieve the object to delete. What will happen to the ID's after generalizing the Player and Staff entities by the Person entity? - ANSThe ID's of Player and Staff will keep their own set and sequence and will equal the ID in the Person table. When inheriting layouts Mendix recommends - ANSa maximum of 3 When it is better to place Indexes? - ANSIf there are more Read than Write actions. When localize is set to No, the date displayed in the client is based on the: - ANSUTC value When should you apply an index? - ANSYou should apply indexes on attributes that are used in searches when the performance of your app is not up to par. When the log level is set to Error, messages from which other log level will also show up in your logs? - ANSCritical When using the 'and' operator: - ANSThe 'and' operator will give a different result based on how you write the XPath query. When will this microflow break? - ANSEach time the breakpoint is passed. When would you typically use a List Operation? - ANS- To avoid complex XPaths.

Which of the following best describes how the Mendix platform applies entity access? - ANSThe platform only grants the access explicitly defined in the entity access rules. Which of the following does the Mendix AtlasUI Framework NOT enable? - ANSDocumentation for your microflows Which of the following is a field of a Mendix log message? - ANSLog node Which of the following is a Scroll Behavior option for a Scroll Container? - ANSFull widget Which of the following is a valid Mendix token? - ANSCurrentUser Which of the following is an important component of a layout? - ANSPlaceholders Which of the following is FALSE about the Styling Layer?

  • It focuses on the emotional experience of the user
  • An example would be making a button blue
  • It concerns changing the look and feel of individual elements
  • It captures the accessibility of the application - ANSIt focuses on the emotional experience of the user Which of the following is NOT a benefit of good typography hierarchy?
  • Ease of navigation
  • Keeps cost low
  • Improves usability
  • Enhances readability - ANSKeeps cost low Which of the following is NOT a benefit that XPath provides to the Mendix Platform? - ANSXPath can be used to automatically generate pages and widgets to show data on.

Which of the following is not a possible source of data for a microflow? - ANSA page passed as input parameter by another microflow. 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? - ANSSelect the missing object in the properties of the template. Which of the following statements about lists is true? - ANSA list can have, among others, the following origins: a retrieve action, the creation of a new list, and the result of an input parameter. Which of the following statements about log levels is true? - ANSMessages at the Info level occur during normal operation of your app. Which of the following statements is FALSE?

  • UX deals with human-computer interaction
  • UI design is more important than UX design
  • UX design means User Experience design
  • Those who work on the UX are called UX Designers - ANSUI design is more important than UX design Which of the following statements is NOT an XPath best practice with regards to optimal performance? - ANSDo not use XPath when you can use SQL instead. Which of the following statements is true? - ANSThe output of log nodes can be used to isolate problems and place breakpoints in a smarter way. Which of the queries below can be used to filter on dates two weekso in the past? - ANS[%BeginOfCurrentDay%] - 2 * [%WeekLength%] Which of these is NOT a tool Mendix provides to help create engaging user experiences? - ANSA Graphic Design Editor Which one is NOT a menu widget?

Why is it a best practice to create a specialization of the FileDocument and Image entities? - ANSIt allows for better security and property configuration based on purpose. Why is it a best practice to redeploy your app after cleaning up the model? - ANSYou might be confronted with unexpected and/or complex sync behavior during a next deployment. Why is it more secure to add security rules on the entity level? - ANSEntity level restrictions are applied at the database level and are thus automatically applied throughout the application. Why should you use an enumeration for your log node names? - ANSThis allows you to standardize the log node name and group all log node names in your app. Why should you use familiar UI patterns? - ANSTo help your users feel more at home Why would you want to do normalization? - ANSTo remove duplicate data from your app so you can avoid insertion, update, and deletion anomalies. 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? - ANSUse 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 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? - ANSRetrieve 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. You need to create error handling for JAVA actions because: - ANSMendix is not able to catch errors that occur in a JAVA action by default. You need to determine what day of the week it is. What is the easiest way to do this? - ANSUse the formatDateTime function to achieve this.

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? - ANSWarning, you can still continue but someone should look into why the REST call is failing and whether further action is needed. 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? - ANS- 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.

  • You make sure that there are no commits in the sub-microflow, since it is not good for your application to commit inside of a loop.
  • If the sub-microflow uses a return value, you check whether it is really needed. Your application contains a microflow that calls three sub-microflows. Each of these sub-microflows does a retrieve from the database on the same entity. Should you change this? - ANSYes, you should do the retrieve in the main microflow and then pass it along to the three sub-microflows as an input parameter.