Pre-Winter Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

OMG-OCUP2-ADV300 Leak Questions

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

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