QUESTIONS AND CORRECT DETAILED ANSWERS WITH
RATIONALES||ALREADY GRADED A
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? A. Yes, because
Accounts are a specialization of the User entity.
B. No, because teachers will have the ability to edit the accounts of
any Student, not just their own.
C. Yes, because now Teachers can edit the account details of the
Students.
D. No, because only Admins should have the ability to edit
accounts.
Submit Answers - ANSWER -B. No, because teachers will have the
ability to edit the accounts of any Student, not just their own.
What is the difference between log messages in Studio Pro and log
messages in the Mendix portal?
The log messages in the Mendix Portal have a Source field.
The log messages in the Mendix Portal have a Web field.
,The log messages in the Mendix Portal have a Destination field.
The log messages in the Mendix Portal have a Cloud field. -
ANSWER -The log messages in the Mendix Portal have a Source
field.
Where do log messages come from?
Log messages are written by the person who created the
functionality.
Mendix Assist generates the log messages for all Mendix
applications. The developers at Mendix write all log messages
you will encounter in a Mendix application.
They are written by the IEEE log commission to ensure log
messages conform to standards. - 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?
All log levels
Debug
Critical
Warning - ANSWER -Critical
Which log level is used to warn about unexpected behavior that
doesn't need immediate action?
Debug
,Error
Warning
Info - ANSWER -Warning
Which statement about log nodes is true?
Log nodes are dynamically registered on application startup.
Mendix has a list of predefined log nodes. No other nodes can be
defined.
Log nodes are defined in the Mendix portal.
Log nodes are added through the Set Log Level screen in Studio
Pro. - ANSWER Log nodes are dynamically registered on
application startup.
Which of the following statements about log levels is true?
Messages at the Info level occur during normal operation of your
app.
Messages at the Warning level need to be resolved immediately.
Messages at the Trace level need your immediate attention.
Messages at the Debug level signal a big problem with your
application. - 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?
The developer.
, The project manager.
The user.
Logs are generated automatically. - ANSWER -The developer.
Which description best describes a Stack Trace?
A list of functions that might have the same problem as the error
you're experiencing.
A list of functions that were being called when an error occurred.
A list of objects that were in memory at the time the error occurred.
A series of log messages at the log level Trace that are related.
Submit Answers - ANSWER -A list of functions that were being
called when an error occurred.
Why should you use an enumeration for your log node names?
You should not, log node names should use a special entity to get
their names.
You should not, constants are the preferred for log node names.
This allows you to standardize the log node name and group all log
node names in your app.
Log events only accept enumerations as input for the 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?