OMG Certified UML Professional 2 (OCUP 2) - Advanced Level - OMG-OCUP2-ADV300 Exam Practice Test
Question 1
Choose the correct answer:
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 cyclesystem.
You want to limit whichClass kinds the other modelers can choose as their propulsion system.
Which tactic appropriately exploits UML's syntax and semantics for modular reification?
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 cyclesystem.
You want to limit whichClass kinds the other modelers can choose as their propulsion system.
Which tactic appropriately exploits UML's syntax and semantics for modular reification?
Correct Answer: A
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 2
Choose the correct answer:
Consider the following diagram fragment:

What is the signature of the class template List?
Consider the following diagram fragment:

What is the signature of the class template List?
Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 3
Choose the correct answer:
Which keyword indicates that instances of one Classifier may be used instead of Instances of another Classifier?
Which keyword indicates that instances of one Classifier may be used instead of Instances of another Classifier?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 4
Choose the correct answer:
What is true about a MOF 2.x Model?
What is true about a MOF 2.x Model?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 5
Choose the correct answer:
Consider the following diagram fragment:

Which statement is correct about the diagram fragment?
Consider the following diagram fragment:

Which statement is correct about the diagram fragment?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 6
Choose the correct answer:
Where does UML explicitly intend String Expression elements to be used?
Where does UML explicitly intend String Expression elements to be used?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 7
Choose the correct answer: What is a coregion?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 8
Choose the correct answer:
A modeler wants to develop a customization for a standard UML tool that provides the ability to specify CORBA physical Components.
Which approach should the modeler use?
A modeler wants to develop a customization for a standard UML tool that provides the ability to specify CORBA physical Components.
Which approach should the modeler use?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 9
Choose the correct answer:
A project's requirements call for flexibility in the collection class design. Most of the collections will be a fixed length of 25 elements. However, allowance must be made in the design for collections that are a fixed length longer than 25.
Which model fragment supports the project's requirements?
A project's requirements call for flexibility in the collection class design. Most of the collections will be a fixed length of 25 elements. However, allowance must be made in the design for collections that are a fixed length longer than 25.
Which model fragment supports the project's requirements?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).

