Black Friday week: every question bank $9 instead of $15. Ends Monday, Nov 30.
OCUP 2 Advanced · OMG · Classification · Bank updated 2026-11-28
OMG OCUP 2 Advanced (UML 2 Advanced) practice questions: Classification
5 free questions from 8 on this area · answer and explanation for each · no sign-up
These 5 questions come from the Classification section of ExamDeck's OMG OCUP 2 Advanced (UML 2 Advanced) bank: 8 of its 172 original questions are on this area, which carries 14% of the real exam. Each is open without sign-up, with the correct answer, the reasoning for every option and its source. In all, 65 OMG OCUP 2 Advanced (UML 2 Advanced) questions are open on the practice pages; a free account adds 6 more in study mode.
Questions on this page last changed 28 Nov 2026. Exam facts checked 8 Nov 2026.
Free: 6 questions in study mode, no card. All 8 Classification questions and the full OCUP 2 Advanced bank: $9 (regularly $15) one-time.
How this bank fits the current exam. The bank has questions in all eleven of OMG's areas, but not yet in the exam's proportions: Common Structure (21% of the exam), The MOF & Metamodeling (12%) and Interactions (9%) are covered more thinly than their weight. Our questions come only from the open OMG specifications - UML 2.5.1, MOF 2.5.1, fUML 1.5 and Alf 1.1 - not from the books on the info sheet's study list.
The full exam blueprint →
Source: OMG UML 2 Advanced exam info sheet
1/5 · Classification
Circle specializes Ellipse. Ellipse defines a stretch behavior that changes only the major axis, which a Circle cannot perform. The modeler sets isSubstitutable to false on this Generalization. What does that setting change?
A. Circle instances are no longer indirect instances of Ellipse
B. Circle's execution traces need not be a superset of Ellipse's traces
C. Circle no longer inherits the non-private members that Ellipse defines
D. constraints that apply to Ellipse instances stop applying to Circle instances
Answer: B. isSubstitutable only states whether the specific classifier can be used wherever the general one can. If true, the specific classifier's execution traces must be a superset of the general classifier's; if false no such constraint exists. Instance membership, inherited members and constraints are unaffected.
- A. Instance membership comes from the Generalization itself; isSubstitutable does not affect it (9.2.3.2).
- B. When true, the specific classifier's traces must be a superset of the general's; when false that constraint is dropped (9.9.7).
- C. Inheritance of non-private members follows from the Generalization regardless of this property (9.2.3.2).
- D. Constraints applying to a generalization's instances also apply to the specific classifier's instances (9.2.3.2).
Source: OMG Unified Modeling Language 2.5.1 (formal/17-12-05), 9.9.7, p. 180-181 · classification / 9.9.7 Generalization / isSubstitutable
2/5 · Classification · hard
Account owns a private attribute auditKey, and SavingsAccount specializes Account. A modeler creates an InstanceSpecification classified by SavingsAccount and adds a slot whose defining feature is auditKey. Is the slot valid?
A. no, a private attribute of Account is not inherited by SavingsAccount
B. yes, but after SavingsAccount redefines the private attribute
C. yes, a slot may target a private attribute of a generalization
D. no, a slot needs an attribute owned directly by SavingsAccount
Answer: C. Inherited members normally exclude private ones, but the set of features an InstanceSpecification may fill with slots is wider. It includes direct and inherited attributes, private attributes in generalizations, and association member ends, while excluding redefined features. A slot for the private attribute of the parent is therefore valid.
- A. It is true that private members are not inherited, but slottable features also cover private attributes in generalizations (9.9.4).
- B. Redefinition is not needed; a redefined feature would in fact be excluded from the slottable set (9.9.4).
- C. allSlottableFeatures includes private attributes in generalizations, and the defining_feature rule accepts them for the instance's classifier (9.9.4, 9.9.9).
- D. Slots may use inherited attributes and those of generalizations, so direct ownership is not required (9.9.9).
Source: OMG Unified Modeling Language 2.5.1 (formal/17-12-05), 9.9.4, p. 174-178 · classification / 9.9.4 Classifier / allSlottableFeatures
3/5 · Classification · hard
An operation convert has four input parameters. Two input ParameterSets exist: one holds amount and rate, the other holds currencyCode. The parameter note belongs to no set and is a plain input. What does the specification require of note as it stands?
A. it must have direction inout
B. it must have a default value
C. it must have a lower bound of zero
D. it must be a streaming parameter
Answer: D. When a behavioral feature has input parameters in a ParameterSet, every input parameter that is in no ParameterSet must be streaming. The same holds for output parameters. As specified, note is acceptable only if it is a streaming parameter, or if it is placed in a set.
- A. Direction is not the criterion; the rule concerns streaming for inputs outside every set (9.9.16).
- B. A default value does not exempt an input from the ParameterSet rule (9.9.16).
- C. Optionality is not what the rule demands; a zero lower bound does not exempt an input outside every set (9.9.16).
- D. If inputs are in a ParameterSet, any inputs outside every set must be streaming (9.9.16).
Source: OMG Unified Modeling Language 2.5.1 (formal/17-12-05), 9.9.16, p. 190 · classification / 9.9.16 ParameterSet / input constraint
4/5 · Classification
A passive object of class Printer is the target of two overlapping calls to the same BehavioralFeature, whose concurrency property is set to guarded. The calls arrive at nearly the same time from different callers. What does UML say happens?
A. one call commences and the other is blocked until it completes
B. both calls proceed at the same time on the object
C. the later call is rejected and raises an exception to its caller
D. the callers must coordinate among themselves to make one call at a time
Answer: A. UML 2.5.1, 9.4.3.3: for guarded, overlapping invocations may occur on one instance, but only one may commence and the others are blocked until it completes. The designer must avoid deadlocks. Sequential leaves coordination to callers; concurrent lets all proceed.
- A. 9.4.3.3: with guarded, overlapping invocations may occur but only one is allowed to commence; the others wait.
- B. This describes the concurrent literal, not guarded.
- C. UML does not define rejection with an exception for guarded; the later calls are blocked, not refused (9.4.3.3).
- D. This is the sequential literal, where no mechanism manages conflicts and callers carry the coordination.
Source: OMG Unified Modeling Language 2.5.1 (formal/17-12-05), 9.4.3.3, p. 150-151 · classification / 9.4.3.3 Behavioral Features / CallConcurrencyKind guarded
5/5 · Classification
In a class model, the Property allItems of class Container is marked with the union modifier, and several other Properties subset it. A reviewer checks the Property's settings against the metamodel constraints. Which pair of settings must allItems have?
A. isOrdered true and isUnique true
B. isDerived false and isReadOnly false
C. isDerived true and isReadOnly true
D. aggregation composite and isReadOnly true
Answer: C. UML 2.5.1, 9.9.17: a derived union is derived (derived_union_is_derived) and read only (derived_union_is_read_only). Aggregation kind and ordering are not constrained by these rules.
- A. The derived union constraints concern derivation and read-only status; they set no requirement on ordering or uniqueness (9.9.17).
- B. Opposite of the constraints: a derived union is derived and read only (9.9.17).
- C. 9.9.17 has derived_union_is_derived and derived_union_is_read_only.
- D. Read only is right but composite aggregation is not required by the derived union constraints.
Source: OMG Unified Modeling Language 2.5.1 (formal/17-12-05), 9.9.17, p. 191-195 · classification / 9.9.17.8 Property constraints / derived union
Other OCUP 2 Advanced areas
The same kind of free sample for every other section of the OCUP 2 Advanced bank:
Practise OCUP 2 Advanced with instant feedback
6 free questions in study mode · no card · full OCUP 2 Advanced bank with area filters and the error log: $9 (regularly $15) one-time · no dumps, no ads.
Start OCUP 2 Advanced free →
ExamDeck is an independent study tool, not affiliated with, endorsed by, or sponsored by OMG. OCUP 2 Advanced and related marks are trademarks of their respective owners, used for identification only. Exam facts checked against official OMG materials (as of November 2026); always confirm current details with the vendor before booking.