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

Home > OMG > OMG Certification > OMG-OCUP2-ADV300

OMG-OCUP2-ADV300 OMG Certified UML Professional 2 (OCUP 2) - Advanced Level Question and Answers

Question # 4

Choose the correct answer:

Consider the following diagrams:

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

A.

reception of z

B.

reception of u

C.

reception of w

D.

We cannot uniquely determine the last event occurrence.

Full Access
Question # 5

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.

Create a profile for the CORBA component technologies and apply it to the model.

B.

Create a MOF metamodel for the CORBA component technology and add It to the UML metamodel.

C.

Create CORBA component instances that can be used as Parts in a composite structure compartment.

D.

Create a set of execution semantic definitions for the CORBA component assembly Connectors and apply them to the model.

Full Access
Question # 6

Choose the correct answer:

Which capability Is provided by the Profile mechanism?

A.

storing user-specific configurations of model settings

B.

creating new metamodel elements for specific purposes

C.

adapting existing metamodel elements for specific purposes

D.

configuring model libraries and a set of keywords to be used for a model

Full Access
Question # 7

Choose the correct answer:

Consider the following diagram fragment:

Assume that the system is in StateAl

Which sequence of behaviors could be executed in moving the system to StateC?

A.

a6, a2, a7, al2

B.

a4, a3, a1, a2, a7, a8, a12

C.

a4, a6, a3, a1, a7, a8, a11

D.

a4,a4, a3, a2, a7, a7, a9, a9,a12

Full Access
Question # 8

Choose the correct answer:

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

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.

Full Access
Question # 9

Choose the correct answer: What is a minimal reflexive metamodel?

A.

a metamodel whose interpretation maps completely onto itself

B.

a metamodel that can define class and activity model elements

C.

a metamodel that can define a modeling language of conformance level 1

D.

a metamodel that can define a modeling language of conformance level 2

Full Access
Question # 10

Choose the correct answer:

What is true about a MOF 2.x Model?

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.

Full Access
Question # 11

Choose the correct answer:

In a model of a commercial transaction, actors might exchange euros, pesos, and dollars

Which figure illustrates compliant use of UML information items for these currency exchanges?

A.

Figure 1

B.

Figure 2

C.

Figure 3

D.

Figure 4

Full Access
Question # 12

Choose the correct answer:

Consider the following diagram fragment:

What is "QueryCustomerFromParcel"?

A.

A SQL query

B.

An OCL expression.

C.

An Action with a reference to a transformation behavior.

D.

A Behavior element, for example, an Activity. State Machine, or OpaqueBehavior.

Full Access
Question # 13

Choose the correct answer:

In addition to ObjectFlow. which mechanism could be used to move data within an Activity?

A.

Pin

B.

Variable

C.

Property

D.

ControlFlow

Full Access
Question # 14

Choose the correct answer:

How are the execution semantics of Alf defined?

A.

by a specification defined with the Meta Object Facility

B.

by a specification defined with the Object Constraint Language

C.

by a specification defined with the programming language Java

D.

by mapping the concrete syntax of Alf to the abstract syntax of fUML

Full Access
Question # 15

Choose the correct answer:

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

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

Full Access
Question # 16

Choose the correct answer:

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

A.

term

B.

delimiters

C.

expression

D.

whitespace

Full Access
Question # 17

Choose the correct answer:

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

A.

Root

B.

Element

C.

Classifier

D.

Metaclass

Full Access
Question # 18

Choose the correct answer:

Which statement is correct about StateMachme Redefinition?

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.

Full Access
Question # 19

Choose the correct answer:

Consider the following diagram:

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

A.

finalizing HH

B.

reception of z

C.

reception of w

D.

We cannot determine the last event from this diagram alone.

Full Access
Question # 20

Choose the correct answer:

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

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.

Full Access
Question # 21

Choose the correct answer:

Which capability enables the discovery and manipulation ofmetaobjects and metadata''

A.

Life Cycle

B.

Extension

C.

Reflection

D.

Federation

Full Access
Question # 22

Choose the correct answer:

Given the following fragment from a profile definition:

Which statement is correct regarding the application of the profile?

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.

Full Access
Question # 23

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)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 24

Choose the correct answer:

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

Full Access
Question # 25

Choose the correct answer:

Consider the following diagram fragment:

What is the value of "Counter" before the SomeActivity Action is executed?

A.

0

B.

42

C.

It is empty.

D.

the Set containing the Literal Specification 42

Full Access
Question # 26

Choose the correct answer:

What happens when an exception is raised by an Action within an Activity that has been invoked asynchronously?

A.

The exception is propagated to the caller

B.

That kind of exception cannot be handled.

C.

The catching exception handler has exactly one output pin.

D.

The exception is lost if there is no matching handler within the Activity.

Full Access
Question # 27

Choose Ihe correct answer:

Which statement is true about fUML?

A.

All constructs of fUML are executable

B.

The semantics of Interactions are expressed in fUML

C.

fUML is designed primarily to express static semantics.

D.

fUML includes constructs widely used in both UML models and platform languages.

Full Access