OMG omg-ocup-300 practice test

OMG Certified UML Professional? Exam


Question 1

Which classifiers may NOT realize an InformationItem?

  • A. InformationItem
  • B. Interface
  • C. ObjectNode
  • D. Component
  • E. Signal
  • F. Class
Answer:

C

Discussions

Question 2

What happens if the explicit context declaration is omitted from an OCL statement on a diagram?

  • A. Nearest operation is made the context.
  • B. Nearest classifier is made the context.
  • C. Context may be specified by a dashed line.
  • D. Last identified context is used.
  • E. Statement is malformed.
Answer:

C

Discussions

Question 3

What does a Property become in the Deployment Nodes package?

  • A. an artifact in an ExecutionEnvironment
  • B. a deployment target, in all cases
  • C. a deployment target only if it is a node embedded inside a containing node
  • D. an instance specification
  • E. another property
  • F. a containing node only if it is a node embedded inside a deployment target
Answer:

C

Discussions

Question 4

What is true about an information flow?

  • A. requires that a relationship (dependency, association, connector, etc.) does not exist between sources and targets
  • B. defines the order in which information is exchanged
  • C. may directly indicate a concrete element such as a class, and is conveyed instead of using an information item
  • D. requires that a relationship (dependency, association, connector, etc.) exists between sources and targets
Answer:

C

Discussions

Question 5

What does a collaboration occurrence describe?

  • A. a particular aspect of a collaboration
  • B. the instantiation of the pattern specified by the corresponding collaboration
  • C. an object that is an instance of a collaboration
  • D. a collaboration that contains a set of actual instances (as opposed to roles)
Answer:

B

Discussions

Question 6

An employee inadvertently removed all of the ownedMembers of the new BoosterMotor component
from his company's development repository. The next day, the manager was unable to find some
pieces of the BoosterMotor component's specification. What pieces could the manager no longer
find? (Choose two)

  • A. failure mode use cases
  • B. the launch assembly housing the BoosterMotor
  • C. test scripts for the rocket sled simulation
  • D. the component repository
  • E. the component's isIndirectlyInstantiated attribute
Answer:

A,C

Discussions

Question 7

How is a power type indicated in a diagram?

  • A. as a generalization set labeled with a colon followed by a classifier name
  • B. as an association line labeled <<powerType>>
  • C. as a generalization set labeled <<powerType>>
  • D. as a generalization set labeled with a colon followed by the label <<powerType>>
  • E. as a classifier labeled <<powerType>>
Answer:

A

Discussions

Question 8

Which situations would result in errors when executing a ReclassifyObjectAction on an object?
(Choose two)

  • A. All classifiers are removed from the object.
  • B. A new classifier is an abstract class.
  • C. The old and new classifiers are identical.
  • D. No new classifiers are supplied.
  • E. An old classifier does not already classify the object.
  • F. A new classifier already classifies the object.
Answer:

A,B

Discussions

Question 9

What are the correct identities of packages A and B in the exhibit?

  • A. A = UML; B = Profiles
  • B. A = OCL; B = QVT
  • C. A = Diagram Interchange; B = OCL
  • D. A = OCL; B = XMI
  • E. A = XMI; B = MDA
Answer:

A

Discussions

Question 10

What are the correct identities of packages A and B for the InfrastructureLibrary package in the
exhibit?

  • A. A = Basic; B = Profiles
  • B. A = Core; B = Profiles
  • C. A = Abstractions; B = Constructs
  • D. A = Core; B = Superstructure
  • E. A = PrimitiveTypes; B = Core
Answer:

B

Discussions
To page 2