New Year Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

OMG-OCUP2-FOUND100 OMG Certified UML Professional 2 (OCUP 2) - Foundation Level Questions and Answers

Questions 4

Choose the correct answer:

In UML modeling, what is the (unction of Comments?

Options:

A.

to provide additional semantics to the model elements

B.

to provide useful information to the reader of the model

C.

to enable automatic generation of comments in the code

D.

to add UML constraints to one or more model elements of the diagrams

Buy Now
Questions 5

Choose the correct answer:

Consider the following diagram:

OMG-OCUP2-FOUND100 Question 5

Which element(s) from P3 are visible inside P2 without using a qualified name?

Options:

A.

None

B.

One

C.

TWo

D.

One and Two

Buy Now
Questions 6

Choose the correct answer:

Which category of stakeholders should have prime responsibility for making decisions on the contents of a domain model, and why?

Options:

A.

The customers, as they will own the system when it is delivered

B.

The users, as they will be using the system when it is operational.

C.

All involved stakeholders, as they are knowledgeable and concerned.

D.

The development team, as they are responsible for the final implementation.

E.

Project managers, as they are responsible for delivering the right product to the customer

F.

The testing team, as test-driven design is proven to be an effective approach to development

G.

The system architects, as they are responsible for the design of the system and its proper functioning.

Buy Now
Questions 7

Choose the correct answer:

Consider the following invalid state machine fragment:

OMG-OCUP2-FOUND100 Question 7

Why is the diagram invalid?

Options:

A.

A transition requires a trigger or guard.

B.

A guard condition is not allowed on the initial transition.

C.

A trigger is not allowed on the transition to the final state.

D.

A transition is not allowed to leave and enter the same state.

Buy Now
Questions 8

Choose the correct answer:

Consider the following diagram fragment:

OMG-OCUP2-FOUND100 Question 8

Which statement is correct about the parameter part?

Options:

A.

It is optional.

B.

It accepts a collection of items.

C.

It accepts only values either 0 or 1.

D.

It accepts only values between 0 and 1.

Buy Now
Questions 9

Choose the correct answer:

In the model shown below, what is gained by using the Extend relationship?

OMG-OCUP2-FOUND100 Question 9

Options:

A.

The Extend relationships avoid the need for behavior descriptions such as Activities.

B.

The Extend relationship is used here to perform a functional decomposition of the Use case behavior.

C.

This Use Case model could be updated with further payment methods without changing the main Use Cases "Book a car" and "Charge account".

D.

Extend is a taxonomic relationship between Use Cases that extracts general descriptions into the super Use Case "Charge account" to avoid redundant descriptions in the sub Use Cases "Charge credit card" and "Pay with PayPal*.

Buy Now
Questions 10

Choose the correct answer:

Why are abstractions in a model helpful?

Options:

A.

Abstractions add the full detail to the model.

B.

Abstractions can express or suppress detail as needed.

C.

Abstractions can be taken out and the model still makes sense.

D.

Abstractions are not helpful, but rather a distraction in models.

Buy Now
Questions 11

Choose the correct answer:

Which statement is correct about a FlowFmalNode in an Activity?

Options:

A.

FlowFinalNodes do not appear in activities: they are used in State Machines.

B.

FlowFinalNodes do not appear in activities; the proper element for this use is NoneEndEvent.

C.

A token that reaches a FlowFinalNode causes all execution within the activity to cease.

D.

A token that reaches a FlowFmalNode signifies the conclusion of execution along that flow although execution elsewhere within the activity may continue.

Buy Now
Questions 12

Choose the correct answer:

What is the key difference between DataTypes and Classes?

Options:

A.

Classes can have operations that show that a class reacts to invocations sent by other classes DataTypes do not have this feature.

B.

DataTypes can only be very simple structures with attributes that are Datatypes as well, whereas Classes can be of arbitrary complexity.

C.

Two instances of a Datatype are considered to be equal when all their attributes have the same values, unlike instances of classes.

D.

Classes can inherit attributes, operations and other features of their super classes. DataTypes can only get instantiated.

Buy Now
Questions 13

Choose the correct answer:

Which statement is always true about the following sequence diagram?

OMG-OCUP2-FOUND100 Question 13

Options:

A.

Sending message x is the first occurrence that happens.

B.

Sending message z will happen after receiving message x.

C.

Sending message y will happen before sending message z.

D.

Sending message p will happen before receiving message y.

Buy Now
Questions 14

Choose the correct answer:

Consider the following diagram:

OMG-OCUP2-FOUND100 Question 14

How many event occurrences are specified in InteractionP?

Options:

A.

2

B.

3

C.

4

D.

5

E.

6

F.

8

G.

10

Buy Now
Questions 15

Choose the correct answer:

Consider the following diagram:

OMG-OCUP2-FOUND100 Question 15

Which statement is true about the diagram?

Options:

A.

Within G you may refer to v:K by gh.H::v. .

B.

From within H it is impossible to reach the v within G.

C.

The package Pckg cannot have two definitions of v as shown in the diagram.

D.

v will indicate different elements depending on where you refer to v within Pckg

Buy Now
Questions 16

Choose the correct answer: Consider the following scenario:

Activity Act1 shall be carried out. then activity Act2. and then activity Acl1 again.

Which diagram shows this?

A)

