0
0
Spring Bootframework~5 mins

Feature flags concept in Spring Boot - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a feature flag in software development?
A feature flag is a switch in the code that lets developers turn features on or off without changing the code or redeploying the app. It helps control which features users see.
Click to reveal answer
intermediate
How do feature flags help in continuous delivery?
Feature flags allow teams to release new features safely by enabling them only for some users or in testing environments, reducing risk and making deployment faster.
Click to reveal answer
intermediate
In Spring Boot, where can feature flags be typically stored?
Feature flags in Spring Boot can be stored in configuration files (like application.properties), databases, or external services, allowing dynamic control without code changes.
Click to reveal answer
advanced
What is a common risk of using feature flags if not managed properly?
If feature flags are not cleaned up after use, they can clutter the code and cause confusion, making maintenance harder and increasing the chance of bugs.
Click to reveal answer
intermediate
Explain the difference between a permanent and a temporary feature flag.
Temporary feature flags are used for short-term testing or rollout and removed after. Permanent flags control features that may always be optional or configurable.
Click to reveal answer
What is the main purpose of a feature flag?
ATo improve database performance
BTo store user passwords securely
CTo turn features on or off without redeploying
DTo manage user sessions
Where can feature flags be stored in a Spring Boot application?
AIn configuration files, databases, or external services
BOnly in Java code
COnly in environment variables
DOnly in the user interface
What is a risk of leaving old feature flags in the code?
AThey automatically delete themselves
BThey make the code easier to read
CThey improve app speed
DThey clutter the code and cause confusion
Which of these is NOT a benefit of using feature flags?
AInstant bug fixes without code changes
BControlling feature visibility
CTesting features in production
DSafe feature rollout
What type of feature flag is used for long-term optional features?
ATemporary feature flag
BPermanent feature flag
CDebug flag
DSecurity flag
Describe how feature flags improve the deployment process in Spring Boot applications.
Think about how you can control features without changing the app code.
You got /4 concepts.
    Explain the best practices for managing feature flags to avoid technical debt.
    Consider how to keep code clean and understandable.
    You got /4 concepts.