Software Engineering
Software Engineering MCQs with Answers
Software engineering MCQs with answers and detailed explanations for NTS, GAT, university tests and IT job interviews. SDLC, testing and design covered. Take a scored quiz instead →
Which deployment pattern deploys a secondary helper component alongside a primary application container to share logging, proxy, or monitoring services?
ASidecar Pattern
BAmbassador Pattern
CAdapter Pattern
DDecorator Pattern
In cloud-native applications, Twelve-Factor App methodology recommends storing all application configuration settings in:
AHardcoded Source Files
BEnvironment Variables
CLocal XML Config Files
DDatabase Primary Tables
In microservices architecture, managing distributed transactions across multiple independent service databases without global two-phase commit relies on the:
ATwo-Phase Commit (2PC)
BUnit of Work Pattern
CActive Record Pattern
DSaga Pattern
Which microservices pattern isolates elements into pools so that if one component fails, the remaining components continue operating without system-wide crash?
ACircuit Breaker Pattern
BBulkhead Pattern
CStrangler Fig Pattern
DSidecar Pattern
An architectural migration pattern that incrementally replaces legacy monolithic system features with new microservices until the monolith is phased out is:
ABig Bang Migration Pattern
BAdapter Pattern
CStrangler Fig Pattern
DProxy Pattern
An architectural pattern that captures all changes to an application state as a chronological sequence of immutable events is:
ACQRS
BPublish-Subscribe
CObserver Pattern
DEvent Sourcing
In microservices architecture, what resiliency pattern prevents cascade failures by wrapping remote calls and immediately returning a fallback if error thresholds are exceeded?
ACircuit Breaker Pattern
BBulkhead Pattern
CRetry Pattern
DSaga Pattern
An architectural pattern that segregates the read data model from the write data model to optimize performance and scalability is:
AEvent Sourcing
BDomain-Driven Design
CCommand Query Responsibility Segregation (CQRS)
DModel-View-Controller
In Domain-Driven Design (DDD), an entity that acts as the root gatekeeper for a cluster of associated domain objects to enforce consistency boundaries is an:
AAggregate Root
BValue Object
CDomain Service
DRepository
In Domain-Driven Design (DDD), an object defined solely by its attribute values rather than a unique identity is a:
AEntity
BValue Object
CAggregate Root
DFactory