OMG-OCUP2-FOUND100 Question 16

B)

OMG-OCUP2-FOUND100 Question 16

C)

OMG-OCUP2-FOUND100 Question 16

D)

OMG-OCUP2-FOUND100 Question 16

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 17

Choose the correct answer:

Which characteristic should apply to any useful model?

Options:

A.

It is specified in UML.

B.

It is platform independent.

C.

It abstracts away irrelevant detail.

D.

It is specified using a visual notation.

Buy Now
Questions 18

Choose the correct answer:

Consider the following diagram;

OMG-OCUP2-FOUND100 Question 18

What is the minimum number of occurrences that must happen before the reception of m(200)?

Options:

A.

0

B.

2

C.

4

D.

5

E.

6

Buy Now
Questions 19

Choose the correct answer:

Which diagram contains only valid relationships?

A)

OMG-OCUP2-FOUND100 Question 19

B)

OMG-OCUP2-FOUND100 Question 19

C)

OMG-OCUP2-FOUND100 Question 19

D)

OMG-OCUP2-FOUND100 Question 19

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 20

Choose the correct answer:

Consider the following diagram fragment:

OMG-OCUP2-FOUND100 Question 20

What makes this fragment invalid?

Options:

A.

A list of elements is not allowed in a package body.

B.

«class»one is missing a visibility.

C.

An *interface» is not allowed in a package

D.

Private elements are not allowed on the list.

E.

Protected elements are not allowed in a package.

F.

Element six is missing its stereotype.

Buy Now
Questions 21

Choose the correct answer: Consider the following diagram:

OMG-OCUP2-FOUND100 Question 21

Is this diagram valid?

Options:

A.

No, because a DataType cannot have Associations to a Class.

B.

No, because a DataType cannot have Operations.

C.

No, because a DataType cannot have Attributes.

D.

Yes, it is formally correct.

Buy Now
Questions 22

Choose the correct answer:

Which statement characterizes a valuable model?

Options:

A.

A simple model that is useful has value.

B.

The value of a model is directly related to its complexity.

C.

A model must be "right" in an engineering sense to have value.

D.

The value of a model is always based on its ability to predict system behavior.

Buy Now
Questions 23

Choose the correct answer:

What represents the most appropriate use of UML during software development?

Options:

A.

forcing management decisions

B.

describing a planned or existing system to non-technical stakeholders

C.

capturing and clarifying the business-level concerns of a planned or existing system

D.

capturing the essential characteristics and design decisions of a planned or existing system

Buy Now
Questions 24

Choose the correct answer:

How many execution occurrence specifications are there in total on the diagram below?

OMG-OCUP2-FOUND100 Question 24

Options:

A.

0

B.

1

C.

2

D.

3

E.

4

F.

5

G.

7

Buy Now
Questions 25

Choose the correct answer:

In your model, you need to represent accounts.

Which statement supports using a Class, rather than a DataType. lor this purpose''

Options:

A.

The account is uniquely identified by its account number.

B.

The account number can change, but it would still be the same account.

C.

The account needs operations to transfer money into it or to withdraw money

D.

The account has attributes typed by Classes like account_holder; Person or bank_in_Charge Company

Buy Now
Questions 26

Choose the correct answer:

Which diagram models the following situation:

The class starts when 10 students are present and the professor arrives.

A)

OMG-OCUP2-FOUND100 Question 26

B)

OMG-OCUP2-FOUND100 Question 26

C)

OMG-OCUP2-FOUND100 Question 26

D)

OMG-OCUP2-FOUND100 Question 26

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 27

Choose the correct answer:

Which statement describes the semantics of a Property that has the aggregation kind composite9

Options:

A.

The aggregation kind composite is semantically equivalent to namespace containment

B.

Instances of the composed object's type can exist only in the context of the composite object.

C.

When the Property's composite object ceases to exist, all of its composed objects also cease to exist.

D.

The Property's composed objects are part of a subset and the composite object is a union of the defined subsets.

Buy Now
Exam Code: OMG-OCUP2-FOUND100
Exam Name: OMG Certified UML Professional 2 (OCUP 2) - Foundation Level
Last Update: Dec 18, 2024
Questions: 90

PDF + Testing Engine

$57.75  $164.99

Testing Engine

$43.75  $124.99
buy now OMG-OCUP2-FOUND100 testing engine

PDF (Q&A)

$36.75  $104.99
buy now OMG-OCUP2-FOUND100 pdf