GCP Professional Cloud Architect Practice Question

Your organization stores several hundred BigQuery datasets in a single production project. All datasets whose IDs begin with "public_" contain de-identified data that any member of the analytics Google group may query. Datasets with other IDs must remain restricted. You want to grant the analytics group view access only to the public_* datasets and automatically include any future datasets that match this naming pattern, while following the principle of least privilege. What should you do?

  • Create a separate project, publish authorized views of each public_* dataset there, and grant the analytics group Viewer access to that new project.

  • Individually grant the analytics group the roles/bigquery.dataViewer role on every dataset whose ID starts with public_, updating the IAM policy whenever new datasets are created.

  • Grant the analytics group the roles/bigquery.dataViewer role on the entire project that contains all datasets.

  • Create a project-level IAM binding that grants the analytics group the roles/bigquery.dataViewer role only when resource.name.startsWith("projects/_/datasets/public_") evaluates to true.

GCP Professional Cloud Architect
Designing for security and compliance
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot