HomeSubjectsUniversityBlogAbout

Software Architecture

Topic in Software Engineering

210 total MCQsShowing 30 with explanations10 Easy10 Medium10 Hard

About This Topic

Software architecture is the high-level structure of a system: its major components, their relationships, and the principles guiding its design. Questions contrast architectural styles such as layered, client-server, pipe-and-filter, broker, event-driven, publish-subscribe, monolithic and microservices. Distributed topics include message queues, the CAP theorem's trade-off between consistency and availability under partitions, and the saga pattern for multi-service transactions. Evaluation methods such as ATAM, which weighs quality attribute trade-offs, appear alongside views like the 4+1 model. Expect questions on architectural erosion, where code drifts from the intended design, and emergent architecture in agile teams.

Below are 30 practice questions from a pool of 210 Software Architecture MCQs, one of 16 topics in Software Engineering. Each shows the correct answer with an explanation; when you are ready, take a timed quiz to test recall under exam conditions.

Practice Questions

Each question below shows the correct answer with a full explanation. Use these to build conceptual understanding before attempting a timed quiz.

Software ArchitectureEasy

Q1. What is a monolithic architecture?

  1. A.A client-server communication system setup only in practice typically
  2. B.A single-tiered application where all components are tightly integrated✓ Correct
  3. C.A fully distributed computing system setup design during implementation
  4. D.A microservices-based architecture approach type for quality purposes

Explanation

A monolithic architecture is a single, unified application with interconnected components.

Report an error in this question

Software ArchitectureEasy

Q2. What is the purpose of software architecture?

  1. A.To write application source code much faster as a standard approach
  2. B.To provide a blueprint for the system and enable communication among stakeholders✓ Correct
  3. C.To completely eliminate the software testing phase by the organization
  4. D.To reduce the overall project development team at every stage

Explanation

Software architecture serves as a blueprint and facilitates communication among stakeholders.

Report an error in this question

Software ArchitectureEasy

Q3. What is a client-server architecture?

  1. A.A standalone desktop application design only during the software lifecycle
  2. B.An architecture where clients request services from a central server✓ Correct
  3. C.A decentralized peer-to-peer network system in the development process
  4. D.A single standalone computer system by itself as part of the methodology

Explanation

Client-server architecture divides the system into clients and servers.

Report an error in this question

Software ArchitectureEasy

Q4. What is a three-tier architecture?

  1. A.A three-story office building design layout across all phases
  2. B.An architecture with presentation, business logic, and data tiers✓ Correct
  3. C.Three different programming languages used for the project goals
  4. D.A development team of three programmers in a systematic way

Explanation

Three-tier architecture separates presentation, business logic, and data tiers.

Report an error in this question

Software ArchitectureEasy

Q5. What is a repository architecture?

  1. A.A network infrastructure architecture type only by the development process
  2. B.A Git source code version control repository according to best practices
  3. C.An architecture where components share data through a central data store✓ Correct
  4. D.An operating system file storage system only within the system boundary

Explanation

Repository architecture uses a central data store shared by all components.

Report an error in this question

Software ArchitectureEasy

Q6. What is a layered architecture?

  1. A.An architecture organized into horizontal layers, each providing services to the layer above✓ Correct
  2. B.A completely flat system structure layout design within the project scope
  3. C.A random unorganized structure for the code throughout the project in the system context
  4. D.A circular system structure design layout type for the development team

Explanation

Layered architecture organizes the system into layers where each provides services to the layer above.

Report an error in this question

Software ArchitectureEasy

Q7. What is software architecture?

  1. A.The high-level structure of a software system defining its components and their relationships✓ Correct
  2. B.A specific type of programming language syntax in the engineering discipline
  3. C.A comprehensive software testing framework type for effective project outcomes
  4. D.The actual application source code itself only and related components to achieve project objectives

Explanation

Software architecture is the high-level structure defining components and their relationships.

Report an error in this question

Software ArchitectureEasy

Q8. What is an event-driven architecture?

  1. A.An architecture where components communicate through events✓ Correct
  2. B.A sequential processing architecture style only
  3. C.A scheduling calendar management system only
  4. D.A batch data processing system design only

Explanation

Event-driven architecture uses events to trigger communication between components.

Report an error in this question

Software ArchitectureEasy

Q9. What is a pipe-and-filter architecture?

  1. A.An access security management system type only as defined by standards
  2. B.A physical plumbing infrastructure system design and its related activities
  3. C.A network traffic filtering system setup only over the entire lifecycle
  4. D.An architecture where data flows through a sequence of processing components✓ Correct

Explanation

Pipe-and-filter processes data through a series of filters connected by pipes.

Report an error in this question

Software ArchitectureMedium

Q10. What is the 4+1 View Model?

  1. A.A comprehensive software testing model and plan by the organization at every stage
  2. B.A relational database normalization model type across all phases in a systematic way
  3. C.An architecture description using Logical, Process, Development, Physical views plus Scenarios✓ Correct
  4. D.Five physical computer display monitors together as a standard approach

Explanation

The 4+1 View Model uses Logical, Process, Development, Physical views, unified by Scenarios.

Report an error in this question

Software ArchitectureEasy

Q11. What is a distributed system architecture?

  1. A.An architecture where components run on multiple networked computers✓ Correct
  2. B.A standalone desktop application design approach within the given constraints
  3. C.A single standalone computer hardware unit only for all project stakeholders
  4. D.A local desktop application installation setup in all development efforts

Explanation

Distributed systems spread components across multiple networked computers.

Report an error in this question

Software ArchitectureMedium

Q12. What is the difference between SOA and microservices?

  1. A.SOA is a much newer architectural approach style as part of the methodology
  2. B.SOA uses enterprise service bus for communication; microservices use lightweight protocols✓ Correct
  3. C.Microservices are generally larger in scope overall for effective project outcomes
  4. D.The two approaches are completely identical overall in the engineering discipline

Explanation

SOA uses centralized ESB; microservices favor lightweight communication.

Report an error in this question

Software ArchitectureMedium

Q13. What are architectural views?

  1. A.Database views defined with SQL query language for quality purposes
  2. B.User interface screens and layout page designs in practice typically
  3. C.Different perspectives of a system architecture for different stakeholders✓ Correct
  4. D.Screen views displayed to the end users only during implementation

Explanation

Architectural views represent different perspectives for different stakeholders.

Report an error in this question

Software ArchitectureMedium

Q14. What is an architectural style?

  1. A.A named collection of architectural design decisions applicable to recurring design problems✓ Correct
  2. B.A user interface visual style and theme design during the software lifecycle
  3. C.A specific coding style and convention guideline in the development process
  4. D.A project documentation format and standard set within the project scope

Explanation

An architectural style is a set of design decisions that give a system its distinctive character.

Report an error in this question

Software ArchitectureMedium

Q15. What is a message broker in architecture?

  1. A.A general-purpose programming language and tool within the system boundary
  2. B.A specific type of database storage system tool according to best practices
  3. C.An intermediary program that translates messages between different systems✓ Correct
  4. D.A person who physically delivers messages by hand for the project goals

Explanation

A message broker enables communication between decoupled systems.

Report an error in this question

Software ArchitectureMedium

Q16. What is microservices architecture?

  1. A.An architecture where the application is composed of small, independent services✓ Correct
  2. B.A traditional monolithic design approach to apps and related components
  3. C.A single centralized database system approach to achieve project objectives
  4. D.One single large monolithic service application by the project team members

Explanation

Microservices structures an application as a collection of small, independent services.

Report an error in this question

Software ArchitectureMedium

Q17. What is the Model-View-ViewModel (MVVM) pattern?

  1. A.An architectural pattern separating UI, presentation logic, and business logic/data✓ Correct
  2. B.A relational database normalization pattern type for the development team
  3. C.A comprehensive software testing pattern design throughout the project
  4. D.A production deployment automation pattern type in the system context

Explanation

MVVM separates View, ViewModel, and Model components.

Report an error in this question

Software ArchitectureHard

Q18. What is a Domain-Specific Software Architecture (DSSA)?

  1. A.A generic all-purpose architecture template type during implementation
  2. B.A network infrastructure architecture blueprint in practice typically
  3. C.An architecture tailored to a specific application domain with reusable components✓ Correct
  4. D.A comprehensive software testing architecture for quality purposes

Explanation

A DSSA provides a reusable framework for applications within a specific domain.

Report an error in this question

Software ArchitectureHard

Q19. What is the TOGAF framework?

  1. A.The Open Group Architecture Framework for enterprise architecture✓ Correct
  2. B.A production deployment automation framework for effective project outcomes
  3. C.A general-purpose source code framework tool to achieve project objectives
  4. D.A comprehensive software testing framework type in the engineering discipline

Explanation

TOGAF provides a methodology for developing enterprise architecture.

Report an error in this question

Software ArchitectureMedium

Q20. What is a service-oriented architecture (SOA)?

  1. A.An architecture where services communicate over a network to provide functionality✓ Correct
  2. B.A hardware system architecture blueprint only within the given constraints
  3. C.A single isolated standalone service application as defined by standards
  4. D.A traditional monolithic application design style for all project stakeholders

Explanation

SOA provides services to other components through network communication.

Report an error in this question

Software ArchitectureMedium

