Weekend Sale Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

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

Page: 1 / 9
Total 90 questions

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

Question 1

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 2

Choose the correct answer:

Consider the following modeling scenario:

Question # 2

Which statement is correct about the modeling scenario?

Options:

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".

Question 3

Choose the correct answer: Consider the following definition:

Question # 3

Which statement is correct about elements referred to in the illustration?

Options:

A.

mycar is a classifier.

B.

rear is a property of Wheel.

C.

frontleft must have a void type.

D.

wheels is a property of Vehicle.

Question 4

Choose the correct answer:

When an Order is closed, a Customer of that Order must be notified

Which diagram fragment correctly models this scenario?

A)

Question # 4

B)

Question # 4

C)

Question # 4

D)

Question # 4

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 5

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)

Question # 5

B)

Question # 5

C)

Question # 5

D)

Question # 5

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 6

Choose the correct answer: Consider the following diagram fragment:

Question # 6

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 7

Choose the correct answer:

Which statement is correct about StateMachme Redefinition?

Options:

A.

UML has no concept or discussion of StateMachine Redefinition.

B.

StateMachine Redefinition is the act of altering an existing StateMachine to support new States or new Events.

C.

When a modeler corrects typographical errors or removes inappropriate States in their StateMachine, they are redefining that StateMachine.

D.

StateMachine Redefinition is a necessary capability in UML because UML allows modelers to specialize Classifiers and their Behavior definitions.

Question 8

Choose the correct answer:

Consider the following diagrams:

Question # 8

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

Options:

A.

reception of z

B.

reception of u

C.

reception of w

D.

We cannot uniquely determine the last event occurrence.

Question 9

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 10

Choose the correct answer:

Consider the following sequence diagram GO:

Question # 10

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 11

Choose the correct answer:

Consider the following profile:

Question # 11

Which statement is true?

Options:

A.

Each instance of Class must be linked to exactly one instance ofDisplayArea, Frame, or Form.

B.

Each instance of Class must be linked to at most one instance of DisplayArea. Frame, or Form.

C.

Each instance of Class must be linked to exactly one instance of DisplayArea. Frame, and Form.

D.

Instances of Class or its subclasses do not have to be linked to instances of DisplayArea. Frame, or Form.

E.

The diagram is incorrect because a required extension cannot be applied to a stereotype inheritance hierarchy.

Question 12

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 13

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 14

Choose the correct answer:

Which keyword indicates that instances of one Classifier may be used instead of Instances of another Classifier?

Options:

A.

« substitute»

B.

«replacement»

C.

«isReplaceable»

D.

«isSubstitutable»

Question 15

Choose the correct answer:

What happens when an Exception Handler completes execution?

Options:

A.

Execution of the thread halts after the ExceptionHandler completes

B.

Control tokens are offered on the outgoing ControlFlows of the protectedNode.

C.

Control tokens are offered on the outgoing ControlFlows of the ExceptionHandler.

D.

Control tokens remain within the ExceptionHandler waiting for additional Behaviors.

E.

The exception number is stored in an output ObjectPm of the ExceptionHandler and no control tokens are offered.

Question 16

Choose the correct answer:

Consider the following diagram:

Question # 16

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 17

Choose the correct answer:

How is the semantics (or the MOF elements represented?

Options:

A.

as graphic presentations

B.

as natural language descriptions

C.

using Metamodels

D.

using an Abstract Syntax section

Question 18

Choose the correct answer:

Consider the following diagram fragment:

Question # 18

What is the signature of the class template List?

Options:

A.

List

B.

T[0..n]

C.

The ordered set {T. n: Integer}

D.

Customer, n -> 2000> or Order, n - >10000>

Question 19

Choose the correct answer:

What does "computationally complete" mean in the context of fUML?

Options:

A.

It characterizes a model that covers all aspects of the real system and can be used for simulation purposes.

B.

It characterizes a model that enables a modeling tool to execute all behavioral diagrams of the UML.

C.

It characterizes a subset of UML that is sufficiently expressive to allow definition of models that can be automatically executed on a computer by an execution tool.

D.

It characterizes a model that is compliant to the third conformance level of UML (level 1 = informal, level 2 = semi-formal).

Question 20

Choose the correct answer:

Consider the following sequence diagram:

Question # 20

What does "critical" refer to?

Options:

A.

That the emergency message is given highest priority

B.

That the diagram fragment within "critical may be up for redesign

C.

That no other events may interfere m between the events of thecriticalfragment

D.

That the most urgent and important issue is to make sure that Emergency gets the message

Question 21

Choose the correct answer:

Which statement should be taken into consideration when extending a UML metaclass with a stereotype?

Options:

A.

UML recommends to start extending the metaclass "Class" and then other metaclasses depending on the expected qualities of the profile.

B.

The choice of the extended metaclass is not that important since tools can always apply a profile's filtering rules to hide unneeded metaclasses.

C.

The metaclass and the stereotype that extends it should be semantically related to each other to avoid having to constrain the metamodel excessively.

D.

UML specifies rules on how the mapping between stereotypes and UML metaclasses should be done; these rules must be followed to identify the best metaclasses.

Question 22

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 23

Choose the correct answer:

Which feature of a UML model element could NOT be adapted by a Stereotype?

Options:

A.

Notation could be changed.

B.

Constraints could be added

C.

Constraints can be removed.

D.

Attributes and Operations could be added.

Question 24

Choose the correct answer:

Given the following diagram fragment:

Question # 24

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 25

Choose the correct answer:

What is true about the use of a Template Classifier to specify the Type of a Typed Element?

Options:

A.

The Template Classifier needs to be modeled

B.

The Template Classifier must have defaults for all of its Template Parameters

C.

The Type Property of the Typed Element must directly name the Template Classifier.

D.

Template Classifiers cannot be used in the specification of Types for Typed Elements.

E.

A set of bound elements provides values for the Template Parameters of the Template Classifier.

Question 26

Choose the correct answer:

Which MOF capability supports the correlation of model elements across model transformations where both the source and target models may be subject to change?

Options:

A.

Identifiers

B.

Extension

C.

Reflection

D.

Federation

Question 27

Choose the correct answer:

Let E be a UML 2.5 NamedElement with a name property of '_name" and with a nameExpression property of "_expresslon".

Which one presentation or set of presentations of the name of E in a tool conforms to the OMG specification?

Options:

A.

_name

B.

_expression

C.

S_expression$ OR _name

D.

S_expression$

_expression

OR

_name:_expressk>n

E.

UML 2.5 no longer includes a nameExpression properly within NamedElements.

Page: 1 / 9
Total 90 questions