WITH MULTIPLE CHOICE OF QUESTIONS AND
DETAILED CORRECT SOLUTIONS ALREADY
GRADED A+ AND 100% GUARANTEE PASS
(JUST RELEASED!!!!!!!!!)
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.Or
derLine /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.Pr
oduct [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 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