Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Mendix Advanced Exam | Questions with 100% Correct Answers | Latest Update 2024 | Verifi, Exams of Nursing

Mendix Advanced Exam | Questions with 100% Correct Answers | Latest Update 2024 | Verified Inheritance is used to: - 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? - ANSWER >>> Two tables, one per entity

Typology: Exams

2024/2025

Available from 10/30/2024

dan-can
dan-can 🇺🇸

5

(1)

493 documents

1 / 39

Toggle sidebar

Related documents


Partial preview of the text

Download Mendix Advanced Exam | Questions with 100% Correct Answers | Latest Update 2024 | Verifi and more Exams Nursing in PDF only on Docsity!

Mendix Advanced Exam | Questions with 100% Correct Answers | Latest Update 2024 | Verified Inheritance is used to: - 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? - ANSWER >>> Two tables, one per entity What will happen to the ID's after generalizing the Player and Staff entities by the Person entity? - 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?:

  • A 1-1 association and inheritance are both an IS type of relation.
  • A 1-1 association is an IS and inheritance is an HAS type of relation.
  • A 1-1 association is a HAS and inheritance is an IS type of relation.
  • A 1-1 association and inheritance are both an HAS type of relation. - ANSWER
  • A 1-1 association is a HAS and inheritance is an IS type of relation. Why is it a best practice to create a specialization of the FileDocument and Image entities? - ANSWER >>> It allows for better security and property configuration based on purpose.

What is the default value of the attribute DeleteAfterDownload? - ANSWER >>> false Where are the file(s) or image(s) stored by default? - ANSWER >>> On the file server located on the application server When it is better to place Indexes? - ANSWER >>> If there are more Read than Write actions. What happens when you apply an index?

  • ANSWER >>> The speed of Read actions will increase. What is the result of the association in the image below? - ANSWER >>> A list of ID's in the Staff object.

The app performance is affected by a reference set (both) because: - ANSWER

Both entities needs to be joined with the reference table and data transfer increases. Adrian wants to select a staff member for a team. Which domain model would be suitable? A: Staff * - > * Team B: Staff * <- * Team - ANSWER >>> B What type of domain model changes can have an impact on the data in the database? - ANSWER >>> Type changes and Structural changes What are the four stages of data conversion? (multiple ANSWERs are correct) - ANSWER >>> - Deploy and convert

  • Clean up model
  • Model the conversion
  • Extend domain model Why is it a best practice to redeploy your app after cleaning up the model? - ANSWER >>> You might be confronted with unexpected and/or complex sync behavior during a next deployment. What does the function reverse() do? - 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? - ANSWER >>> Apprentice_Buddy What is the correct XPath to retrieve the goals of the buddy of an apprentice? -

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: - ANSWER >>> UTC value Localizing a DateTime attribute has an effect on: - 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: - 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? - ANSWER

07/11/2020 12:00 AM Nick in the Amsterdam time zone [UTC +2] selects 07/11/2020 in a date picker for

  • Deploy and convert - Clean up model - Model the conversion - Extend domain model Why is it a best practice to redeploy your app after cleaning up the model? - ANSWER >>> You might be confronted with unexpected and/or complex sync behavior during a next deployment. What does the function reverse() do? - 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? - ANSWER >>> Apprentice_Buddy What is the correct XPath to retrieve the goals of the buddy of an apprentice? - ## 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: - ANSWER >>> UTC value Localizing a DateTime attribute has an effect on: - 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: - 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? - 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? - ANSWER >>> 07/11/2020 02:00 AM The Mendix Client is: - ANSWER >>> Built on a combination of HTML, CSS, and JavaScript and runs in your browser. Static resources in Mendix: - ANSWER

Include stylesheets transmitted in CSS format to the client. The Communication between the Mendix Runtime and Database Server: - ANSWER

Includes communication between the Apprentice_Buddy What is the correct XPath to retrieve the goals of the buddy of an apprentice? - ## 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: - ANSWER >>> UTC value Localizing a DateTime attribute has an effect on: - 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: - 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? - 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? - ANSWER >>> 07/11/2020 02:00 AM The Mendix Client is: - ANSWER >>> Built on a combination of HTML, CSS, and JavaScript and runs in your browser. Static resources in Mendix: - ANSWER >>> Include stylesheets transmitted in CSS format to the client. The Communication between the Mendix Runtime and Database Server: - 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? - 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? - 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? -

ANSWER >>> A page passed as input parameter by another microflow.

