0
0
Software Engineeringknowledge~20 mins

Legacy system modernization in Software Engineering - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Legacy Modernization Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Legacy System Risks

Which of the following is the most common risk associated with maintaining legacy systems?

AEasier integration with modern cloud services
BImproved system performance from older, stable code
CLower maintenance costs because the system is well understood
DIncreased security vulnerabilities due to outdated software components
Attempts:
2 left
💡 Hint

Think about how old software might not receive updates or patches.

🚀 Application
intermediate
2:00remaining
Choosing Modernization Strategies

A company wants to update its legacy system without disrupting current operations. Which modernization approach best fits this goal?

AEncapsulation by wrapping legacy components with APIs
BComplete system rewrite from scratch
CImmediate replacement with a new off-the-shelf product
DIgnoring the legacy system and building a parallel system
Attempts:
2 left
💡 Hint

Consider approaches that allow old and new systems to work together.

🔍 Analysis
advanced
2:00remaining
Analyzing Modernization Impact

What is a likely consequence of refactoring legacy code to improve modularity?

AReduced need for testing after changes
BDecreased system flexibility and harder future updates
CIncreased risk of introducing new bugs due to code changes
DImmediate elimination of all legacy system dependencies
Attempts:
2 left
💡 Hint

Think about what happens when you change old code.

Comparison
advanced
2:00remaining
Comparing Modernization Techniques

Which statement correctly compares 'rehosting' and 'refactoring' in legacy system modernization?

ARehosting moves the system to new infrastructure with minimal changes; refactoring changes code to improve design
BRehosting involves changing code structure; refactoring moves the system to new hardware without code changes
CBoth rehosting and refactoring require complete system rewrites
DRefactoring is faster and cheaper than rehosting because it avoids infrastructure changes
Attempts:
2 left
💡 Hint

Focus on what each technique changes: code or infrastructure.

Reasoning
expert
3:00remaining
Evaluating Modernization Outcomes

A legacy system modernization project used a 'strangler pattern' to gradually replace old components. After completion, what is the expected state of the system?

AThe legacy system runs in parallel indefinitely with no new components added
BThe legacy system is completely replaced by new components with no downtime during transition
CThe legacy system is abandoned and all data is manually migrated to a new system at once
DThe legacy system is rewritten entirely before any new components are introduced
Attempts:
2 left
💡 Hint

Consider how the strangler pattern replaces parts step-by-step.