Microservices u0026 Spring Boot Fundamentals Quiz Quiz

Test your understanding of key concepts in Microservices architecture and Spring Boot, including design principles, REST APIs, and essential Spring Boot features.

  1. Benefits of Microservices Architecture

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

    1. It requires no configuration
    2. It enforces monolithic scalability
    3. There are no network communications between components
    4. Each service can be deployed independently
    5. All code exists in a single codebase
  2. Spring Boot's Primary Feature

    What is one primary feature of Spring Boot that simplifies application development?

    1. Requires XML setup for every bean
    2. No support for integration
    3. Manual configuration for everything
    4. Enforces tight coupling of services
    5. Embedded servers
  3. Microservices and Loose Coupling

    In the context of microservices, what does 'loose coupling' mean?

    1. Business logic and database access are tightly linked
    2. Interfaces cannot change independently
    3. All services share the same database schema
    4. Services require manual deployment in one unit
    5. Each service has minimal dependencies on others
  4. Spring Boot Dependency Injection

    Which Spring Boot feature enables automatic wiring of components to reduce boilerplate code?

    1. Exteranalisation
    2. Hardcoded linking
    3. Manual instantiation
    4. Dependency injection
    5. Dpendency injextion
  5. REST in Microservices

    What does the acronym REST stand for in designing APIs for microservices?

    1. Representational State Transfer
    2. Random Execution Syntax Tree
    3. Remote Entity Synchronization Tool
    4. Relational System Testing
    5. Resource State Tranfser
  6. Port Number in Spring Boot

    By default, on which port does a Spring Boot embedded Tomcat server run?

    1. 80
    2. 443
    3. 3000
    4. 8000
    5. 8080
  7. Service Discovery Concept

    What is the main purpose of service discovery in a microservices architecture?

    1. To force single deployment of all services
    2. To statically configure service addresses
    3. To encrypt database passwords
    4. To enable services to find and communicate with each other dynamically
    5. To calculate CPU usage
  8. Spring Boot Starter Benefits

    Which statement correctly describes 'Spring Boot Starters'?

    1. They provide a set of pre-configured dependencies for common functionalities
    2. They only support Python applications
    3. They are collections of HTML templates for web design
    4. They are scripts for database backups
    5. They require manual dependency management for each library
  9. Scaling Microservices

    If one microservice needs more processing power, what is a common technique to scale it?

    1. Split the database into more tables
    2. Combine all services into a monolith
    3. Deploy multiple instances of that service
    4. Increase network latency intentionally
    5. Copy and paste the source code
  10. Spring Boot Configuration File

    Which file does Spring Boot commonly use for default application configuration?

    1. settings.txt
    2. env.config
    3. propertylist.xml
    4. application.properties
    5. aplication.propertis