Advanced Frameworks and Integrations MCQs

  1. Which of the following is true about Spring Cloud Config?
    a) Provides centralized configuration management
    b) Supports versioning via Git backend
    c) Integrates with Spring Boot apps
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  2. In Spring Cloud, which component is used for service discovery?
    a) Zuul
    b) Eureka
    c) Ribbon
    d) Hystrix
    View Answer

    Correct answer: B — Eureka

  3. What will be printed?
    1 System.out.println("Eduinq".concat(" Cloud"));
    a) Eduinq Cloud
    b) Eduinq
    c) Compilation error
    d) Runtime exception
    View Answer

    Correct answer: A — Eduinq Cloud

  4. Which of the following is true about Kafka?
    a) Distributed streaming platform
    b) Stores messages in topics
    c) Provides high throughput and fault tolerance
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  5. In Kafka, which component is responsible for consuming messages?
    a) Producer
    b) Consumer
    c) Broker
    d) Zookeeper
    View Answer

    Correct answer: B — Consumer

  6. Which of the following is true about RabbitMQ?
    a) Implements AMQP protocol
    b) Supports message queues
    c) Provides routing via exchanges
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  7. In RabbitMQ, which type of exchange routes messages to all queues?
    a) Direct
    b) Fanout
    c) Topic
    d) Headers
    View Answer

    Correct answer: B — Fanout

  8. Which of the following is true about GraphQL?
    a) Query language for APIs
    b) Allows clients to specify required data
    c) Reduces over fetching and under fetching
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  9. In GraphQL, which keyword defines entry points for queries?
    a) type
    b) query
    c) mutation
    d) subscription
    View Answer

    Correct answer: B — query

  10. Which of the following is true about API Gateway?
    a) Provides single entry point for APIs
    b) Handles authentication and rate limiting
    c) Supports routing and monitoring
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  11. Which of the following is true about Spring Cloud Zuul?
    a) Acts as API Gateway
    b) Provides routing and filtering
    c) Integrates with Eureka for service discovery
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  12. Which of the following is true about Hystrix in Spring Cloud?
    a) Implements circuit breaker pattern
    b) Provides fallback mechanisms
    c) Improves resilience in microservices
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  13. What will be printed?
    1 System.out.println("Integration".charAt(5));
    a) g
    b) r
    c) a
    d) Compilation error
    View Answer

    Correct answer: B — r

  14. Which of the following is true about Kafka partitions?
    a) Provide parallelism
    b) Distribute load across brokers
    c) Ensure scalability
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  15. In RabbitMQ, which exchange type routes based on routing key pattern?
    a) Direct
    b) Topic
    c) Fanout
    d) Headers
    View Answer

    Correct answer: B — Topic

  16. Which of the following is true about GraphQL mutations?
    a) Used to modify data
    b) Similar to POST/PUT in REST
    c) Return updated data
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  17. Which of the following is true about API Gateway benefits?
    a) Simplifies client communication
    b) Provides centralized security
    c) Enables monitoring and analytics
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  18. Which of the following is true about Spring Cloud Ribbon?
    a) Client side load balancing
    b) Integrates with Eureka
    c) Distributes requests across instances
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  19. Which of the following is true about Kafka consumer groups?
    a) Allow parallel consumption
    b) Ensure each message is processed once per group
    c) Provide scalability
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  20. Which of the following is true about RabbitMQ headers exchange?
    a) Routes based on message headers
    b) Ignores routing key
    c) Supports complex routing logic
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  21. Which of the following is true about Spring Cloud Feign?
    a) Declarative REST client
    b) Simplifies HTTP calls between services
    c) Integrates with Ribbon/Eureka
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  22. In Spring Cloud Sleuth, which feature is provided?
    a) Distributed tracing
    b) Adds trace IDs to logs
    c) Integrates with Zipkin
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  23. What will be printed?
    1 System.out.println("Eduinq".startsWith("Ed"));
    a) true
    b) false
    c) Compilation error
    d) Runtime exception
    View Answer

    Correct answer: A — true

  24. Which of the following is true about Kafka offsets?
    a) Identify position of consumer in partition
    b) Managed by consumer groups
    c) Can be committed manually or automatically
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  25. In RabbitMQ clustering, which of the following is true?
    a) Nodes share queues and exchanges
    b) Provides high availability
    c) Requires proper configuration for durability
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  26. Which of the following is true about GraphQL subscriptions?
    a) Provide real time updates
    b) Use WebSockets for communication
    c) Useful for live feeds
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  27. Which of the following is true about API Gateway rate limiting?
    a) Controls request frequency
    b) Prevents abuse
    c) Protects backend services
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  28. Which of the following is true about Bulkhead pattern?
    a) Isolates resources into pools
    b) Prevents failure propagation
    c) Improves resilience
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  29. Which of the following is true about Retry pattern?
    a) Retries failed operations
    b) Useful for transient errors
    c) Must be configured with limits
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  30. What will be printed?
    1 System.out.println("Integration".toLowerCase());
    a) integration
    b) Integration
    c) Compilation error
    d) Runtime exception
    View Answer

    Correct answer: A — integration

  31. Which of the following is true about Kafka replication?
    a) Provides fault tolerance
    b) Replicates partitions across brokers
    c) Leader handles reads/writes
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  32. In RabbitMQ, which feature ensures message durability?
    a) Persistent queues
    b) Durable exchanges
    c) Message acknowledgment
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  33. Which of the following is true about GraphQL schema?
    a) Defines types and fields
    b) Specifies queries and mutations
    c) Provides contract between client and server
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  34. Which of the following is true about API Gateway authentication?
    a) Validates tokens
    b) Supports OAuth2/JWT
    c) Provides centralized security
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  35. Which of the following is true about Circuit Breaker states?
    a) Closed allows requests
    b) Open blocks requests
    c) Half open tests recovery
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  36. Which of the following is true about Spring Cloud Gateway?
    a) Built on Spring WebFlux
    b) Provides routing and filters
    c) Replaces Zuul in modern apps
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  37. What will be printed?
    1 System.out.println("Eduinq".equalsIgnoreCase("EDUINQ"));
    a) true
    b) false
    c) Compilation error
    d) Runtime exception
    View Answer

    Correct answer: A — true

  38. Which of the following is true about Kafka Zookeeper?
    a) Manages broker metadata
    b) Handles leader election
    c) Coordinates cluster state
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  39. Which of the following is true about RabbitMQ acknowledgments?
    a) Confirm message delivery
    b) Prevent message loss
    c) Support manual and auto ack
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  40. Which of the following is true about GraphQL resolvers?
    a) Implement logic for fields
    b) Map schema to data sources
    c) Provide flexibility in fetching data
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  41. Which of the following is true about API Gateway monitoring?
    a) Tracks request metrics
    b) Provides logging
    c) Helps identify bottlenecks
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  42. Which of the following is true about Resilience4j library?
    a) Provides circuit breaker
    b) Supports retry and bulkhead
    c) Lightweight and modular
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  43. Which of the following is true about Spring Cloud Bus?
    a) Propagates configuration changes
    b) Uses message broker like Kafka/RabbitMQ
    c) Supports distributed systems communication
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  44. Which of the following is true about Kafka producer acknowledgments?
    a) acks=0 means no acknowledgment
    b) acks=1 means leader acknowledgment
    c) acks=all means all replicas acknowledgment
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  45. Which of the following is true about RabbitMQ dead letter exchanges?
    a) Handle undeliverable messages
    b) Support message reprocessing
    c) Improve reliability
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  46. Which of the following is true about GraphQL introspection?
    a) Allows querying schema itself
    b) Useful for tools and documentation
    c) Provides metadata about types
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  47. Which of the following is true about API Gateway caching?
    a) Reduces backend load
    b) Improves performance
    c) Stores responses temporarily
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  48. Which of the following is true about Retry best practices?
    a) Use exponential backoff
    b) Limit retries
    c) Handle idempotency
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  49. Which of the following is true about Bulkhead vs Circuit Breaker?
    a) Bulkhead isolates resources
    b) Circuit Breaker stops failing calls
    c) Both improve resilience
    d) All of the above
    View Answer

    Correct answer: D — All of the above

  50. Which of the following is true about advanced integrations overall?
    a) Enable microservices communication
    b) Improve scalability and resilience
    c) Simplify distributed system management
    d) All of the above
    View Answer

    Correct answer: D — All of the above

Quick Links to Explore