Weekend Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

OMG OMG-OCUP2-ADV300 OMG Certified UML Professional 2 (OCUP 2) - Advanced Level Exam Practice Test

Demo: 27 questions
Total 90 questions

OMG Certified UML Professional 2 (OCUP 2) - Advanced Level Questions and Answers

Question 1

Choose the correct answer:

Which statement is correct about a Decision Node?

Options:

A.

A Decision Node shall have at most one incoming Activity Edge

B.

A Decision Node shall have at most two incoming Control Flows

C.

If a Decision Node has an incoming Control Flow and a decisionlnput. then a decisionlnput shall have a single in Parameter.

D.

If a Decision Node has an incoming Object Flow, a decisionlnput. and a decisionlnputFlow. then a decisionlnput shall have two in Parameters.

Question 2

Choose the correct answer: Which construct specifies all possible valid traces?

Options:

A.

generalized ordering

B.

alt combined fragment

C.

opt combined fragment

D.

assert combined fragment

Question 3

Choose the correct answer:

What is correct about the modeling of individual things with UML?

Options:

A.

A UML Model can contain individual things (e.g. Instances) UML does not prescribe the level of detail to be used in the description.

B.

A UML Model can contain statements about individual things If a thing is an instance of a Classifier, these statements must be consistent (all mandatory Properties must be defined, all Constraints must be satisfied).

C.

A UML Model can contain statements about individual things These statements can be incomplete, imprecise, and abstract, but not wrong.

D.

A UML Model can contain statements about individual things. These statements can be incomplete, imprecise, abstract, may turn out to be wrong, or even be asserted as counterfactual

E.

A UML Model can only contain statements about sets of individual things (e.g. Classifiers).

Question 4

Choose the correct answer: What is a coregion?

Options:

A.

two Interactions that share the same border

B.

two combined fragments that have the same operands

C.

a shorthand for a parallel combined fragment on one lifeline

D.

the area between two lifelines that communicate

Question 5

Choose the correct answer: Consider the following piece of UML definition:

What is the typing of xx. xy and result?

Options:

A.

xx Cattle. xy:Bull. resultCattle

B.

xx:Cow, xy:CattlG, result;Donor

C.

xx:Cow. xy:Cattle. result:Cattle

D.

xxCow. xv Bull. resultCattle

Question 6

Choose the correct answer:

Which concept is used in AN to represent a model element such as a class or an activity?

Options:

A.

Unit

B.

Package

C.

Classifier

D.

Namespace

Question 7

Choose the correct answer:

A modeler has been asked to provide an alternate graphical and textual concrete syntax for a set of Actions.

Which statement is true regarding this task?

Options:

A.

The modeler should develop a tool-specific set of representations and map them to the standard concrete syntax.

B.

The modeler should develop a tool-specific set of representations and map them to the standard abstract syntax.

C.

Alternate graphical concrete syntax for Action elements is not allowed

D.

Alternate textual concrete syntax for Action elements is not allowed

Question 8

Choose the correct answer:

Consider the following diagram:

What kind of model element is chentNo?

Options:

A.

a Port of Class ExamCompany

B.

a qualifier of the Association

C.

a Property defined by Association and owned by the Class ExamCompany

D.

a Property defined by Association and owned by the Class Examinee

Question 9

Choose the correct answer:

Given the following fragment from a profile definition:

Which statement is correct regarding the application of the profile?

Options:

A.

A class stereotyped as an «architecture decision» must contain attributes named Complexity. Risk, and Status with the designated Enumeration types

B.

A class stereotyped as an «architecture decisions will have Stereotype Properties named Complexity. Risk, and Status with the Enumeration types designated in the profile.

C.

A class stereotyped as an «architecture decision» must contain attributes named Complexity. Risk, and Status and they may be any user-defined type.

D.

A class stereotyped as an «architecture decisions must contain exactly three attributes with user-defined names, two of which are of type Rank, and one of type Status.

Question 10

Choose the correct answer:

What must a modeler do to use an Action that coordinates other Actions?

Options:

A.

extend Behavior and add the desired Actions

B.

use one of the StructuredActivityNodes in UML

C.

use the standard Action and add desired tag values

D.

extend Action and specify the constraints to be relaxed or removed

Question 11

Choose the correct answer:

Consider the following diagram fragment:

Which statement is correct?

Options:

A.

The set named "b" is contained in a set named "part".

B.

The set named "b" has one subset, that contains the parts of B.

C.

The property "subsets part" specifies that b only partially defines A

D.

The constraint limits the elements of b to be from a predefined set of parts

Question 12

