← All CPSA Flashcard Decks

Views and Documentation Flashcards

7 cards from real CPSA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Views and Documentation flashcards as text
  1. Which UML diagram type is best suited for showing the runtime interaction between objects over time using a time axis?

    Answer: Sequence diagram

    Sequence diagrams show object interactions in chronological order along a vertical time axis.

  2. In the arc42 template, which section specifically addresses quality scenarios and measurable quality goals?

    Answer: Section 10 – Quality Requirements

    Arc42 Section 10 captures quality requirements as concrete, measurable scenarios derived from quality goals.

  3. What is the primary purpose of a context diagram in software architecture documentation?

    Answer: To show the system's external interfaces and neighboring systems

    A context diagram defines the system boundary and its interactions with external actors and systems.

  4. Which documentation approach emphasizes keeping documentation as close to the code as possible to reduce drift?

    Answer: Docs-as-code

    Docs-as-code stores documentation in the same repository as source code, using the same review and versioning tools.

  5. In the C4 model, what does the third level 'Component' diagram show?

    Answer: The components inside a container and their interactions

    C4 Component diagrams zoom into a single container to show the architectural components it contains and how they communicate.

  6. Which type of architectural view focuses on how software elements are mapped to hardware nodes for execution?

    Answer: Physical/deployment view

    The physical or deployment view maps software artifacts to hardware infrastructure such as servers, containers, and networks.

  7. When an architecture decision record (ADR) lists 'Consequences', what should that section contain?

    Answer: Both positive and negative outcomes resulting from the decision

    The Consequences section of an ADR documents all outcomes—positive, negative, and neutral—from adopting the decision.