SlideShare a Scribd company logo
2
Most read
4
Most read
6
Most read
SOFTWARE ARCHITECTURE
Warm-up session
1. QUESTION
You are an architect for a signal processing application. You have
designed the application in such a way that the front-end component
receives sensor data from devices, and the data flows from one
component to the following component. Each component
subsequently transforms the data it receives and passes the
transformed data to the next component. The final component
passes the data to a modeling and visualization unit that renders the
data to the end-users. The architecture style you have used in this
application is:
a) Layered architecture pattern
b) Pipe-and-filter architecture pattern
c) N-tier architecture pattern
d) Peer-to-peer architecture pattern
1. ANSWER
b) Pipe-and-filter architecture pattern
2. QUESTION
Which architecture style is characterized by the following:
“All arriving new data is entered into both the batch layer and
the speed layer. Batch layer has the master dataset and
precomputes data and provides it in batch views. Speed layer
processes the with recent data and compensates for the
latency in the batch layer. Serving layer processes queries
using data from both batch views and real-time view in speed
layer.”
a) Microservices style
b) Pipe-and-filter style
c) N-tier architecture style
d) Lambda architecture style
2. ANSWER
d) Lambda architecture style
3. QUESTION
Consider the following code segment:
Reader	rd	=	new	LineNumberReader(new	
BufferedReader(new	FileReader(“./test.c")));	
Reader is the abstract base class from which classes such
as FileReader and BufferedReader derive. Classes in the
Reader hierarchy take a Reader as an argument and hold
it as a reference. Which design pattern does the
underlying design follow?
a) Factory method pattern
b) Strategy pattern
c) Builder pattern
d) Decorator pattern
3. ANSWER
d) Decorator pattern
VisualComponent
+ Draw()
TextView
+ Draw()
ScrollDecortor BorderDecorator
+ Draw()
- ScrollPosition
+ Draw()
- borderWidth
Decorator
+ Draw() component->Draw()
Decorator::Draw()
DrawBorder()
Decorator::Draw()
ScrollTo()
Source: “Design Patterns: Elements of Reusable Object-Oriented Software”, Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides,
4. QUESTION
A division in a large company is working on maintaining
compiler and tools for a platform. Teams are organised
reflecting the components maintained, such as compiler
front-end team, back-end (optimiser) team, linker team,
debugger team, etc. Such reflection of architecture
structure in the organisation structure (and vice versa)
is known by the name:
a) Brook’s law
b) Conway’s law
c) Moore’s law
d) Amdahl’s law
4. ANSWER
b) Conway’s law
“Any organization that designs a
system… will inevitably produce a
design whose structure is a copy
of the organization's
communication structure”
5. QUESTION
You are an architect who have just joined a large team that that
maintaining a legacy software. While trying to understand the
architecture of the software, you find that the architecture is well
documented. However, when you discuss with the developers
working in the project, you find that the actual architecture is
different from the documented architecture – over the last
decade, the software has changed but the documentation has not
been updated. The scenario you are facing is known as:
a) Architecture drift
b) Lambda architecture
c) Deployment architecture
d) Undocumented architecture
5. ANSWER
a) Architecture drift
6. QUESTION
What is the architecture style followed by the
World Wide Web (www)?
a) Microservices style
b) REST (REpresentational State Transfer) style
c) CQRS (Command Query Responsibility
Segregation) pattern
d) Lambda architecture style
6. ANSWER
b) REST (REpresentational State Transfer) style
code-on-
demand
client-server
cache
statelesslayered
system
uniform
interface
REST
constraints
(in www)
7. QUESTION
You are working on an financial application that is an event-driven
system. The team is having difficulty in testing and debugging the
software and want to be able to replay the events. Also, the application
has recently been a target of security attacks. With lack of audit trail, it
is difficult to prosecute attackers. What is more, the management also
wants predictive analytics for improving profitability of the business.
Which of the following patterns can help directly address this
situation?
a) Using microservices style
b) Using REST (REpresentational State Transfer) style
c) Using event sourcing pattern
d) Using CQRS (Command Query Responsibility Segregation) pattern
7. ANSWER
c) Using event sourcing pattern
source: https://msdn.microsoft.com/en-us/library/dn589792.aspx
8. QUESTION
Docker is written in:
a) Java language
b) C language
c) D language
d) Go language
8. ANSWER
d) Go language
Check out this presentation on “Docker
and Go: why did we decide to write
Docker in Go?”
9. QUESTION
Who is
a) Michael Feathers
b) Robert C. Martin
c) Solomon Hykes
d) Roy T. Fielding
9. ANSWER
c) Solomon Hykes
Solomon Hykes started Docker project in
his earlier company dotCloud; it was later
released to open source in 2013. He is
now the CTO in Docker Inc.
10. QUESTION
You have used dependency analysis tools on
your code base. You find numerous cycles and
tangles in the dependencies. The recommended
approach to be followed is:
a) Adopt Domain Driven Design (DDD)
b) Adopt Test Driven Development (TDD) approach
c) Perform architecture refactoring
d) Use profiling tools to find “hotspots” and remove
the bottlenecks
10. ANSWER
c) Perform architecture refactoring
Tangles in
JDK

