Question 1
Evergreen City Services maintains permit approvals and public service dashboards in the government sector with separate development and production projects. The analytics engineering team identifies this repeatable failure: An analytics contractor has BigQuery project-wide owner access to every customer dataset despite needing only one approved view. Which engineering decision BEST addresses the stated problem?
Explanation
Correct Answer
Assign dataset or authorized-view scoped IAM roles with least-privilege identities rather than broad project ownership. The observed failure is: An analytics contractor has BigQuery project-wide owner access to every customer dataset despite needing only one approved view. The selected action directly addresses that causal gap. For Evergreen City Services's permit approvals and public service dashboards, the acceptance evidence must include: A contractor query succeeds through the approved view but direct confidential table reads return access denied.
Incorrect Answers
Separate production and nonproduction environments using projects and scoped identities with explicit promotion gates. This is a stronger response to a different problem: A single Google Cloud project mixes test and production BigQuery datasets and gives developers full production write access. The specified Evergreen City Services case instead concerns: An analytics contractor has BigQuery project-wide owner access to every customer dataset despite needing only one approved view. Applying this alternative alone would not establish the required acceptance evidence: A contractor query succeeds through the approved view but direct confidential table reads return access denied.
Define dataset governance metadata, owners, classification and retention controls in the project architecture. This is a stronger response to a different problem: An audit finds warehouse data ownership is inferred from who created tables rather than documented retention and access standards. The specified Evergreen City Services case instead concerns: An analytics contractor has BigQuery project-wide owner access to every customer dataset despite needing only one approved view. Applying this alternative alone would not establish the required acceptance evidence: A contractor query succeeds through the approved view but direct confidential table reads return access denied.
Enforce uniform bucket-level access, public access prevention and least-privilege service account grants. This is a stronger response to a different problem: A regulated report exports customer records into a storage bucket that permits allAuthenticatedUsers access. The specified Evergreen City Services case instead concerns: An analytics contractor has BigQuery project-wide owner access to every customer dataset despite needing only one approved view. Applying this alternative alone would not establish the required acceptance evidence: A contractor query succeeds through the approved view but direct confidential table reads return access denied.