PROFESSIONAL-DATA-ENGINEER · Question #298
PROFESSIONAL-DATA-ENGINEER Question #298: Real Exam Question with Answer & Explanation
Sign in or unlock PROFESSIONAL-DATA-ENGINEER to reveal the answer and full explanation for question #298. The question stem and answer options stay visible for context.
Question
You are developing an Apache Beam pipeline to extract data from a Cloud SQL instance by using JdbcIO. You have two projects running in Google Cloud. The pipeline will be deployed and executed on Dataflow in Project A. The Cloud SQL. instance is running in Project B and does not have a public IP address. After deploying the pipeline, you noticed that the pipeline failed to extract data from the Cloud SQL instance due to connection failure. You verified that VPC Service Controls and shared VPC are not in use in these projects. You want to resolve this error while ensuring that the data does not go through the public internet. What should you do?
Options
- ASet up VPC Network Peering between Project A and Project B. Add a firewall rule to allow the peered subnet range to access all instances on the network.
- BTurn off the external IP addresses on the Dataflow worker. Enable Cloud NAT in Project A.
- CAdd the external IP addresses of the Dataflow worker as authorized networks in the Cloud SQL instance.
- DSet up VPC Network Peering between Project A and Project B. Create a Compute Engine instance without external IP address in Project B on the peered
Unlock PROFESSIONAL-DATA-ENGINEER to see the answer
You've previewed enough free PROFESSIONAL-DATA-ENGINEER questions. Unlock PROFESSIONAL-DATA-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.