You are on page 1of 86

OMG um0-200

Omg-certified uml Professional Intermediate Exam

Version 1.0
QUESTION NO: 1

For what does an interaction operator define semantics?

A. a particular interaction fragment

B. a particular interaction

C. a particular message

D. a particular combined fragment

Answer: D

QUESTION NO: 2

Which relationships would make the model in the exhibit ill-formed?

A. SpecialOrder and Order are related to each other via an association.

B. SpecialOrder is a subtype of Order.


C. Order is a subtype of SpecialOrder.

D. SpecialOrder and Order are related to each other via a dependency.

Answer: C

QUESTION NO: 3

What situation results from performing a CreateObjectAction on an abstract class?

A. arbitrary object of one of its subclasses being created

B. undefined behavior

C. object of the specified class being created

D. error log entry being created

E. exception being raised

Answer: B

QUESTION NO: 4

When either a message m or a message q is to be sent-but not both-what kind of operator for combined
fragment would be used?

A. opt

B. par

C. alt

D. break
E. var

Answer: C

QUESTION NO: 5

Triggers on two different transitions originating from two states at different levels of the same state are
simultaneously enabled (as shown in the exhibit). What does this mean?

A. The state machine is not well-formed.

B. The less deeply nested transition takes precedence over those with more depth.

C. More deeply nested transitions take precedence over those with less depth.

D. Both transitions are taken in arbitrary order.

Answer: C

QUESTION NO: 6

What kinds of arrows connect to central buffers?


A. control flows

B. unidirectional associations

C. object flows

D. state transitions

E. message passing

F. dependencies

Answer: C

QUESTION NO: 7

What does a loop node consist of?

A. clauses

B. partitions

C. parameters

D. bodyPart nodes

E. behaviors

F. guards

Answer: D

QUESTION NO: 8

What is a combined fragment?


A. more than one interaction combined in an interaction overview diagram

B. an interaction occurrence covering more than one lifeline

C. the combination of decomposed lifelines

D. a construct with interaction operands and an interaction operator

Answer: D

QUESTION NO: 9

Assume that !p means sending message p and ?p receiving it. In the exhibit, what is true about Mneg?

A. Neither p nor q should be sent between a and b.

B. <!p, ?q, ?p, !q> is an invalid trace according to Mneg.

C. p and q should not be sent concurrently from a to b.

D. <!p, !q, ?p, ?q> is an invalid trace according to Mneg.


Answer: D

QUESTION NO: 10

What is NOT true of a CreateObjectAction?

A. classifier must be abstract

B. classifier cannot be abstract

C. classifier cannot be an association class

D. output pin has multiplicity [1..1]

E. type of the output pin is the classifier.

F. output pin has multiplicity [1..*]

Answer: A,F

QUESTION NO: 11

What is NOT a correct assertion?

A. Stereotypes extending a model element can be retracted at any time.

B. Un-applying a profile from a model deletes all related stereotypes extending the model.

C. Stereotypes extending a model element are immutable.

D. A model element can be extended by several stereotypes at the same time.


Answer: C

QUESTION NO: 12

What characteristic does a behavior port possess?

A. owns the behavior of the classifier that owns the port

B. defines the behavior that the owning classifier must realize

C. has its own behavior that is distinct from the behavior of the classifier

D. relays any incoming messages directly to the behavior of the owning object

E. must have a protocol state machine

F. is a kind of behavior

Answer: D

QUESTION NO: 13

What does reaching the terminating pseudostate mean?

A. The final state has been reached.

B. The enclosing region is completed.

C. The "do" activity of the current state has completed.

D. A completion transition has occurred.

E. The context object of the state machine is terminated.


Answer: E

QUESTION NO: 14

When an object invokes a ReadSelfAction, what will it retrieve?

A. name of the invoking activity

B. class name of the invoking object

C. invoking object

D. attribute values and links for the invoking object

E. attribute values for the invoking object

Answer: B

QUESTION NO: 15

What is the difference between a stereotype and a metaclass?

A. A metaclass is a limited kind of a stereotype that can only be used in conjunction with one of the
stereotypes it limits.

B. Stereotypes can be specialized, but metaclasses cannot be specialized.

C. Metaclasses can be specialized, but stereotypes cannot be specialized.

D. A stereotype is a specialization of a metaclass that can be used by itself, whereas a metaclass must be
used with a stereotype.

E. A stereotype is a limited kind of a metaclass that can be only be used in conjunction with one of the
metaclasses it extends.
Answer: E

QUESTION NO: 16

What does a circle with an X in it (as depicted in the exhibit) represent inside UML 2.0 activity diagrams?

A. initial nodes

B. activity final nodes

C. merges

D. forks

E. joins

F. decisions

G. flow final nodes

Answer: G

QUESTION NO: 17

What is true when invoking a CreateObjectAction?

A. State machine transitions can be triggered.

B. The classifier cannot be an association class.


C. The classifier cannot be abstract.

D. Initial expressions can be evaluated.

E. Behaviors can be executed.

Answer: C

QUESTION NO: 18

What indicates an artifact instance in UML notation? (Choose two)

A. class box with two smaller rectangles on its left side

B. <<artifact>> keyword

C. memo box

D. single sheet icon with a folded-over corner

E. syntactically well-formed file name

Answer: B,D

QUESTION NO: 19

What kind of element is a central buffer?

A. activity

B. control node

C. action
D. object node

E. state

F. behavior

Answer: D

QUESTION NO: 20

What statement is true if a port delegates to multiple ports on subordinate components?

A. multiple delegation is not allowed

B. subordinate ports must collectively offer the delegated functionality of the delegating port

C. subordinate ports must be type compatible with the delegating port

D. at execution time, signals will be delivered from the subordinate ports to the delegating port

Answer: B

QUESTION NO: 21

What does a choice pseudostate designate?

A. point with an associated Boolean condition

B. point whose outgoing transitions are optional

C. point that is chosen dynamically during execution

D. a conditional fork pseudostate


E. point at which outgoing guards are evaluated

Answer: E

QUESTION NO: 22 CORRECT TEXT

What symbol depicts a SendSignalAction?

Answer: C

QUESTION NO: 23 CORRECT TEXT

Which is a correct representation of multiple extension and generalization/specialization? (Choose two)


Answer: C.D.

QUESTION NO: 24

What types of features may a component possess?

A. neither attributes nor operations

B. operations, but not attributes

C. attributes, but not operations

D. attributes and operations

Answer: D
QUESTION NO: 25

What value should insertAt be set to when adding a new value to the end of a 5-element ordered
structural feature using an AddStructuralFeatureValueAction?

A. -1

B. any integer greater than 5

C. infinity

D. 0

Answer: C

QUESTION NO: 26

In the exhibit, if the incoming arrows provide one control value and two data values, what values are
provided to the outgoing arrows?

A. the two data values

B. a single control value

C. both the control and two data values

D. a single data value combining the original two data values

Answer: A
QUESTION NO: 27

What does a structured node contain? (Choose two)

A. states

B. lifelines

C. classes

D. messages

E. nodes

F. edges

Answer: E,F

QUESTION NO: 28

What action would destroy all association links for an object in one operation?

A. DestroyLinkAction

B. RemoveStructuralFeatureAction

C. ClearAssociationAction

D. ClearStructuralFeatureAction

E. DestroyObjectAction

Answer: C
QUESTION NO: 29

In the exhibit, what is true for Mcritical?

A. Whenever q and p have been sent, r can be sent.

B. r can be sent whenever p has been sent.

C. There are legal traces according to Mcritical where r is absent.

D. The reception of p must precede sending of r.

Answer: D

QUESTION NO: 30 CORRECT TEXT

Which figures are correct models for extension and generalization/specialization? (Choose three)
Answer: A.D.E

QUESTION NO: 31 CORRECT TEXT

What stereotype notation is NOT correct?

Answer: D.

QUESTION NO: 32

What indicates an artifact instance in UML notation? (Choose two)


A. <<artifact>> keyword

B. class box with two smaller rectangles on its left side

C. syntactically well-formed file name

D. memo box

E. single sheet icon with a folded-over corner

Answer: A,E

QUESTION NO: 33

What situation results from an ApplyFunctionAction?

A. produces output values

B. reads objects, write objects, and produces output values

C. performs any set of UML actions

D. writes objects and produces output values

E. reads objects and produces output values

Answer: A

QUESTION NO: 34

Which must be true in order to use a delegation connector to connect two components?
A. One component must be part of the internal realization of the other component.

B. The components must have complex ports.

C. The components must be related to each other via a dependency.

D. One component must be a subtype of the other.

Answer: A

QUESTION NO: 35

Refer to the exhibit. Invoicer and SpecialOrderEntity are each preceded by a colon symbol, because they
name what type of component?

A. assembly connectors

B. parts of an instance level collaboration

C. delegation types

D. connection types
Answer: B

QUESTION NO: 36

What does an activity partition contain? (Choose two)

A. lifelines

B. states

C. classes

D. edges

E. nodes

F. messages

Answer: D,E

QUESTION NO: 37

What are true about the composite structure exhibit? (Choose two)

A. C has one part.

B. All instances corresponding to x and y will be destroyed when an instance of C is destroyed.


C. Every instance of Y must be connected to an instance of X.

D. Every instance of X must be connected to an instance of Y.

E. C has at least two properties.

Answer: A,E

QUESTION NO: 38 CORRECT TEXT

In the exhibit, what represents an interaction occurrence?

Answer: C

QUESTION NO: 39
In the exhibit, if the incoming arrows provide three control values, how many control values are
provided to the outgoing arrow?

A. three

B. two

C. none

D. one

Answer: D

QUESTION NO: 40

What will be deleted when performing a DestroyObjectAction on an object that participates in a


composition association with many components?

A. object, all its links, and all linked objects

B. object and all its component objects

C. component objects

D. object

E. object and all its links

Answer: D
QUESTION NO: 41

What is true for an exit action of a state?

A. occurs when final substate is reached

B. is executed before the exit actions of any containing states

