
Answer-first summary for fast verification
Answer: 1. Store the application and infrastructure source code in a Git repository. 2. Use Cloud Build to deploy the application infrastructure with Terraform. 3. Deploy the application to a Cloud Function as a pipeline step.
The question outlines three key requirements for the application's architecture: versioned and auditable infrastructure changes, preference for Google-managed services, and deployment on a serverless compute platform. Option A is the best fit as it uses Terraform for infrastructure as code (versioned and auditable), Cloud Build for CI/CD (Google-managed), and Cloud Functions for serverless compute. Option B introduces Jenkins, which is not a Google-managed service, and App Engine, while serverless, doesn't align as well with the infrastructure versioning requirement. Option C's use of Compute Engine violates the serverless requirement. Option D's use of gcloud commands for infrastructure deployment is less ideal for versioning and auditing compared to Terraform, despite using Cloud Run, a serverless platform. Therefore, Option A is the correct choice.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are designing a new application with the following requirements:
What is the recommended architecture for this application?
A
B
C
D