Q21. What is the publish-subscribe pattern?

  1. A.A messaging pattern where publishers send messages to subscribers through a topic✓ Correct
  2. B.An established coding standard and guideline set over the entire lifecycle
  3. C.A relational database design pattern type only and its related activities
  4. D.A physical magazine subscription service plan by the development process

Explanation

Publish-subscribe lets publishers categorize messages into topics for subscribers.

Report an error in this question

Software ArchitectureMedium

Q22. What is an API Gateway?

  1. A.A physical security entry gate device system in all development efforts
  2. B.A hardware network switching device and unit and related components
  3. C.A server that acts as a single entry point for a set of microservices✓ Correct
  4. D.A relational database gateway and adapter tool by the project team members

Explanation

An API Gateway routes client requests to appropriate microservices.

Report an error in this question

Software ArchitectureHard

Q23. What is the Architecture Tradeoff Analysis Method (ATAM)?

  1. A.A method for evaluating architectural decisions against quality attribute requirements✓ Correct
  2. B.A mathematical formula for doing calculations as part of the methodology
  3. C.A comprehensive software testing methodology during the software lifecycle
  4. D.A specific source code writing methodology only in the development process

Explanation

ATAM evaluates how well architectural decisions satisfy quality attribute requirements.

Report an error in this question

Software ArchitectureHard

Q24. What is the concept of 'architectural erosion'?

  1. A.The gradual degradation of architecture as implementation deviates from the intended design✓ Correct
  2. B.A specific category of reported software defect for the development team
  3. C.A concept related to software testing only throughout the project in the system context
  4. D.Physical decay of building materials over time within the project scope

Explanation

Architectural erosion occurs when implementation decisions violate the planned architecture.

Report an error in this question

Software ArchitectureHard

Q25. What is the CQRS pattern?

  1. A.A specific source code implementation pattern by the organization
  2. B.A standard database query language command type as a standard approach
  3. C.A comprehensive software testing pattern type at every stage
  4. D.Command Query Responsibility Segregation — separating read and write operations✓ Correct

Explanation

CQRS separates read and write sides of a data store for independent optimization.

Report an error in this question

Software ArchitectureHard

Q26. What is the Strangler Fig pattern?

  1. A.A migration pattern that incrementally replaces a legacy system by gradually routing traffic to a new system✓ Correct
  2. B.An application security protection pattern type within the system boundary by the development process
  3. C.A comprehensive software testing pattern approach for the project goals according to best practices
  4. D.A botanical plant species classification category across all phases in a systematic way

Explanation

The Strangler Fig pattern incrementally migrates from a legacy system to a new one.

Report an error in this question

Software ArchitectureHard

Q27. What is the hexagonal architecture (ports and adapters)?

  1. A.A building shaped with six equal sides design for all project stakeholders
  2. B.A relational database schema design method type within the given constraints
  3. C.An architecture that isolates the core logic from external concerns using ports and adapters✓ Correct
  4. D.A network topology and routing structure layout in all development efforts

Explanation

Hexagonal architecture isolates core logic from external systems using ports and adapters.

Report an error in this question

Software ArchitectureHard

Q28. What is the concept of 'fitness functions' in evolutionary architecture?

  1. A.Physical exercise routines for the team members and its related activities
  2. B.User interface design metrics and score values as defined by standards
  3. C.System performance benchmarks and baselines set over the entire lifecycle
  4. D.Automated tests that verify architectural characteristics are maintained✓ Correct

Explanation

Fitness functions verify that architectural characteristics are maintained as the system evolves.

Report an error in this question

Software ArchitectureHard

Q29. What is the difference between architectural patterns and architectural styles?

  1. A.Styles are more specific than patterns overall in the engineering discipline
  2. B.Patterns are broader in scope than styles are and related components to achieve project objectives
  3. C.Styles are broader design philosophies; patterns are specific solutions to recurring problems✓ Correct
  4. D.The two concepts are completely identical overall by the project team members

Explanation

Styles define broad categories; patterns provide specific solutions to recurring problems.

Report an error in this question

Software ArchitectureHard

Q30. What is the concept of 'Conway's Law' in software architecture?

  1. A.A specific legal regulatory requirement and law for effective project outcomes
  2. B.A standard source code formatting law and rule as part of the methodology
  3. C.A comprehensive software testing principle type in the development process
  4. D.Organizations design systems that mirror their own communication structure✓ Correct

Explanation

Conway's Law states that systems tend to reflect the organization's communication structure.

Report an error in this question

Ready to test yourself on Software Architecture?

Take a timed quiz drawn from 210+ questions on this topic. No signup required — your progress saves in your browser.

Start Software Architecture Quiz