简体   繁体   English

关于谷歌云数据流权限的问题

[英]Question about permissions on Google Cloud Dataflow

I am studying for the Data Engineer exam and, during my exercises, I have found this question:我正在准备数据工程师考试,在练习中,我发现了这个问题:

"You are working on a sensitive project involving private user data. You have set up a project on Google Cloud Platform to house your work internally. An external consultant is going to assist with coding a complex transformation in a Google Cloud Dataflow pipeline for your project. How should you maintain users' privacy?" “你正在从事一个涉及私人用户数据的敏感项目。你已经在谷歌云平台上建立了一个项目来容纳你的内部工作。一位外部顾问将协助在谷歌云数据流管道中为你的项目编写复杂的转换代码.你应该如何维护用户的隐私?”

With the following possible answers:有以下可能的答案:

  • A. Grant the consultant the Viewer role on the project. A. 授予顾问项目的查看者角色。
  • B. Grant the consultant the Cloud Dataflow Developer role on the project. B. 授予顾问项目的 Cloud Dataflow Developer 角色。
  • C. Create a service account and allow the consultant to log on with it. C。创建一个服务帐户并允许顾问使用它登录。
  • D. Create an anonymized sample of the data for the consultant to work within a different project. D. 为顾问创建一个匿名的数据样本,以便在不同的项目中工作。

In my opinion, answers A and C are not valid because the external developer cannot modify the pipeline.在我看来,答案 A 和 C 是无效的,因为外部开发人员无法修改管道。 Then, I go for answer B but I do not know if the "Developer role" allows access to the data or not.然后,我 go 的答案 B 但我不知道“开发人员角色”是否允许访问数据。

Please refer to Dataflow security and permissions doc [1] and the role of Dataflow Developer [2], Dataflow Developer is that you use to run Dataflow job, but it is not enough to access any data, you need to set up properly with any roles.请参考Dataflow security and permissions doc [1]和Dataflow Developer的作用[2],Dataflow Developer是你用来运行Dataflow job的,但它不足以访问任何数据,你需要正确设置任何角色。

Therefore this question I will go D.因此这个问题我会go D。

[1] https://cloud.google.com/dataflow/docs/concepts/security-and-permissions#accessing_bigquery [1] https://cloud.google.com/dataflow/docs/concepts/security-and-permissions#accessing_bigquery
[2] https://cloud.google.com/dataflow/docs/concepts/access-control#roles [2] https://cloud.google.com/dataflow/docs/concepts/access-control#roles

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Google Dataflow 上的 Apache Beam 示例的权限错误 - Permissions error with Apache Beam example on Google Dataflow 了解 Google Cloud DataFlow Worker 中的线程 - Understanding Threading in Google Cloud DataFlow Workers Google Cloud Dataflow 中的批处理与流式处理性能 - Batch vs Streaming Performance in Google Cloud Dataflow Google Cloud Dataflow 和 Google Cloud Dataproc 有什么区别? - What is the difference between Google Cloud Dataflow and Google Cloud Dataproc? 作业图太大,无法提交到 Google Cloud Dataflow - Job graph too large to submit to Google Cloud Dataflow 在谷歌云数据流中使用 experiments=no_use_multiple_sdk_containers - Use Of experiments=no_use_multiple_sdk_containers in Google cloud dataflow 在 Apache Beam/Google Cloud Dataflow 上创建文件和数据流 - Creating a file and streaming in data on Apache Beam/Google Cloud Dataflow Google Cloud Dataflow 可以在 Go 中没有外部 IP 地址的情况下运行吗? - Can Google Cloud Dataflow be run without an external IP address in Go? 访问 PCollectionView 的元素<list<foo> &gt;: 谷歌云数据流/Apache Beam </list<foo> - Access elements of PCollectionView<List<Foo>> : Google Cloud Dataflow/Apache Beam 无法在 Google Cloud Dataflow 虚拟机中使用 ping 命令? - Can't use ping command in Google Cloud Dataflow vm?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM