Summer Special Sale - Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 575363r9

Welcome To DumpsPedia

OMG-OCUP2-ADV300 Sample Questions Answers

Questions 4

Choose the correct answer:

Consider the following diagrams:

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.

Buy Now
Questions 5

Choose the correct answer:

Which capability Is provided by the Profile mechanism?

Options:

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

Buy Now
Questions 6

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

Buy Now
Questions 7

Choose the correct answer:

A group of programming language designers want to create classes that model typical data collections such as arrays, lists, maps. etc.

Their design must satisfy three conditions:

1. The collections must be parameterizable to support any data type.

2. Some collections must inherit from other collections to leverage reuse of functionality.

3. The implementation of the collection functions cannot be overridden.

Which UML concept should these designers use?

Options:

A.

Classes

B.

Interfaces

C.

Power Types

D.

Class Templates

Buy Now
Questions 8

Choose the correct answer:

What holds for the neg combined fragment?

Options:

A.

A neg fragment followed by normal positive constructs will make all traces valid.

B.

A neg fragment comprising another neg fragment will result in only valid traces.

C.

Normal positive constructs followed by a neg fragment will define some invalid traces.

D.

An assert fragment comprising a neg fragment will make the invalid traces into valid ones.

Buy Now
Questions 9

Choose the correct answer:

Which statement defines Alf Input text?

Options:

A.

It is a concrete representation tor UML model elements in fUML.

B.

It is a language used with OCL for writing sound and valid constraints.

C.

It is a representation of UML model elements in a programming language.

D.

It is usually used to enhance the expressiveness of UML profile stereotypes.

Buy Now
Questions 10

Choose the correct answer:

Consider the following diagram:

What does the string {guarded} mean?

Options:

A.

The execution of op1 is guarded by one or more exceptions which it will handle if they arise.

B.

Multiple invocations of op1 that overlap in time may occur to one instance, but only the first one will get handled.

C.

Multiple invocations of op1 that overlap in time may occur to one instance, but only one is allowed to commence.

D.

The execution of op1 Is guarded by one or more exceptions. Behaviors invoking it are required to handle these exceptions

Buy Now
Questions 11

Choose the correct answer: Consider the following definition:

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.

Buy Now
Questions 12

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.

Buy Now
Questions 13

Choose the correct answer:

Which behavioral process can be modeled by a FunctionBehavior?

Options:

A.

populating a file-based Spreadsheet with mathematical functions and their input values

B.

turning on or off a light in room depending on whether people are or are not in that room

C.

taking thenext 5 elements out of a First in First Out queue

D.

return an array containing the Fibonacci sequence (0.1.1. 2. 3. 5.....n) for a given parameter n

E.

UML has no concept of FunctionBehavior.

Buy Now
Questions 14

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

Buy Now
Questions 15

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.

Buy Now
Questions 16

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

Buy Now
Questions 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).

Buy Now
Questions 18

Choose the correct answer:

Consider the following template Operation:

addElement (e : E)

Which Operation represents a binding of that template Operation?

Options:

A.

addElement (e : Card)

B.

addElement

C.

addElement« E -> Card » (e : Card)

D.

addElement «bind» E -> Card (e)

Buy Now
Questions 19

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

Buy Now
Questions 20

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.

Buy Now
Questions 21

Choose the correct answer: What does Protocol Conformance represent?

Options:

A.

It shows that the general Protocol State Machine conforms to the inherited Protocol State Machine.

B.

It declares that the general Protocol State Machine specifies a protocol that conforms to that specified by the nested Protocol State Machine.

C.

It specifies that the specific Protocol State Machine represents a protocol that conforms to that specified by the redefined Protocol State Machine.

D.

It represents a declaration that every rule and constraint specified for the general Protocol State Machine applies to the specific Protocol State Machine.

Buy Now
Questions 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.

Buy Now
Questions 23

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.

Buy Now
Questions 24

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

Buy Now
Questions 25

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

Buy Now
Questions 26

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.

Buy Now
Questions 27

Choose the correct answer:

What is the difference between a ValueSpecificattonActlon and a CreateObjectAction?

Options:

A.

There is no difference between the possible results of the CreateObjectAction and the ValueSpecificationAction

B.

A ValueSpecificationAction cannot produce instances of Classifiers, but a CreateObjectAction only produces instances of Classifiers

C.

When an InstanceValue is produced by a CreateObjectAction. the Structural Features can be assigned values, but when an InstanceValue is produced by a ValueSpecificationAction, the Structural Features have no values.

D.

When an InstanceValue is produced by a ValueSpecificationAction, the Structural Features can be assigned values, but when an InstanceValue is produced by a CreateObjectAction, the Structural Features have no values.

Buy Now
Exam Code: OMG-OCUP2-ADV300
Exam Name: OMG Certified UML Professional 2 (OCUP 2) - Advanced Level
Last Update: Oct 10, 2025
Questions: 90
$66  $164.99
$50  $124.99
$42  $104.99
buy now OMG-OCUP2-ADV300