Practice - Phase 1: Prepare (or "Promise" Phase)
Practice Questions
Test your understanding with targeted questions
What is the main goal of the proposer in the Prepare phase?
💡 Hint: Think about the core function of a proposer in a consensus algorithm.
What happens if the proposal number is not greater than any previously used numbers?
💡 Hint: How do acceptors prioritize their responses?
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What is the primary purpose of the Prepare phase in the Paxos algorithm?
💡 Hint: Think about the goals during the initial steps of consensus.
True or False: Once a proposer sends a Prepare(n) message, it can still propose a lower-numbered Prepare later.
💡 Hint: Recall how proposal numbers must progress.
1 more question available
Challenge Problems
Push your limits with advanced challenges
A proposer P sends a Prepare(10) message, but receives no promise due to conflicting Prepare(12) messages from different proposers. How should P proceed to ensure acceptance?
💡 Hint: Consider how Paxos manages proposal conflicts through incrementing numbers.
Explain how the inclusion of previously accepted values in a promise response impacts the next steps of the Paxos consensus process.
💡 Hint: Think about the implications of consistency in decision-making.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.