Google Cloud Engineer interview question
Write a Terraform configuration that deploys a container to Cloud Run with a dedicated service account.
Hands-on Asked in Cloud Engineer interviews
Summary
Create a service account for the service, give it only the roles it needs (for example reading one secret), deploy the Cloud Run service with that identity and the image tag, and decide explicitly who may invoke it (public or only authenticated callers).
Keep reading with a membership
The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.
More Google Cloud Engineer questions
- How do you design a Google Cloud landing zone for a company with several teams?
- Explain Google Cloud's resource hierarchy: organisation, folders, projects and resources.
- How does IAM work in Google Cloud, and why should you avoid basic roles?
- When would you choose Cloud Run, GKE or Compute Engine?
- What are service accounts, and how should workloads authenticate without service account keys?
- Compare Google Cloud's database options: Cloud SQL, AlloyDB, Spanner, Firestore and Bigtable.
- How is networking in a Google Cloud VPC different from AWS?
- How do you run Terraform for Google Cloud safely in a team?