SlideShare a Scribd company logo
1 of 21
Download to read offline
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

Ch5- Software Engineering 9
Ch5- Software Engineering 9Ch5- Software Engineering 9
Ch5- Software Engineering 9
Ian Sommerville
 

What's hot (20)

Software Engineering (Risk Management)
Software Engineering (Risk Management)Software Engineering (Risk Management)
Software Engineering (Risk Management)
 
Architecture design in software engineering
Architecture design in software engineeringArchitecture design in software engineering
Architecture design in software engineering
 
Implementation Model
Implementation ModelImplementation Model
Implementation Model
 
Unified process model
Unified process modelUnified process model
Unified process model
 
Software architecture
Software architectureSoftware architecture
Software architecture
 
Software Engineering - chp5- software architecture
Software Engineering - chp5- software architectureSoftware Engineering - chp5- software architecture
Software Engineering - chp5- software architecture
 
Software configuration items
Software configuration itemsSoftware configuration items
Software configuration items
 
Ian Sommerville, Software Engineering, 9th Edition Ch 4
Ian Sommerville,  Software Engineering, 9th Edition Ch 4Ian Sommerville,  Software Engineering, 9th Edition Ch 4
Ian Sommerville, Software Engineering, 9th Edition Ch 4
 
Fundamental software engineering activities
Fundamental software engineering activitiesFundamental software engineering activities
Fundamental software engineering activities
 
An Introduction to Software Architecture
An Introduction to Software ArchitectureAn Introduction to Software Architecture
An Introduction to Software Architecture
 
Unit 2
Unit 2Unit 2
Unit 2
 
Architecture Description Languages
Architecture Description LanguagesArchitecture Description Languages
Architecture Description Languages
 
Component level design
Component   level designComponent   level design
Component level design
 
Ch5- Software Engineering 9
Ch5- Software Engineering 9Ch5- Software Engineering 9
Ch5- Software Engineering 9
 
Basis path testing
Basis path testingBasis path testing
Basis path testing
 
Software Requirements Specification on Student Information System (SRS on SIS)
Software Requirements Specification on Student Information System (SRS on SIS)Software Requirements Specification on Student Information System (SRS on SIS)
Software Requirements Specification on Student Information System (SRS on SIS)
 
Software architecture design ppt
Software architecture design pptSoftware architecture design ppt
Software architecture design ppt
 
Ooad
OoadOoad
Ooad
 
Software Engineering unit 3
Software Engineering unit 3Software Engineering unit 3
Software Engineering unit 3
 
Slides chapter 10
Slides chapter 10Slides chapter 10
Slides chapter 10
 

Similar to Software Architecture - Quiz Questions

Ace exam guide_flex4
Ace exam guide_flex4Ace exam guide_flex4
Ace exam guide_flex4
Ana Neves
 
Martin Koons Resume 2015
Martin Koons Resume 2015Martin Koons Resume 2015
Martin Koons Resume 2015
Marty Koons
 
Yemo_Capstone_MS_Fairfield University
Yemo_Capstone_MS_Fairfield UniversityYemo_Capstone_MS_Fairfield University
Yemo_Capstone_MS_Fairfield University
Guillermo Julca
 
Session 3 Software Engineering UGC NET.pdf
Session 3 Software Engineering UGC NET.pdfSession 3 Software Engineering UGC NET.pdf
Session 3 Software Engineering UGC NET.pdf
sangeethachandran
 
DEEPAK_Ver1.3
DEEPAK_Ver1.3DEEPAK_Ver1.3
DEEPAK_Ver1.3
Deepak CG
 

Similar to Software Architecture - Quiz Questions (20)

Scalable constrained spectral clustering
Scalable constrained spectral clusteringScalable constrained spectral clustering
Scalable constrained spectral clustering
 
Ace exam guide_flex4
Ace exam guide_flex4Ace exam guide_flex4
Ace exam guide_flex4
 
Prasad_CTP
Prasad_CTPPrasad_CTP
Prasad_CTP
 
Martin Koons Resume 2015
Martin Koons Resume 2015Martin Koons Resume 2015
Martin Koons Resume 2015
 
Large scale software development
Large scale software development Large scale software development
Large scale software development
 
Software Engineering Question Bank.docx
Software Engineering Question Bank.docxSoftware Engineering Question Bank.docx
Software Engineering Question Bank.docx
 
70-494 it examen braindumps
70-494 it examen braindumps70-494 it examen braindumps
70-494 it examen braindumps
 
K NarasimhaRao
K NarasimhaRaoK NarasimhaRao
K NarasimhaRao
 
Yemo_Capstone_MS_Fairfield University
Yemo_Capstone_MS_Fairfield UniversityYemo_Capstone_MS_Fairfield University
Yemo_Capstone_MS_Fairfield University
 
Sofware Engineering Important Past Paper 2019
Sofware Engineering Important Past Paper 2019Sofware Engineering Important Past Paper 2019
Sofware Engineering Important Past Paper 2019
 
Documentation
DocumentationDocumentation
Documentation
 
Microservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native AppsMicroservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native Apps
 
Bangladesh Bank Assistant Maintenance Engineer Question Solution.
Bangladesh Bank Assistant Maintenance Engineer Question Solution.Bangladesh Bank Assistant Maintenance Engineer Question Solution.
Bangladesh Bank Assistant Maintenance Engineer Question Solution.
 
Crafted Design - Sandro Mancuso
Crafted Design - Sandro MancusoCrafted Design - Sandro Mancuso
Crafted Design - Sandro Mancuso
 
The Magic Of Application Lifecycle Management In Vs Public
The Magic Of Application Lifecycle Management In Vs PublicThe Magic Of Application Lifecycle Management In Vs Public
The Magic Of Application Lifecycle Management In Vs Public
 
ThesisProposal
ThesisProposalThesisProposal
ThesisProposal
 
Dlf2
Dlf2Dlf2
Dlf2
 
Session 3 Software Engineering UGC NET.pdf
Session 3 Software Engineering UGC NET.pdfSession 3 Software Engineering UGC NET.pdf
Session 3 Software Engineering UGC NET.pdf
 
DEEPAK_Ver1.3
DEEPAK_Ver1.3DEEPAK_Ver1.3
DEEPAK_Ver1.3
 
23 intro to_dsse
23 intro to_dsse23 intro to_dsse
23 intro to_dsse
 

More from CodeOps Technologies LLP

More from CodeOps Technologies LLP (20)

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

Recently uploaded

%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 

Recently uploaded (20)

%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 

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