CBAP · Question #440
A business analyst (BA) is working on a payment system (PS) implementation. A set of systems which should interact with a new system has been identified. The business analyst defined that a user…
The correct answer is C. Option C. In UML use case diagrams, the <<include>> relationship represents a mandatory dependency where one use case always invokes another, such as requiring two-factor authentication before setting up a new supervisor.
Question
A business analyst (BA) is working on a payment system (PS) implementation. A set of systems which should interact with a new system has been identified. The business analyst defined that a user with role of "Supervisor" in the PS must pass a two-factor authentication before an execution of the functions: "Change system parameters" and "Set up new supervisor." A user must have the role of "Supervisor" to use the standard functions "Send mail notification" or "Send SMS notification". The BA defined the following use cases:
- "Change system parameters"
- "Setup new supervisor"
- "Send mail notification"
- "Send SMS notification"
- "Send notification"
- "Pass a two-factor authentication"
The BA wants to create a Use Case diagram. Which standard relationship should be defined between "Setup new supervisor" and "Send notification?
Options
- AOption A
- BOption B
- COption C
- DOption D
How the community answered
(38 responses)- A5% (2)
- B3% (1)
- C79% (30)
- D13% (5)
Why each option
In UML use case diagrams, the <<include>> relationship represents a mandatory dependency where one use case always invokes another, such as requiring two-factor authentication before setting up a new supervisor.
This option incorrectly represents the relationship, either using the wrong stereotype or an incorrect arrow direction that misrepresents the mandatory dependency.
This option likely depicts an <<extend>> relationship, which models optional or conditional behavior, whereas two-factor authentication is explicitly required and therefore not optional.
The <<include>> stereotype in UML indicates that the behavior of the included use case is always incorporated into the base use case - it is not optional. Since the requirement states that 'Pass two-factor authentication' must occur before 'Setup new supervisor' executes, the relationship is <<include>>. Option C correctly depicts an <<include>> arrow directed from 'Setup new supervisor' toward 'Pass two-factor authentication', reflecting that authentication is a mandatory, non-conditional part of the supervisor setup flow.
This option likely depicts a generalization or an incorrect association type that does not capture the mandatory invocation of authentication within the supervisor setup use case.
Concept tested: UML <<include>> relationship for mandatory use case dependencies
Source: https://www.omg.org/spec/UML/2.5.1/
Topics
Community Discussion
No community discussion yet for this question.