OMG-OCUP2-INT200 practice question 9 of 10
What characteristic does a behavior port possess?
Full set: 136 questionsIn UML composite structures, a Port is a structural feature that specifies a distinct point of interaction between an EncapsulatedClassifier and its environment. When a Port has its isBehavior property set to true, it is designated as a behavior port. The key characteristic of a behavior port is that any incoming requests or messages arriving at the port are not forwarded to internal parts or sub-components of the classifier. Instead, they are routed directly to the behavior of the owning classifier object (typically its classifierBehavior). This allows the owning object itself to handle incoming interactions directly at its boundary.
A: Incorrect. A behavior port does not own the classifier's behavior; it specifies how incoming requests are directed. B: Incorrect. A behavior port is not required to have a protocol state machine attached to it. C: Incorrect. A behavior port routes messages to the encapsulating classifier's behavior rather than possessing its own separate behavior. E: Incorrect. Interfaces or realize relationships define requirements, whereas a behavior port routes execution calls to the classifier behavior. F: Incorrect. A Port is a structural feature (Property), not a type or kind of Behavior.
- OMG Unified Modeling Language (OMG UML) Specification
Version 2.5.1
Section 11.3.3 (Ports)
p. 189.
- OMG Unified Modeling Language (OMG UML) Specification
Version 2.5.1
Section 11.3.3.1 (Semantics - Behavior Ports)
p. 190.
Keep practicing
Take the free OMG-OCUP2-INT200 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
