ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 282 - Professional Data Engineer discussion

Report
Export

You are designing the architecture to process your data from Cloud Storage to BigQuery by using Dataflow. The network team provided you with the Shared VPC network and subnetwork to be used by your pipelines. You need to enable the deployment of the pipeline on the Shared VPC network. What should you do?

A.
Assign the compute. networkUser role to the Dataflow service agent.
Answers
A.
Assign the compute. networkUser role to the Dataflow service agent.
B.
Assign the compute.networkUser role to the service account that executes the Dataflow pipeline.
Answers
B.
Assign the compute.networkUser role to the service account that executes the Dataflow pipeline.
C.
Assign the dataflow, admin role to the Dataflow service agent.
Answers
C.
Assign the dataflow, admin role to the Dataflow service agent.
D.
Assign the dataflow, admin role to the service account that executes the Dataflow pipeline.
Answers
D.
Assign the dataflow, admin role to the service account that executes the Dataflow pipeline.
Suggested answer: B

Explanation:

To use a Shared VPC network for a Dataflow pipeline, you need to specify the subnetwork parameter with the full URL of the subnetwork, and grant the service account that executes the pipeline the compute.networkUser role in the host project. This role allows the service account to use the subnetworks in the Shared VPC network. The Dataflow service agent does not need this role, as it only creates and manages the resources for the pipeline, but does not execute it. The dataflow.admin role is not related to the network access, but to the permissions to create and delete Dataflow jobs and resources.Reference:

Specify a network and subnetwork | Cloud Dataflow | Google Cloud

How to config dataflow Pipeline to use a Shared VPC?

asked 18/09/2024
Arndt Langer
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first