CV0-002 · Question #540
A company is migrating a website to a CSP to improve availability and performance. After testing the application, the systems engineer realizes the website stores the session state in a database syste
The correct answer is A. Configure the new website to use the database system.. Since the website already uses a database for session state, the most effective migration strategy is to configure the new cloud-hosted website to continue using that existing database system.
Question
A company is migrating a website to a CSP to improve availability and performance. After testing the application, the systems engineer realizes the website stores the session state in a database system. Which of the following is the BEST way to ensure a successful migration?
Options
- AConfigure the new website to use the database system.
- BMigrate to a DBaaS and keep the session state.
- CImplement a new database system to store the session state.
- DDeploy a load balancer to store the session state.
How the community answered
(17 responses)- A82% (14)
- B12% (2)
- C6% (1)
Why each option
Since the website already uses a database for session state, the most effective migration strategy is to configure the new cloud-hosted website to continue using that existing database system.
Maintaining the existing architecture where the website stores session state in a database system is the best approach. Configuring the new website in the CSP to connect to and utilize this same database system minimizes changes, preserves functionality, and ensures a smooth migration without requiring a re-architecture of session management.
Migrating to a DBaaS is an infrastructure change that, while potentially beneficial, is not the *best* way to ensure a successful migration specifically related to *keeping* the session state; re-using the existing database pattern is simpler.
Implementing an entirely new database system solely for session state introduces unnecessary complexity, additional development effort, and potential compatibility issues, making it less optimal than leveraging the established pattern.
A load balancer primarily distributes incoming network traffic and can provide session stickiness, but it does not typically store persistent session state itself; that function is generally handled by a database or dedicated session store.
Concept tested: Web application session state management, cloud migration strategy
Topics
Community Discussion
No community discussion yet for this question.