Home / Neha Sharma / Programming MCQs Solution
Programming Portal Solution
You will find all Programming Portal MCQs whose solution is updated by Neha Sharma
Q. What is consumer tag in RabbitMQ?
Q. Scenario: You want messages to expire and go to another queue. What should be configured?
Q. What is correlationId used for?
Q. What is RPC pattern in RabbitMQ?
Q. Scenario: You need to process messages in parallel but limit concurrency. What should you use?
Q. What is message redelivery flag?
Q. Scenario: Messages must not be duplicated. What mechanism helps?
Q. Which acknowledgement mode auto-acknowledges messages?
Q. Scenario: You want strict ordering of messages. What should you ensure?
Q. What is lazy queue in RabbitMQ?
Q. Which plugin provides a web-based UI for RabbitMQ?
Q. Scenario: Messages are piling up in queue and consumers are slow. What is the best approach?
Q. What is the role of 'immediate' flag in RabbitMQ?
Q. What does the 'mandatory' flag do when publishing a message?
Q. What is the default exchange type in RabbitMQ?
Q. Scenario: You want to route messages based on headers instead of routing keys. Which exchange?
Q. What is federation in RabbitMQ?
Q. What is a shovel in RabbitMQ?
Q. Scenario: High throughput system needs to avoid overwhelming consumers. What should be used?
Q. What is the role of Channel in RabbitMQ?
Q. Which Spring Boot property configures RabbitMQ host?
Q. Scenario: You want to delay message processing for a few seconds. What can you use?
Q. What is message priority in RabbitMQ?
Q. Which exchange ignores routing keys completely?
Q. What is the difference between exclusive and durable queues?
Q. Scenario: A system needs guaranteed delivery even if RabbitMQ crashes. What should be ensured?
Q. What is the purpose of 'auto-delete' queues?
Q. Which feature helps avoid message loss when routing fails?
Q. What happens if you publish a message to an exchange with no bound queues?
Q. What is the purpose of a routing key?
Q. Which Spring Boot configuration enables RabbitMQ support?
Q. What is a dead-letter queue used for?
Q. Which property ensures messages are not lost during broker restart?
Q. What is publisher confirm in RabbitMQ?
Q. Scenario: A consumer crashes before acknowledging a message. What happens?
Q. What is the use of message TTL (Time-To-Live)?
Q. Which exchange type is best suited for broadcasting logs to multiple services?
Q. What will happen if a queue is not bound to any exchange?
Q. What is the role of RabbitTemplate in Spring Boot?
Q. Which annotation is used in Spring Boot to listen to a RabbitMQ queue?
Q. What is the purpose of 'prefetch count' in RabbitMQ?
Q. In RabbitMQ, what happens when multiple consumers listen to the same queue?
Q. What is a dead-letter exchange?
Q. What is the default port for RabbitMQ?
Q. Which exchange type uses pattern matching?
Q. What happens if a message is not acknowledged?
Q. What is message acknowledgment in RabbitMQ?
Q. Which exchange type broadcasts messages to all queues?
Q. What is a binding in RabbitMQ?
Q. Who receives messages from RabbitMQ?
Q. Who sends messages to RabbitMQ?
Q. What does a queue do in RabbitMQ?
Q. Which exchange type routes messages based on routing keys exactly matching?
Q. What is an exchange in RabbitMQ?