1A business analyst is meeting with Grab stakeholders to define which external entities (like Google Maps API or Payment Gateways) interact with the platform. Which diagram should they use first? A) Class Diagram B) Use Case Diagram C) Sequence Diagram D) Activity Diagram
B) Use Case Diagram
2An engineer needs to model the exact logic that determines whether a user is eligible for a "Peak Hour" surcharge before a ride is booked. Which diagram is best for this step-by-step logic? A) Activity Diagram B) State Machine Diagram C) Component Diagram D) Class Diagram
A) Activity Diagram
3If a developer wants to see how the "Booking Service" and "Payment Service" exchange messages in a specific chronological order to complete a transaction, they should consult the: A) Use Case Diagram B) Activity Diagram C) Sequence Diagram D) Component Diagram
C) Sequence Diagram
4A database architect is designing the Grab schema. They need to ensure that every "Driver" object is linked to exactly one "Vehicle" and multiple "Ratings." Which diagram provides this structure? A) Class Diagram B) Component Diagram C) Use Case Diagram D) Sequence Diagram
A) Class Diagram
5A GrabFood order is currently "Preparing." A merchant clicks "Ready for Pickup." In UML terms, what is being modeled when the order changes from "Preparing" to "Ready"? A) Class association B) State transition C) Component interface D) Activity flow
B) State transition
6The Grab engineering team is moving to a microservices architecture. They want to ensure that the "Notification Service" is completely independent and only communicates via an API. Which diagram models this modularity? A) Use Case Diagram B) Component Diagram C) State Machine Diagram D) Class Diagram
B) Component Diagram
7A product manager wants to ensure that the system handles the "No Driver Available" scenario gracefully. They are looking at a flowchart with a decision diamond. This is an example of: A) A Sequence Diagram B) An Activity Diagram C) A Class Diagram D) A Component Diagram
B) An Activity Diagram
8In the Grab ecosystem, a "Passenger" initiates a ride request. In a Sequence Diagram, the Passenger is represented as a lifeline at the top. What does the horizontal arrow pointing from the Passenger to the "Booking System" represent? A) A database table B) A message or operation call C) A line of code D) A system boundary
B) A message or operation call
9If you are analyzing the Grab Admin's role in "Verifying Vehicle Documents," you are identifying a specific function performed by an actor. This is the primary purpose of a: A) Use Case Diagram B) State Machine Diagram C) Component Diagram D) Activity Diagram
A) Use Case Diagram
10In the Grab food delivery process, the order cannot transition to "Delivered" until it has first been "Out for Delivery." This rule is strictly enforced by the: A) Component Diagram B) State Machine Diagram C) Use Case Diagram D) Class Diagram
B) State Machine Diagram
11You are drawing a Use Case Diagram for Grab. You have "Passenger" outside the box and "Book a Ride" inside the box. What does the box represent? A) The Actor B) The System Boundary C) The Database D) The API
B) The System Boundary
12Which diagram serves as the primary "Blueprint" for developers when they begin writing the actual code for business entities and their data relationships? A) Use Case Diagram B) Class Diagram C) Sequence Diagram D) Activity Diagram
B) Class Diagram
13A Grab user completes a ride and is prompted to provide a rating. This triggers a message from the "App" to the "Review Service." Which diagram would show this interaction and the return confirmation? A) Activity Diagram B) Sequence Diagram C) Class Diagram D) State Machine Diagram
B) Sequence Diagram
14In a Grab Class Diagram, a "Booking" class has an association with a "Payment" class. If the association has a "1" on both sides, what does this mean? A) One booking can have many payments B) One booking is linked to exactly one payment C) Many bookings can have one payment D) No booking is linked to any payment
B) One booking is linked to exactly one payment
15A developer is confused about when the system sends a "Driver Arrived" notification. Which diagram should they check to see the logic flow and conditions that trigger this? A) Class Diagram B) Activity Diagram C) Use Case Diagram D) Component Diagram
B) Activity Diagram
16A Grab developer needs to add a new "Premium Ride" type. To understand how this new entity inherits properties from the existing "Ride" class, they would use a: A) Use Case Diagram B) Class Diagram C) Sequence Diagram D) State Machine Diagram
B) Class Diagram
17In the Grab lifecycle, what happens if a ride is in the "Ongoing" state and the driver tries to "Cancel"? UML modeling reveals this as: A) A valid transition B) An invalid transition C) A new component D) An actor role
B) An invalid transition
18A security auditor wants to see how sensitive payment data is isolated from the main "Booking Service" at the modular software level. They should review the: A) Activity Diagram B) Component Diagram C) Use Case Diagram D) Sequence Diagram
B) Component Diagram
19In an Activity Diagram for "Finding a Driver," what does a solid black circle (initial node) represent? A) The end of the process B) The start of the ride request workflow C) A decision point D) A synchronization bar
B) The start of the ride request workflow
20When modeling a Grab Driver's daily routine, you want to show they can be "Idle", "En Route", or "Busy". These represent: A) Classes B) States C) Use Cases D) Components
B) States
21A developer needs to define the internal methods (e.g., calculateFare(), verifyOTP()) for the Booking object. They will add these to the: A) Class Diagram B) Sequence Diagram C) Use Case Diagram D) Activity Diagram
A) Class Diagram
22To ensure that the "GPS Service" and the "Map Interface" can talk to each other through a defined set of functions (ports), an architect uses a: A) Use Case Diagram B) Component Diagram C) State Machine Diagram D) Activity Diagram
B) Component Diagram
23A Sequence Diagram for "Cancelling a Ride" shows a vertical dashed line descending from the "Passenger" icon. This is called a: A) Transition B) Lifeline C) Association D) Actor
B) Lifeline
24If a "Merchant" needs to update their menu, they are acting as a specific user of the system. This interaction is best captured in a: A) Use Case Diagram B) Class Diagram C) State Machine Diagram D) Component Diagram
A) Use Case Diagram
25In an Activity Diagram, what symbol is used to represent the choice between "Payment Successful" and "Payment Failed"? A) A Rectangle B) A Diamond C) An Oval D) A Circle
B) A Diamond
26A university develops an online enrollment system. Students may view their grades, but only faculty members can encode or modify grades. Which business rule is being established? A) A student may modify any one grade per semester B) Grade modification is restricted to authorized faculty users C) All grades must be greater than 75 D) Grade changes must be completed within 30 seconds
B) Grade modification is restricted to authorized faculty users
27An online bookstore allows a customer to maintain several saved addresses, but every order must have exactly one delivery address. Which UML concept best represents this rule? A) State transition B) Sequence interaction C) Multiplicity/Cardinality D) Authentication boundary
C) Multiplicity/Cardinality
28A university library system follows this process: a student requests a book → the system checks availability → if available, the book is reserved; otherwise, the student is placed on a waiting list. Which UML diagram is most appropriate for modeling this logic? A) Class Diagram B) Use Case Diagram C) Activity Diagram D) Component Diagram
C) Activity Diagram
29A food delivery application requires a restaurant to confirm an order within 4 minutes. If the restaurant does not respond, the order is automatically cancelled. Which statement best expresses this rule? A) Restaurants may accept unlimited orders B) Orders remain pending until manually removed C) IF a restaurant does not confirm within 4 minutes, THEN the order is automatically cancelled D) Customers must contact restaurants before ordering
C) IF a restaurant does not confirm within 4 minutes, THEN the order is automatically cancelled
30A payroll system calculates an employee's overtime pay using the number of overtime hours multiplied by the approved overtime rate. What type of business rule is being described? A) Multiplicity constraint B) Access rule C) State rule D) Derivation / Calculation rule
D) Derivation / Calculation rule
31An employee portal allows employees to submit leave requests, while only HR administrators can approve or reject them. Which UML diagram would primarily help identify these different permissions? A) Sequence Diagram B) Use Case Diagram C) State Machine Diagram D) Class Diagram
B) Use Case Diagram
32In an online examination system, once a student submits an exam, the system immediately records the submission and then sends a confirmation notification. Which UML diagram is best for showing the chronological interaction between these services? A) Class Diagram B) Activity Diagram C) Sequence Diagram D) Use Case Diagram
C) Sequence Diagram
33A payment service must verify that a transaction is authorized before instructing the order service to mark an order as paid. What kind of rule is primarily being defined? A) Multiplicity rule B) Inter-service / sequence rule C) Database invariant D) State transition rule
B) Inter-service / sequence rule
34A school system has the following relationship: one teacher can handle many classes, but each class is assigned to exactly one teacher. Which relationship correctly represents this structure? A) One teacher to one class B) One teacher to many classes C) Many teachers to one class only D) Many teachers to many classes
B) One teacher to many classes
35An inventory system must never allow the quantity of an item to become negative. Which category does this rule belong to? A) Cardinality constraint B) Access control rule C) Invariant / domain constraint D) State transition
C) Invariant / domain constraint
36A hotel reservation system has the following states: Requested, Confirmed, Checked-In, and Completed. A guest cannot move directly from Requested to Completed. What concept is being enforced? A) Data multiplicity B) API authorization C) Valid state transition D) Calculation rule
C) Valid state transition
37A school payment system receives a payment request. The Payment Service validates the transaction before the Enrollment Service officially confirms enrollment. Which diagram would best show the order of these interactions? A) Activity Diagram B) Sequence Diagram C) Class Diagram D) Use Case Diagram
B) Sequence Diagram
38A company develops a mobile HR application. External requests must pass through an API Gateway where authentication and rate limiting are performed. What architectural rule is being applied? A) Class multiplicity B) State transition C) API Gateway security rule D) Calculation invariant
C) API Gateway security rule
39A university system allows students to enroll in many subjects, but each enrollment record belongs to exactly one student. Which rule should appear in the system's data model? A) Each student may have only one subject B) One student can have many enrollment records, while each enrollment belongs to one student C) Each subject must belong to exactly one student D) Students and enrollments must have a one-to-one relationship
B) One student can have many enrollment records, while each enrollment belongs to one student
40A shopping application prevents a customer from applying a discount code if the code has already expired. Which part of the system logic is responsible for making this decision? A) Data relationship B) Conditional business rule C) Deployment configuration D) Actor definition
B) Conditional business rule
41A customer submits an online return request. The system checks whether the purchase is within the allowed return period. If yes, it creates a return request; if not, it rejects the request. Which statement follows the standard operational-rule format? A) Customers can return products online B) Returns are processed by the system C) WHEN a return request is submitted IF the purchase is within the allowed return period THEN create a return request D) The system has a return feature
C) WHEN a return request is submitted IF the purchase is within the allowed return period THEN create a return request
42An e-commerce application creates an invoice after a successful payment. The notification service then sends an email to the customer. A failure in sending the email should not cancel the successful payment. Which principle is being applied? A) Multiplicity enforcement B) Asynchronous isolation C) Attribute invariant D) Actor isolation
B) Asynchronous isolation
43A clinic system allows one patient to have many medical appointments. However, each appointment is associated with exactly one patient. What should the analyst document? A) A patient can have only one appointment B) An appointment can belong to several patients C) One patient may have many appointments, while each appointment belongs to one patient D) Patients and appointments must have a one-to-one relationship
C) One patient may have many appointments, while each appointment belongs to one patient
44A company's server-based application must continue operating even if one physical data center becomes unavailable. The system is therefore deployed across multiple availability zones. Which area of business/system governance does this represent? A) User access control B) State management C) Data cardinality D) High-availability architectural rule
D) High-availability architectural rule
45A university's online enrollment system requires a student's account to be verified before the student can enroll in subjects. If verification fails, the enrollment request is rejected. Which UML-based business rule is BEST represented by this situation? A) A student can enroll in unlimited subjects without verification B) Every subject must have exactly one enrolled student C) Enrollment is permitted only when the student's account verification is successful D) Verification records must always be deleted after enrollment
C) Enrollment is permitted only when the student's account verification is successful
46A developer is given a UML diagram showing that an account changes from "Pending" to "Approved" only after document verification succeeds. Which is the BEST way to convert the diagram into a formal business rule? A) Accounts should eventually become approved B) Verification is an important account activity C) WHEN document verification is completed IF verification is successful THEN change the account state from Pending to Approved D) Approved accounts are better than pending accounts
C) WHEN document verification is completed IF verification is successful THEN change the account state from Pending to Approved