Black Friday Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Free and Premium OMG OMG-OCUP2-ADV300 Dumps Questions Answers

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

Question 1

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

Buy Now
Question 2

Choose the correct answer:

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

Options:

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.

Question 3

Choose the correct answer:

What does the UML specification say about choosing between a MOF-based metamodel and a UML profile?

Options:

A.

It is not always clear when to use one approach over the other; this decision must be domain-specific

B.

It is always good to opt for metamodeling when the metamodel is large and the domain is inherently complex such as the database domain.

C.

Since UML extends MOF. it is always preferable to start by extending MOF and. if this turns out to be complex, then shift to extending UML.

D.

Extending UML should be favored because of the fact that there are several tools that support UML profiling, which is not the case for MOF.

Question 4

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 5

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 6

Choose the correct answer:

What characterizes the generalization relationship between two Classifiers wherethe child can NOT be substituted for the parent?

Options:

A.

It has the stereotype "nonSubstitutable".

B.

It has the property "Substitute" set to false

C.

It has the property‘’isSubstitutable" set to false.

D.

It has the property "substitutingClassifier" set to false.

Question 7

Choose the correct answer:

Consider the following diagram fragment:

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

Options:

A.

0

B.

42

C.

It is empty.

D.

the Set containing the Literal Specification 42

Question 8

Choose the correct answer:

Which statement is correct about the compiled model resulting from Alt text?

Options:

A.

It does not have to be conformant to the fUML subset.

B.

It must to be the same as a model resulting from the mapping to fUML

C.

It can be executed by any UML tool, even those are not fUML-conformant.

D.

It must have the equivalent effect as a model resulting from the mapping to fUML

Question 9

Choose the correct answer:

Consider the following diagram fragment:

What is "QueryCustomerFromParcel"?

Options:

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.

Question 10

Choose the correct answer:

Can State Machine Events have Features?

Options:

A.

Yes. they can

B.

Yes. they can. but only when the modeled Events also extend Classifier.

C.

No. they can not. because State Machine Events are not Classifiers.

D.

No. they can not. because UML State Machines do not have an Event concept.

Question 11

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.

Question 12

Choose the correct answer:

What two protocol state machine interpretations can be defined?

Options:

A.

behavioral and protocol

B.

declarative and procedural

C.

declarative and executable

D.

executable and non-executable

Question 13

Choose the correct answer:

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

Options:

A.

Life Cycle

B.

Extension

C.

Reflection

D.

Federation

Question 14

Choose the correct answer:

Which UML element specifies a set of formal parameters that will be substituted by actual parameters?

Options:

A.

template parameter

B.

template signature

C.

templateable element

D.

template parameter substitution

Question 15

Choose the correct answer:

Consider the following diagram fragment:

Which diagram fragment correctly specifies task behavior based on task priority?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 16

Choose the correct answer: What is the value of EMOF?

Options:

A.

It provides the ability to define instance models without defining Slots.

B.

It is the metamodel used to specify other metamodels including UML 2.

C.

It allows implementations, but these are not considered MOF-compliant.

D.

It enables mapping of MOF models to implementations such as XMl for simple metamodels.

Question 17

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 18

Choose the correct answer: What is the scope of fUML?

Options:

A.

It defines the implementation of the action metamodel defined in UML 1.5.

B.

It defines execution semantics for UML activity diagrams, state machines, and sequence diagrams

C.

It defines a subset of behavioral concepts to ensure computational independence of control and data structures.

D.

It defines execution semantics for a set of high-level UML modeling concepts used by a wide range of system types.

Question 19

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 20

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 21

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 22

Choose the correct answer:

Consider the following diagram fragment:

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 23

Choose the correct answer:

Consider the following diagram:

Which statement is correct about the diagram?

Options:

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

Question 24

Choose the correct answer:

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

Options:

A.

Pin

B.

Variable

C.

Property

D.

ControlFlow

Question 25

Choose the correct answer:

What does the MDA approach support?

Options:

A.

The MDA approach presents Meta Data Aspects of modeling.

B.

The MDA approach focuses on Design and Architectural Models as its name suggests

C.

The MDA approach covers everything from requirements to technology implementations.

D.

The MDA approach Is primarily about Deriving Models from Artificial Intelligence Systems.

Question 26

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?

Options:

A.

Figure 1

B.

Figure 2

C.

Figure 3

D.

Figure 4

Question 27

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.