Free UML 2 INTERMEDIATE EXAM Practice Questions
100 free questions · Answer explanations · No signup required
View examination details, outline and sourcesLoading selected examination banks…
Sample Practice Questions
Try these 10 sample questions from the UML 2 INTERMEDIATE EXAM practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1An activity starts with three initially enabled InitialNodes. What initial control-token offers do these nodes make?
- A.Each node offers one control token on becoming enabled.Correct answer: A
- B.Only the first enabled node offers a control token.
- C.The three nodes jointly offer one shared control token.
- D.Each node first receives a token on an incoming edge.
Explanation: The Eclipse UML2 API describes the UML node as follows: "An InitialNode is a ControlNode that offers a single control token when initially enabled." Applied separately to the three initially enabled nodes, this means one initial control-token offer from each node. They do not select a single active node or pool their offers into one shared token. The documented constraint is: "An InitialNode has no incoming ActivityEdges." An InitialNode therefore does not first receive a token through an incoming edge. These rules agree with the initialization semantics checked in UML 2.5.1 clause 15.3.3.1.
Reference: Eclipse UML2 API — InitialNode — InitialNode interface, model-object description
2A namespace N contains a member named x. Which UML qualified name identifies that member through N?
3Two events lie on one Lifeline outside any parallel CombinedFragment or coregion, with no timing constraints. What does their vertical spacing establish?
- A.Their exact elapsed duration in milliseconds
- B.Their execution on different processor threads
- C.Their relative order, not a literal duration measurementCorrect answer: C
- D.Their minimum required delay in scheduler cycles
4A StateMachine is processing an event. Under run-to-completion, when is another pending event dispatched, absent exceptions or asynchronous destruction?
- A.When any enabled transition begins its effect
- B.When its triggering event enters the event pool
- C.After the current event completes and a stable configuration is reachedCorrect answer: C
- D.As soon as a higher-priority event is detected by the context object
Explanation: UML 2.5.1 states: "a pending Event occurrence is dispatched only after the processing of the previous occurrence is completed and a stable state configuration has been reached." Run-to-completion serializes event processing at stable configurations; it does not define priority-based interruption by a new event.
Reference: OMG Unified Modeling Language 2.5.1 — 14.2.3.9.1, The run-to-completion paradigm
5A replacement Component is proposed for an existing system. What provides UML's stated basis for substitutability?
- A.Reusing exactly the original Component's realizing Classifiers
- B.Keeping the original Component's artifact packaging unchanged
- C.Offering equivalent functionality through compatible InterfacesCorrect answer: C
- D.Using the original Component's deployment target and location
Explanation: UML 2.5.1 states: "A Component is a substitutable unit that can be replaced at design time or run-time by a Component that offers equivalent functionality based on compatibility of its Interfaces." Compatibility of the external contract permits replacement without requiring identical realizing classifiers, packaging or deployment location.
Reference: OMG Unified Modeling Language 2.5.1 — 11.6.3.1, Components
6An object receives a message invoking an Operation. Which event concept models that receipt?
- A.A TimeEvent for a relative instant
- B.A CallEvent for the invoked OperationCorrect answer: B
- C.A ChangeEvent for a Boolean condition
- D.A SignalEvent for an asynchronous Signal
Explanation: UML 2.5.1 states: "A CallEvent models the receipt by an object of a message invoking a call of an Operation." A call event concerns receipt of an operation invocation, unlike a signal reception, time instant or condition change.
Reference: OMG Unified Modeling Language 2.5.1 — 13.4.3.1, CallEvent description
7Within a StructuredClassifier, which owned attributes are specifically called parts?
- A.Those whose isComposite property is trueCorrect answer: A
- B.Those whose isReadOnly property is true
- C.Those whose visibility is public
- D.Those whose multiplicity is unlimited
Explanation: UML 2.5.1 states: "Those ownedAttributes of a StructuredClassifier that have isComposite = true (see 9.5.3) are called its parts." Parts are the composite subset of roles; read-only status, visibility and multiplicity do not define that subset.
Reference: OMG Unified Modeling Language 2.5.1 — 11.2.3.2, Parts and Roles
8Classifier S specializes Classifier G. Which instance-classification statement follows from that Generalization?
- A.Every G instance must also be a direct instance of S.
- B.S and G must have exactly the same direct instances.
- C.Every S instance is also an indirect instance of G.Correct answer: C
- D.An S instance ceases to be an instance of G.
Explanation: UML 2.5.1 states: "An instance of a Classifier is also an (indirect) instance of each of its generalizations." The instance relationship follows from specific to general; it does not require every general instance to belong to that specialization.
Reference: OMG Unified Modeling Language 2.5.1 — 9.2.3.2, Generalization
9One branch of an activity should end without stopping its other branches. Which control node expresses this intent?
- A.An ActivityFinalNode at the end of the branch
- B.A FlowFinalNode at the end of the branchCorrect answer: B
- C.A JoinNode at the end of the branch
- D.A MergeNode at the end of the branch
Explanation: The publisher's FlowFinalNode description states: "A FlowFinalNode is a FinalNode that terminates a flow by consuming the tokens offered to it." It consumes the tokens offered to this branch-ending node. The contrasting ActivityFinalNode description states: "An ActivityFinalNode is a FinalNode that terminates the execution of its owning Activity or StructuredActivityNode." Ending the branch without terminating the owning activity therefore calls for FlowFinalNode. JoinNode synchronizes flows and MergeNode combines alternate flows; neither is a final node.
Reference: Eclipse UML2 API — FlowFinalNode — FlowFinalNode interface, model-object description
10What does UML permit regarding the name of a NamedElement?
- A.It must be unique across the entire model.
- B.It must be a nonempty string for every element.
- C.It must be calculated from the element's owning type.
- D.It may be absent, which differs from an empty name.Correct answer: D
Explanation: UML 2.5.1 states: "The name of a NamedElement is optional, which provides for the possibility of the absence of a name (which is different from the empty name)." The metaclass name does not make a supplied name mandatory; absence and an empty string are distinct.
Reference: OMG Unified Modeling Language 2.5.1 — 7.4.3.2, Named Elements
Exam Review
About UML 2 INTERMEDIATE EXAM
UML 2 INTERMEDIATE EXAM · US
Key exam facts
- Provider
- Object Management Group (OMG) UML certification examination; administered by Pearson VUE at secure test centers or online through Pearson OnVUE.
- Format
- Multiple choice (text and images), at a secure test center or online; English. Passing the UML 2 Foundation exam is a prerequisite; training is optional.
- Exam questions
- Total questions: 90.
- Time limit
- 105 minutes in native English-speaking countries, including the US; 135 minutes in all others. Extra time is confirmed by email after exam order completion.
- Passing score
- At least 51/90 correct answers; the official sheet also expresses this as at least 57% correct answers.
- Exam fee
- US$350 plus taxes, or regional currency equivalent and taxes. Applicable discounts/promotions may apply; the score report offers a 20% retake discount.
Topics covered
Activities & Actions (20%)
Basic Structure (16%)
Interactions (14%)
StateMachines & Use Cases (13%)
Components (12%)
Common Behavior (10%)
Structured Classifiers (9%)
Classification (6%)
How to prepare
Work through the topics, read the explanation after each answer, and revisit the areas where you miss questions. Use the official outline and reference materials below to guide your study.
These independent practice questions are not actual exam items and do not guarantee a passing result.
Frequently asked questions
What is the exam format?
Multiple choice (text and images), at a secure test center or online; English. Passing the UML 2 Foundation exam is a prerequisite; training is optional.
How many questions are on the exam?
Total questions: 90.
How long is the exam?
105 minutes in native English-speaking countries, including the US; 135 minutes in all others. Extra time is confirmed by email after exam order completion.
What is the passing score?
At least 51/90 correct answers; the official sheet also expresses this as at least 57% correct answers.
How much does the exam cost?
US$350 plus taxes, or regional currency equivalent and taxes. Applicable discounts/promotions may apply; the score report offers a 20% retake discount.
Official sources and references
- OMG UML 2 Intermediate Exam information sheet
p. 2, Standard Areas Covered
- OMG UML 2 Intermediate Exam information sheet
p. 2, complete percentage table
- OMG UML 2 Intermediate Exam information sheet
p. 1, Passing Score
- OMG UML 2 Intermediate Exam information sheet
p. 1, Format
- OMG UML 2 Intermediate Exam information sheet
p. 1, Duration
- OMG UML 2 Intermediate Exam information sheet
p. 1, Fee
- OMG Certification Programs
How to Get Certified
Confirm current exam arrangements with the exam provider.