Google Cloud Professional Cloud Security Engineer — Question 221

You are in charge of migrating a legacy application from your company datacenters to GCP before the current maintenance contract expires. You do not know what ports the application is using and no documentation is available for you to check. You want to complete the migration without putting your environment at risk.
What should you do?

Answer options

Correct answer: A

Explanation

Option A is correct because it allows the application to be migrated with minimal risk by enabling all internal TCP traffic initially, which helps determine necessary ports without blocking any required functionality. Options B, C, and D involve either disabling all traffic or refactoring the application, which could lead to operational issues or complicate the migration process without first understanding the application's requirements.