Choose the correct answer:

Which class sits at the top of the MOF class hierarchy?

Options:

A.

Root

B.

Element

C.

Classifier

D.

Metaclass

Question 13

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?

Options:

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.

Question 14

Choose the correct answer:

Consider the following sequence diagram GO:

What is always true according to the diagram?

Options:

A.

h receives x before k sends q

B.

h receives q before k sends m

C.

h receives q before g receives m

D.

g sends x before k sends m

Question 15

Choose the correct answer: Consider the following diagram fragment:

Assume that the system is in StateAl Which sequence of triggers will move the system to StateC?

Options:

A.

a6., a3, a1, a7, an

B.

a5, a5, a5. a1. a8, a8, a11

C.

a5, a6, a5, a3, a2, a10, a11, a12

D a1, a7, a8, a7, an

Question 16

Choose the correct answer:

What is true about a MOF 2.x Model?

Options:

A.

It is always a valid UML 2 x Model

B.

It can be a valid UML 2.x Model, when certain limitations are observed.

C.

The visual representation resembles a UML 2.x Model, but the underlying Model is a MOF-Model.

D.

There is a subtle difference between it and a UML 2.x Model, but only theoretical computer scientists care.

Question 17

Choose the correct answer:

In fUML. how must an execution model be modeled?

Options:

A.

as a State

B.

as an Action

C.

as an Activity

D.

as a Collaboration

Question 18

Choose the correct answer:

Given the following diagram fragment:

Which review comment is valid and applicable?

Options:

A.

The Realization relationships should be reversed

B.

The Generalization relationships should be replaced by Realization relationships.

C.

The Realization relationships should be replaced by Generalization relationships.

D.

The UML syntax rules do not allow the use of Realization relationships between Components and Classes without the application of the stereotypes in a profile.

Question 19

Choose the correct answer:

Consider the following diagram:

What could be substituted for myTypel?

Options:

A.

Number

B.

Short or Long

C.

any subtype of Number

D.

any Type, there is no restriction

Question 20

Choose the correct answer:

What is a reason for fUML lo be compact?

Options:

A.

fUML should be small to facilitate definition of a clear semantics.

B.

fUML must be possible to execute on computers with restricted capacity

C.

fUML must be easily memorized by those who apply it to make semantics.

D.

fUML should always support 1-1 mappings from surface to platform languages.

Question 21

Choose the correct answer:

Which input element does lexical analysis of Action Language for Foundational UML text discard?

Options:

A.

term

B.

delimiters

C.

expression

D.

whitespace

Question 22

Choose the correct answer:

Where does UML explicitly intend String Expression elements to be used?

Options:

A.

as (he ValueSpecifications for the nameExpressions of ParameterableElements within Template specifications

B.

as the model the author chooses for the specification of custom dynamically-generated names for any NamedElement

C.

whenever an OpaqueExpression form of a ValueSpecification needs to specify an expression that operates on String instances

D.

The specification has no metaclass StnngExpression and so no use of StringExpression is explicitly intended.

Question 23

Choose the correct answer:

Consider the following diagram:

When this behavior is executed, which event will occur last?

Options:

A.

finalizing HH

B.

reception of z

C.

reception of w

D.

We cannot determine the last event from this diagram alone.

Question 24

Choose the correct answer:

Which interpretation is valid when NamedElement A is the Supplier in a specialized Dependency having NamedElement B as the Client, and a Comment indicates that A and B participate in a transformation?

Options:

A.

B is the transformation Realization of A.

B.

A is the transformation Realization of B.

C.

A depends on B.

D.

A and B are part of an economic system where A consumes what B transforms.

Question 25

Choose the correct answer:

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)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 26

Choose the correct answer:

What should a modeler do lo represent specific hardware environments In a deployment model?

Options:

A.

Create a profile with the applicable details

B.

Create an instance of a deployment manifest with the applicable details

C.

Create an instance of a deployment specification with the applicable details.

D.

Create a mapping between the logical hardware description and the physical hardware description with the applicable details.

Question 27

Choose the correct answer:

An organization has determined that they want to add the capability to create and add requirement elements to their UML models. They also want to create a unique relationship for tracing requirements to other model elements.

What is the appropriate approach to do this?

Options:

A.

Use the requirement element and relationship defined in the UML specification.

B.

Create a profile that stereotypes Class as requirement and Dependency as the relationship.

C.

Create a new MOF metamodel that includes UML and adds the desired requirement element and relationship.

D.

Assign tag values that ascribe the desired requirement type to a UML Requirement and Dependency relationship.

Demo: 27 questions
Total 90 questions