C. occurs after the "do" action of a state completes

D. will be bypassed if a transition on a containing state is triggered

Answer: B

QUESTION NO: 42

Which statements apply to arguments of interaction occurrences? (Choose two)

A. The arguments may refer to parameters of the enclosing interaction.

B. Arguments to interaction occurrences only apply when the corresponding interaction is value
returning.

C. Arguments to interaction occurrences must always correspond to IN-parameters.

D. An argument of an interaction occurrence must only have simple types.

E. The arguments may be constants (literals).

Answer: A,E
QUESTION NO: 43

What does a run-to-completion processing for state machines mean?

A. The executions of orthogonal regions are serialized.

B. Interrupts are disabled while the state machine is running.

C. The thread executing the state machine cannot be pre-empted by the scheduler.

D. No other event will be processed until the current event is fully processed.

Answer: D

QUESTION NO: 44

In the exhibit, what are the valid traces for Cont1?

A. either p followed by q or q followed by p

B. only a p message followed by a q message


C. any combination of two p messages and two q messages

D. either two p messages or two q messages

Answer: A

QUESTION NO: 45

What is NOT true of a profile?

A. Applying a profile means that it is required to apply the stereotypes that are part of the profile.

B. A profile can be combined with others applied on the same model.

C. A profile can be removed at any time from a model.

D. Applying a profile means that it is allowed, but not required to apply the stereotypes that are part of
the profile.

Answer: A

QUESTION NO: 46

How many bar shapes can appear in a well-defined activity diagram?

A. an even number

B. an odd number

C. exactly two

D. any number
Answer: D

QUESTION NO: 47

What interface restrictions does a port have?

A. equal numbers of provided interfaces and required interfaces

B. exactly one provided interface or exactly one required interface

C. multiple required interfaces or multiple provided interfaces

D. multiple provided interfaces and multiple required interfaces

E. exactly one required interface and exactly one provided interface

Answer: D

QUESTION NO: 48

In the exhibit, if all incoming arrows provide the same value, how many values does the pin have?

A. none

B. three

C. one
D. two

Answer: B

QUESTION NO: 49

If a central buffer has one value and three outgoing arrows go to three actions, how many of the actions
will receive the value?

A. any number

B. none

C. one

D. two

Answer: C

QUESTION NO: 50

What are the kinds of structured nodes? (Choose two)

A. action

B. object node

C. conditional

D. loop

E. partition
Answer: C,D

QUESTION NO: 51

What is true when an event does not trigger any transitions in the current state?

A. An exception is raised.

B. The event is deferred until a state is reached that responds to that trigger.

C. The handling of the situation is a semantic variation point.

D. The event is discarded.

E. The state machine is not well formed.

Answer: D

QUESTION NO: 52

What is true about guards on interaction operands?

A. must always cover all lifelines covered by the operand

B. must only cover one lifeline, namely the one lifeline having the first event occurrence of the
interaction operand

C. should not refer to any dynamic variables, i.e., to attributes of the lifelines

D. must cover the same lifelines on all interaction operands within one combined fragment

Answer: B
QUESTION NO: 53

What is true about guards on interaction operands?

A. should not refer to any dynamic variables, i.e., to attributes of the lifelines

B. must only cover one lifeline, namely the one lifeline having the first event occurrence of the
interaction operand

C. must always cover all lifelines covered by the operand

D. must cover the same lifelines on all interaction operands within one combined fragment

Answer: B

QUESTION NO: 54

What is NOT true of a profile?

A. A profile can be removed at any time from a model.

B. Applying a profile means that it is allowed, but not required to apply the stereotypes that are part of
the profile.

C. A profile can be combined with others applied on the same model.

D. Applying a profile means that it is required to apply the stereotypes that are part of the profile.

Answer: D

QUESTION NO: 55
What does the composite structure notation in the exhibit show?

A. p is a port on a part of C, which is not shown.

B. p is a hidden port of C.

C. p is a port providing a system service.

D. p is a behavior port of C.

Answer: B

QUESTION NO: 56

In a state machine, what is true for a "do" activity of a state?

A. can only appear in a composite state

B. specifies a condition that must always be true when the state is active

C. is equivalent to an entry action of a state

D. executes repeatedly as long as the state is active

E. starts executing when the state is entered

Answer: E
QUESTION NO: 57

What does via foo in the exhibit designate?

A. the sending of a foo message on the transition

B. transient pseudostate named foo

C. a Boolean guard equal to the logical value of foo

D. an action foo associated with the transition

E. a transition terminating on the foo entry point

Answer: E

QUESTION NO: 58

What does the composite structure exhibit show?


A. The two F interfaces must come from different packages.

B. Requests for behavioral features of interface F through ports p1 and p2 can be distinguished.

C. Requests for behavioral features of interface F through ports p1 and p2 will always result in the same
behavior.

D. The diagram is not valid.

Answer: B

QUESTION NO: 59

Instances of the CommunicationPath class connect instances of which classes in a deployment diagram?

A. InstanceSpecification and DeploymentSpecification

B. two Nodes

C. Node and Property

