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

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

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

Testing Engine

  • Product Type: Testing Engine
$36  $119.99

PDF Study Guide

  • Product Type: PDF Study Guide
$31.5  $104.99
Question 1

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 2

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 3

Choose Ihe correct answer:

Which statement is true about fUML?

Options:

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.

Question 4

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 5

Choose the correct answer:

What is a metamodel in the context of MOF?

Options:

A.

a collection of Stereotypes

B.

a model of a modeling language

C.

a model based on an executable semantic

D.

a model library of model elements to be reused by many models

Question 6

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 7

Choose the correct answer:

Which statement is correct about redefinition of simple States?

Options:

A.

A simple State cannot be redefined

B.

A simple State can be redefined by excluding it in a redefined StateMachine.

C.

A simple State can be redefined as a composite State with one or more Regions.

D.

State Redefinition is not a UML capability.

Question 8

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 9

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 10

Choose the correct answer:

Consider the following diagram fragment:

Which statement is correct about the diagram fragment?

Options:

A.

The diagram fragment is a valid UML diagram.

B.

To use the template List. Company must be a bound element to List.

C.

List cannot be used by Company unless Company is also a template.

D.

List cannot be used as a data type, only a bound element to List can.

Question 11

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 12

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 13

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 14

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)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 15

Choose the correct answer:

Consider the following modeling scenario:

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 16

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 17

Choose the correct answer:

Which subclasses ofClassifiers can be parameterized and used as Template Parameters?

Options:

A.

Class. Component. Interface, but not Signal

B.

Signal. Use Case, Component, but not Datatype

C.

Activity. Interaction, State Machine, but not Collaboration

D.

all subclasses of Classifier e.g. Class. Component. Datatype. Interface. Signal

Question 18

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 19

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 20

Choose the correct answer:

A framework developer has been given a requirement to create an extensible utility for solution developers to use to create collections. The framework developer has submitted the following diagram fragment for review:

Which review comment is valid and applicable?

Options:

A.

The upper limit of 10 for the Size of PhontyQueue is too small and should be increased to at least 20 to accommodate special cases.

B.

The «bind» relationship between the concrete class Vector and the abstract class AbstractList is incorrect. It should be a Generalization relationship.

C.

The Generalization relationship between the concrete class PriorityOueue and the abstract class AbstractQueue is incorrect. It should be a «bmd» relationship.

D.

The template parameter Size cannot be added to a specialized class. It needs to be moved to the top of the hierarchy and added to AbstractCollection and AbstractQueue.

Question 21

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 22

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 23

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 24

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 25

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 26

Choose the correct answer:

Consider the following diagram:

action 1 executes the classifier Behavior of the input object What kind of Action is action 1?

Options:

A.

CallBehaviorAction

B.

CallOperationAction

C.

StartObjectBehaviorAction

D.

CallClassifierBehaviorAction

Question 27

Choose the correct answer:

Consider the following profile:

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.