NEW
Font size
WorksheetsMidterm Examination 1 (Software Design)
Total questions: 15
Worksheet time: 8mins
What is the primary role of software architecture?
Writing code
Managing databases
Graphic design
Ensuring system scalability
Which architectural style involves an intermediate application server layer between the client and the server?
Three-Tier Architecture
Service-Oriented Architecture (SOA)
Two-Tier Architecture
Client-Server Model with RESTful APIs
What does the Model-View-Controller (MVC) pattern separate an application into?
Data and business logic, user interface elements, and user input
Data storage, business logic, and UI
Client-side and server-side components
Database and API access
Which architectural pattern provides a centralized storage and retrieval interface for data access operations?
Repository Pattern
Publish-Subscribe
Data Access Object (DAO)
Request-Response
What is the purpose of the Proxy Pattern in client-server systems?
Implementing caching
Enhancing scalability
Controlling access to another object
Handling user input
Which architectural style organizes services around business domains for alignment with business structure?
API Gateway
Event-Driven Architecture
Containerization
Decomposition by Domain
What does the Bulkhead Pattern aim to prevent in a system?
Cascading failures
Data loss
Security breaches
Performance issues
Which strategy involves deploying the system across multiple geographic regions for high availability?
Load Balancing
Auto-scaling
Horizontal Scaling
Geographic Redundancy
What is the purpose of employing asynchronous communication and processing in system architecture?
Improving response times
Enhancing user experience
Reducing costs
Increasing security
Which pattern separates read and write operations to optimize performance in microservices?
CQRS (Command Query Responsibility Segregation)
Saga Pattern
Event Sourcing
API Gateway
What does the Immutable Infrastructure strategy treat infrastructure as?
A flexible resource
A constant variable
A temporary solution
Code
Which architectural style encapsulates data storage, business logic, and UI within each service?
CQRS (Command Query Responsibility Segregation)
Serverless Architecture
Database per Service
Self-Contained Systems (SCS)
What is the purpose of the Graceful Degradation design principle?
Optimizing resource allocation
Maintaining consistent environments
Handling failures under high load
Ensuring system security
Which pattern incrementally migrates monolithic applications to microservices?
Bulkhead Pattern
Externalized Configuration
Continuous Monitoring and Optimization
Strangler Pattern
What is the goal of Chaos Engineering in system design?
Identifying weaknesses and vulnerabilities
Ensuring system compliance
Optimizing resource usage
Enhancing user experience
