Free UML 2 ADVANCED 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 ADVANCED EXAM practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1Using the base UML TemplateableElement::isTemplate() query, which condition makes the result true?
- A.The element owns a TemplateSignature.Correct answer: A
- B.The element has a TemplateBinding.
- C.The element is exposed as a TemplateParameter.
- D.The element owns another TemplateableElement.
Explanation: The normative UML 2.5.1 metamodel defines this query as "result = (ownedTemplateSignature <> null)". A is correct because a non-null ownedTemplateSignature makes the expression true. B confuses being bound to a template with being a template. C describes exposure as a formal parameter, tested by isTemplateParameter(), rather than ownership of a signature. D confuses containment with the ownedTemplateSignature property. The question explicitly uses the base TemplateableElement query; Classifier redefines that query to account for template generalizations.
Reference: OMG UML 2.5.1 Abstract Syntax Metamodel — TemplateableElement::isTemplate(), OCL body
2A UML Classifier has isAbstract=true. How can an object be an instance of this classifier?
- A.Be a direct instance of the abstract classifier alone.
- B.Be an instance only of one of the abstract classifier's general classifiers.
- C.Be an instance only of a classifier that shares its general classifier.
- D.Be an instance of one of the abstract classifier's specializations.Correct answer: D
Explanation: UML states: "has no direct instances: every instance of the abstract Classifier shall be an instance of one of its specializations." The abstract classifier has no direct instances. D supplies the required specialization. A assumes direct instantiation, B reverses the direction of the specialization rule, and C substitutes a sibling for the required descendant.
3What specifies the abstract syntax of UML?
- A.A UML model called the UML metamodel.Correct answer: A
- B.A model of application objects called an instance specification.
- C.A collection of implementation source files called artifacts.
- D.A timing trace of the UML tool's execution.
Explanation: The standard states: "The abstract syntax of UML is specified using a UML model called the UML metamodel." The metamodel defines modeling constructs. Application instances, source artifacts and execution traces are different modeling objects, not that abstract-syntax definition.
Reference: OMG Unified Modeling Language 2.5.1 — 6.2 Architectural Alignment
4One activity branch should terminate while other branches continue. Which final node expresses that requirement?
- A.JoinNode.
- B.MergeNode.
- C.FlowFinalNode.Correct answer: C
- D.ActivityFinalNode.
Explanation: UML states: "A FlowFinalNode is a FinalNode that terminates a flow. All tokens accepted by a FlowFinalNode are destroyed. This has no effect on other flows in the Activity." ActivityFinalNode terminates activity flows globally, while JoinNode synchronizes flows and MergeNode combines alternatives rather than terminating the arriving flow.
Reference: OMG Unified Modeling Language 2.5.1 — 15.3.3.2 Final Nodes
5In a sequential region of a UML Interaction, two occurrences on the same lifeline are spread farther apart without changing their vertical order. There is no timing constraint. How should the revised drawing be interpreted?
- A.The original order applies, and a longer duration is now implied.
- B.The original order is removed, and no duration is implied.
- C.The original order is removed, and a longer duration is now implied.
- D.The original order applies, and no duration is implied.Correct answer: D
Explanation: UML states: "The order of OccurrenceSpecifications along a Lifeline is significant denoting the order in which these OccurrenceSpecifications will occur. The absolute distances between the OccurrenceSpecifications on the Lifeline are, however, irrelevant for the semantics." D preserves the same relative order without reading a time value into the larger separation. A assigns significance to the distance. B removes the order without changing the sequence, and C makes both errors.
Reference: OMG Unified Modeling Language 2.5.1 — 17.3.3 Lifelines
6A model must invoke a Behavior directly, without first calling a BehavioralFeature on a target object. Which Action fits?
- A.CallBehaviorAction.Correct answer: A
- B.CallOperationAction.
- C.SendSignalAction.
- D.AcceptCallAction.
Explanation: UML states: "A CallBehaviorAction is a CallAction that invokes a Behavior directly, rather than calling a BehavioralFeature that, in turn, results in the invocation of a Behavior." CallBehaviorAction directly names the Behavior. CallOperationAction sends an operation request, SendSignalAction sends a signal, and AcceptCallAction receives a call.
Reference: OMG Unified Modeling Language 2.5.1 — 16.3.3 Call Actions
7How are Alf execution semantics formally grounded?
- A.By treating Alf as a notation for protocol state machines only.
- B.By assigning UML diagram coordinates directly to machine instructions.
- C.By mapping Alf concrete syntax to fUML abstract syntax.Correct answer: C
- D.By mapping every Alf statement to an XMI tag with execution meaning.
Explanation: Alf states: "The execution semantics for Alf are given by mapping the Alf concrete syntax to the abstract syntax of the standard Foundational Subset for Executable UML Models" The semantic foundation is fUML. XMI interchange, protocol-only restriction and graphical coordinates do not define that execution mapping.
Reference: OMG Action Language for Foundational UML 1.1 — 1 Scope
8What system assumption underlies the general fUML foundational subset?
- A.It requires a single globally synchronized execution thread.
- B.It requires every object to reside on the same physical computer.
- C.It limits models to systems with no concurrent behaviors.
- D.It allows physically distributed and concurrent systems without assuming global synchronization.Correct answer: D
Explanation: fUML states: "the subset assumes the most general type of system, including physically distributed and concurrent systems with no assumptions about global synchronization." The foundation does not impose global synchronization, one machine or absence of concurrency.
Reference: OMG Semantics of a Foundational Subset for Executable UML Models 1.5 — 1 Scope
9Under normal run-to-completion processing, when may a state-machine execution dispatch a pending event occurrence?
- A.Only after the context object's lifetime ends.
- B.Only after every transition in the model has fired.
- C.After processing the previous occurrence and reaching a stable state configuration.Correct answer: C
- D.As soon as the pending occurrence enters the event pool, even during current processing.
Explanation: UML 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." The question excludes exceptional interruption. Dispatch waits for completion of the current occurrence, not object destruction or execution of every possible transition.
Reference: OMG Unified Modeling Language 2.5.1 — 14.2.3.9.1 Run-to-completion
10One occurrence in a shared context object's event pool matches triggers in two Behaviors. What is UML's rule for consuming that occurrence?
- A.Each matching Behavior receives and consumes its own copy.
- B.At most one of the Behaviors can consume that occurrence.Correct answer: B
- C.The occurrence can be consumed only if just one Behavior matches.
- D.Both matching Behaviors may consume the occurrence sequentially.
Explanation: UML states: "All Behaviors with the same context object share the event pool of that object, but any Event occurrence in the pool can be consumed by only one Behavior." The pool is shared, but consumption is exclusive. A turns the occurrence into a broadcast. C confuses a matching trigger with the permission to consume. D permits multiple consumptions by ordering them, which still violates exclusivity.
Reference: OMG Unified Modeling Language 2.5.1 — 13.3.3 Event occurrence effects
Exam Review
About UML 2 ADVANCED EXAM
UML 2 ADVANCED EXAM · US
Key exam facts
- Provider
- Object Management Group (OMG) certification program; examinations administered by Pearson VUE at test centers or online through Pearson OnVUE.
- Format
- Multiple choice (text and images), delivered at a secure test center or online; English.
- Exam questions
- Total questions: 90.
- Time limit
- 105 minutes in native English-speaking countries; 135 minutes in all others. Extra time is confirmed by email following exam order completion.
- Passing score
- At least 57/90 correct answers (the information sheet also states at least 63% correct answers).
- Exam fee
- US$350 plus taxes; regional currency equivalent and applicable taxes elsewhere.
Topics covered
Common Structure (21%)
Classification (14%)
The MOF & Metamodeling (12%)
Activities (9%)
Interactions (9%)
Structured Classifiers (8%)
Actions (7%)
Alf (6%)
fUML (6%)
StateMachines (5%)
Common Behavior (3%)
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), delivered at a secure test center or online; English.
How many questions are on the exam?
Total questions: 90.
How long is the exam?
105 minutes in native English-speaking countries; 135 minutes in all others. Extra time is confirmed by email following exam order completion.
What is the passing score?
At least 57/90 correct answers (the information sheet also states at least 63% correct answers).
How much does the exam cost?
US$350 plus taxes; regional currency equivalent and applicable taxes elsewhere.
Official sources and references
- UML 2 Advanced Exam Information
PDF page 2, STANDARD AREAS COVERED
- UML 2 Advanced Exam Information
PDF page 2, Alf
- UML 2 Advanced Exam Information
PDF page 2, fUML
- UML 2 Advanced Exam Information
PDF page 3, complete content allocation table
- UML 2 Advanced Exam Information
PDF page 1, Passing Score
- UML 2 Advanced Exam Information
PDF page 1, Format
- UML 2 Advanced Exam Information
PDF page 1, Duration
- UML 2 Advanced Exam Information
PDF page 1, Fee
- OMG Certification Programs
HOW TO GET CERTIFIED
Confirm current exam arrangements with the exam provider.