[2024年07月13日] 究極のOMG-OCUP2-ADV300準備ガイド!無料最新のOMG練習テスト問題集
今すぐゲットせよ!高評価OMG OMG-OCUP2-ADV300試験問題集
質問 # 32
Choose the correct answer:
Which class sits at the top of the MOF class hierarchy?
- A. Element
- B. Metaclass
- C. Root
- D. Classifier
正解:A
解説:
In the MOF class hierarchy, the class 'Element' sits at the top. It is the superclass of all classes defined in MOF and is an implicit superclass of all metaclasses defined using MOF1. This superclass relationship to
'Element' does not need to be explicitly declared in the metamodels.
質問 # 33
Choose the correct answer:
What does the UML specification say about choosing between a MOF-based metamodel and a UML profile?
- A. It is not always clear when to use one approach over the other; this decision must be domain-specific
- B. Since UML extends MOF. it is always preferable to start by extending MOF and. if this turns out to be complex, then shift to extending UML.
- C. Extending UML should be favored because of the fact that there are several tools that support UML profiling, which is not the case for MOF.
- D. It is always good to opt for metamodeling when the metamodel is large and the domain is inherently complex such as the database domain.
正解:A
解説:
The UML (Unified Modeling Language) specification, which is a part of the MOF (Meta-Object Facility) framework, suggests that the choice between creating a MOF-based metamodel and a UML profile depends on the specific needs of the domain being modeled. A MOF-based metamodel might be more appropriate for domains that require defining a completely new set of modeling concepts, whereas a UML profile is suitable for domains where the extension ofexisting UML concepts is sufficient. Since the specification recognizes the variability in modeling requirements across different domains, it emphasizes the importance of understanding the domain to make an informed decision on the modeling approach. The UML specification, therefore, does not prescribe a one-size-fits-all solution but rather leaves the decision to the modeler, based on the domain-specific requirements.
質問 # 34
Choose the correct answer:
A framework developer has been given a requirement to create an extensible utility for solution developers to use to create collections. The framework developer has submitted the following diagram fragment for review:
Which review comment is valid and applicable?
- A. The «bind» relationship between the concrete class Vector and the abstract class AbstractList is incorrect. It should be a Generalization relationship.
- B. The Generalization relationship between the concrete class PriorityOueue and the abstract class AbstractQueue is incorrect. It should be a «bmd» relationship.
- C. The upper limit of 10 for the Size of PhontyQueue is too small and should be increased to at least 20 to accommodate special cases.
- D. The template parameter Size cannot be added to a specialized class. It needs to be moved to the top of the hierarchy and added to AbstractCollection and AbstractQueue.
正解:A
解説:
In UML, the «bind» relationship is used to specify that a class is a template instantiation of a template class, where actual parameters are bound to the formal parameters of the template class1. However, in the case of the relationship between a concrete class like Vector and an abstract class like AbstractList, the correct relationship should be Generalization, not «bind».
Generalization is a taxonomic relationship between a more general classifier and a more specific classifier. Each instance of the specific classifier is also an instance of the general classifier1.
Thus, Vector being a concrete implementation of AbstractList, should inherit from AbstractList, which is correctly represented by a Generalization relationship in UML.
The other options can be evaluated as follows:
* Option A: The upper limit for the size of PhontyQueue is a design decision that should be based on the requirements and use cases of the application. It is not inherently incorrect in UML to have a specific upper limit.
* Option C: The Generalization relationship is correctly used
between PriorityQueue and AbstractQueue as it represents inheritance in UML.
* Option D: While it is true that template parameters are typically defined at the top of the hierarchy, the statement is too absolute. In UML, template parameters can be added to specialized classes, but it depends on the specific design and requirements. Therefore, without additional context, this statement cannot be deemed universally valid.
In conclusion, the most applicable and valid review comment is option B, which correctly identifies the misuse of the «bind» relationship in the context of the class diagram provided.
質問 # 35
Choose the correct answer:
What is true about a MOF 2.x Model?
- A. It can be a valid UML 2.x Model, when certain limitations are observed.
- B. There is a subtle difference between it and a UML 2.x Model, but only theoretical computer scientists care.
- C. It is always a valid UML 2 x Model
- D. The visual representation resembles a UML 2.x Model, but the underlying Model is a MOF-Model.
正解:A
解説:
A MOF (Meta Object Facility) 2.x Model is not always a valid UML (Unified Modeling Language) 2.x Model. The MOF 2.x and UML 2.x serve different purposes and have different scopes of application. While UML is a general-purpose modeling language used to define software systems, MOF is a language for defining metamodels, which can include UML itself1.
The MOF 2.x specification provides the basis for metamodel definition in OMG's (Object Management Group's) family of modeling languages, which includes UML. However, it is based on a simplification of UML 2's class modeling capabilities1. MOF is designed to be simpler, directly implementable, and provides a set of CORBA interfaces for manipulating meta objects2. In contrast, UML is used as a general-purpose modeling language with potentially many implementation targets2.
Therefore, a MOF 2.x Model can be a valid UML 2.x Model when certain limitations are observed, such as adhering to the simplified class modeling capabilities that MOF is based on. This means that while a MOF model can resemble a UML model in terms of visual representation, it is fundamentally a MOF model, and its validity as a UML model depends on the extent to which it conforms to the UML specifications
質問 # 36
Choose the correct answer:
What is a reason for fUML lo be compact?
- A. fUML must be easily memorized by those who apply it to make semantics.
- B. fUML must be possible to execute on computers with restricted capacity
- C. fUML should be small to facilitate definition of a clear semantics.
- D. fUML should always support 1-1 mappings from surface to platform languages.
正解:C
解説:
The reason for fUML to be compact is to facilitate the definition of clear semantics. A smaller, more focused subset of UML allows for a more precise and unambiguous specification of the execution semantics. This clarity is essential for ensuring that models are executed consistently and as intended across different tools and platforms2. The compact nature of fUML helps inachieving this goal by limiting the scope to the essential elements necessary for execution, thereby reducing complexity and potential for misinterpretation.
質問 # 37
Choose the correct answer:
How are the execution semantics of Alf defined?
- A. by a specification defined with the programming language Java
- B. by a specification defined with the Meta Object Facility
- C. by a specification defined with the Object Constraint Language
- D. by mapping the concrete syntax of Alf to the abstract syntax of fUML
正解:D
解説:
The execution semantics of Alf (Action Language for Foundational UML) are defined by mapping the concrete syntax of Alf to the abstract syntax of fUML3. Alf provides a textual surface representation for a subset of UML model elements, and its main benefit is an execution semantics that allows for the generation of executable code out of Alf specifications4. This mapping ensures that Alf can be used to specify behavior in a way that is directly executable in the context of an fUML model.
質問 # 38
Choose the correct answer:
In a model of a commercial transaction, actors might exchange euros, pesos, and dollars Which figure illustrates compliant use of UML information items for these currency exchanges?

