Choose the correct answer.
When defining a stereotype, a modeler may wish to put some constraints on the stereotype, its
properties, or its relationships. What is the most suitable language to accomplish this?
B
Explanation:
OCL stands for Object Constraint Language, which is a standard language for expressing constraints
on UML and SysML models. Constraints are used to specify additional rules or conditions that are not
directly captured by the modeling elements or their relationships. OCL can be used to define
constraints on stereotypes, their properties, or their relationships in a profile. Reference:
https://www.omg.org/ocsmp/ocsmp-adv-exam.htm
https://www.omg.org/spec/OCL/About-OCL/
Choose the correct answer
What is the key distinction between SysML modeling and MOF modeling?
B
Explanation:
MOF stands for Meta-Object Facility, which is a standard for defining metamodels. Metamodels are
models of modeling constructs, such as classes, attributes, associations, etc. SysML stands for
Systems Modeling Language, which is a standard for modeling complex systems using diagrams and
textual notations. SysML models represent real world entities and processes, such as components,
behaviors, requirements, etc. The key distinction between SysML modeling and MOF modeling is
that SysML models are instances of a metamodel defined by MOF. Reference:
https://www.omg.org/ocsmp/ocsmp-adv-exam.htm https://www.omg.org/mof/
https://www.omg.org/sysml/
Choose the correct answer
What happens to the elements of a model when a profile is applied to the model?
C
Explanation:
A profile is a mechanism for extending the UML or SysML metamodel with domain-specific concepts.
A profile defines stereotypes, which are extensions of existing metaclasses. A metaclass is a modeling
construct that defines the properties and behavior of a set of model elements. For example, the
metaclass Class defines the properties and behavior of all classes in a model. When a profile is
applied to a model, the stereotypes defined in the profile may be applied to elements sharing
compatible metaclasses. For example, if a profile defines a stereotype <<device>> as an extension of
the metaclass Class, then the stereotype <<device>> may be applied to any class in the model.
Reference: https://www.omg.org/ocsmp/ocsmp-adv-exam.htm
https://www.omg.org/spec/UML/About-UML/
https://www.omg.org/spec/SysML/About-SysML/
Choose the correct answer
A senior engineer has been assigned to set up a SysML model for the development of a medical
device. Many stakeholders are involved, ranging from the development team to management,
quality assurance, and regulatory experts. All must use the model
Which choice defines a set of common tasks that will prepare the model for the stakeholders?
A.
1) Define and apply appropriate profiles
2) Create a package structure that covers the relevant aspects
3) Set up a modeling center of excellence who builds the model for the stakeholders.
B.
Define and apply appropriate profiles
2) Define viewpoints for the different stakeholder concerns and set up conformant views
3) Create a package structure that covers the relevant aspects
C.
1) Define one common set of SysML elements for all stakeholders.
2) Create a package structure that covers the relevant aspects
3) Set up model access rights (readVwrite/delete) for the different stakeholder groups
D.
1) Define viewpoints for the different stakeholder concerns and set up conformant views
2) Set up model access rights (read/write/delete) for the different stakeholder groups
3) Nominate a model builder for each stakeholder group.
B
Explanation:
This choice defines a set of common tasks that will prepare the model for the stakeholders by using
profiles, viewpoints, and packages. Profiles are used to extend SysML with domain-specific or
methodology-specific concepts. Viewpoints are used to define different perspectives on the model
that address different stakeholder concerns. Packages are used to organize the model elements into
logical groups. These tasks will help to customize, structure, and communicate the model effectively.
Reference: https://www.omg.org/ocsmp/ocsmp-adv-exam.htm
https://www.ibm.com/docs/SSB2MU_8.2.0/com.ibm.rhp.sysml.doc/topics/rhp_c_dm_sysml_profile_features.html
Choose the correct answer
What does a model library add to a SysML model?
B
Explanation:
A model library is a package that contains reusable model elements that can be imported into other
models. A model library can add common concepts to a SysML model, such as units, quantities, value
types, etc. These concepts can be used to define properties and parameters of blocks and constraints
in a consistent and standardized way. Reference: https://www.omg.org/ocsmp/ocsmp-adv-exam.htm
https://www.omg.org/spec/SysML/1.6/PDF
Choose the correct answer
What is a common reason for extending SysML with a profile?
B
Explanation:
A profile is a mechanism for extending SysML with additional modeling elements that are not part of
the standard language. A profile can add methodology- and domain-specific concepts to SysML, such
as stereotypes, tagged values, constraints, etc. These concepts can be used to tailor SysML to specific
engineering domains or modeling methods. Reference: https://www.omg.org/ocsmp/ocsmp-adv-
exam.htm
https://www.ibm.com/docs/SSB2MU_8.2.0/com.ibm.rhp.sysml.doc/topics/rhp_c_dm_sysml_profile_features.html
Choose the correct answer.
Which element would be used to depict a model library on a diagram?
A)
B)
C)
D)
C
Explanation:
The element that would be used to depict a model library on a diagram is a package with the
stereotype <<modelLibrary>> applied to it. This stereotype indicates that the package contains
reusable model elements that can be imported into other models. Option C shows a package with
this stereotype. Reference: https://www.omg.org/ocsmp/ocsmp-adv-exam.htm
https://www.omg.org/spec/SysML/1.6/PDF
Choose the correct answer.
The frame of which diagram corresponds to a model library?
A)
B)
C)
D)
D
Explanation:
The frame of the diagram that corresponds to a model library is the one that has the label
“modelLibrary” in its upper left corner. This label indicates that the diagram is contained within a
package with the stereotype <<modelLibrary>> applied to it. Option D shows a diagram with this
label. Reference: https://www.omg.org/ocsmp/ocsmp-adv-exam.htm
https://www.omg.org/spec/SysML/1.6/PDF
Choose the correct answer.
A modeling team supervisor has defined a stereotype of block named *projectBlock» and wants to
prevent any use of an unstereotyped block
What must the supervisor do?.
C
Explanation:
To prevent any use of an unstereotyped block, the supervisor must mark the extending stereotype
with the {strict} keyword. This keyword indicates that only elements with this stereotype can be
created as instances of the extended metaclass. In this case, only blocks with the stereotype
<<projectBlock>> can be created as instances of Block. Reference:
https://www.omg.org/ocsmp/ocsmp-adv-exam.htm
https://www.ibm.com/docs/SSB2MU_8.2.0/com.ibm.rhp.sysml.doc/topics/rhp_c_dm_sysml_profile_features.html
Choose the correct answer.
What is a common rationale for defining and applying a profile to a SysML model?
B
Explanation:
A common rationale for defining and applying a profile to a SysML model is that the profile extends
the model with reusable elements, such as units, quantities, value types, etc. These elements can be
defined in a model library and imported into other models by applying the profile. This way, the
profile enables consistent and standardized modeling of properties and parameters of blocks and
constraints. Reference: https://www.omg.org/ocsmp/ocsmp-adv-exam.htm
https://github.com/Systems-Modeling/SysML-v2-Release
Choose the correct answer
Which technique is typically used to support the automated generation of development artifacts
from a SysML model?
B
Explanation:
A common technique for supporting the automated generation of development artifacts from a
SysML model is to apply stereotypes to model elements to add the metainformation required for the
generation process. Stereotypes can define tagged values that specify additional information about
model elements, such as document templates, formatting options, traceability links, etc. These
tagged values can be used by model transformation tools or scripts to generate artifacts from the
model. Reference: https://www.omg.org/ocsmp/ocsmp-adv-exam.htm
https://docs.nomagic.com/display/SYSMLP190/Libraries+and+profiles
Choose the correct answer
A design team is applying the MARTE profile to its model to add information about timing and
resources
What is a best practice to provide the MARTE information to the engineers who require it?
A
Explanation:
A best practice to provide the MARTE information to the engineers who require it is to define a
viewpoint and conform views for the engineers. A viewpoint is a specification of a perspective on a
model that addresses a set of stakeholder concerns. A view is a representation of a model that
conforms to a viewpoint. By defining a viewpoint and conform views for the engineers, the MARTE
information can be presented in a way that is relevant and understandable for them. Reference:
https://www.omg.org/ocsmp/ocsmp-adv-exam.htm
https://www.omg.org/spec/MARTE/1.2/About-
MARTE/
Choose the correct answer.
How should stereotypes be grouped to facilitate re-use in later projects?
A
Explanation:
Stereotypes should be grouped in profiles to facilitate re-use in later projects. A profile is a
mechanism for extending UML or SysML with additional modeling elements that are not part of the
standard language. A profile defines stereotypes, which are extensions of existing metaclasses. A
profile can be applied to a model to make the stereotypes available for use. By grouping stereotypes
in profiles, they can be easily reused in different models or projects. Reference:
https://www.omg.org/ocsmp/ocsmp-adv-exam.htm
https://www.ibm.com/docs/SSB2MU_8.2.0/com.ibm.rhp.sysml.doc/topics/rhp_c_dm_sysml_profile_features.html
Choose the correct answer.
A modeling team supervisor wishes to force modelers to use particular metamodeling features
What must the supervisor do?
C
Explanation:
To force modelers to use particular metamodeling features, the supervisor must «apply» the profile
to the model with the {strict} keyword applied. This keyword indicates that only elements with
stereotypes defined in the profile can be created as instances of the extended metaclasses. For
example, if a profile defines a stereotype <<quality>> as an extension of Class, then only classes with
this stereotype can be created as instances of Class when the profile is applied with the {strict}
keyword. Reference: https://www.omg.org/ocsmp/ocsmp-adv-exam.htm
https://www.ibm.com/docs/SSB2MU_8.2.0/com.ibm.rhp.sysml.doc/topics/rhp_c_dm_sysml_profile_features.html
Choose the correct answer.
A model is being built using constructs defined in a Quality profile Project requirements state that
the model must only be built using the constructs defined In the Quality profile - no other
metaclasses may be used.
Which diagram fragment correctly expresses this requirement?
A)
B)
C)
D)
C
Explanation:
The diagram fragment that correctly expresses the requirement that the model must only be built
using the constructs defined in the Quality profile is Option C. This option shows an «apply»
relationship between the model and the profile with the {strict} keyword applied. This means that
only elements with stereotypes from the Quality profile can be created as instances of the extended
metaclasses. Reference: https://www.omg.org/ocsmp/ocsmp-adv-exam.htm
https://www.ibm.com/docs/SSB2MU_8.2.0/com.ibm.rhp.sysml.doc/topics/rhp_c_dm_sysml_profile_features.html