Module 2 Lesson 1 Flashcards

the Analysis phase of software development, specifically architectural patterns

1
Q

What is an architectural pattern in software development?

A

A reusable solution to a common design problem in software architecture, structuring components and their interactions to achieve goals like scalability and maintainability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Event-Driven Architecture used for?

A

It is used for real-time data processing and highly scalable applications, like financial systems and IoT, where components communicate asynchronously by producing and consuming events.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the components of Layered Architecture?

A

The components are organized into layers such as Presentation, Business/Application, Data Access, Persistence, and Infrastructure. It is often used in enterprise applications with complex business rules.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Monolithic Architecture?

A

It packages all components of an application into a single unit and is used for simpler applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Microservice Architecture?

A

It is an architecture where an application is composed of small, independent services that communicate using APIs. It is ideal for large, complex applications requiring high scalability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does MVC (Model-View-Controller) Architecture separate?

A

It separates an application into three components: Model (data), View (user interface), and Controller (input handling). It is commonly used in web applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Master-Slave Architecture used for?

A

It is used for load balancing and high availability in large-scale databases, where the master writes data and the slaves read it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What factors should you consider when choosing an architectural pattern?

A

Application size and complexity, scalability requirements, performance needs, and the development team’s expertise.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly