OMG OMG-OCUP2-ADV300 OMG Certified UML Professional 2 (OCUP 2) – Advanced Level Online Training
OMG OMG-OCUP2-ADV300 Online Training
The questions for OMG-OCUP2-ADV300 were last updated at Nov 19,2024.
- Exam Code: OMG-OCUP2-ADV300
- Exam Name: OMG Certified UML Professional 2 (OCUP 2) - Advanced Level
- Certification Provider: OMG
- Latest update: Nov 19,2024
Consider the following modeling scenario:
Which statement is correct about the modeling scenario?
- A . The Profile "Versioning" can not be applied to two Packages in a model at the same time
- B . The Profiles must be applied to the Model "My Application" instead of the Packages.
- C . Two Profiles are correctly applied to two Packages.
- D . The Profiles must be members of the namespace of the Model "My Application".
In addition to stereotypes, which UML elements can a profile define?
- A . all of the UML elements
- B . all of the UML Structured Classifiers
- C . Class. DataType. Enumeration
- D . Class. DataType. Enumeration. Object. Component
Consider the following diagram:
What does the string {guarded} mean?
- A . The execution of op1 is guarded by one or more exceptions which it will handle if they arise.
- B . Multiple invocations of op1 that overlap in time may occur to one instance, but only the first one will get handled.
- C . Multiple invocations of op1 that overlap in time may occur to one instance, but only one is allowed to commence.
- D . The execution of op1 Is guarded by one or more exceptions. Behaviors invoking it are required to handle these exceptions
You are asked to provide UML model content such that other modelers may use the Classes of your model as modular, partial specifications to be more fully specified by their models. You decide to provide a Vehicle Class that represents a partial specification of automobiles and allows tailoring of this class through the other modelers’ choices of kinds of propulsion such as a gasoline motor, an electric engine, or a manual cycle system. You want to limit which Class kinds the other modelers can choose as their propulsion system.
Which tactic appropriately exploits UML’s syntax and semantics for modular reification?
- A . Model GasolineMotorVehicle. ElectricEngineVehicle. and ManualCyclingVehicle as specialized versions of your Abstract Class Automobile.
- B . Model Vehicle as a Template Classifier with a Class Parameter named Thrustor that is constrained to be a derivative of an Abstract Class PropulsionSystem
- C . Model Vehicle as a Class with a Property named thrustor of Type Enumeration Class Thrustor that has Enumeration Literals GasolmeMotor. ElectncEngme. and ManualCycler.
- D . Model three separate Packages named GasolineMotor Vehicles. ElectricEngme Vehicles, and ManualCyclmg Vehicles and Package Import into each of these the Package with your Vehicle Class.
Which subclasses of Classifiers can be parameterized and used as Template Parameters?
- A . Class. Component. Interface, but not Signal
- B . Signal. Use Case, Component, but not Datatype
- C . Activity. Interaction, State Machine, but not Collaboration
- D . all subclasses of Classifier e.g. Class. Component. Datatype. Interface. Signal
A developer wants to make sure that each specialization of Class Bicycle has its own unique set of values for the suitable road surface and average speed.
Which diagram imposes these requirements?
A)
B)
C)
D)
- A . Option A
- B . Option B
- C . Option C
- D . Option D
Consider the following diagram:
Which statement is correct about the diagram?
- A . Each subclass of Electronic Device Kind must have a set of required Certifications defined.
- B . Each subclass of Electronic Device in the shown Generalization Set must have a set of required Certifications defined.
- C . The "Electronic Device Kind" Class and the "Electronic Device Kind" Generalization Set have the same name, but no semantic connection is implied by this.
- D . These are two alternative but incompatible ways to specify Electronic Device Kinds, either as Class "Electronic Device Kind" or as Specialization of "Electronic Device".
Which can be added to a redefined operation?
- A . scope
- B . templates
- C . parameters
- D . preconditions
Which UML element specifies a set of formal parameters that will be substituted by actual parameters?
- A . template parameter
- B . template signature
- C . templateable element
- D . template parameter substitution
Which keyword indicates that instances of one Classifier may be used instead of Instances of another Classifier?
- A . « substitute»
- B . «replacement»
- C . «isReplaceable»
- D . «isSubstitutable»