You must maintain a legacy .NET application (containers not approved), ensure consistent CI/CD deployments across environments, and minimize deployment cost. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Use Cloud Build to produce a new Compute Engine VM image for each build and use that image in every environment..
Why this is the answer
The correct answer leverages Cloud Build to create immutable VM images, ensuring consistent deployments across environments. This approach is cost-effective as it reuses the same image, and it supports legacy .NET applications on Compute Engine, which aligns with the "containers not approved" constraint. Rewriting to .NET Core and deploying to Cloud Run (Option A) is a good modernization strategy but violates the "containers not approved" constraint. Deploying with MS Web Deploy (Option C) might not ensure consistent deployments across environments and relies on manual patching, which isn't ideal for CI/CD. Using GKE (Option D) also violates the "containers not approved" constraint.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed