← 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 statement best describes the relationship between views and viewpoints in ISO/IEC 42010?

    Answer: A viewpoint is a specification that governs how a view is constructed and what concerns it addresses

    ISO/IEC 42010 defines a viewpoint as the convention or template used to construct a view, which is the actual artifact documenting one perspective.

  2. What is the key difference between a 'whitebox' and 'blackbox' description in arc42's Building Block View?

    Answer: Whitebox shows internal structure; blackbox shows only external interface and behavior

    A whitebox description reveals the internal components and relationships of a building block, while a blackbox description hides internals and shows only its interface.

  3. When should an architect choose to document a decision as an ADR versus simply commenting in the code?

    Answer: ADRs are warranted when the decision has significant architectural impact, cross-cutting consequences, or is likely to be questioned later

    ADRs capture high-impact decisions with context and rationale that code comments cannot adequately convey.

  4. A system context diagram shows 'Person: Customer' interacting with 'Software System: Online Store'. Which C4 model level does this represent?

    Answer: Level 1 – System Context

    C4 Level 1 System Context diagrams show people and systems interacting with the software system at the highest level of abstraction.

  5. Which quality attribute of documentation directly suffers when diagrams are manually maintained in drawing tools disconnected from source code?

    Answer: Currency (up-to-dateness)

    Manually maintained diagrams drift from the actual system as code evolves, making documentation stale and potentially misleading.

  6. In the context of architecture documentation, what is meant by 'appropriate level of detail'?

    Answer: Including enough detail to support the decisions and understanding needs of the intended audience, no more

    Appropriate detail means providing what stakeholders need to understand and act on the architecture without overwhelming them with unnecessary information.

  7. Which arc42 section would contain a description of the team's rationale for choosing a microservices architecture over a monolith?

    Answer: Section 9 – Architecture Decisions

    Arc42 Section 9 records Architecture Decisions, including the rationale, options considered, and the chosen approach for significant structural choices.