D. Node and Signal

E. DeploymentTarget and DeployedArtifact

Answer: B
QUESTION NO: 60

What types of features may a component possess?

A. attributes, but not operations

B. operations, but not attributes

C. attributes and operations

D. neither attributes nor operations

Answer: C

QUESTION NO: 61

What best describes the semantics modeled by the exhibit?

A. The OrderEntity component is part of the internals of the Invoicer component.

B. This is an illegal diagram.

C. The Invoicer has a complex port that provides the interface GenerateInvoice and requires the
interface Order.

D. The Invoicer has a complex connector that connects the GenerateInvoice interface with the Order
interface.

Answer: C
QUESTION NO: 62

What is true about a pseudostate?

A. a state that can be specialized for different purposes

B. a state entry or exit point

C. a specification of a potential state

D. not a state but a vertex

Answer: D

QUESTION NO: 63

In the exhibit, what is true about Mpar?


A. There are legal traces that do not contain message q.

B. Receiving p must always precede receiving q.

C. Every trace contains all three messages.

D. Sending p must always precede sending q.

Answer: C

QUESTION NO: 64

Which list contains only connectable elements?

A. behavior, port and property

B. property, port, and parameter

C. behavior, connector end, and port

D. port and connector end

E. connector end, port and part

Answer: B

QUESTION NO: 65 CORRECT TEXT

What are valid representations of a CallOperationAction? (Choose two)


Answer: A. C

QUESTION NO: 66

What kind of relationship is an extension in UML 2.0?

A. reification

B. generalization

C. association

D. dependency

Answer: C

QUESTION NO: 67

A protocol state machine can be used to describe which aspect of a component?

A. configuration of an assembly

B. signal flow among connectors


C. internals of a component

D. external contract of a component

Answer: D

QUESTION NO: 68

What most accurately describes the semantics modeled by the exhibit?

A. Invoicer realizes HeaderGenerator and LineItemGenerator.

B. An Invoicer component is composed of a HeaderGenerator component and a LineItemGenerator


component.

C. HeaderGenerator and LineItemGenerator are Invoicer ports.

D. HeaderGenerator and LineItemGenerator realize Invoicer.

Answer: D

QUESTION NO: 69

What represents the deployment target of a deployed artifact?


A. a node instance, but never a property instance

B. a shared aggregation relationship

C. the location of the deployed artifact

D. the deployed artifact's output data stream

Answer: C

QUESTION NO: 70

What determines whether a loop continues execution?

A. clauses

B. behaviors

C. partitions

D. test nodes

E. guards

Answer: D

QUESTION NO: 71

In UML, what kind of behaviors are state machines used to describe?

A. continuous
B. software based

C. discrete

D. continuous or discrete

Answer: C

QUESTION NO: 72

In the exhibit, if the incoming arrow provides a value, how many of the outgoing arrows will be given
values?

A. two

B. one

C. three

D. none

Answer: C

QUESTION NO: 73
What elements can have variables in activity diagrams?

A. activities

B. structured edges

C. structured nodes

D. partitions

E. actions

Answer: C

QUESTION NO: 74

What is correct about a profile? (Choose two)

A. is applied to a package

B. can dynamically change its reference metamodel

C. cannot be used without its reference model

D. is applied to a reference metamodel

Answer: A,C

QUESTION NO: 75

What is NOT a valid VariableAction?


A. SetVariableAction

B. ReadVariableAction

C. AddVariableValueAction

D. RemoveVariableValueAction

E. ClearVariableAction

Answer: A

QUESTION NO: 76

What is wrong with the Sale instance diagram shown in the exhibit?

A. Link should be shown with a dashed line.

B. Link name should be underlined.

C. Types of the buyer and seller parts are missing.

D. Sale instance name is missing.

E. buyer instance name is missing.

Answer: B
QUESTION NO: 77

What is the semantic difference between the two figures in the exhibit?

A. One is a UML 2.0 diagram, while other is a UML 1.5 diagram.

B. There is no semantic difference.

C. One is a deployment diagram, while the other is a class diagram.

D. One is a white-box view, while the other is a black-box view.

Answer: B

QUESTION NO: 78

What does the final state of a composite state indicate?

A. The context object of the state machine is terminated.

B. A completion transition has occurred.


C. The "do" activity of the state has completed.

D. The enclosing region is completed.

E. The state machine has terminated.

Answer: D

QUESTION NO: 79

What does a state list represent?

A. set of states that share the same entry and exit actions

B. notational shorthand for a set of states

C. set of states that share a single outgoing transition

D. list of the substates of a composite state

Answer: B

QUESTION NO: 80

What interface restrictions does a port have?

A. exactly one required interface and exactly one provided interface

B. multiple provided interfaces and multiple required interfaces

C. multiple required interfaces or multiple provided interfaces

D. exactly one provided interface or exactly one required interface


E. equal numbers of provided interfaces and required interfaces

Answer: B

QUESTION NO: 81

What is true of a required interface associated with a port?

A. represents an interface that must be defined in the same package in which the classifier owning the
port is defined