- A. Figure 3
- B. Figure 1
- C. Figure 4
- D. Figure 2
正解:D
解説:
In UML, an InformationItem represents an abstraction of all those elements in a UML model that have an information-bearing feature. It is depicted as a classifier with the keyword «informationItem». An InformationItem does not have direct instances and serves as a mechanism to handle unspecified, untyped information in a model. In the context of a commercial transaction model, currencies such as euros, pesos, and dollars can be abstractly represented as InformationItems to signify that they are used as a form of data exchange but without specifying the concrete structure or data type. Figure 2 correctly uses InformationItem notation, with the «informationItem» keyword and the directed association pointing from the Currency InformationItem to the Euro, Peso, and Dollar, which are likely representations or manifestations of the Currency. This complies with the UML specification for representing abstract entities in models that are involved in the exchange or flow of information.
質問 # 39
Choose the correct answer:
Consider the following diagram fragment:
What is the signature of the class template List?
- A. <T -> Customer, n -> 2000> or <T -> Order, n - >10000>
- B. The ordered set {T. n: Integer}
- C. T[0..n]
- D. List
正解:B
解説:
The class templateListshown in the diagram fragment is a parametrized class with two template parameters:T andn. The signature of the class template includes both of these parameters. The template parameterT represents a type that can be bound to a specific class when the template is instantiated, whilenrepresents an integer value that specifies the multiplicity of elements that can be contained in the list. Therefore, the signature of the class templateListis the ordered set{T, n: Integer}, which includes both the type parameterT and the integer parameternindicating the maximum number of elements the list can hold.
質問 # 40
Choose the correct answer:
Which input element does lexical analysis of Action Language for Foundational UML text discard?
- A. delimiters
- B. whitespace
- C. expression
- D. term
正解:B
解説:
During the lexical analysis of Action Language for Foundational UML (fUML) text, whitespace (such as spaces, tabs, and line breaks) is discarded. The lexical analysis focuses on identifying meaningful tokens (such as keywords, identifiers, and operators) while ignoring whitespace, which does not contribute to the semantics of the language2.
質問 # 41
Choose the correct answer:
What is the difference between a ValueSpecificattonActlon and a CreateObjectAction?
- A. When an InstanceValue is produced by a CreateObjectAction. the Structural Features can be assigned values, but when an InstanceValue is produced by a ValueSpecificationAction, the Structural Features have no values.
- B. When an InstanceValue is produced by a ValueSpecificationAction, the Structural Features can be assigned values, but when an InstanceValue is produced by a CreateObjectAction, the Structural Features have no values.
- C. A ValueSpecificationAction cannot produce instances of Classifiers, but a CreateObjectAction only produces instances of Classifiers
- D. There is no difference between the possible results of the CreateObjectAction and the ValueSpecificationAction
正解:C
解説:
The difference between ValueSpecificationAction and CreateObjectAction in UML is fundamental to the kinds of results they produce:
* A.Incorrect, as there is a fundamental difference between the outputs of these two actions.
* B.Correct. A ValueSpecificationAction evaluates to a value but does not produce instances of Classifiers, whereas a CreateObjectAction is specifically designed to instantiate classifiers.
* C.Incorrect, because it reverses the capabilities of the two actions.
* D.Also incorrect, because it provides the wrong association of features with actions.
References:
* UML Specification: Action section, where both ValueSpecificationAction and CreateObjectAction are defined.
* Further clarifications on these actions are provided in the UML 2.5 Documentation, especially in parts discussing Actions and Activities.
質問 # 42
Choose the correct answer:
Which keyword indicates that instances of one Classifier may be used instead of Instances of another Classifier?
- A. «replacement»
- B. «isReplaceable»
- C. « substitute»
- D. «isSubstitutable»
正解:D
解説:
In UML, the keyword «isSubstitutable» is used to indicate that instances of one classifier may be used in place of instances of another classifier. This concept is commonly applied in the context of generalization, where a subclass can be substituted for its superclass. The substitutability is a fundamental principle of object-oriented design, particularly in the Liskov Substitution Principle, which states that objects of a superclass should be replaceable with objects of a subclass without affecting the correctness of the program. This principle is reflected in UML's support for polymorphism, which is implicit in the generalization relationships between classifiers.
質問 # 43
Choose the correct answer: What is the value of EMOF?
- A. It allows implementations, but these are not considered MOF-compliant.
- B. It is the metamodel used to specify other metamodels including UML 2.
- C. It provides the ability to define instance models without defining Slots.
- D. It enables mapping of MOF models to implementations such as XMl for simple metamodels.
正解:D
解説:
The value of Essential MOF (EMOF) lies in its ability to provide a straightforward framework for mapping MOF models to implementations such as XML Metadata Interchange (XMI) for simple metamodels2. This allows for easier integration and manipulation of MOF models in various platforms and tools.
質問 # 44
Choose the correct answer:
Consider the following diagram:
What kind of model element is chentNo?
- A. a Property defined by Association and owned by the Class ExamCompany
- B. a Port of Class ExamCompany
- C. a qualifier of the Association
- D. a Property defined by Association and owned by the Class Examinee
正解:C
解説:
In the context of the diagram, "clientNo" is placed next to the association line between "ExamCompany" and
"Examinee," which indicates that "clientNo" is a qualifier of the association. In UML, a qualifier is used to refine the association between two classes by providing a way to access linked objects based on some attribute value. The qualifier essentially acts as a key in an associative array or map, allowing access to instances of the associated class. In this case, "clientNo" is likely used to uniquely identify examinees associated with an exam company. This use of qualifiers is detailed in the UML 2.x Superstructure Specification, which describes how qualifiers can be used to specify refined access to linked objects within an association.
質問 # 45
Choose the correct answer:
A project's requirements call for flexibility in the collection class design. Most of the collections will be a fixed length of 25 elements. However, allowance must be made in the design for collections that are a fixed length longer than 25.
Which model fragment supports the project's requirements?
- A.