Is the following statement true or false? By association will always be an in- memory retrieve. - 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? - 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? - ANSWER >>> A (aggregated list not used later in flow)

What is an important rule to keep in mind when creating effective indexes? - 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? - 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/O rderManagement.OrderLine /OrderManagement.OrderLine_Order != $Order] - 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/MinimalStoc k > 50] [OrderManagement.OrderLine_Product /OrderManagement.Product/Status = 'Active']] - ANSWER >>> [OrderManagement.OrderLine_Product/O rderManagement.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()] - 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? - 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? - ANSWER

All the requests in the Draft status. Consider the exact same situation as above. What would Admin users see? - 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? - ANSWER >>> Studio Pro would detect an error and prevent a deployment. How does the platform use entity access XPaths to enforce security? - ANSWER The XPaths are added to all the relevant database retrieves.

Where are entity access restrictions applied? - ANSWER >>> On relevant database retrieves. Which of the following best describes how the Mendix platform applies entity access? - 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: - 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? - 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? - 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? - 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? - 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? - ANSWER >>> Simplicity Which operation can be used to select a specific set of rows in a table? - ANSWER

Selection The Set Union operation combines two lists into one that contains: - ANSWER >>> one version of the objects from both lists

What operation combines the data from two different entities into one table? - ANSWER >>> Cartesian product What does the Projection operation do? - ANSWER >>> It allows you to select attributes for all objects. Re-take Knowledge CheckNext What can you use a constrain function for? - ANSWER >>> To filter on strings and dates in XPath queries. Which of the queries below can be used to filter on dates two weekso in the past?

  • ANSWER >>> [%BeginOfCurrentDay%] - 2 * [%WeekLength%] One of your XPath queries that use the contains() function is not performing very

well. What is the most likely root cause?

  • ANSWER >>> You are using the function on a string that is set to 'unlimited'. When using the 'and' operator: - ANSWER

The 'and' operator will give a different result based on how you write the XPath query. The not() function: - ANSWER >>> Generates a slow query. Which statement best describes how you would retrieve all related objects in the most optimal way? - ANSWER >>> When comparing to a related entity, it is enough to stop at the association to get the most optimal query.

Simplicity Which operation can be used to select a specific set of rows in a table? - ANSWER >>> Selection The Set Union operation combines two lists into one that contains: - ANSWER >>> one version of the objects from both lists What operation combines the data from two different entities into one table? - ANSWER >>> Cartesian product What does the Projection operation do? - ANSWER >>> It allows you to select attributes for all objects. Re-take Knowledge CheckNext What can you use a constrain function for? - ANSWER >>> To filter on strings and dates in XPath queries. Which of the queries below can be used to filter on dates two weekso in the past? - ANSWER >>> [%BeginOfCurrentDay%] - 2 * [%WeekLength%] One of your XPath queries that use the contains() function is not performing very well. What is the most likely root cause? - ANSWER >>> You are using the function on a string that is set to 'unlimited'. When using the 'and' operator: - ANSWER >>> The 'and' operator will give a different result based on how you write the XPath query. The not() function: - ANSWER >>> Generates a slow query. Which statement best describes how you would retrieve all related objects in the most optimal way? - 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? - 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? - ANSWER >>> The removal of duplicate data from your domain model. Why would you want to do normalization?

  • ANSWER >>> To remove duplicate data from your app so you can avoid insertion, update, and deletion anomalies. What is denormalization? - 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. - 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 - 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. - 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. - 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? - 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? - ANSWER >>> Log node

  • ANSWER >>> In the console What is the difference between log messages in Studio Pro and log messages in the Developer portal? -

ANSWER >>> The log messages in the Developer Portal have a Source field. Where do log messages come from? - ANSWER >>> Log messages are written by the person who created the functionality. When the log level is set to Error, messages from which other log level will also show up in your logs? - ANSWER >>> Critical Which log level is used to warn about unexpected behavior that doesn't need immediate action? - ANSWER >>> Warning Which statement about log nodes is true?

  • ANSWER >>> Log nodes are dynamically registered on application startup.

Which of the following statements about log levels is true? - 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? - ANSWER >>> The developer. Which description best describes a Stack Trace? - ANSWER >>> A list of functions that were being called when an error occurred. Why should you use an enumeration for your log node names? - 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? - 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? - 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? - 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? - 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? - 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?

  • ANSWER >>> Use a decision to first check whether the association exists. If it does, retrieve the associated object.