Key details for this exam, checked against the published exam outline
Each question shows the correct answer and an explanation of why it is right
Choose the correct answer:
Consider the following template Operation:
addElement
Which Operation represents a binding of that template Operation?
The correct representation of a binding of the template operation addElement<E> with E being bound to the type Card is addElement (e : Card). This notation means that the template parameter E is being replaced by the concrete type Card, thus instantiating the template operation with that specific type. In UML, this instantiation does not require the bind keyword or the template brackets <> around the type in the operation signature itself; it is simply represented by using the concrete type as the type of the parameter in the operation. This usage is consistent with the UML 2.x Superstructure Specification, which explains how operations of a template classifier are instantiated when template parameters are bound to actual types.
Choose the correct answer:
Given the following diagram fragment:

Which review comment is valid and applicable?
The provided diagram fragment shows what appears to be Components or Classes with dashed arrows pointing towards them. Typically in UML, a dashed arrow with an unfilled arrowhead represents a Realization relationship, which is used to show that an element (such as an interface) is realized by another element (such as a class or component). However, when we are talking about Classes like 'EventRegistration,' 'MessagePacket,' 'Attendee,' and 'Session' which seem to share a common nature or purpose with 'EmailServices,' these relationships are more appropriately modeled as Generalizations, indicating that they inherit from a common superclass or implement a common interface. Realizations are typically not used in this context. Hence, the dashed arrows in the diagram should be solid lines representing Generalization, not Realization. This answer aligns with the UML 2.x Superstructure Specification, which provides guidance on the usage of Realization and Generalization relationships in class diagrams.
Choose the correct answer:
What is the main purpose of the concept of Extent in MOF?
The concept ofExtentin MOF serves the purpose of defining a set ofTagsthat can be associated with any number of model elements. These tags provide additional information or metadata about the elements. Extent allows you to annotate model elements with relevant information beyond their intrinsic properties. It provides a context for identifying and managing these annotations independently from the element's actual values.
Meta-Modeling and the OMG Meta Object Facility (MOF)
Choose the correct answer:
Which UML element specifies a set of formal parameters that will be substituted by actual parameters?
A template signature in UML specifies a set of formal parameters that can be substituted by actual parameters when a template is instantiated. This template signature is part of a templateable element, which is the element that can be parameterized using the template mechanism in UML. The template signature defines the formal template parameters that will be replaced by actual values or types when a bound element is created from the template. This concept is detailed in the UML 2.x Superstructure Specification, particularly in the sections describing templates and how they are used to create reusable and customizable model elements.
Choose the correct answer:
How are the execution semantics of Alf defined?
Choose the correct answer:
Consider the following diagram:

What does the string {guarded} mean?
In UML, when an operation is marked with the term {guarded}, it means that the operation is subject to a concurrency constraint. It specifies that the operation cannot have overlapping executions; in other words, if the operation is already in execution, a new attempt to start it will have to wait until the current one completes. This prevents race conditions and ensures thread safety for that operation when dealing with concurrent accesses in multi-threaded environments. This interpretation is based on the UML 2.x Superstructure Specification, which describes how operations can be marked with constraints to define their behavioral features in terms of concurrency.
3 domains from the OMG OMG-OCUP2-ADV300 exam outline, with approximate weightings. Every sample question above is tagged with the domain it comes from
Covers advanced constructs including Expressions, Realization, and Templates, String Expressions and Values. Addresses Classifiers, Classifier Templates, Features, Generalization Sets, Operations, and Properties. Studies Associations, Collaborations, and Components in detail.
Examines Scope and Semantic foundations with emphasis on Conformance rules. Covers Integration with UML Models and Lexical Structure to enable practical application of action language features.
Sample question from this domain above: Q3
Explores the Abstract Syntax Overview and Terms and Definitions framework. Focuses on Behavioral Semantics and Execution Model Overview to understand how UML models translate to executable systems.
Sample question from this domain above: Q5
Common questions about the exam itself