- B.

- C.

- D.

正解:B
解説:
The UML model fragment that best supports the project's requirements for collection class design is one that allows the fixed length of the collections to be specified but also permits flexibility for collections longer than
25 elements. In Option C, theClarusCollectionclass is shown as a template class with a template parameter Sizeset to a default of 25. However, the dashed lines and the separate box forTypeandSizeindicate that while there is a default value, it can be overridden. This means that theSizecan be parameterized, thus allowing the creation ofClarusCollectioninstances with different fixed lengths, not just 25. This design will enable most collections to be created with the default size of 25, but also allows for creating collections with sizes greater than 25, providing the flexibility required by the project's requirements. This adheres to the UML 2.x specification on templates and parameterization.
質問 # 46
Choose the correct answer:
Which statement is correct about redefinition of simple States?
- A. State Redefinition is not a UML capability.
- B. A simple State cannot be redefined
- C. A simple State can be redefined as a composite State with one or more Regions.
- D. A simple State can be redefined by excluding it in a redefined StateMachine.
正解:D
解説:
In UML, a simple State can indeed be redefined, but the specifics of how it is redefined matter:
* Ais incorrect as redefinition of States, including simple States, is permitted.
* Bis correct. A simple State can be effectively removed or altered through redefinition in a derived StateMachine, which could include changing its type or characteristics.
* Csuggests that a simple State can be turned into a composite State. While theoretically possible in the context of redefinition, this option might be considered a significant alteration that could be misleading without additional context.
* Dis incorrect; UML does support State Redefinition.
References:
* UML Specification, particularly the sections on Redefinition and StateMachines.
* Detailed rules on state redefinition are outlined in the UML 2.5 Documentation, specifically under StateMachine specializations.
質問 # 47
Choose the correct answer:
Which capability Is provided by the Profile mechanism?
- A. configuring model libraries and a set of keywords to be used for a model
- B. storing user-specific configurations of model settings
- C. creating new metamodel elements for specific purposes
- D. adapting existing metamodel elements for specific purposes
正解:D
解説:
The Profile mechanism in UML provides the capability to adapt existing metamodel elements for specific purposes. Profiles allow modelers to extend the standard UML metamodel with additional semantics by defining stereotypes, tagged values, and constraints that are specific to a particular domain, platform, or methodology. This means that profiles tailor the existing UML metamodel elements to create domain-specific models without changing the underlying metamodel itself. This adaptation mechanism is described in the UML 2.x Superstructure and Infrastructure Specifications, which detail how profiles can be used to customize the UML for particular domains or purposes.
質問 # 48
Choose the correct answer:
A group of programming language designers want to create classes that model typical data collections such as arrays, lists, maps. etc.
Their design must satisfy three conditions:
1. The collections must be parameterizable to support any data type.
2. Some collections must inherit from other collections to leverage reuse of functionality.
3. The implementation of the collection functions cannot be overridden.
Which UML concept should these designers use?
- A. Classes
- B. Power Types
- C. Interfaces
- D. Class Templates
正解:D
解説:
In UML, class templates are the concept used to create classes that can be parameterized with different data types. This feature satisfies the first condition, allowing collections to support any data type. Class templates can be specialized, fulfilling the second condition, where some collections can inherit from others, thus enabling the reuse of functionality. Additionally, UML allows for operations to be defined in such a way that they cannot be overridden, by specifying them as non-virtual or final, which meets the third condition.
Therefore, the use of class templates would be the most suitable approach for the design criteria specified by the programming language designers. This approach is consistent with the capabilities of class templates as described in the UML 2.x Superstructure Specification.
質問 # 49
Choose the correct answer:
Consider the following sequence diagram GO:
What is always true according to the diagram?
- A. g sends x before k sends m
- B. h receives x before k sends q
- C. h receives q before g receives m
- D. h receives q before k sends m
正解:B
解説:
In the sequence diagram 'GO', the event 'h receives x' is depicted before 'k sends q', as indicated by the solid arrow from 'g' to 'h' labeled 'x' and the dashed arrow from 'k' labeled 'q'. Since messages are processed in the order they are depicted from top to bottom, 'h' must receive 'x' before 'k' can send 'q'.
The other options (B, C, and D) cannot be determined to be always true based on the information provided in the diagram alone. Especially with asynchronous messages, the send event may occur before the corresponding receive event, and the diagram does not contain sufficient information about timing constraints or message processing durations to ascertain the exact ordering of these events.
References include:
* UML 2.5 Specification (formal/2017-12-05), specifically the sections regarding message sends and receives, lifelines, and the semantics of sequence diagrams.
* Introduction to UML 2 Sequence Diagrams by Scott W. Ambler, which provides insights into the interpretation of sequence diagrams and the flow of messages.
質問 # 50
Choose the correct answer:
Which statement defines Alf Input text?
- A. It is a representation of UML model elements in a programming language.
- B. It is usually used to enhance the expressiveness of UML profile stereotypes.
- C. It is a language used with OCL for writing sound and valid constraints.
- D. It is a concrete representation tor UML model elements in fUML.
正解:D
解説:
Alf (Action Language for Foundational UML) is essentially a textual notation for UML behaviors that can be attached to a UML model in any place where a UML behavior can be specified. Alf Input text serves as a concrete representation for UML model elements within the fUML, allowing for behavioral modeling using a textual surface notation. This facilitates a model-driven process capable of generating fully executable source code, thus integrating structural modeling with behavioral modeling12. Alf allows for detailed behavioral specification in a textual form as opposed to the more cumbersome graphical activity diagram notation, making it a practical tool for specifying the operational behavior of a system within the UML framework2.
質問 # 51
Choose the correct answer:
Which statement is correct about working with multiple profiles?
- A. A profile can reuse all or parts of another profile, but cannot extend other profiles.
- B. A profile can reuse all or parts of another profile, and extend other profiles.
- C. The only way to integrate profiles is to merge them into one big profile
- D. Only profiles that represent the same domain can be integrated together.
正解:B
解説:
In UML, profiles are mechanisms to extend the UML for a specific domain or purpose. The UML specification allows for one profile to reuse or import elements from another profile. This enables modularity and encourages reusability of profile elements across different domains. Additionally, one profile may extend the stereotypes or metaclasses defined in another profile, which allows for the creation of layered profiles where each layer adds its own specificities. This is a common practice in software and systems modeling to cater to different aspects of a system within separate profiles, which are then integrated to form a comprehensive model. The capability to reuse and extend profiles is defined in the UML 2.x Superstructure Specification, which gives guidelines on how to define and use profiles within UML.
質問 # 52
......
OMG OMG-OCUP2-ADV300は、候補者のUMLモデリング言語の知識を評価する上級レベルの試験です。この試験は、OMG認定UMLプロフェッショナル2(OCUP 2)認定プログラムの一部であり、UMLモデリングにおける個人の能力を検証することに特化しています。Object Management Groupによって開発されたOMG-OCUP2-ADV300試験は、プロフェッショナル、コンサルタント、アーキテクトに、UMLモデリングスキルやUMLメソドロジーの知識を示す機会を提供します。
OMG-OCUP2-ADV300試験を受験するには、すでにOMG認定UMLプロフェッショナル2(OCUP 2)-中級レベルの認定を取得している必要があります。この上級レベルの試験は、UMLモデリングの高度なスキルと知識を示したいソフトウェアアーキテクト、デザイナー、開発者、プロジェクトマネージャーに最適です。OMG-OCUP2-ADV300認定は、多くのトップソフトウェア企業に認められており、ソフトウェア開発業界でキャリアを進めたいプロフェッショナルにとって貴重な資格です。この認定を取得することで、プロフェッショナルは最新のUMLモデリング技術を使用して複雑なソフトウェアシステムを設計および実装する専門知識を示し、キャリアアップと高い給与のチャンスを増やすことができます。
合格率取得する秘訣はOMG-OCUP2-ADV300認定試験エンジンPDF:https://www.goshiken.com/OMG/OMG-OCUP2-ADV300-mondaishu.html
OMG-OCUP2-ADV300試験問題集で合格できるには更新されたテスト問題集:https://drive.google.com/open?id=1Z9HAlmnb2T89A3VDgPlpBfgpN0vLvSDX