QUESTIONS AND VERIFIED ANSWERS| ALREADY GRADED A
Inheritance is used to:
A. Reuse attributes of an entity on other entities, so that you don't need to add and
maintain them multiple times.
B. Inherit the structure and behavior of an entity, so that all specializations can be used
individually within the same process.
C. Keep your domain model maintainable by inheriting the attributes and associations.
D. Inherit the history of an entity. -
Answers-B. 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?
A. Three tables, one per entity plus a join table
B. A single link table to store the ID's of inherited objects
C. Two tables, one per entity
D. A single table containing the Player and Person attributes -
Answers-C. Two tables, one per entity
What will happen to the ID's after generalizing the Player and Staff entities by the
Person entity?
A. There are no changes to the ID's when inheriting.
B. The ID of the Person part of a Player or Staff will differ from the specialization part.
C. The ID's of Player and Staff will keep their own set and sequence and will equal the
ID in the Person table.
D. Same set and sequence for Player and Staff, the ID of person will differ. -
Answers-C. 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. A 1-1 association is a HAS and inheritance is an IS type of relation.
B. A 1-1 association and inheritance are both an HAS type of relation.
C. A 1-1 association and inheritance are both an IS type of relation.
D. A 1-1 association is an IS and inheritance is an HAS type of relation. -
Answers-A. 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?
A. It allows for better security and property configuration based on purpose.
B. Otherwise you cannot store a file on an Amazon server.
C. It is visually a better representation of the use case.
D. It is a UML standard. -
Answers-A. It allows for better security and property configuration based on purpose.
,What is the default value of the attribute DeleteAfterDownload?
A. true
B. false -
Answers-B. false
Where are the file(s) or image(s) stored by default?
A. On the local drive of the user
B. On a dedicated Amazon file server
C. On the file server located on the application server
D. As binary in the contents of an attribute -
Answers-C. On the file server located on the application server
When it is better to place Indexes?
A. If a user starts complaining.
B. If you expect it might improve performance.
C. If there are more Read than Write actions.
D. If there are more Write than Read actions. -
Answers-C. If there are more Read than Write actions.
What happens when you apply an index?
A. The speed of Update and Inserts will increase.
B. The speed of Read actions will increase.
C. The speed of Read actions will decrease.
D. The speed of Write actions will increase. -
Answers-B. The speed of Read actions will increase.
The app performance is affected by a reference set (both) because:
A. You cannot store additional information in a reference set (both).
B. The join table must be queried as well.
C. There is no impact on performance, this depends only on how the association is
queried.
D. Both entities needs to be joined with the reference table and data transfer increases.
-
Answers-D. Both entities needs to be joined with the reference table and data transfer
increases.
What type of domain model changes can have an impact on the data in the database?
A. Structural changes and Project changes
B. Type changes and Structural changes
C. Module changes and Project changes
D. Domain model changes and Type changes -
Answers-B. Type changes and Structural changes
What are the four stages of data conversion? (multiple answers are correct)
A. Search for good conversion tables
B. Skip them all and just do it
, C. Clean up model
D. Model the conversion
E. Deploy and convert
F. Sing a nice song
G. Extend domain model -
Answers-C. Clean up model
D. Model the conversion
E. Deploy and convert
G. Extend domain model
Why is it a best practice to redeploy your app after cleaning up the model?
A. You might be confronted with unexpected and/or complex sync behavior B. during a
next deployment.
C. It is not considered a best practice; only junior developers benefit from it.
It has always been done this way. Legacy support.
D. Obsolete data in the database cannot have security applied and thus creates a
security breach. -
Answers-A. You might be confronted with unexpected and/or complex sync behavior
What does the function reversed() do?
A. It reverses the order of the returned list.
B. It changes the direction in which the association is queried.
C. It reverses the time used for the query.
D. It reverses the previous query so that you can execute it another time. -
Answers-B. 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?
A. Apprentice_Buddy
B. Buddy_Apprentice
C. Person_Buddy
D. Person_Player -
Answers-A. Apprentice_Buddy
What is the correct XPath to retrieve the goals of the buddy of an apprentice?
[SoccerSquad.Goal_Player/SoccerSquad.Player/SoccerSquad.Apprentice_Buddy =
[reversed()] '[%CurrentObject%]']
[SoccerSquad.Goal_Player/SoccerSquad.Player/SoccerSquad.Apprentice_Buddy =
'[%CurrentObject%]']
[SoccerSquad.Goal_Player/SoccerSquad.Player/SoccerSquad.Apprentice_Buddy
[reversed()] = '[%CurrentObject%]']
[[reversed()]
SoccerSquad.Goal_Player/SoccerSquad.Player/SoccerSquad.Apprentice_Buddy =
'[%CurrentObject%]'] -