








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!









accepting the risks of duplication, what are benefits of denormalization - ANSit can increase performance and management and reporting of data easier. how are variables indicated in a microflow - ANSwith a dollar sign how can you find large Xpaths effectively. - ANSusing find advanced how can you gain additional information about a log message? - ANSby double clicking on it. How do you analyze SQL Queries in Mendix. - ANSBy setting the log level on ConnectionBus_Retrieve to Trace and checking the console logs. How do you show multiple specialized entities in the same list view? - ANSBy adding a template for every specialized entity while using the default for the generalized entity. What are CRUD functions called within a REST API? - ANSMethods What are the 4 stages of a domain model restructering? - ANS1. extend your domain model
what are two of the most used log nodes? - ANSMicroflow engine and ConnectionBus what can trigger a microflow? - ANSa user or the system What do you need to do after an Object type decision? - ANSCast to entity to the correct specialization. what does 'User management' do? - ANSIt gives the user role in question rights to manages user from all or selected user roles. what does a log node stand for? - ANSIt indicates the part of the app that the log message came from What does a REST API do? - ANSIT communicates via HTTP requests to perform standard database functions like CRUD. What does a retrieve followed by an aggregated list do? - ANSIt returns an optimized query from the database with the result of the aggregated list. what does an error end event do? - ANSit throws an error in all parent microflows after executing custom error handler flow. What does error handling - custom with rollback do? - ANSeverything up to the error will be rolled back, only changes over the error handler flow will be executed what does error handling - custom without role back do? - ANSeverything up to the error is not rolled back, the microflow will continue over the error handler flow. What does localization on a datetime attribute do? - ANSIt changes the datetime value to the time zone of the user when used or viewed. The value is still stored on UTC time. What does the DELETE method do? - ANSit deletes a single object based on specified identifiers.
What is a favourable alternative to using the 'Or' operator in a Xpath? - ANSDoing two separate retrieves and merging them into one list. What is a Generalized entity? - ANSAn entity that lends its attributes, associations, event handlers, validation rules and any other properties to another entity. What is a insertion anomaly? - ANSthe unintended duplication of data. what is a library error message? - ANSa error message written by the developers of the libraries used by modules or java actions, these are very rare. what is a mendix error message? - ANSa error message written by developers of the platform what is a module error message? - ANSa error message written by a module developer What is a Non-Persistable entity? - ANSAn entity that can only be saved in runtime memory. What is a Persistable entity? - ANSAn Entity that can be saved in the database. What is a potential downside of before and after commit microflows? - ANSThey can cause performance issues What is a primitive variable? - ANSa microflow variable that consists of a boolean, date and time, decimal, enumeration, integer or string value type. what is a rule? - ANSa microflow that cannot manipulate data, call web services, import xml or generate documents an always returns a boolean. Rules can be used in Decisions. What is a Specialized entity? - ANSAn entity that inherits all or part of its attributes, associations, event handlers, validation rules and any other properties from another entity.
what is a stack trace? - ANSa list of functions that were in memory when the error occurred what is a token? - ANSa special type of variable that is system-generated. what is a update anomaly? - ANSThe incorrect updating of data in multiple place, causing inconsistent data. What is an API? - ANSAn Application Programming Interface that allows two applications or software systems to communicate with each other using a set of definitions and protocols. What is an index? - ANSAn extra table for a given entity in the database with ID's and a specified attribute(s) in a sorted order which allows for faster queries. What is considered a best practice around log nodes - ANSusing Enumerations to store the log node names to ensure consistency What is important for the User message of API error handling. - ANSThe message should not contain any technical information while information then of what steps to take next. What is mendix runtime? - ANSThis is the application server that provides the Runtime environment of your apps and executes any logic defined in the application model. it talks with both the mendix client and the database server. What is needed to use the Owner button on the Xpath constraint tap of Access rules? - ANSSystem member 'store owner' needs to be turned on. what is the correct order of a log message? - ANSTimestamp, source, log level, log node, log message What is the Database server? - ANSAny form of database that is supported by mendix. stores all data from your app and is structured based on the domain models. it talks with mendix runtime.
What should be kept in mind while retrieving data from the database? - ANSDo not query the database more than necessary? What should you do if the Object type decision is empty? - ANSCreate a log message, since this is unexpected behavior. What should you use when retrieving a single resource based on a unique identifier. - ANSA path parameter. what the unstructured field in a log node? - ANSlog message what type of resource are pages, stylesheets and images in mendix? - ANSStatic resources When an Xpath has multiple constrains, what is important to remember? - ANSthe order in which the constrains are set, this can impact the result. When assigning user roles, what is in important to keep in mind? - ANSGiving users more than one user role will increase complexity. when building a domain model, what is denormalization? - ANSthe intentional duplication of places of data storage When building a domain model, what is normalization? - ANSthe removal of duplicate places of data storage. when calling an REST API, what does the status code 200 stand for? - ANSSuccesfull operation, reponse has content. when calling an REST API, what does the status code 201 stand for? - ANSSuccesfull creation of new object.
when calling an REST API, what does the status code 204 stand for? - ANSSuccesfull operation, response has no content. when calling an REST API, what does the status code 400 stand for? - ANSError, failed validation. when calling an REST API, what does the status code 401 stand for? - ANSError, custom authentication failed. when calling an REST API, what does the status code 403 stand for? - ANSError, authentication succesfull, but not authorized when calling an REST API, what does the status code 404 stand for? - ANSError, object defined in a path parameter is not found. when calling an REST API, what does the status code 409 stand for? - ANSError, object cannot be updated because of an earlier update. when calling an REST API, what does the status code 500 stand for? - ANSInternal server error, an error occurred when processing the request. When can the use of the 'contains()' function cause performance issues? - ANSwhen using it on a string that is set to 'unlimited' When defining entity access, what should default rights for new users be? - ANSNone, this forces you to consider access rights every time you add a rule. When do you use an index? - ANSOn entities with a lot of objects that are read more than written and on the most searched attributes, that also have many possibilities. when does a list operation take a similar function as an xpath? - ANSwhen dealing with lists that only exist in memory
When should an object be refreshed in client? - ANSonly when data needs to be shown to a user directly after the microflow is complete. when should you apply entity access to a microflow? - ANSWhen a microflow is exposed to Anonymous users or deeplinks, it works with sensitive data or approves important workflow items. When should you turn localization off? - ANSwhen time offset is irrelevant when should you use a 1-1 association over inheritance? - ANSwhen the entity in question isn't a true specialization of the generalized entity and/or the generalized entity's properties are not required when dealing with the entity in question. When using an Xpath multiple times, why should you keep the order the same? - ANSthis optimizes data queries, since they already exist in memory but the database can only recognize that if the xpath is the same. When using anonymous users, what is important to keep in mind. - ANSLimit their access to entities, modules, pages and microflows to the absolute necessities and try to make use of non-persistent entities to protect your database. when using list operations, what does contains do? - ANSchecks if every element in the first parameter is also present in the second parameter. when using list operations, what does Equals do? - ANSchecks if both parameters have the same elements. when using list operations, what does Filter do? - ANSreturns a list of all the objects that match a given value when using list operations, what does Find do? - ANSReturns the first object which matches a given value when using list operations, what does Head do? - ANSreturns the first element of a given list
when using list operations, what does Intersect do? - ANScreates a list that contains all the elements present in both parameters given. when using list operations, what does Sort do? - ANSsorts a list based on a given value when using list operations, what does Subtract do? - ANScreates a list that contains all elements in the first parameter, without the elements that were also present in the second parameter. when using list operations, what does Tail do? - ANSReturn a list of all the elements of a given list, except the first one. when using list operations, what does Union do? - ANSit combines two lists while avoiding duplicates When using the User or Account entities in Mendix, what is considered best practice? - ANScreate a 1- association with the entity you want to link, instead of using inheritence. When will an 'Incomplete' App status be oke? - ANSWhen you have not configured access rules to an entity that is only used in microflows. when will entity access be applied? - ANSwhen retrieving or interacting with data through a widget or when entity access is applied on a microflow. When working with a lot of decisions in one flow, what is considered best practice. - ANSUse sub-flows to keep the parent flow manageable when working with API's, what are the different types of authentication? - ANSBasic auth, bearer token, api key and OAuth client grant. When working with API's, what is recommended practice around user roles? - ANScreate a separate user role that only has access to your API service and nothing else and disable 'Check security' for that role.
when writing Xpaths, having multiple sets of square brackets equates too... - ANShaving one set of square brackets with an 'and' operator. where are log messages shown? - ANSin the console or in the developer portal. where can Xpaths be used? - ANSin microflows, security and on pages. Where can you add documentation to your API - ANSto Published services, Resources, Operations summery field, object message definition field and attribute message definition field where should you focus on in a stack trace? - ANSthe first 10 to 20 lines which access rules get check by the Client and runtime? - ANSCreate and delete Which interactions does not give a error and log message when trying to interact with an object you don't have rights to? - ANSRead, all object that you don't hold rights to will not be retrieved from the database. which methods are considered idempotent? - ANSGET, PUT, DELETE, HEAD, OPTIONS which methods are considered nether safe nor idempotent? - ANSPOST, PATCH which methods are considered safe and idempotent? - ANSGET, HEAD, OPTIONS which methods are considered safe? - ANSGET, HEAD, OPTIONS while building xpaths, what should be kept in mind while using associations? - ANSlonger paths over associations include more entities that need to be checked, which exponentially increase the amount of resources consumed. While building xpaths, what should generally not be put inside a not() statement? - ANSAssociations
while building xpaths, when should two constrains be combined? - ANSwhen they consume the same path. While using batches, when should you use a changing offset? - ANSwhen the changes you are making do not impact the size of the retrieved list. while using batches, why should you sort your retrieved list? - ANSThe ensure that the order of the list is the same everytime you retrieve and no objects get skipped. Why is creating a new entity and making it a specialization of the FileDocument or Image entity preferred over using original entities? - ANSThe original entities are part of the System module, which makes them ineditable. Why is the main downside of a - association - ANSIt uses a lot more memory that other associations. Why should you register your log nodes in a after startup flow. - ANSto make sure that they are visible from the start, because they are dynamically generated Why should you use inheritence? - ANSIt allows you to make reusable microflow, which increases the consistency and maintainability of your app. Why would you choose database over Xpath as a data source for a list view? - ANSConstrains are easier to specify and are less resource intensive, furthermore they can be used by offline mobile apps. why would you use Decisions over IF-ELSE-THEN statements? - ANSto improve the readability of a microflow