An automotive IoT company structures its Google Cloud resource hierarchy with an Organization node containing an Autonomous Vehicles folder. Within this folder are two projects: telemetry-ingest, which hosts automated telemetry processing microservices on Compute Engine, and telemetry-storage, which contains a centralized Cloud Storage bucket for long-term diagnostic logs. The ingestion microservice requires read-only access to objects in the centralized bucket. Additionally, developer identity group members need to launch compute instances that execute as the ingestion service account without gaining administrative control over service accounts. Following Google-recommended security practices of least privilege and resource hierarchy management, which set of role assignments should you configure?
- Grant Storage Object Viewer (roles/storage.objectViewer) on the centralized bucket to the ingestion service account, and grant Service Account User (roles/iam.serviceAccountUser) on the ingestion service account to the developer identity group.Cevap
- BGrant Editor (roles/editor) at the Autonomous Vehicles folder level to the ingestion service account, and grant Service Account User (roles/iam.serviceAccountUser) at the telemetry-ingest project level to the developer identity group.
- CGrant Storage Object Admin (roles/storage.objectAdmin) on the telemetry-storage project to the ingestion service account, and grant Service Account Admin (roles/iam.serviceAccountAdmin) on the ingestion service account to the developer identity group.
- DGrant Storage Admin (roles/storage.admin) at the folder level to the ingestion service account, and rely on IAM permissions alone to restrict data copying outside the organization without perimeter controls.