B. identifies the services that the object owning the port expects of objects connected via that port

C. represents an interface that must be defined within the classifier that owns the port

D. identifies the services that the object owning the port can offer to other objects connected via that
port

Answer: B

QUESTION NO: 82

Which must be true in order to use a delegation connector to connect two components?

A. One component must be part of the internal realization of the other component.

B. One component must be a subtype of the other.

C. The components must be related to each other via a dependency.

D. The components must have complex ports.


Answer: A

QUESTION NO: 83

What are valid ways to present a component's artifacts file, such as a jar file? (Choose two)

A. stereotype of class with keyword <<file>> with a solid arrow pointing to the related component

B. stereotype of class with keyword <<archive>>with a dashed arrow pointing to the related component

C. stereotype of a component with keyword <<file>> with a solid arrow pointing to the related
component

D. stereotype of a component with keyword <<archive>> with a dashed arrow pointing to the related
component

E. as a compartment of a related component

Answer: B,E

QUESTION NO: 84

What is the primary extension construct of a profile?

A. a stereotype

B. a metaclass

C. a tag definition

D. a constraint

Answer: A
QUESTION NO: 85

What is an invocation action on a port used for?

A. invoking the behavior of the classifier that owns the port

B. creating a link and attach it to that port

C. sending a message to that port

D. relaying the invocation via links connected to that port

E. receiving a message on that port

Answer: D

QUESTION NO: 86

What may a profile NOT own?

A. new associations

B. associations that redefine existing associations

C. stereotypes

D. metaclasses

Answer: A
QUESTION NO: 87

What does the history of a state represent?

A. most recent active configuration of its substates

B. most recent transition that was taken into the state

C. most recent transition that was taken out of the state

D. number of times that the state has been active before

Answer: A

QUESTION NO: 88

What does a conditional node consist of?

A. parameters

B. behaviors

C. partitions

D. clauses

E. guards

F. bodyPart nodes

Answer: D

QUESTION NO: 89
What does the lower bound of the multiplicity of a part in a structured classifier indicate? The
minimum number of _______.

A. links that can be connected to that part

B. connectors that can be connected to that part

C. instances corresponding to that part that can exist when the classifier is instantiated

D. times that an instance corresponding to that part can be created during the lifetime of the structured
classifier instance

Answer: C

QUESTION NO: 90

Refer to the exhibit. What is the significance of the fact that the Administration interface symbol
extends downward rather than leftward?

A. The interface cannot be provided via a port.

B. The interface is not publicly visible on the component.

C. The interface is the primary provided interface for the component.

D. The interface is the primary interface for the component.

E. The interface does not require a delegation connector.


F. There is no significance.

Answer: F

QUESTION NO: 91

A protocol state machine can be used to describe which aspect of a component?

A. internals of a component

B. configuration of an assembly

C. external contract of a component

D. signal flow among connectors

Answer: C

QUESTION NO: 92

In the exhibit, how many of the arrows must provide values for the outgoing arrow to be given a value?

A. two

B. three
C. none

D. one

Answer: B

QUESTION NO: 93

What situation results from performing a CreateObjectAction on an abstract class?

A. object of the specified class being created

B. exception being raised

C. error log entry being created

D. undefined behavior

E. arbitrary object of one of its subclasses being created

Answer: D

QUESTION NO: 94

What relationships are used to wire (i.e., fully interconnect) components together so that they are
interoperable?

A. dependencies and connectors

B. realization relationships and associations

C. associations and connectors

D. dependencies, connectors, and realization relationships


Answer: A

QUESTION NO: 95

What does a run-to-completion processing for state machines mean?

A. The thread executing the state machine cannot be pre-empted by the scheduler.

B. The executions of orthogonal regions are serialized.

C. Interrupts are disabled while the state machine is running.

D. No other event will be processed until the current event is fully processed.

Answer: D

QUESTION NO: 96

Refer to the exhibit. How many interfaces does the TradeBroker component make visible to its clients?

A. 4
B. 2

C. 3

D. 0

E. 1

Answer: B

QUESTION NO: 97

What might a connector specify?

A. messages

B. classes

C. dependencies

D. associations

E. links

Answer: E

QUESTION NO: 98

What determines whether a clause executes?

A. behaviors

B. classes
C. guards

D. test nodes

E. parameters

Answer: D

QUESTION NO: 99

For what does an interaction operator define semantics?

A. a particular interaction fragment

B. a particular interaction

C. a particular message

D. a particular combined fragment

Answer: D

QUESTION NO: 100

What is true of a local transition of a state?

A. a transition that will not execute the exit and entry actions of the state but only those of its substates

B. any transition that occurs only in that state

C. a transition that cannot be triggered if no substate is active

D. equivalent to an internal transition


Answer: A

QUESTION NO: 101

In the exhibit, what is true about the deployment location?

A. is at the "instance" level

B. is at the "type" level

C. is over-crowded

D. is parameterized by four DeploymentSpecifications

Answer: A

QUESTION NO: 102

In the exhibit, what is true about the diagram MOpt?


A. All traces of MOpt include message p.

B. All traces of MOpt include message q.

C. No traces of MOpt include both messages p and q.

D. Receiving p will come before sending q.

Answer: B

QUESTION NO: 103

A component may legally participate in which relationship(s)?

A. dependencies

B. dependencies and generalizations

C. associations and generalizations

D. dependencies, associations, and generalizations


Answer: D

QUESTION NO: 104

What statements are true about a composite structure? (Choose two)

A. The behavior of a structured classifier must be completely defined through the collaboration of
owned or referenced instances.

B. A structured classifier is also an encapsulated classifier.

C. Structured classifiers cannot contain instances of structured classifiers.

D. Collaborations are structured classifiers.

E. Destroying an instance of a structured classifier normally destroys instances of its parts.

Answer: D,E

QUESTION NO: 105

An encapsulated classifier is characterized by which fact?

A. can own one or more ports

B. has an encapsulation shell

C. acts as a package and can own one or more classifiers

D. hides information from other classifiers

Answer: A
QUESTION NO: 106

Assume !x means sending message x and ?x means receiving message x. Which operator should replace
the text "op" in the combined fragment such that <!p, !q, ?q, ?p> is a valid trace.

A. critical

B. loop

C. rem

D. alt

E. par

Answer: E

QUESTION NO: 107

In the exhibit, what applies if the interaction constraint is false when the loop is entered?
A. The loop body is not included in a valid trace.

B. Valid traces include both the case where the loop iterates once, and when it iterates zero times.

C. All valid traces will include message r.

D. The specification is illegal.

Answer: C

QUESTION NO: 108

What is true of outgoing transitions from a fork pseudostate?

A. may have guards

B. can only exist if the object is declared concurrent

C. must terminate in different regions of a state

D. are mutually exclusive


E. are taken serially in arbitrary order

Answer: C

QUESTION NO: 109

How many arrows can connect to a partition?

A. two

B. none

C. one

D. any number

Answer: B

QUESTION NO: 110

What can return a result on an output pin?

A. BroadcastSignalOperation

B. CallBehaviorAction

C. DestroyObjectAction

D. AddVariableValueAction

E. SendObjectAction
Answer: B

QUESTION NO: 111

Assume !p denotes sending of p, ?p the reception of p. In the exhibit, what traces are valid? (Choose
three)

A. <!p, !r, ?p, ?r, !r, ?r, !r, ?r, !q, ?q>

B. <!p, ?p, !q, ?q>

C. <!p, ?p, !r, !r, ?r, ?r, !q, ?q>

D. <!p, !r, ?p, ?r, !r, ?r, !r, ?q, !r, ?q>

E. <!p, ?p, !r, ?r, !r, !q, ?r, ?q>

F. <!p, !r, ?p, ?r, !r, !q, ?r, ?q>

Answer: A,B,C
QUESTION NO: 112

How many arrows can point from a flow final node?

A. any number

B. none

C. two

D. one

Answer: B

QUESTION NO: 113

What is a ConnectionPointReference used to declare?

A. a pseudostate

B. an entry or exit point of a submachine state

C. a submachine state

D. an entry or exit point of a state

E. a pointer to a connection point

Answer: B

QUESTION NO: 114


What is true about a collaboration?

A. identifies a protocol state machine

B. describes the internal structure of a structured classifier

C. describes how multiple classifiers achieve a task together

D. describes one or more interactions working together

Answer: C

QUESTION NO: 115

What does a region in a state machine represent?

A. part of a composite state or a state machine containing transitions and vertices

B. separate thread of execution

C. contained state machine

D. concurrent state

E. concurrent object owned by the context object of the state machine

Answer: A

QUESTION NO: 116

If the node in the exhibit receives a value, what happens to other values flowing in the diagram
containing the node?
A. They stop for a time specified by the small circle.

B. They are aborted.

C. nothing

D. They stop until the small circle emits a value.

Answer: C

QUESTION NO: 117

What situation results from an ApplyFunctionAction?

A. reads objects and produces output values

B. produces output values

C. reads objects, write objects, and produces output values

D. writes objects and produces output values

E. performs any set of UML actions

Answer: B

QUESTION NO: 118

What is the difference between a stereotype and a metaclass?


A. A metaclass is a limited kind of a stereotype that can only be used in conjunction with one of the
stereotypes it limits.

B. Stereotypes can be specialized, but metaclasses cannot be specialized.

C. Metaclasses can be specialized, but stereotypes cannot be specialized.

D. A stereotype is a specialization of a metaclass that can be used by itself, whereas a metaclass must be
used with a stereotype.

E. A stereotype is a limited kind of a metaclass that can be only be used in conjunction with one of the
metaclasses it extends.

Answer: E

QUESTION NO: 119

What is NOT a purpose of a port owned by a classifier?

A. provides a distinct point of interaction between the classifier and its environment

B. serves as an end point for connectors

C. hides the internals of that classifier from other classifiers

D. specifies an association to the classifier

Answer: D

QUESTION NO: 120

In the exhibit, what is true for Massert?


A. A message p may come anywhere in the assert combined fragment.

B. Following a message p, a message m would be valid.

