Google Cloud Associate Data Practitioner — Question 15
You recently inherited a task for managing Dataflow streaming pipelines in your organization and noticed that proper access had not been provisioned to you. You need to request a Google-provided IAM role so you can restart the pipelines. You need to follow the principle of least privilege. What should you do?
Answer options
- A. Request the Dataflow Developer role.
- B. Request the Dataflow Viewer role.
- C. Request the Dataflow Worker role.
- D. Request the Dataflow Admin role.
Correct answer: A
Explanation
The Dataflow Developer role provides the necessary permissions to manage and restart Dataflow pipelines without granting excessive access, adhering to the principle of least privilege. The Dataflow Viewer role only allows viewing pipelines, which won't enable you to restart them. The Dataflow Worker role is primarily for executing jobs, and the Dataflow Admin role offers broader permissions than necessary for this task.