More Related Content

What's hot (20)

DOCX
Software engineering project(srs)!!
sourav verma
 
PPT
Software Requirements in Software Engineering SE5
koolkampus
 
PPT
Analysis modeling & scenario based modeling
Benazir Fathima
 
PDF
Software Engineering : Requirement Analysis & Specification
Ajit Nayak
 
PPTX
Software quality
Sara Mehmood
 
PPT
Improving software economics
deep sharma
 
PDF
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
EUDAT
 
PDF
Software engineering a practitioners approach 8th edition pressman solutions ...
Drusilla918
 
PPTX
Unified process model
RyndaMaala
 
PPTX
User Interface Analysis and Design
Saqib Raza
 
PPT
Software quality assurance lecture 1
Abdul Basit
 
PDF
2- THE CHANGING NATURE OF SOFTWARE.pdf
bcanawakadalcollege
 
PPTX
Software process
Jennifer Polack
 
PDF
Requirement Engineering
Jonathan Christian
 
PPTX
Requirement Analysis
SADEED AMEEN
 
PPTX
Model Based Software Architectures
Munazza-Mah-Jabeen
 
PPT
Software security engineering
AHM Pervej Kabir
 
PPT
UNIT-4design-concepts-se-pressman-ppt.PPT
malathijanapati1
 
PPTX
Software maintenance Unit5
Mohammad Faizan
 
Software engineering project(srs)!!
sourav verma
 
Software Requirements in Software Engineering SE5
koolkampus
 
Analysis modeling & scenario based modeling
Benazir Fathima
 
Software Engineering : Requirement Analysis & Specification
Ajit Nayak
 
Software quality
Sara Mehmood
 
Improving software economics
deep sharma
 
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
EUDAT
 
Software engineering a practitioners approach 8th edition pressman solutions ...
Drusilla918
 
Unified process model
RyndaMaala
 
User Interface Analysis and Design
Saqib Raza
 
Software quality assurance lecture 1
Abdul Basit
 
2- THE CHANGING NATURE OF SOFTWARE.pdf
bcanawakadalcollege
 
Software process
Jennifer Polack
 
Requirement Engineering
Jonathan Christian
 
Requirement Analysis
SADEED AMEEN
 
Model Based Software Architectures
Munazza-Mah-Jabeen
 
Software security engineering
AHM Pervej Kabir
 
UNIT-4design-concepts-se-pressman-ppt.PPT
malathijanapati1
 
Software maintenance Unit5
Mohammad Faizan
 

Similar to Software Architecture - Quiz Questions (20)

PPT
session on pattern oriented software architecture
SUJOY SETT
 
PDF
Ptidej Architecture, Design, and Implementation in Action v2.1
Yann-Gaël Guéhéneuc
 
PDF
Design Patterns
adil raja
 
PDF
Question 1 Some agile and incremental methods- like extreme programmi.pdf
PhilzIGHudsonl
 
PPTX
Design pattern and their application
Hiệp Tiến
 
PDF
Framework Engineering
YoungSu Son
 
PDF
Patterns of enterprise application architecture
thlias
 
PPT
10 modeling and_notations
Majong DevJfu
 
PPTX
Design Pattern Automation
PostSharp Technologies
 
PDF
UML Design Class Diagrams (2014)
Miriam Ruiz
 
PPTX
L02 Architecture
Ólafur Andri Ragnarsson
 
DOCX
Thi
Thanh Duy
 
PPTX
Software engineering: design for reuse
Marco Brambilla
 
PPTX
Go f designpatterns 130116024923-phpapp02
Jagath Bandara Senanayaka
 
ODP
Software Patterns
Sudarsun Santhiappan
 
PDF
Software Architecture - Principles, Patterns and Practices - OSI Days - 2017
CodeOps Technologies LLP
 
PDF
Neal Ford Emergent Design And Evolutionary Architecture
Thoughtworks
 
PPTX
Evolution of Patterns
Chris Eargle
 
PPTX
Architecture and design
himanshu_airon
 
PDF
Design Patterns - GOF
Fanus van Straten
 
session on pattern oriented software architecture
SUJOY SETT
 
Ptidej Architecture, Design, and Implementation in Action v2.1
Yann-Gaël Guéhéneuc
 
Design Patterns
adil raja
 
Question 1 Some agile and incremental methods- like extreme programmi.pdf
PhilzIGHudsonl
 
Design pattern and their application
Hiệp Tiến
 
Framework Engineering
YoungSu Son
 
Patterns of enterprise application architecture
thlias
 
10 modeling and_notations
Majong DevJfu
 
Design Pattern Automation
PostSharp Technologies
 
UML Design Class Diagrams (2014)
Miriam Ruiz
 
L02 Architecture
Ólafur Andri Ragnarsson
 
Thi
Thanh Duy
 
Software engineering: design for reuse
Marco Brambilla
 
Go f designpatterns 130116024923-phpapp02
Jagath Bandara Senanayaka
 
Software Patterns
Sudarsun Santhiappan
 
Software Architecture - Principles, Patterns and Practices - OSI Days - 2017
CodeOps Technologies LLP
 
Neal Ford Emergent Design And Evolutionary Architecture
Thoughtworks
 
Evolution of Patterns
Chris Eargle
 
Architecture and design
himanshu_airon
 
Design Patterns - GOF
Fanus van Straten
 
Ad

More from CodeOps Technologies LLP (20)

PDF
AWS Serverless Event-driven Architecture - in lastminute.com meetup
CodeOps Technologies LLP
 
PPTX
Understanding azure batch service
CodeOps Technologies LLP
 
PDF
DEVOPS AND MACHINE LEARNING
CodeOps Technologies LLP
 
PDF
SERVERLESS MIDDLEWARE IN AZURE FUNCTIONS
CodeOps Technologies LLP
 
PPT
BUILDING SERVERLESS SOLUTIONS WITH AZURE FUNCTIONS
CodeOps Technologies LLP
 
PPTX
APPLYING DEVOPS STRATEGIES ON SCALE USING AZURE DEVOPS SERVICES
CodeOps Technologies LLP
 
PPTX
BUILD, TEST & DEPLOY .NET CORE APPS IN AZURE DEVOPS
CodeOps Technologies LLP
 
PPTX
CREATE RELIABLE AND LOW-CODE APPLICATION IN SERVERLESS MANNER
CodeOps Technologies LLP
 
PPTX
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
CodeOps Technologies LLP
 
PPTX
WRITE SCALABLE COMMUNICATION APPLICATION WITH POWER OF SERVERLESS
CodeOps Technologies LLP
 
PPTX
Training And Serving ML Model Using Kubeflow by Jayesh Sharma
CodeOps Technologies LLP
 
PPTX
Deploy Microservices To Kubernetes Without Secrets by Reenu Saluja
CodeOps Technologies LLP
 
PDF
Leverage Azure Tech stack for any Kubernetes cluster via Azure Arc by Saiyam ...
CodeOps Technologies LLP
 
PDF
YAML Tips For Kubernetes by Neependra Khare
CodeOps Technologies LLP
 
PDF
Must Know Azure Kubernetes Best Practices And Features For Better Resiliency ...
CodeOps Technologies LLP
 
PPTX
Monitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
CodeOps Technologies LLP
 
PDF
Jet brains space intro presentation
CodeOps Technologies LLP
 
PDF
Functional Programming in Java 8 - Lambdas and Streams
CodeOps Technologies LLP
 
PPTX
Distributed Tracing: New DevOps Foundation
CodeOps Technologies LLP
 
PDF
"Distributed Tracing: New DevOps Foundation" by Jayesh Ahire
CodeOps Technologies LLP
 
AWS Serverless Event-driven Architecture - in lastminute.com meetup
CodeOps Technologies LLP
 
Understanding azure batch service
CodeOps Technologies LLP
 
DEVOPS AND MACHINE LEARNING
CodeOps Technologies LLP
 
SERVERLESS MIDDLEWARE IN AZURE FUNCTIONS
CodeOps Technologies LLP
 
BUILDING SERVERLESS SOLUTIONS WITH AZURE FUNCTIONS
CodeOps Technologies LLP
 
APPLYING DEVOPS STRATEGIES ON SCALE USING AZURE DEVOPS SERVICES
CodeOps Technologies LLP
 
BUILD, TEST & DEPLOY .NET CORE APPS IN AZURE DEVOPS
CodeOps Technologies LLP
 
CREATE RELIABLE AND LOW-CODE APPLICATION IN SERVERLESS MANNER
CodeOps Technologies LLP
 
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
CodeOps Technologies LLP
 
WRITE SCALABLE COMMUNICATION APPLICATION WITH POWER OF SERVERLESS
CodeOps Technologies LLP
 
Training And Serving ML Model Using Kubeflow by Jayesh Sharma
CodeOps Technologies LLP
 
Deploy Microservices To Kubernetes Without Secrets by Reenu Saluja
CodeOps Technologies LLP
 
Leverage Azure Tech stack for any Kubernetes cluster via Azure Arc by Saiyam ...
CodeOps Technologies LLP
 
YAML Tips For Kubernetes by Neependra Khare
CodeOps Technologies LLP
 
Must Know Azure Kubernetes Best Practices And Features For Better Resiliency ...
CodeOps Technologies LLP
 
Monitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
CodeOps Technologies LLP
 
Jet brains space intro presentation
CodeOps Technologies LLP
 
Functional Programming in Java 8 - Lambdas and Streams
CodeOps Technologies LLP
 
Distributed Tracing: New DevOps Foundation
CodeOps Technologies LLP
 
"Distributed Tracing: New DevOps Foundation" by Jayesh Ahire
CodeOps Technologies LLP
 
Ad

Recently uploaded (20)

PDF
Infrastructure planning and resilience - Keith Hastings.pptx.pdf
Safe Software
 
PDF
Adobe Illustrator Crack Full Download (Latest Version 2025) Pre-Activated
imang66g
 
PDF
ChatPharo: an Open Architecture for Understanding How to Talk Live to LLMs
ESUG
 
PDF
SAP GUI Installation Guide for Windows | Step-by-Step Setup for SAP Access
SAP Vista, an A L T Z E N Company
 
PDF
Troubleshooting Virtual Threads in Java!
Tier1 app
 
PPTX
Explanation about Structures in C language.pptx
Veeral Rathod
 
PPTX
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
PDF
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
PDF
Why Are More Businesses Choosing Partners Over Freelancers for Salesforce.pdf
Cymetrix Software
 
PDF
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
PDF
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
PPTX
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
PPTX
Presentation about Database and Database Administrator
abhishekchauhan86963
 
PPTX
Employee salary prediction using Machine learning Project template.ppt
bhanuk27082004
 
PDF
Protecting the Digital World Cyber Securit
dnthakkar16
 
PPTX
ASSIGNMENT_1[1][1][1][1][1] (1) variables.pptx
kr2589474
 
PDF
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
PPT
Activate_Methodology_Summary presentatio
annapureddyn
 
PDF
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
PDF
Virtual Threads in Java: A New Dimension of Scalability and Performance
Tier1 app
 
Infrastructure planning and resilience - Keith Hastings.pptx.pdf
Safe Software
 
Adobe Illustrator Crack Full Download (Latest Version 2025) Pre-Activated
imang66g
 
ChatPharo: an Open Architecture for Understanding How to Talk Live to LLMs
ESUG
 
SAP GUI Installation Guide for Windows | Step-by-Step Setup for SAP Access
SAP Vista, an A L T Z E N Company
 
Troubleshooting Virtual Threads in Java!
Tier1 app
 
Explanation about Structures in C language.pptx
Veeral Rathod
 
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
Why Are More Businesses Choosing Partners Over Freelancers for Salesforce.pdf
Cymetrix Software
 
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
Presentation about Database and Database Administrator
abhishekchauhan86963
 
Employee salary prediction using Machine learning Project template.ppt
bhanuk27082004
 
Protecting the Digital World Cyber Securit
dnthakkar16
 
ASSIGNMENT_1[1][1][1][1][1] (1) variables.pptx
kr2589474
 
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
Activate_Methodology_Summary presentatio
annapureddyn
 
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
Virtual Threads in Java: A New Dimension of Scalability and Performance
Tier1 app
 

