CAD (Certified Agile Developer) Exam — Questions and Answers
Question 1: When a method is too complex to be tested effectively and contains unrelated steps, which refactoring approach is most appropriate?
- Extract Method to break it into smaller, focused methods (Correct answer)
- Inline the method into callers
- Convert the method to a static utility function
- Add more comments to clarify what each step does
Correct answer: Extract Method to break it into smaller, focused methods
Extract Method decomposes a large, complex method into smaller named methods, each of which can be understood and tested independently.
Question 2: Which Agile value directly underpins the practice of collaborative development?
- Processes and tools over individuals and interactions
- Contract negotiation over customer collaboration
- Comprehensive documentation over working software
- Individuals and interactions over processes and tools (Correct answer)
Correct answer: Individuals and interactions over processes and tools
The Agile Manifesto prioritizes individuals and interactions, which is the philosophical foundation of all collaborative practices.
Question 3: Which Agile testing strategy places business-facing, exploratory, and usability tests in Quadrant 3?
- ISO 29119 test framework
- The ISTQB Foundation framework
- Brian Marick's Agile Testing Quadrants (Correct answer)
- The V-Model
Correct answer: Brian Marick's Agile Testing Quadrants
Brian Marick's Agile Testing Quadrants place business-facing tests that critique the product — such as exploratory testing, usability testing, and UAT — in Quadrant 3.
Question 4: A project manager is assembling a small, co-located team of six developers for a low-criticality project. They want to use an Agile framework that is lightweight, people-centric, and can be adapted based on the specific project context and team dynamics. Which of the following frameworks would be the most suitable choice?
- Scaled Agile Framework (SAFe)
- Feature-Driven Development (FDD)
- Scrum
- Crystal Clear (Correct answer)
Correct answer: Crystal Clear
The Crystal family of methodologies is designed to be lightweight and adaptable, with different 'colors' corresponding to team size and project criticality. Crystal Clear is specifically intended for small teams (up to 6-8 people) and emphasizes people and communication over rigid processes, making it a good fit for this scenario.
Question 5: A team practicing trunk-based development encounters frequent merge conflicts. Which collaborative strategy best reduces this problem?
- Assign non-overlapping code areas to each developer permanently
- Switch to long-lived feature branches to isolate work
- Implement feature flags and make smaller, more frequent commits (Correct answer)
- Reduce the number of developers working simultaneously
Correct answer: Implement feature flags and make smaller, more frequent commits
Feature flags combined with small, frequent commits minimize the scope of changes, reducing the likelihood and severity of merge conflicts while maintaining collaboration.
Question 6: What is the main advantage of Agile development practices?
- Eliminates testing processes
- Focuses only on developer needs
- Requires extensive upfront planning
- Promotes adaptability and responsiveness (Correct answer)
Correct answer: Promotes adaptability and responsiveness
Agile development practices promote adaptability, allowing teams to respond to changes quickly while ensuring continuous value delivery.
Question 7: A Scrum team includes developers, a QA specialist, and a UX designer. During sprint planning, the team realizes a user story requires significant UX work before development can begin. Which action best demonstrates a 'whole team' approach to collaboration?
- The Scrum Master assigns the UX tasks to the designer and the coding tasks to the developers to be worked on sequentially.
- The team postpones the story to a future sprint when the UX design is complete.
- The developers take a different story while the UX designer works alone on the designs for the entire sprint.
- The developers, QA specialist, and UX designer work together on the story from the start, with developers helping to prototype or QA assisting with acceptance criteria while the designer refines the user flow. (Correct answer)
Correct answer: The developers, QA specialist, and UX designer work together on the story from the start, with developers helping to prototype or QA assisting with acceptance criteria while the designer refines the user flow.
The 'whole team' or cross-functional approach means the team collectively owns the delivery of the user story. Rather than working in mini-waterfalls within the sprint, team members with different skills collaborate concurrently. Developers can assist with technical aspects of the design, and QA can provide early feedback, leading to a better outcome and preventing bottlenecks.
Question 8: What does the Agile value 'Individuals and interactions over processes and tools' signify for a developer on a team?
- Effective communication and collaboration within the team are more critical to success than strictly adhering to a rigid process or relying solely on a specific tool. (Correct answer)
- Processes and tools are unimportant and should be ignored in favor of ad-hoc communication.
- The team should select their own tools and processes without any management oversight.
- Daily stand-up meetings are the only form of interaction required for an Agile team.
Correct answer: Effective communication and collaboration within the team are more critical to success than strictly adhering to a rigid process or relying solely on a specific tool.
This core value from the Agile Manifesto emphasizes that while processes and tools have their place, the success of a project relies more heavily on the quality of communication and collaboration among team members. It prioritizes people and their ability to work together to solve problems over a strict adherence to predefined procedures or the capabilities of a software tool.
Question 9: An agile developer is in the 'Green' phase of the TDD cycle. They have just written some code that makes their failing test pass. However, they notice the code is inefficient and contains some duplication. What should they do NEXT?
- Immediately rewrite the code to be more efficient.
- Commit the code as-is because the test is passing.
- Move to the 'Refactor' phase to clean up the code while keeping the test green. (Correct answer)
- Write another failing test for the next piece of functionality.
Correct answer: Move to the 'Refactor' phase to clean up the code while keeping the test green.
After achieving a passing test (Green), the immediate next step in the TDD cycle is to Refactor. The purpose of the Green phase is solely to pass the test, even with a suboptimal solution. The subsequent Refactor phase is dedicated to improving the code's internal quality without breaking the test.
Question 10: In agile, what does it mean for a team to be 'self-organizing'?
- The team elects a leader who assigns tasks to other members
- The team determines how best to accomplish their work without being directed by management (Correct answer)
- The team automatically reorganizes by removing underperforming members
- Each team member independently decides their own work without coordination
Correct answer: The team determines how best to accomplish their work without being directed by management
Self-organizing teams have the autonomy to decide how to best accomplish sprint goals, choosing their own methods and task assignments.
Question 11: A burndown chart tracks which of the following over time?
- Number of defects found per day
- Remaining work versus time elapsed in the sprint (Correct answer)
- Cumulative work completed vs. planned
- Team member availability across the sprint
Correct answer: Remaining work versus time elapsed in the sprint
A burndown chart plots remaining work (story points or tasks) on the Y-axis against time remaining in the sprint on the X-axis.
Question 12: How does the Agile Manifesto treat processes and tools relative to individuals and interactions?
- Processes and tools are more important than individuals
- Individuals and interactions are valued more, though processes and tools still matter (Correct answer)
- Processes and tools and individuals are equally important
- Processes and tools are irrelevant in Agile teams
Correct answer: Individuals and interactions are valued more, though processes and tools still matter
The Manifesto values individuals and interactions over processes and tools, meaning both have value but human collaboration takes precedence.
Question 13: A stakeholder requests a significant scope change mid-Sprint. What is the recommended Agile response?
- Reject the change because the Sprint commitment is a binding contract
- Immediately add the change to the current Sprint to satisfy the customer
- Halt the Sprint and restart planning from scratch
- Capture it in the Product Backlog and prioritize it for a future Sprint (Correct answer)
Correct answer: Capture it in the Product Backlog and prioritize it for a future Sprint
Changes mid-Sprint are captured in the backlog to be prioritized; the current Sprint scope is protected to maintain team focus and predictability.
Question 14: A CI pipeline runs static code analysis. What is the primary benefit?
- It catches code quality issues, security vulnerabilities, and style violations automatically before merge (Correct answer)
- It measures application performance under load
- It replaces the need for unit tests
- It generates user acceptance test cases
Correct answer: It catches code quality issues, security vulnerabilities, and style violations automatically before merge
Static analysis tools scan code without executing it, catching bugs, code smells, and security issues early in the pipeline.
Question 15: An agile team notices that velocity has been decreasing over the past three sprints. What is the BEST first step?
- Add more developers to boost capacity
- Pressure the team to commit to more story points next sprint
- Hold a retrospective to identify root causes of the velocity decline (Correct answer)
- Increase the sprint duration to give the team more time
Correct answer: Hold a retrospective to identify root causes of the velocity decline
Retrospectives are the agile mechanism to inspect and adapt; understanding root causes should precede any intervention.
Question 16: In Agile, what is 'exploratory testing'?
- Simultaneously designing and executing tests based on tester intuition and learning (Correct answer)
- Running automated regression suites after each build
- Load testing the application under peak conditions
- Writing test scripts from user stories before the sprint
Correct answer: Simultaneously designing and executing tests based on tester intuition and learning
Exploratory testing is a simultaneous learning, test design, and execution approach where the tester adapts their strategy based on findings during the session.
Question 17: What does the Agile Manifesto say about the best architectures, requirements, and designs?
- They require a dedicated architect role
- They should be documented before development begins
- They emerge from self-organizing teams (Correct answer)
- They must be approved by stakeholders first
Correct answer: They emerge from self-organizing teams
Principle 11 states that the best architectures, requirements, and designs emerge from self-organizing teams.
Question 18: What does 'continuous integration' (CI) mean in an Agile context?
- Running a full regression test suite once per month before release
- A daily meeting where developers discuss integration challenges
- Having a dedicated integration team that merges code at the end of each Sprint
- Developers frequently merge code changes to a shared branch, triggering automated builds and tests (Correct answer)
Correct answer: Developers frequently merge code changes to a shared branch, triggering automated builds and tests
CI involves frequent code merges (often multiple times daily) with automated builds and tests to detect integration problems immediately.
Question 19: During sprint planning, the team has a velocity of 40 points but the product owner wants 55 points of work committed. What is the best response?
- Extend the sprint duration to fit all 55 points
- Commit to 55 points to demonstrate team ambition
- Split the difference and commit to 47 points
- Commit to 40 points based on historical velocity and let the product owner reprioritize (Correct answer)
Correct answer: Commit to 40 points based on historical velocity and let the product owner reprioritize
Teams should commit based on proven velocity and let the product owner prioritize the most valuable items within that capacity.
Question 20: A Scrum Master notices a team is consistently blaming external teams for sprint failures. Which Agile mindset principle is being violated?
- Self-organization and team accountability (Correct answer)
- Delivering working software frequently
- Maintaining sustainable pace
- Prioritizing customer collaboration
Correct answer: Self-organization and team accountability
Agile teams should be self-organizing and take collective ownership of outcomes rather than deflecting blame to external parties.
Question 21: What is 'continuous testing' in an Agile/DevOps pipeline?
- Testing the application once per release cycle
- Assigning a dedicated tester to monitor production 24/7
- Running tests manually after every code review
- Automatically executing tests at every stage of the delivery pipeline to provide immediate feedback (Correct answer)
Correct answer: Automatically executing tests at every stage of the delivery pipeline to provide immediate feedback
Continuous testing is the practice of automatically running tests at each pipeline stage — commit, build, integration, staging — so issues are caught as early as possible.
Question 22: A team discovers mid-sprint that customer needs have shifted significantly. What does the Agile mindset recommend?
- Extend the sprint to accommodate the new requirements
- Embrace the change as an opportunity to deliver greater value (Correct answer)
- Ignore the change until the next sprint planning session
- Escalate to management for a formal change request
Correct answer: Embrace the change as an opportunity to deliver greater value
Agile principles emphasize welcoming changing requirements even late in development, viewing change as a competitive advantage for the customer.
Question 23: Which Agile practice involves short, time-boxed development cycles?
- Waterfall development
- Feature freezing
- Sequential development
- Sprints (Correct answer)
Correct answer: Sprints
Sprints are time-boxed iterations in Agile development, typically lasting 1-4 weeks, to deliver incremental improvements.
Question 24: What is the primary purpose of tracking 'escaped defects' as an agile metric?
- To calculate the team's velocity adjustment factor
- To penalize developers for poor coding
- To measure the quality of the team's testing practices (Correct answer)
- To determine sprint length for the next release
Correct answer: To measure the quality of the team's testing practices
Escaped defects (bugs found in production after release) indicate the effectiveness of the team's testing and quality assurance processes.
Question 25: If a team's velocity varies significantly from sprint to sprint, the BEST initial action is to:
- Investigate and address root causes such as scope changes or team instability (Correct answer)
- Assign story points by manager decree
- Double the sprint length to smooth out variance
- Switch to a fixed-price contract model
Correct answer: Investigate and address root causes such as scope changes or team instability
High velocity variance signals underlying problems like frequent scope changes or team disruptions; identifying root causes leads to sustainable improvement.
Question 26: What is the primary purpose of a Sprint Review in Scrum?
- To plan the next Sprint backlog in detail
- To evaluate individual team member performance
- To inspect the increment and adapt the Product Backlog based on stakeholder feedback (Correct answer)
- To document all bugs found during the Sprint
Correct answer: To inspect the increment and adapt the Product Backlog based on stakeholder feedback
The Sprint Review is a collaboration session where the team demonstrates the increment and stakeholders provide feedback to inform future work.
Question 27: A team wants to deploy code for a large, multi-sprint feature to production continuously without making it visible to end-users until it is complete. Which technique BEST supports this practice in a Continuous Delivery environment?
- Commenting out all the incomplete code before each deployment and uncommenting it later.
- Creating a long-lived feature branch that will only be merged into the mainline upon completion.
- Deploying the new code to a separate, isolated staging server but not to the production server.
- Using feature toggles (or flags) to keep the incomplete functionality hidden in the production environment. (Correct answer)
Correct answer: Using feature toggles (or flags) to keep the incomplete functionality hidden in the production environment.
Feature toggles (also known as feature flags) are a powerful technique used to decouple deployment from release. They allow teams to wrap new, incomplete features in conditional logic, enabling the code to be deployed to production but remain inactive or hidden from users. This supports continuous integration of all code to the mainline while giving the business control over when a feature is released to customers.
Question 28: What is 'regression testing' in an Agile context?
- Manual testing performed by the product owner at sprint review
- Testing the application under load conditions
- Re-running existing tests to confirm that new changes haven't broken previously working functionality (Correct answer)
- Testing only the new features added in the current sprint
Correct answer: Re-running existing tests to confirm that new changes haven't broken previously working functionality
Regression testing ensures that new code changes do not introduce defects into existing, previously verified functionality, and is ideally automated in Agile CI pipelines.
Question 29: Why is it important to test database migrations as part of the CI pipeline?
- To generate ER diagrams automatically
- To ensure schema changes integrate correctly with the application and don't break existing functionality (Correct answer)
- To back up the database before each build
- To improve query execution speed automatically
Correct answer: To ensure schema changes integrate correctly with the application and don't break existing functionality
Untested migrations can silently break application behavior or cause data loss when deployed, so CI should validate them against realistic data.
Question 30: What is a 'spike' in Agile development?
- A release of the product to a limited set of users
- A sudden increase in team velocity over one sprint
- A defect that blocks the entire team from progressing
- A time-boxed research or prototyping task to reduce uncertainty (Correct answer)
Correct answer: A time-boxed research or prototyping task to reduce uncertainty
A spike is a time-boxed effort—typically a prototype or research task—used to gain knowledge needed to estimate or implement a story with confidence.
Question 31: What is the recommended approach when a developer discovers technical debt during a sprint?
- Ignore it until a dedicated refactoring sprint
- Immediately stop current work to fix it
- Log it and never revisit it
- Make it visible to the team and negotiate with the Product Owner (Correct answer)
Correct answer: Make it visible to the team and negotiate with the Product Owner
Agile teams should make technical debt transparent so the Product Owner can prioritize it alongside business features.
Question 32: A developer notices that several classes all pass the same three parameters together in multiple method calls. Which refactoring should be applied?
- Extract Class
- Consolidate Conditional Expression
- Introduce Parameter Object (Correct answer)
- Replace Method with Method Object
Correct answer: Introduce Parameter Object
Introduce Parameter Object groups related parameters that always travel together into a single object, reducing parameter list length.
Question 33: Which statement about TDD and documentation is accurate?
- TDD eliminates the need for all documentation
- TDD requires formal specification documents before tests can be written
- Unit tests are too technical to serve a documentation purpose
- Tests written in TDD serve as living, executable documentation of behavior (Correct answer)
Correct answer: Tests written in TDD serve as living, executable documentation of behavior
Well-named TDD tests describe intended behavior in code and always stay synchronized with the actual implementation.
Question 34: What is the primary purpose of establishing working agreements in an Agile team?
- To satisfy organizational compliance requirements for Agile adoption
- To document individual performance expectations for annual reviews
- To build shared understanding and mutual accountability for how the team operates (Correct answer)
- To create enforceable rules that prevent team members from deviating from process
Correct answer: To build shared understanding and mutual accountability for how the team operates
Working agreements create a shared social contract that helps team members hold each other accountable and collaborate effectively.
Question 35: Which of the following is NOT one of the four values stated in the Agile Manifesto?
- Working software over comprehensive documentation
- Customer collaboration over contract negotiation
- Individuals and interactions over processes and tools
- Following a plan over responding to change (Correct answer)
Correct answer: Following a plan over responding to change
The Agile Manifesto values responding to change over following a plan, not the reverse.
Question 36: What does the SOLID principle 'D' (Dependency Inversion) state?
- Derived classes should never depend on base classes
- Delete unused dependencies
- Dependencies should be minimized to one per class
- High-level modules should not depend on low-level modules; both should depend on abstractions (Correct answer)
Correct answer: High-level modules should not depend on low-level modules; both should depend on abstractions
Dependency Inversion Principle states high-level modules and low-level modules should both depend on abstractions, not on each other directly.
Question 37: Which Agile Manifesto principle addresses the relationship between motivated individuals and project success?
- Principle 5 (Correct answer)
- Principle 11
- Principle 7
- Principle 2
Correct answer: Principle 5
Principle 5 states that projects should be built around motivated individuals, giving them the environment and support they need, and trusting them to get the job done.
Question 38: Which of the following is a primary goal of code refactoring in an agile environment?
- To achieve 100% code coverage with unit tests.
- To eliminate the need for a dedicated QA team.
- To reduce the number of user stories in the backlog.
- To reduce technical debt and improve maintainability. (Correct answer)
Correct answer: To reduce technical debt and improve maintainability.
Refactoring is a key practice for managing and reducing technical debt. By continuously improving the internal code structure, teams make the software easier to maintain, adapt, and extend in future sprints, which is crucial for agility.
Question 39: How does Agile handle the 'Iron Triangle' of scope, time, and cost differently than traditional methods?
- Agile fixes time and cost, making scope the variable that adjusts (Correct answer)
- Agile eliminates the Iron Triangle concept entirely
- Agile fixes all three variables simultaneously
- Agile fixes scope, making time and cost variables
Correct answer: Agile fixes time and cost, making scope the variable that adjusts
Agile inverts the traditional Iron Triangle by fixing time (sprint length) and cost (team size/budget) while allowing scope to flex based on delivered value each iteration.
Question 40: A manager insists on attending every Agile team ceremony to ensure control. How does this conflict with Agile principles?
- It is required by Agile Principle 4 on daily collaboration
- It undermines team self-organization and can reduce psychological safety (Correct answer)
- It doesn't conflict — management attendance always improves Agile ceremonies
- It conflicts only if the manager is not a certified Scrum Master
Correct answer: It undermines team self-organization and can reduce psychological safety
Excessive management presence can inhibit self-organization and open communication, contradicting Agile's principle of empowering motivated individuals.
Question 41: In TDD, what does 'triangulation' refer to?
- Adding more specific test cases to drive a more general implementation (Correct answer)
- Running tests across three different environments simultaneously
- Splitting a large class into three smaller components
- Measuring code coverage from three different metrics
Correct answer: Adding more specific test cases to drive a more general implementation
Triangulation involves writing additional test cases with different inputs to force the implementation to become more generalized rather than hard-coded.
Question 42: Which Agile principle emphasizes that business people and developers must work together daily throughout the project?
- Principle 3
- Principle 9
- Principle 1
- Principle 4 (Correct answer)
Correct answer: Principle 4
Principle 4 of the Agile Manifesto requires business people and developers to collaborate daily, breaking down the traditional handoff-based communication model.
Question 43: Which practice helps ensure that automated tests in a CI pipeline remain trustworthy?
- Running tests only on weekends to reduce server load
- Writing tests only for new features, not bug fixes
- Allowing tests to pass intermittently without investigation
- Eliminating flaky tests and ensuring each test produces deterministic results (Correct answer)
Correct answer: Eliminating flaky tests and ensuring each test produces deterministic results
Flaky tests erode confidence in the CI pipeline, so teams must fix or remove non-deterministic tests to keep the suite reliable.
Question 44: Which Agile principle does the concept of 'Swarming' most directly support?
- Maintaining a sustainable development pace indefinitely
- Maximizing the amount of work not done by focusing the whole team on removing a blocker (Correct answer)
- Ensuring every team member has an equal workload at all times
- Delivering working software as the primary measure of progress
Correct answer: Maximizing the amount of work not done by focusing the whole team on removing a blocker
Swarming involves multiple team members converging on a single critical item or blocker to resolve it quickly, directly supporting the principle of simplicity and eliminating unnecessary delays.
Question 45: What is the 'Strangler Fig' pattern used for in Agile refactoring?
- Duplicating the entire codebase before making changes
- Gradually replacing a legacy system by incrementally building new functionality around it (Correct answer)
- Removing all legacy code in a single sprint
- Adding a wrapper class around every legacy module
Correct answer: Gradually replacing a legacy system by incrementally building new functionality around it
The Strangler Fig pattern incrementally replaces parts of a legacy system with new implementations until the old system can be completely decommissioned.
Question 46: How should an agile team handle a conflict between a developer and the product owner over story acceptance criteria?
- The developer implements what they believe is correct and explains later
- The product owner's definition always wins with no discussion
- Escalate immediately to senior management for resolution
- Discuss openly during backlog refinement to reach shared understanding before the sprint (Correct answer)
Correct answer: Discuss openly during backlog refinement to reach shared understanding before the sprint
Backlog refinement is the ideal forum for clarifying and aligning on acceptance criteria before work begins.
Question 47: Which best describes the Agile concept of an 'empirical process'?
- Using data analytics tools to forecast project completion dates
- Following a predefined, fully detailed project plan
- Applying industry benchmarks to estimate team velocity
- Making decisions based on observation, experience, and experimentation rather than prediction (Correct answer)
Correct answer: Making decisions based on observation, experience, and experimentation rather than prediction
Agile uses an empirical approach — transparency, inspection, and adaptation — grounded in actual observations rather than upfront predictions.
Question 48: What is 'trunk-based development' and how does it relate to CI?
- Using a trunk server to host all CI agents
- A branching strategy where releases are made from trunk after 6-month cycles
- Developing features directly on a single main branch with very short-lived feature branches, enabling true CI (Correct answer)
- Maintaining separate trunks for each developer
Correct answer: Developing features directly on a single main branch with very short-lived feature branches, enabling true CI
Trunk-based development maximizes integration frequency by keeping branches short-lived or absent, which is a prerequisite for genuine CI.
Question 49: What is the key difference between Agile and traditional Waterfall project management?
- Agile uses no planning while Waterfall plans extensively
- Agile is only suitable for small teams while Waterfall scales to large programs
- Agile delivers in iterative increments while Waterfall delivers the full product at the end (Correct answer)
- Agile requires more documentation than Waterfall
Correct answer: Agile delivers in iterative increments while Waterfall delivers the full product at the end
Agile's iterative, incremental delivery model allows frequent feedback and adaptation, whereas Waterfall delivers a complete product after all sequential phases are done.
Question 50: Which agile principle best justifies continuous refactoring as a core development practice?
- Customer collaboration over contract negotiation
- Deliver working software frequently
- Respond to change over following a plan
- Technical excellence and good design enhance agility (Correct answer)
Correct answer: Technical excellence and good design enhance agility
The Agile Manifesto's principle of continuous attention to technical excellence directly supports refactoring as essential to maintaining the ability to change quickly.
Question 51: When should a team consider re-estimating previously sized product backlog items?
- Never, because estimates should remain fixed once assigned
- Every sprint regardless of changes
- When significant new information emerges that changes the team's understanding of complexity (Correct answer)
- Only when the Scrum Master requests it
Correct answer: When significant new information emerges that changes the team's understanding of complexity
Re-estimation is warranted when new information materially changes the understood complexity, effort, or risk of a backlog item.
Question 52: Which agile practice BEST helps a team build shared understanding of the product vision?
- Having the Product Owner write detailed requirements specifications
- Creating a project charter signed by all stakeholders
- Assigning each team member a section of the backlog to independently review
- Conducting joint story mapping sessions with the whole team (Correct answer)
Correct answer: Conducting joint story mapping sessions with the whole team
Story mapping brings the whole team through the user journey collaboratively, creating shared mental models of the product's purpose and scope.
Question 53: Why should TDD practitioners avoid writing multiple failing tests before making any of them pass?
- It prevents the use of continuous integration tools
- It violates the single responsibility principle
- It makes it unclear which code change satisfies which requirement (Correct answer)
- It increases compilation time significantly
Correct answer: It makes it unclear which code change satisfies which requirement
Writing multiple failing tests at once obscures the direct link between a specific code change and the test it satisfies, undermining the tight feedback loop TDD relies on.
Question 54: In the context of Agile development, what does 'technical debt' most accurately describe?
- The budget allocated for infrastructure upgrades
- The amount of time spent on writing documentation
- The total cost of software licenses used by the development team
- The implied cost of future rework caused by choosing an expedient solution over a better approach (Correct answer)
Correct answer: The implied cost of future rework caused by choosing an expedient solution over a better approach
Technical debt represents the extra development work that arises when code that is easy to implement in the short run is used instead of applying the best overall solution.
Question 55: What is 'triangulation' in the context of TDD?
- Adding multiple specific examples to drive out a general algorithm (Correct answer)
- Using three assertions per test case
- Running tests on three different environments
- Organizing tests into three layers: unit, integration, and E2E
Correct answer: Adding multiple specific examples to drive out a general algorithm
Triangulation means writing multiple concrete test cases to force a general, correct implementation rather than a hard-coded one.
Question 56: Why should an Agile team avoid 'siloed' specialization where only one person handles testing?
- It creates bottlenecks and reduces shared ownership of quality (Correct answer)
- Testers should be embedded in a separate QA team
- Specialized roles violate the Agile Manifesto
- Testing specialists slow down the sprint velocity
Correct answer: It creates bottlenecks and reduces shared ownership of quality
When testing is siloed, a single absence becomes a bottleneck and the whole team stops treating quality as their responsibility.
Question 57: What type of environment does the Agile mindset recommend providing to motivated individuals?
- Strict deadlines and detailed task assignments
- Constant oversight with daily status reports
- Comprehensive training before any project involvement
- The environment and support they need, then trust them to get the job done (Correct answer)
Correct answer: The environment and support they need, then trust them to get the job done
Agile principles state that projects should be built around motivated individuals who are given the environment, support, and trust they need.
Question 58: In Scrum-ban, which characteristic from Kanban is typically adopted into Scrum?
- WIP limits on the sprint board (Correct answer)
- Daily Scrum ceremonies
- A Product Owner role
- Fixed-length sprints
Correct answer: WIP limits on the sprint board
Scrum-ban combines Scrum's structure with Kanban's WIP limits, allowing teams to manage flow within their sprint while maintaining Scrum ceremonies.
Question 59: Which Agile principle emphasizes delivering working software frequently, from a couple of weeks to a couple of months?
- Customer collaboration
- Continuous delivery (Correct answer)
- Technical excellence
- Responding to change
Correct answer: Continuous delivery
The Agile Manifesto principle states that working software should be delivered frequently, with a preference for shorter timescales.
Question 60: What is the key difference between effort-based and value-based prioritization in sprint planning?
- Effort-based focuses on how hard items are to build; value-based focuses on business impact delivered (Correct answer)
- They are identical concepts with different names
- Effort-based is used only in Waterfall; value-based is used only in Agile
- Value-based ignores technical complexity entirely
Correct answer: Effort-based focuses on how hard items are to build; value-based focuses on business impact delivered
Effort-based prioritization orders work by implementation complexity, while value-based prioritization orders work by the business value each item delivers.
Question 61: What is the main purpose of the 'spike' in Agile frameworks?
- A planning session held between sprints
- A time-boxed research or prototyping activity to reduce uncertainty before committing to a solution (Correct answer)
- A defect that affects all users simultaneously
- A sudden burst of overtime work to meet a deadline
Correct answer: A time-boxed research or prototyping activity to reduce uncertainty before committing to a solution
A spike is a time-boxed investigation — writing throwaway code or research — to answer a specific question or estimate effort when the team faces high uncertainty.
Question 62: Which Agile technique involves writing acceptance tests before implementing a feature to clarify expected behavior?
- Static Code Analysis
- Regression Testing
- Acceptance Test-Driven Development (ATDD) (Correct answer)
- Code Review
Correct answer: Acceptance Test-Driven Development (ATDD)
ATDD requires stakeholders and developers to define acceptance tests collaboratively before coding begins, ensuring shared understanding of 'done'.
Question 63: What does 'coupling' measure in a software system, and what is the desired direction?
- The complexity of individual methods; low complexity is desired
- The number of public methods in a class; fewer is desired
- Cohesion between modules; high coupling is desired
- The degree of interdependence between modules; low coupling is desired (Correct answer)
Correct answer: The degree of interdependence between modules; low coupling is desired
Coupling measures how much modules depend on each other; low coupling means changes in one module minimally impact others.
Question 64: A team consistently completes fewer story points than planned each sprint. The retrospective finds no blockers. What should the team examine FIRST?
- Whether their estimation technique is accurately sizing stories (Correct answer)
- Whether the sprint duration is too long
- Whether the release roadmap needs to be publicly shared
- Whether the Scrum Master is attending daily standups
Correct answer: Whether their estimation technique is accurately sizing stories
Persistent under-delivery without external blockers usually points to inaccurate estimation; recalibrating story point sizing aligns plans with actual team capacity.
Question 65: What is the significance of the 'sprint review' for stakeholder collaboration?
- It is an internal team meeting where only developers attend
- It is where the team formally approves the definition of done
- It provides stakeholders the opportunity to inspect the increment and give feedback that shapes the backlog (Correct answer)
- It replaces the need for any other stakeholder communication during the sprint
Correct answer: It provides stakeholders the opportunity to inspect the increment and give feedback that shapes the backlog
The sprint review is a collaborative event where stakeholders inspect working software and provide feedback to guide future priorities.
Question 66: Which Kanban principle specifically addresses limiting the amount of work started but not yet completed?
- Make policies explicit
- Manage flow
- Limit Work in Progress (WIP) (Correct answer)
- Visualize workflow
Correct answer: Limit Work in Progress (WIP)
Limiting WIP is a core Kanban principle that reduces multitasking, exposes bottlenecks, and improves flow by capping concurrent work items.
Question 67: What is the primary goal of a Sprint Retrospective?
- To identify what went well, what didn't, and define process improvements for the next Sprint (Correct answer)
- To re-estimate all incomplete backlog items for the next Sprint
- To update the project roadmap with new delivery dates
- To demo the increment to stakeholders and gather product feedback
Correct answer: To identify what went well, what didn't, and define process improvements for the next Sprint
The Retrospective focuses on continuous team improvement by inspecting collaboration, processes, and tools — not the product itself.
Question 68: What is 'shift-left testing' in Agile development?
- Shifting QA work to a separate team
- Moving testing activities earlier in the development lifecycle (Correct answer)
- Assigning testing responsibilities to left-handed team members
- Running regression tests only at sprint end
Correct answer: Moving testing activities earlier in the development lifecycle
Shift-left means catching defects as early as possible—during design and coding—rather than in late-stage QA phases.
Question 69: A development team practices mob programming for a complex feature. What is the key collaboration benefit of this approach compared to individual work?
- It ensures the fastest possible delivery of the feature
- It eliminates the need for code reviews entirely
- It allows the team to work without a Product Owner present
- It creates shared understanding and collective ownership of complex code across the entire team (Correct answer)
Correct answer: It creates shared understanding and collective ownership of complex code across the entire team
Mob programming ensures the entire team understands and owns the code, dramatically reducing knowledge silos on complex features.
Question 70: Which Agile role is responsible for removing team impediments?
- Scrum Master (Correct answer)
- Development Team
- Stakeholders
- Product Owner
Correct answer: Scrum Master
The Scrum Master facilitates the Agile process and helps the team remove roadblocks that hinder productivity.
Question 71: Which Agile technical practice focuses on keeping the design as simple as possible and deferring decisions until the last responsible moment?
- Design by Contract
- Architecture Spike
- Big Design Up Front (BDUF)
- Simple Design / Emergent Design (Correct answer)
Correct answer: Simple Design / Emergent Design
Simple or emergent design means designing only for current needs, letting the architecture evolve with refactoring rather than over-engineering upfront.
Question 72: What role does empiricism play in Agile frameworks?
- Decisions are based on observation, experience, and experimentation (Correct answer)
- Decisions are based on theoretical models and predictions
- Decisions follow a strict waterfall approval process
- Decisions are delegated entirely to management
Correct answer: Decisions are based on observation, experience, and experimentation
Empiricism in Agile means that knowledge comes from experience and decisions are made based on what is observed and known.
Question 73: When a Product Owner changes scope mid-sprint, which metric is MOST immediately impacted?
- The sprint burndown chart, which will show an unexpected spike in remaining work (Correct answer)
- The release lead time average
- The cumulative defect escape rate
- Team velocity from previous sprints
Correct answer: The sprint burndown chart, which will show an unexpected spike in remaining work
Adding scope mid-sprint increases remaining work, causing the burndown line to rise instead of fall, which is immediately visible on the chart.
Question 74: What does 'cycle time' measure in an agile context?
- Time from sprint planning to retrospective
- Time from when work begins on an item to when it is delivered (Correct answer)
- Time between successive sprint start dates
- Total time a backlog item exists before being discarded
Correct answer: Time from when work begins on an item to when it is delivered
Cycle time is the elapsed time from when a team starts actively working on an item to when it is completed and delivered.
Question 75: Which agile artifact most directly facilitates collaboration between the development team and stakeholders?
- The burndown chart
- The definition of done
- The sprint backlog
- The product backlog (Correct answer)
Correct answer: The product backlog
The product backlog is collaboratively maintained by the Product Owner with stakeholder input, representing shared priorities.
Question 76: What does the Agile mindset say about motivated individuals on a team?
- Motivation is the responsibility of HR, not the Agile framework
- Motivated individuals should be given the environment and support they need and trusted to get the job done (Correct answer)
- Teams should be managed closely to stay on schedule regardless of motivation
- Individual motivation matters less than adherence to team processes
Correct answer: Motivated individuals should be given the environment and support they need and trusted to get the job done
Agile Principle 5 directs teams to be built around motivated individuals, giving them the environment and support needed while trusting them to deliver.
Question 77: Which of the following best represents an 'Agile mindset' when facing unexpected technical complexity?
- Work overtime silently to absorb the complexity without changing commitments
- Request a formal change order to adjust the project timeline and budget
- Transparently communicate the complexity, adapt the plan, and involve the team in solving it collaboratively (Correct answer)
- Conceal the complexity from stakeholders to avoid alarming them
Correct answer: Transparently communicate the complexity, adapt the plan, and involve the team in solving it collaboratively
An Agile mindset combines transparency (one of Scrum's three pillars), collaboration, and adaptive planning—the opposite of hiding problems or unilaterally absorbing scope.
Question 78: Which design smell describes a class that knows too much about another class's internal structure?
- Feature Envy
- Inappropriate Intimacy (Correct answer)
- Data Clumps
- Primitive Obsession
Correct answer: Inappropriate Intimacy
Inappropriate Intimacy occurs when a class accesses too many internal details of another class, violating encapsulation.
Question 79: An agile development team has adopted the practice of collective code ownership. A junior developer discovers a minor bug in a module that was originally written by a senior developer who is currently on vacation. What is the most appropriate action for the junior developer to take?
- Ask another senior developer to fix the bug to avoid responsibility for someone else's code.
- Attempt to fix the bug, write or update relevant tests, and submit the change through the team's standard review process. (Correct answer)
- Fix the bug directly in the main branch without tests to ensure a quick resolution.
- Document the bug and wait for the senior developer to return to fix it.
Correct answer: Attempt to fix the bug, write or update relevant tests, and submit the change through the team's standard review process.
Collective code ownership means the entire team is responsible for the quality of all code, not just the original author. The appropriate action is to take initiative, fix the bug, ensure it's properly tested, and follow the team's established process for code integration, which encourages shared responsibility and prevents bottlenecks.
Question 80: A stakeholder asks to attend every Daily Scrum to monitor progress. What is the most appropriate response?
- Deny access entirely since Daily Scrums are for the team only
- Allow the stakeholder to attend and participate fully
- Allow the stakeholder to observe silently but not participate, or find an alternative transparency mechanism (Correct answer)
- Invite the stakeholder to attend every other sprint's Daily Scrums only
Correct answer: Allow the stakeholder to observe silently but not participate, or find an alternative transparency mechanism
Stakeholders may observe the Daily Scrum without participating; alternatively, sprint radiators and reviews can address their transparency needs.
Question 81: Which Agile practice fosters collaboration by keeping the team aligned on project progress?
- Daily stand-ups (Correct answer)
- Annual planning meetings
- Code freeze
- Individual work sessions
Correct answer: Daily stand-ups
Daily stand-ups provide a regular forum where team members share updates, discuss challenges, and plan their work effectively.
Question 82: In the Agile mindset, what role do self-organizing teams play in achieving project success?
- They ensure zero defects in production code
- They guarantee on-time delivery of all features
- They produce the best architectures, requirements, and designs (Correct answer)
- They eliminate the need for any management oversight
Correct answer: They produce the best architectures, requirements, and designs
The Agile Manifesto states that the best architectures, requirements, and designs emerge from self-organizing teams.
Question 83: What is the primary purpose of a 'working agreement' (team charter) in agile teams?
- To establish shared norms and expectations for how the team collaborates (Correct answer)
- To document individual performance expectations for HR
- To replace the need for a Scrum Master
- To define the product backlog prioritization criteria
Correct answer: To establish shared norms and expectations for how the team collaborates
Working agreements define shared behavioral norms that help teams collaborate effectively and resolve conflicts.
Question 84: In Behavior-Driven Development (BDD), what format are test scenarios typically written in?
- Arrange-Act-Assert (AAA)
- Setup-Exercise-Verify-Teardown
- JUnit annotations
- Given-When-Then (Gherkin) (Correct answer)
Correct answer: Given-When-Then (Gherkin)
BDD scenarios use the Given-When-Then (Gherkin) syntax to describe behavior in plain language understandable by both technical and non-technical stakeholders.
Question 85: What distinguishes a 'mock' from a 'stub' in unit testing?
- Stubs return hardcoded values; mocks verify that certain interactions occurred (Correct answer)
- There is no practical difference between them
- Mocks return hardcoded values; stubs verify interactions
- Mocks are used in integration tests; stubs are used in unit tests
Correct answer: Stubs return hardcoded values; mocks verify that certain interactions occurred
Stubs provide canned responses to calls, while mocks also record and verify that expected interactions (method calls, parameters) occurred during the test.
Question 86: In Agile, what does 'INVEST' stand for as criteria for a well-formed user story?
- Integrated, Normalized, Verified, Evaluated, Structured, Tested
- Independent, Negotiable, Valuable, Estimable, Small, Testable (Correct answer)
- Iterative, Non-functional, Versatile, Extensible, Scalable, Trackable
- Incremental, Needed, Visible, Essential, Scoped, Timely
Correct answer: Independent, Negotiable, Valuable, Estimable, Small, Testable
INVEST is a quality checklist for user stories: Independent, Negotiable, Valuable, Estimable, Small, and Testable.
Question 87: In a CI/CD workflow, what does the term 'pipeline as code' refer to?
- Using a graphical drag-and-drop tool to design the pipeline
- Defining build, test, and deploy stages in a version-controlled configuration file (Correct answer)
- Storing pipeline logs inside the application database
- Writing application code that self-deploys without any pipeline
Correct answer: Defining build, test, and deploy stages in a version-controlled configuration file
Pipeline as code means the entire CI/CD pipeline definition lives in a versioned file (e.g., Jenkinsfile, .gitlab-ci.yml) alongside the source code.
Question 88: In contract testing for microservices, what does the 'consumer' define?
- The API schema for all services
- The expectations about the provider's responses that it relies on (Correct answer)
- The performance SLA for the provider
- The deployment schedule for the service
Correct answer: The expectations about the provider's responses that it relies on
Consumer-driven contract testing lets each consumer specify exactly what it needs from a provider, enabling independent deployability.
Question 89: In Agile, 'velocity' is best described as:
- The number of bugs fixed per Sprint
- A metric that compares team output to industry benchmarks
- The amount of work a team completes in a Sprint, used for forecasting (Correct answer)
- The speed at which a developer writes code per hour
Correct answer: The amount of work a team completes in a Sprint, used for forecasting
Velocity measures work completed (in story points or similar units) per Sprint and is used to forecast future capacity.
Question 90: Which type of test verifies that independently developed modules work correctly together?
- Smoke test
- Unit test
- Exploratory test
- Integration test (Correct answer)
Correct answer: Integration test
Integration tests validate the interactions and data flow between two or more components or services.
Question 91: What is 'code coverage' and what is its limitation as a CI quality gate?
- The number of features covered by the product backlog
- The percentage of source lines executed by tests; high coverage does not guarantee tests verify correct behavior (Correct answer)
- The ratio of passing to failing tests; limited by network speed
- The percentage of user stories tested manually; unreliable for automated pipelines
Correct answer: The percentage of source lines executed by tests; high coverage does not guarantee tests verify correct behavior
Code coverage measures which lines are executed, but tests can achieve 100% coverage while still missing wrong logic or edge cases.
Question 92: In agile, 'work in progress (WIP) limits' are used to:
- Cap the number of story points allowed per developer
- Reduce multitasking and improve flow by constraining concurrent work (Correct answer)
- Define how many retrospective action items the team can track
- Set the maximum number of sprints per release
Correct answer: Reduce multitasking and improve flow by constraining concurrent work
WIP limits constrain the number of items in any workflow stage simultaneously, reducing context switching and exposing bottlenecks to improve overall flow.
Question 93: Which statement best describes the NEXUS framework for scaling Scrum?
- It replaces the Scrum Master role with a Nexus Integration Team
- It adds a Nexus Integration Team to coordinate 3-9 Scrum teams sharing one Product Backlog (Correct answer)
- It eliminates Daily Scrums and replaces them with weekly syncs
- It requires each team to have its own Product Backlog
Correct answer: It adds a Nexus Integration Team to coordinate 3-9 Scrum teams sharing one Product Backlog
Nexus adds a Nexus Integration Team on top of standard Scrum to identify and resolve integration issues when 3-9 teams work from a single Product Backlog.
Question 94: In the context of agile collaborative development, what distinguishes mob programming from traditional pair programming?
- Mob programming involves the whole team working on one task at one computer, while pair programming involves exactly two developers (Correct answer)
- Mob programming uses remote tools while pair programming is in-person only
- Mob programming rotates drivers every hour while pair programming never rotates
- Mob programming is only for debugging while pair programming is for new features
Correct answer: Mob programming involves the whole team working on one task at one computer, while pair programming involves exactly two developers
Mob programming extends the pair programming concept to the entire team working together on a single task at a single workstation, maximizing real-time collaboration.
Question 95: Which type of testing ensures that existing features continue to work after code changes?
- Regression testing (Correct answer)
- Performance testing
- Exploratory testing
- Usability testing
Correct answer: Regression testing
Regression testing verifies that new code changes do not negatively impact existing functionality.
Question 96: A development team discovers mid-sprint that the customer's requirements have fundamentally changed. What does the Agile Manifesto suggest?
- Respond to the change even though it disrupts the plan (Correct answer)
- Reject the change until the next planning cycle
- Document the change and defer it to the backlog
- Escalate the change to executive management
Correct answer: Respond to the change even though it disrupts the plan
The fourth manifesto value—'Responding to change over following a plan'—directs teams to embrace change rather than rigidly follow outdated plans.
Question 97: At regular intervals, what should an Agile team reflect on according to the Agile principles?
- How to increase individual developer output
- Whether the project scope needs to expand
- How to become more effective, then adjust behavior accordingly (Correct answer)
- If the technology stack should be updated
Correct answer: How to become more effective, then adjust behavior accordingly
The Agile principle of reflection states that teams should regularly reflect on how to become more effective and then tune and adjust their behavior.
Question 98: In Agile methodology selection, when would Kanban be preferred over Scrum for a software team?
- When the team is co-located and works on a single product release
- When work arrives continuously and unpredictably with varying priorities, requiring immediate response (Correct answer)
- When the organization requires detailed upfront project planning
- When the team needs fixed delivery dates for planned features
Correct answer: When work arrives continuously and unpredictably with varying priorities, requiring immediate response
Kanban excels in environments with continuous, unplanned incoming work (like support or operations) where the nature of work makes fixed-length sprints impractical.
Question 99: Which of the following is the PRIMARY measure of progress for an Agile development team?
- Approval from the project management office
- Comprehensive documentation
- Working software (Correct answer)
- The number of story points completed in an iteration
Correct answer: Working software
The seventh principle of the Agile Manifesto states, 'Working software is the primary measure of progress.' While other metrics like velocity (story points) can be useful for planning, the ultimate indicator of progress and value delivery in an Agile context is functional software that can be demonstrated to and used by the customer.
Question 100: What is the primary purpose of using Planning Poker in agile estimation?
- To assign story points based on lines of code
- To leverage collective team knowledge and drive consensus through independent estimates (Correct answer)
- To ensure the scrum master controls the estimation outcome
- To speed up the estimation process by limiting discussion
Correct answer: To leverage collective team knowledge and drive consensus through independent estimates
Planning Poker uses independent simultaneous estimates to leverage diverse perspectives and avoid anchoring bias.
CAD (Certified Agile Developer) Exam
The CAD (Certified Agile Developer) Exam exam validates essential knowledge and skills required for certification or licensure in this field.
Exam Rules
- You can skip questions and return to them later
- Flag questions for review before submitting
- No feedback shown until you submit the entire exam
- Unanswered questions count as wrong — answer everything
- 10 pretest questions are mixed in and don't affect your score
- Timer auto-submits when time runs out
- Your progress is auto-saved every 30 seconds