Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

OMG-OCUP2-ADV300 Exam - Topic 2 Question 51 Discussion

Choose the correct answer:In addition to stereotypes, which UML elements can a profile define?
C) Class. DataType. Enumeration
A) all of the UML elements
B) all of the UML Structured Classifiers
D) Class. DataType. Enumeration. Object. Component

OMG-OCUP2-ADV300 Exam - Topic 2 Question 51 Discussion

Actual exam question for OMG's OMG-OCUP2-ADV300 exam
Question #: 51
Topic #: 2
[All OMG-OCUP2-ADV300 Questions]

Choose the correct answer:

In addition to stereotypes, which UML elements can a profile define?

Show Suggested Answer Hide Answer
Suggested Answer: C

A UML profile can define several different elements to extend the UML for a specific domain, platform, or purpose. Besides stereotypes, a profile can define DataTypes and Enumerations, which can be used within Stereotypes to type the tagged values. A profile can also define Classes, which can be used as base classes for stereotypes. However, a profile does not typically define instances of elements, such as Objects, nor does it define composite structures, such as Components. The intent of a profile is to adapt existing metamodel elements through the use of stereotypes, tag definitions, and constraints rather than to create instances or define system architectures. This definition and use of a profile are aligned with the guidelines in the UML 2.x Superstructure Specification, which outlines what elements a profile can define within the UML framework.


Contribute your Thoughts:

0/2000 characters
Angelo
4 days ago
I feel like options C and D are both possible, but I can't recall if profiles can include components.
upvoted 0 times
...
Alysa
9 days ago
I remember practicing a question similar to this, and I think it was about structured classifiers. Maybe option B is correct?
upvoted 0 times
...
Wei
14 days ago
I think profiles can define a range of UML elements, but I'm not sure if it's all of them or just specific ones.
upvoted 0 times
...

Save Cancel