A team moves a legacy application to a PaaS platform unchanged. It relies on an unauthenticated internal admin endpoint and a hard-coded database password, and the team plans to rely on the provider's network controls. Which action BEST addresses the pitfalls this migration creates?
Show the answer
Correct answerD. Redesign the app to authenticate every endpoint and fetch secrets from a managed secrets service
AWhy not this: Obscurity through a port change does not authenticate anyone, and a binary-embedded password is still extractable.
BWhy not this: A WAF filters web attacks but does not fix missing authentication or an embedded credential.
CWhy not this: Subnet restriction relies on the perimeter trust that cloud migration undermines, and rotating a hard-coded secret by hand is fragile.
DWhy this is right: It removes both the implicit-trust assumption and the embedded secret, fixing the root causes.
Lifting and shifting assumes a trusted internal network that the cloud lacks, so each endpoint must authenticate and secrets must come from a managed secrets service. Network placement or a WAF only layers on top of the flaws and leaves the weaknesses in place.