Principles of Software Engineering MCQs (Part-7)

What is a key characteristic of microservices architecture?

A Static
B Distributed
C Monolithic
D Centralized

Which of the following is a benefit of using APIs in software development?

A Simplified testing
B Slower development
C Increased cost
D Reusability

What is the purpose of API design in software systems?

A Enable system communication
B Automate testing
C Provide a user interface
D Improve performance

Which of the following is a characteristic of the RESTful API design?

A Tight coupling
B Statefulness
C Statelessness
D Complex interactions

What is the role of software documentation?

A Describe system behavior
B Deploy software
C Store source code
D Write tests

Which of the following is a best practice for API security?

A Allowing open access
B Using API keys
C Disabling authentication
D Ignoring encryption

What is the primary benefit of using microservices over monolithic architecture?

A Lower cost
B Fewer components
C Easier scaling
D Simpler design

What is an important consideration when designing APIs for external users?

A System dependencies
B Code quality
C User interface design
D Data encryption

In the context of microservices, what is “service discovery”?

A Managing user requests
B Locating services dynamically
C Tracking service versions
D Finding system bugs

Which type of architecture focuses on breaking down an application into smaller, independent services?

A Event driven
B Layered
C Microservices
D Client server

What is an essential feature of a RESTful API?

A Use of HTTP methods
B Client server relationship
C Data storage
D High complexity

Why is API versioning important?

A To manage user data
B To reduce costs
C To handle breaking changes
D To improve performance

What is a key benefit of using automated testing in software development?

A Reduced costs
B Faster deployment
C Increased complexity
D More code coverage

What is the main challenge of debugging microservices architectures?

A Large codebase
B Lack of resources
C Complex service dependencies
D High latency

What is the role of the “client” in a RESTful API?

A Send requests
B Generate responses
C Store data
D Process data