C. Following a message p, a message m would be invalid.

D. A message q that occurs before a message p is invalid.

Answer: C

QUESTION NO: 121

What is NOT true about a roles and role bindings?

A. A role binding is an association.

B. The same connectable element may be bound to multiple roles in a single collaboration occurrence.

C. A role binding maps a connectable element to a role in a collaboration occurrence.

D. The same object may play roles in multiple collaborations.

E. A role typed by an interface specifies a set of features required by a participant in a collaboration.


Answer: A

QUESTION NO: 122

In the exhibit, what is true about Mpar?

A. Sending p must always precede sending q.

B. Every trace contains all three messages.

C. Receiving p must always precede receiving q.

D. There are legal traces that do not contain message q.

Answer: B

QUESTION NO: 123


In the exhibit, how many of the arrows must provide values for the outgoing arrow to be given a value?

A. three

B. one

C. two

D. none

Answer: A

QUESTION NO: 124

What is true of a composite state with two regions?

A. is a kind of submachine state

B. can have separate entry and exit actions for each region

C. is an orthogonal state

D. is executed concurrently

E. is equivalent to two states with one region each

Answer: C
QUESTION NO: 125

Which is true of a provided interface associated with a port?

A. represents an interface that must be defined within the classifier that owns the port

B. identifies the services that the object owning the port can offer to other objects connected via that
port

C. identifies the services that the object owning the port expects of objects connected via that port

D. represents an interface that must be defined in the same package in which the classifier owning the
port is defined

Answer: B

QUESTION NO: 126

What is the notation for gates?

A. small rectangle on the fragment frame with associated name

B. point on the fragment frame with an optional name

C. circular disc at the interaction frame

D. small arrow either into or out from the fragment frame

Answer: B

QUESTION NO: 127


What does the composite structure notation in the exhibit mean?

A. Object c1 is a kind of component.

B. Port p realizes the features defined by interface F.

C. Class C has internal structure.

D. Port p requires the features defined by interface F.

E. Port p is connected to an object called F.

Answer: D

QUESTION NO: 128

What is true about a pseudostate?

A. not a state but a vertex

B. a state that can be specialized for different purposes

C. a state entry or exit point

D. a specification of a potential state

Answer: A
QUESTION NO: 129

In the exhibit, what is true about Mbreak?

A. q appears in all traces.

B. Either p or q appears in a trace, but not both.

C. p appears in all traces.

D. Both p and q appear in all traces.

Answer: B

QUESTION NO: 130

Assume component A provides an interface P and requires an interface R. In order for a component B to
be substituted for component A, what must be true?
A. The interface that B requires must be type conformant with respect to the interface that A requires,
and the interface that B provides must be type conformant with respect to the interface that A provides.

B. The interface that A requires must be type conformant with respect to the interface that B provides.

C. The interface that B requires must be type conformant with respect to the interface that A provides.

D. Components must be related to each other via a dependency.

Answer: A

QUESTION NO: 131

What is permitted for the profile mechanism?

A. removes existing metamodels

B. extends existing metamodels

C. changes existing metamodels

D. creates new metamodels

Answer: B

QUESTION NO: 132

What does it mean when message m is ignored in a combined fragment?

A. Nothing happens within the fragment until m appears.

B. Message m appears only in illegal traces of the fragment.


C. One or more m messages may appear at any point within the fragment.

D. If m happens, the system should abort.

Answer: C

QUESTION NO: 133

What best describes the distinction between a delegation connector and an assembly connector?

A. Assembly connectors provide white box views of components, while delegation connectors provide
black box views.

B. An assembly connector connects the required interface or required port of one component with the
provided interface or provided port of another component, while a delegation connector connects the
external contract of a component with its internal parts.

C. A delegation connector can be used to model the internals of a component, while an assembly
connector cannot.

D. An assembly connector connects two components while a delegation connector connects the internal
contract of a component with its external parts.

Answer: B

QUESTION NO: 134 CORRECT TEXT

What symbol depicts a CallBehaviorAction?


Answer: E

QUESTION NO: 135

What does via foo in the exhibit designate?

A. a Boolean guard equal to the logical value of foo

B. an action foo associated with the transition

C. transient pseudostate named foo

D. the sending of a foo message on the transition

E. a transition terminating on the foo entry point

Answer: E

QUESTION NO: 136

Refer to the exhibit. How many interfaces does the CustomerService component make visible to its
clients?
A. 3

B. 4

C. 0

D. 1

E. 2

Answer: A

QUESTION NO: 137

What most accurately describes the semantics modeled by the exhibit?


A. Invoicer realizes HeaderGenerator and LineItemGenerator.

B. HeaderGenerator and LineItemGenerator are Invoicer ports.

C. An Invoicer component is composed of a HeaderGenerator component and a LineItemGenerator


component.

D. HeaderGenerator and LineItemGenerator realize Invoicer.

Answer: D

QUESTION NO: 138

What is true when deferrable triggers of a state specify triggering events?

A. will be consumed after the state is exited

B. will be consumed when a state in which they are no longer deferred is reached

C. are ignored in that state

D. are of lower priority

Answer: B

QUESTION NO: 139

What characteristic does a ConnectableElement possess?

A. can be connected to other elements by connectors

B. represents the end of a communication channel

C. can own connectors


D. can have associations

Answer: A

QUESTION NO: 140

What best describes the semantics modeled by the exhibit?

A. The OrderEntry component and the Invoicer component both require the services described by the
Order interface and use an OrderEntry component that provides those services.

B. OrderEntry delegates to both OrderEntry and Invoicer.

C. OrderEntry and Invoicer are ports of OrderEntry.

D. Signals travel from an OrderEntry port and an Invoicer port, and join into a composite signal that
flows to an OrderEntry port. The signals flow along instances of the Order interface.

Answer: A
QUESTION NO: 141

What kind of class is the Device class?

A. Hardware

B. Association

C. Node

D. Installation

E. ExecutionEnvironment

Answer: C

QUESTION NO: 142

What does the composite structure exhibit show?

A. Requests for behavioral features of interface F through ports p1 and p2 will always result in the same
behavior.

B. Requests for behavioral features of interface F through ports p1 and p2 can be distinguished.

C. The two F interfaces must come from different packages.

D. The diagram is not valid.


Answer: B

QUESTION NO: 143

What is the meaning of a required extension?

A. An instance of the extending stereotype must never be linked to an instance of the extended
metaclass.

B. This extension has a higher priority than the other defined in the same profile.

C. The extension must be applied at least once in a model.

D. An instance of the extending stereotype must always be linked to an instance of the extended
metaclass.

Answer: D

QUESTION NO: 144

What is true for part decomposition in interaction diagrams?

A. must always be owned by the same interaction as the decomposed lifeline

B. cannot be reused as decomposition from another lifeline

C. must match the constructs of the decomposed lifeline

D. always refers to methods of the decomposed lifeline

Answer: C
QUESTION NO: 145

Where is an interaction constraint placed?

A. above the first event within an interaction operand

B. always at the top of an interaction

C. either on the top of an operand or at the bottom of an operand

D. directly outside the combined fragment

Answer: A

QUESTION NO: 146

In the exhibit, what is true about Mstrict?

A. Sending q precedes reception of r in all legal traces.


B. Sending r precedes sending p in all legal traces.

C. Within the strict combined fragment, sending a signal will immediately be followed by the reception
of that signal.

D. The whole Mstrict has only one legal trace.

Answer: A

QUESTION NO: 147

What is true of a completion transition?

A. has no trigger defined

B. is only triggered by a completion event

C. is executed when the final state is reached

D. is executed when the state machine is terminated

Answer: B

QUESTION NO: 148

What is implied when a transition terminates on the outer border of a composite state that has an
initial and a history pseudostate?

A. The outgoing transition from the initial pseudostate is taken.

B. The outgoing transition from the history pseudostate is taken.

C. The outgoing transition from the final pseudostate is taken.


D. The state is not entered.

Answer: A

QUESTION NO: 149

What must be true for a connector to be well formed if a delegation connector delegates to more than
one target port?

A. The interfaces of the target ports must have no features in common.

B. The interface of each of the target ports must be signature compatible with the interface that is the
type of the source port.

C. The union of the interfaces of the target ports must be signature compatible with the interface that is
the type of the source port.

D. The interface of at least one of the target ports must be signature compatible with the interface that
is the type of the source port.

Answer: C

QUESTION NO: 150

Why are profiles NOT a first class extension mechanism?

A. They do not permit customizing for domains, platforms, and methods.

B. They do not allow for modifying existing stereotypes.

C. They do not allow for modifying existing metamodels.

D. They permit removing constraints that apply to existing metamodels.


Answer: C

QUESTION NO: 151

How can the internals of a component be presented?

A. using a complex component connector

B. in a compartment of the component box or via boxes nested within the component box

C. component provides port or a component requires port

D. in a compartment of the component box or a component requires port

Answer: B

QUESTION NO: 152

To what does an internal structure of a class refer?

A. the set of structural features of that class

B. class and associations owned by that class

C. the inheritance structure of that class

D. the set of nested classifiers of that class

E. the decomposition of that class in terms of interconnected parts

Answer: E
QUESTION NO: 153

What is the difference between a tag definition and a tagged value?

A. The properties of metaclasses are sometimes referred to as tag definitions. When a metaclass is
applied to a model element, the values of the properties may be referred to as tagged values.

B. The properties of stereotypes are sometimes referred to as tagged values. When a stereotype is
applied to a model element, the values of the properties may be referred to as tag definitions.

C. The properties of stereotypes are sometimes referred to as tag definitions. When a stereotype is
applied to a model element, the values of the properties may be referred to as tagged values.

D. They are synonyms.

Answer: C

QUESTION NO: 154

What objects receive a signal sent by a BroadcastSignalAction?

A. all objects that have a reception for the signal

B. all objects

C. objects that are on the same node as the actions

D. objects that are instantiated from classes in the package of the action

E. objects are determined by semantic variation

Answer: E

You might also like