Black Friday week: every question bank $9 instead of $15. Ends Monday, Nov 30.
OCUP 2 Advanced · OMG · Activities · Bank updated 2026-11-28
OMG OCUP 2 Advanced (UML 2 Advanced) practice questions: Activities
5 free questions from 18 on this area · answer and explanation for each · no sign-up
These 5 questions come from the Activities section of ExamDeck's OMG OCUP 2 Advanced (UML 2 Advanced) bank: 18 of its 172 original questions are on this area, which carries 9% of the real exam. Each is open without sign-up, with the correct answer, the reasoning for every option and its source. In all, 65 OMG OCUP 2 Advanced (UML 2 Advanced) questions are open on the practice pages; a free account adds 6 more in study mode.
Questions on this page last changed 28 Nov 2026. Exam facts checked 8 Nov 2026.
Free: 6 questions in study mode, no card. All 18 Activities questions and the full OCUP 2 Advanced bank: $9 (regularly $15) one-time.
How this bank fits the current exam. The bank has questions in all eleven of OMG's areas, but not yet in the exam's proportions: Common Structure (21% of the exam), The MOF & Metamodeling (12%) and Interactions (9%) are covered more thinly than their weight. Our questions come only from the open OMG specifications - UML 2.5.1, MOF 2.5.1, fUML 1.5 and Alf 1.1 - not from the books on the info sheet's study list.
The full exam blueprint →
Source: OMG UML 2 Advanced exam info sheet
1/5 · Activities · hard
Two different ObjectFlows each deliver a token holding the same Customer object (same identity) to a DataStoreNode shown with the keyword «datastore». No downstream node has accepted a token from it yet. How many tokens does the node hold?
A. two tokens, both offered downstream in arrival order
B. two tokens, merged into one when one is accepted downstream
C. one token, the arriving duplicate is not placed on the node
D. one token, the earlier one is replaced by the later
Answer: C. A DataStoreNode is a CentralBufferNode that holds objects uniquely. A token for an object whose identity already appears in a held token is not placed on the node. Tokens that other nodes accept are replaced by a copy with the same value, so the data persists during the execution.
- A. That is how a plain CentralBufferNode behaves; a DataStoreNode holds objects uniquely (15.4.3.4).
- B. No merging occurs on removal; the duplicate is prevented at acceptance (15.4.3.4).
- C. A DataStoreNode refuses to place a token holding an object with the same identity as one already held (15.4.3.4).
- D. The existing token stays; the new duplicate is the one that is not placed (15.4.3.4).
Source: OMG Unified Modeling Language 2.5.1 (formal/17-12-05), 15.4.3.4, p. 441 · Activities / 15.4.3.4 Data Store Nodes / uniqueness of objects held
2/5 · Activities · hard
A JoinNode with no joinSpec has three incoming edges: ControlFlows from Check Stock and Approve Credit, and an ObjectFlow carrying an Order token from Pick Items. Its single outgoing edge is an ObjectFlow. One token is currently offered on each incoming edge. What does the JoinNode offer on its outgoing edge?
A. the Order object token, with both control tokens left out
B. the Order object token plus one control token
C. one control token, with the Order token kept at the join
D. three tokens, one for each incoming edge, in arrival order
Answer: A. A JoinNode whose joinSpec is satisfied (here the implicit 'and', one token on each incoming edge) offers one control token if every offered token is a control token. If some are control tokens and others are object tokens, only the object tokens are offered on the outgoing edge. So the Order token goes on and the two control tokens are not forwarded.
- A. When control and object tokens are mixed at a join, only the object tokens are offered onward (15.3.3.4).
- B. Control tokens are dropped when object tokens are present; a control token is offered only if all offered tokens are control tokens.
- C. This is the all-control-tokens rule; here an object token is present, so the object token is what is offered.
- D. A join does not forward every token; it merges according to the control/object rule, so control tokens do not pass.
Source: OMG Unified Modeling Language 2.5.1 (formal/17-12-05), 15.3.3.4, p. 431 · Activities / 15.3.3.4 Join Nodes / tokens offered when control and object tokens are mixed
3/5 · Activities · hard
A ForkNode after Fill Order has two unguarded outgoing ControlFlows, to Ship Order and Send Invoice. Ship Order accepts the offer at once, but Send Invoice cannot yet accept because it still waits for a second incoming ControlFlow. What happens to the offer toward Send Invoice?
A. it is withdrawn, so Send Invoice never gets a token from this fork
B. Ship Order must wait until both targets can accept
C. the original token is passed to it after Ship Order releases the token
D. it stays pending on its edge, and Send Invoice can accept a copy later
Answer: D. A token offered to a ForkNode is offered on all outgoing edges. As soon as one offer is accepted, the token leaves its source and the acceptor receives a copy. Offers not accepted because the target is not ready remain pending on their edges, which hold the copies until the targets accept them, in first-in first-out order.
- A. Offers that are not accepted do not disappear; they remain pending.
- B. One accepted offer is enough for the token to leave the source; targets are not synchronized.
- C. Each accepting edge gets its own copy; the same token is not shared.
- D. The edge holds its copy until the target accepts it (15.3.3.3).
Source: OMG Unified Modeling Language 2.5.1 (formal/17-12-05), 15.3.3.3, p. 430 · Activities / 15.3.3.3 Fork Nodes / pending offers
4/5 · Activities
An Activity has a streaming input Parameter with multiplicity 3..*. In one execution the invoker has posted two values, both have been fully processed, no node is executing or enabled, and no ActivityFinalNode has been reached. What is the state of this execution?
A. it has completed, with no node left executing or enabled for further execution
B. it has completed, with a null token posted in place of the third input value
C. it has been aborted, with an exception for the missing value sent to the invoker
D. it has not terminated and may not do so before a third value has been posted
Answer: D. For an Activity with streaming input Parameters, running out of executable work is not enough to finish. The total number of values the invoker has posted to each such Parameter must be at least its multiplicity lower bound. Two values against a lower bound of 3 therefore keep the execution from terminating.
- A. That completion rule applies to an Activity without streaming Parameters. Here the input minimum has not yet been met.
- B. UML does not fill a missing streamed value with a null token in order to let the execution finish.
- C. A shortfall in streamed input is not described as an exception. The execution is simply not allowed to terminate yet.
- D. The cumulative count of posted values must reach the multiplicity lower bound, here 3, before termination.
Source: OMG Unified Modeling Language 2.5.1 (formal/17-12-05), 15.2.3.6, p. 420-421 · Activities / 15.2.3.6 Activity Execution / completion with streaming input Parameters
5/5 · Activities · hard
A JoinNode has two incoming ObjectFlows, and its outgoing ObjectFlow has the guard [weight < 20]. The join condition is satisfied, the node offers its tokens to the outgoing edge, and the guard rejects the token called X. What happens to the offer of X?
A. X remains offered on the outgoing edge and holds back later tokens until the guard holds
B. X is offered to that edge again each time a new token arrives on an incoming edge
C. X stops being offered to that edge, and the join can then offer further tokens
D. X is destroyed along with the other tokens still waiting on the incoming edges of the join
Answer: C. Tokens that a JoinNode offers on its outgoing edge have to be accepted by the target or rejected for traversal before the node offers any more. A token rejected, for example by a false guard, is no longer offered to that outgoing edge.
- A. Offered tokens must be either accepted or rejected before more follow, and a rejected one does not stay on offer to that edge.
- B. A new arrival can trigger evaluation of the join condition, but a rejected token is not offered to the outgoing edge again.
- C. A rejection settles the offer: the token is withdrawn from the outgoing edge, which opens the way for further offers.
- D. A JoinNode does not destroy tokens on a guard failure. Token destruction is the behaviour of final nodes and termination.
Source: OMG Unified Modeling Language 2.5.1 (formal/17-12-05), 15.3.3.4, p. 431 · Activities / 15.3.3.4 Join Nodes / tokens rejected on the outgoing edge
Other OCUP 2 Advanced areas
The same kind of free sample for every other section of the OCUP 2 Advanced bank:
Practise OCUP 2 Advanced with instant feedback
6 free questions in study mode · no card · full OCUP 2 Advanced bank with area filters and the error log: $9 (regularly $15) one-time · no dumps, no ads.
Start OCUP 2 Advanced free →
ExamDeck is an independent study tool, not affiliated with, endorsed by, or sponsored by OMG. OCUP 2 Advanced and related marks are trademarks of their respective owners, used for identification only. Exam facts checked against official OMG materials (as of November 2026); always confirm current details with the vendor before booking.