Exam CBAP All QuestionsBrowse all questions from this exam
Question 338

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"?

A.

B.

C.

D.

    Correct Answer:

    In a Use Case diagram, an 'Include' relationship is used when one use case uses the functionality of another use case. This is mandatory behavior, meaning the included use case is always executed when the base use case is executed. In contrast, an 'Extend' relationship is used to show optional behavior that extends the functionality of a base use case. In this scenario, sending a notification is likely a consequence of setting up a new supervisor, implying that it is an included action when setting up a new supervisor. Therefore, the correct relationship would be 'Include.' The correct answer is B.

Discussion
OlivierPaudex

Answer D Send notification is an optional extension that a supervisor can use, means this is an extended relationship between "Send notification" and "Setup new supervisor" A is wrong, the arrow should go from "Setup new supervisor" to "Send notification" B could be right, but nobody tell us that a notification is sent when a supervisor is created C is wrong, the arrow should go from "Send notification" to "Setup new supervisor".

rhsdeal

Option B is correct. Read the question carefully and note the 3 different notifications. example is grocery checkout and calculate total and tax. https://www.uml-diagrams.org/use-case-include.html

nrp26

Extend: allows for the insertion of additional behavior into a use case. The use case that is being extended must be completely functional in its own right and must not depend on the extending use case for its successful execution. This relationship may be used to show that an alternate flow has been added to an existing use case (representing new requirements). • Include: allows for the use case to make use of functionality present in another use case. The included use case does not need to be a complete use case in its own right if it is not directly triggered by an actor. This relationship is most often used either when some shared functionality is required by several use cases or to abstract out a complex piece of logic. Pg 357.

Capie

Option B is correct. When you set up a new Supervisor, a notification is required, meaning it is not optional, include is used when a use case is not optional.

TochToch

Incorrect

rupakarthik

Ans-D this video might be helpful https://youtu.be/zid-MVo7M-E

bim_269

Thank you for the Video. Based on the Video, when u want to send notification, there is another case "Check Supervisor" where it will always check if the user is a supervisor, and this is an include relationship but if the person is not a supervisor, then it will go to set up supervisor because the person must be a supervisor to send notification, this is an extend relationship because it won't always happen, happens only if the person who wants to send notification is not a supervisor. But C is the answer because send notification is the base use case and it should extend to set up supervisor and for this you draw a dash arrow from the extend use case (set up supervisor) with an arrow that points towards the base use case (send notification)

CBAPCohort6

The right answer is D. The supervisor by default has the right to send notification but it can be extended to set up a new supervisor after the two factor authentication is successful

Qualms

Option B. Once a supervisor is set up, a notification gets sent. Hence, it's an "Include" relationship.

siliconvalleykam

Option D

siliconvalleykam

Yes it should be Extend but the representation is correct only in the 4th option. Read about Extend and Include in use case diagram

TochToch

The question states that "A user must have the role of "Supervisor" to use the standard functions "Send mail notification" or "Send SMS notification"." I think this is an Include relationship. For a User to send notification, the user MUST be set up as a Supervisor.The base use case is "Set up Supervisor" which includes "Send notification".I think the Answer is A.

TochToch

Correction: Base use case is "Send Notification" which includes "Set up Supervisor". The include relationship is mandatory.

TochToch

Extend relationship: The use case is optional and comes after the base use case. It is represented by a dashed arrow in the direction of the base use case with the notation <<extend>>. Include relationship: The use case is mandatory and part of the base use case. It is represented by a dashed arrow in the direction of the included use case with the notation <<include>>.

Rabbitsfoot

C. Setup new supervisor ----(extend)----> Send notification In a Use Case diagram, the "extend" relationship is used when one use case adds functionality to another use case. In this scenario, "Setup new supervisor" extends "Send notification" because setting up a new supervisor is an additional step that may occur during the execution of "Send notification" but is not always required. The "include" relationship, on the other hand, is used when one use case includes another as a part of its functionality, which doesn't seem to be the case here. Therefore, option C is the most appropriate choice. See 10.47 in BABOK V3

[Removed]

'Include' is not an option. This relationship tells us that - When Base UC is executed, then Include UC is executed as well. But sending notifications is additional functionality. Then between Cand D, the D option is correct because the Send notification extends the behavior of ' Setup new supervisor' and is not mandatory for execution.