Software Architecture - Quiz Questions

  • 2. 1. QUESTION You are an architect for a signal processing application. You have designed the application in such a way that the front-end component receives sensor data from devices, and the data flows from one component to the following component. Each component subsequently transforms the data it receives and passes the transformed data to the next component. The final component passes the data to a modeling and visualization unit that renders the data to the end-users. The architecture style you have used in this application is: a) Layered architecture pattern b) Pipe-and-filter architecture pattern c) N-tier architecture pattern d) Peer-to-peer architecture pattern
  • 3. 1. ANSWER b) Pipe-and-filter architecture pattern
  • 4. 2. QUESTION Which architecture style is characterized by the following: “All arriving new data is entered into both the batch layer and the speed layer. Batch layer has the master dataset and precomputes data and provides it in batch views. Speed layer processes the with recent data and compensates for the latency in the batch layer. Serving layer processes queries using data from both batch views and real-time view in speed layer.” a) Microservices style b) Pipe-and-filter style c) N-tier architecture style d) Lambda architecture style
  • 5. 2. ANSWER d) Lambda architecture style
  • 6. 3. QUESTION Consider the following code segment: Reader rd = new LineNumberReader(new BufferedReader(new FileReader(“./test.c"))); Reader is the abstract base class from which classes such as FileReader and BufferedReader derive. Classes in the Reader hierarchy take a Reader as an argument and hold it as a reference. Which design pattern does the underlying design follow? a) Factory method pattern b) Strategy pattern c) Builder pattern d) Decorator pattern
  • 7. 3. ANSWER d) Decorator pattern VisualComponent + Draw() TextView + Draw() ScrollDecortor BorderDecorator + Draw() - ScrollPosition + Draw() - borderWidth Decorator + Draw() component->Draw() Decorator::Draw() DrawBorder() Decorator::Draw() ScrollTo() Source: “Design Patterns: Elements of Reusable Object-Oriented Software”, Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides,
  • 8. 4. QUESTION A division in a large company is working on maintaining compiler and tools for a platform. Teams are organised reflecting the components maintained, such as compiler front-end team, back-end (optimiser) team, linker team, debugger team, etc. Such reflection of architecture structure in the organisation structure (and vice versa) is known by the name: a) Brook’s law b) Conway’s law c) Moore’s law d) Amdahl’s law
  • 9. 4. ANSWER b) Conway’s law “Any organization that designs a system… will inevitably produce a design whose structure is a copy of the organization's communication structure”
  • 10. 5. QUESTION You are an architect who have just joined a large team that that maintaining a legacy software. While trying to understand the architecture of the software, you find that the architecture is well documented. However, when you discuss with the developers working in the project, you find that the actual architecture is different from the documented architecture – over the last decade, the software has changed but the documentation has not been updated. The scenario you are facing is known as: a) Architecture drift b) Lambda architecture c) Deployment architecture d) Undocumented architecture
  • 12. 6. QUESTION What is the architecture style followed by the World Wide Web (www)? a) Microservices style b) REST (REpresentational State Transfer) style c) CQRS (Command Query Responsibility Segregation) pattern d) Lambda architecture style
  • 13. 6. ANSWER b) REST (REpresentational State Transfer) style code-on- demand client-server cache statelesslayered system uniform interface REST constraints (in www)
  • 14. 7. QUESTION You are working on an financial application that is an event-driven system. The team is having difficulty in testing and debugging the software and want to be able to replay the events. Also, the application has recently been a target of security attacks. With lack of audit trail, it is difficult to prosecute attackers. What is more, the management also wants predictive analytics for improving profitability of the business. Which of the following patterns can help directly address this situation? a) Using microservices style b) Using REST (REpresentational State Transfer) style c) Using event sourcing pattern d) Using CQRS (Command Query Responsibility Segregation) pattern
  • 15. 7. ANSWER c) Using event sourcing pattern source: https://msdn.microsoft.com/en-us/library/dn589792.aspx
  • 16. 8. QUESTION Docker is written in: a) Java language b) C language c) D language d) Go language
  • 17. 8. ANSWER d) Go language Check out this presentation on “Docker and Go: why did we decide to write Docker in Go?”
  • 18. 9. QUESTION Who is a) Michael Feathers b) Robert C. Martin c) Solomon Hykes d) Roy T. Fielding
  • 19. 9. ANSWER c) Solomon Hykes Solomon Hykes started Docker project in his earlier company dotCloud; it was later released to open source in 2013. He is now the CTO in Docker Inc.
  • 20. 10. QUESTION You have used dependency analysis tools on your code base. You find numerous cycles and tangles in the dependencies. The recommended approach to be followed is: a) Adopt Domain Driven Design (DDD) b) Adopt Test Driven Development (TDD) approach c) Perform architecture refactoring d) Use profiling tools to find “hotspots” and remove the bottlenecks
  • 21. 10. ANSWER c) Perform architecture refactoring Tangles in JDK